CODEHAO.COM / ABOUT

Hi, I'm Wang Hao!

Agent / Full-Stack Engineer

9 years of engineering experience across frontend engineering, low-code platforms, component libraries, Node / Java full-stack work, and enterprise Agent / LLM applications, with recent focus on Agent engineering and developer tools.

9 Years Engineering and delivery experience
600+ ERP pages re-architected
Agent + ERP Enterprise AI implementation

Summary

PROFILE

9 years of engineering experience across frontend engineering, low-code platforms, component libraries, Node / Java full-stack work, and enterprise Agent / LLM applications, with a focus on toolchain productivity in complex business systems.

Recently focused on Agent engineering and developer tools: Skill lifecycle, CLI capability gateway, tool calling, code generation / analysis, sandboxed execution, and plugin-style capability integration.

Experienced with Evaluation / Benchmark / Observability systems, including Eval / Golden Set, Pass@K, LLM-as-Judge, Telemetry, Trace Analysis, self-healing loops, and release gates.

Long-term experience in pharmaceutical supply-chain ERP, operation platforms, and growth systems, turning engineering, componentization, low-code, and AI productivity into reusable assets.

Projects

SELECTED WORK

Polestar / Skill Lifecycle

AgentEvalTelemetryLLM-as-Judge

Project Description

An enterprise Agent Skill factory for internal business scenarios. The platform enables business users to generate ERP / business Skills through natural language, then evaluate, publish, monitor, and optimize them through a governed lifecycle. It focuses on three key problems: uncontrolled Skill generation quality, possible fake tool-call results from Agents, and lack of observability and self-healing after release.

Responsibilities

  • Contributed to the lifecycle pipeline covering Intent, Generate, Eval-Cases, Eval-Run, Publish, Monitor, Report, and Optimize.
  • Designed the Stage 3 caseInputs + real spawn evaluation mechanism, where the system executes baicao api call and records stdout, exitCode, and duration.
  • Built evaluation categories such as normal, edge, error, security, off_topic, and multi_turn, with Critical gates, Pass@K, Baseline Regression, and rubric scoring.
  • Introduced LLM-as-Judge for structured assessment of open-ended outputs while keeping deterministic assertions for stable checks.
  • Implemented Fix-Suggester menu-style self-healing and Telemetry instrumentation covering success rate, latency, tokens, toolchain, cohort, and content fingerprints.
Impact Established a 7-stage Skill lifecycle, 6 evaluation categories, and Critical/Pass@K/Baseline Regression gates; real-spawn execution records stdout, exitCode, and duration, reducing manual review, regression, and release risk.

bianque-erp-cli / baicao

CLIKBSQLite FTS5BM25

Project Description

A unified CLI for the ERP capability gateway, serving developers, operations engineers, and Agent hosts. It provides standard entry points for authentication, capability discovery, parameter templates, API calls, KB retrieval, and diagnostics. Instead of asking Agents to guess APIs, parameters, or invocation methods, the CLI exposes auditable, testable, and recoverable access to ERP capabilities.

Responsibilities

  • Designed Agent-friendly command surfaces covering api list/read/call/call-template, catalog search, invoke, and kb search/resolve/doctor.
  • Designed structured outputs, parameter templates, and actionable error messages so Agents can recover from missing parameters, auth failures, and unavailable capabilities.
  • Contributed to the KB v4 six-layer architecture: scenario -> workflow -> bridge -> clarify -> capability -> response, using SQLite FTS5 + BM25 + routing enhancement instead of raw vector RAG.
  • Promoted Local-first design, Graphify 12 tables, manual / derived / view layer isolation, SHA-256 content addressing, commit log, manifest_root_hash, and C1-C6 recovery contracts.
  • Built 7 test suites with 234 cases covering KB retrieval, capability discovery, parameter construction, and real API invocation; the KB retrieval suite passed 153 / 153 cases.
Impact Built 7 test suites with 234 release-gating cases, including 153/153 passing KB retrieval cases; unified api/kb/catalog command surfaces to reduce Agent API trial-and-error, parameter construction cost, and manual troubleshooting.

AI-Friendly Architecture Upgrade for Pharmaceutical Supply-Chain ERP

ERPMonorepoiframeAI Coding

Project Description

I worked on critical modules in the self-operated pharmaceutical supply-chain ERP system, including finance, orders, work orders, customers, and marketing. As the team moved toward frontend-backend integrated delivery, the original ERP had 600+ pages concentrated in a single repository, with heavy coupling across shared dependencies and global state. This created high upgrade risk, expensive regression testing, slow rollback, and poor AI generation efficiency due to oversized repository context. I led the transformation into an AI-friendly architecture organized by business modules, independently deployable submodules, configurable routing, and fast rollback.

Responsibilities

  • Defined module boundaries across finance, orders, work orders, customers, and marketing, and designed an "ERP shell + independent submodules" architecture.
  • Built automated splitting scripts by page, module, and multi-module scope, replacing manual migration and reducing human error across 600+ pages.
  • Split ERP modules into independently deployable Monorepo sub-repositories, embedded through iframe integration while sharing a unified entry component.
  • Designed coexistence of old and new routes, allowing each module to switch between the new submodule and the original page component through online route configuration.
  • Extracted shared business components and utility methods into npm packages, while moving route and tab configuration online to avoid repeated maintenance in submodules.
  • Used iframe communication to synchronize global state, including tab state, page cache, refresh behavior, route parameters, and page switching after data updates.
Impact Delivered modular splitting and gray-release switching for 600+ ERP pages, supported 50+ configurable pages and shared components across 10+ repositories; helped procurement/sales, finance, and order workflows reach 80%/97%/100% online coverage, with UX score improving from 2.9 to 4.2.

AIxcel - Excel Processing Agent

PythonPandasWebSocketSandbox

Project Description

An enterprise Excel processing Agent that allows users to describe analysis, cleaning, merging, and multi-file comparison tasks in natural language. The Agent generates and executes pandas code, streams progress through WebSocket, and returns S3 files or text results. The goal is to let non-technical users complete complex spreadsheet work without writing scripts.

Responsibilities

  • Designed a two-layer LLM architecture: the outer AgentExecutor decides whether to call the Excel Tool, while the inner ExcelProcessor generates and executes pandas code.
  • Used Structured Chat + JSON blob to support GPT-4.1, GPT-4.1-mini, and Doubao-deepseek-v3, with handle_parsing_errors=True for format-error self-healing.
  • Implemented AgentProgressTracker + WebSocket protocol, converting intermediate_steps into frontend-consumable fields such as percentage, step, iteration, and chat_response.
  • Built SafeOS + thread-pool sandboxing to limit file and system access while supporting Excel analysis, multi-file comparison, PDF table processing, and chart generation.
Impact Covered 6 spreadsheet scenarios including analysis, cleaning, merging, multi-file comparison, PDF table processing, and chart generation; format errors typically self-heal within 2-5 rounds, while 4 WebSocket progress states make execution observable.

Experience

WORK HISTORY

MT

Meituan | Pharmaceutical Business Unit

Agent / Full-Stack Engineer

2021.11 - Present

Responsible for core ERP modules across finance, orders, work orders, customers, and marketing, supporting 80% online procurement/sales processes, 97% online finance workflows, and 100% online order processing.

  • Led multiple ERP system upgrades, supporting new tabs, complex business configuration, and improving user experience score from 2.9 to 4.2.
  • Led frontend architecture upgrades by splitting 600+ pages from a monolithic repository into independently deployable business modules.
  • Led or contributed to AI + Excel, Skill Lifecycle, ERP capability gateway CLI, low-code configuration platforms, and component libraries.
XM

Ximalaya

Senior Frontend Engineer

2019.12 - 2021.10

Worked on Xiaoxima PC admin systems, App Hybrid H5 pages, growth acquisition, and marketing campaigns. Built xxm-ui from scratch with Webpack + TypeScript + React Hooks to support fast reuse across H5 activities.

PA

Ping An Urban Tech

Frontend Engineer

2018.07 - 2019.11

Contributed to B2B projects such as Ping An desktop management and leasing standard editions, delivering online maintenance, security, fire safety, safety management, and analytics features based on React + BIM + IoT.

Skills

STACK

Agent / LLM

ReAct, Structured Chat, Skill injection design, Tool Schema, Prompt engineering, Evaluation / Benchmark, Golden Set, Pass@K, LLM-as-Judge, Observability, Telemetry, Trace Analysis

Developer Tools

CLI / IDE plugin direction, code analysis, sandboxed execution, remote execution, plugin systems, capability gateway, KB retrieval, tool-calling workflows, automated release gates, and self-healing

Full-Stack Development

React, TypeScript, Redux / Dva, Ant Design, Node.js, Python, FastAPI, WebSocket, MySQL, SQLite FTS5, S3; Java direction negotiable

Engineering

Webpack / Vite, Babel static analysis, component libraries, low-code platforms, release pipeline plugins, VSCode code generation, CI / CD, frontend monitoring, SOP

Contact

GET IN TOUCH

Education

Huazhong Agricultural University / Bachelor's Degree / Project 211