# Dianhai Wang

Website: https://cv.dancelight.cn/en/
Updated: 2026-11-17

## Profile

Dianhai Wang, AI Systems / Agent Engineer with 11 years in software development. Projects cover read-only Oracle queries, offline regression, permission-aware retrieval, task recovery and sales workflows.

## Location and contact

Huizhou, China; open to remote work.
Email: dian126@foxmail.com
Phone: +86 134 2808 0865
GitHub: https://github.com/Dianwoung

## Technical skills

- AI: Python, FastAPI, TypeScript, LangChain, LangGraph, DeepAgents, Pi SDK, RAG, pgvector, tool calling, task recovery and model usage accounting.
- Backend: Go, Gin, go-zero, PHP, Laravel, Hyperf, MySQL, PostgreSQL and Redis; orders, payments, wallets and subscriptions.
- Delivery: Vue 3, WeChat Mini Programs, React project experience, Linux, Docker, Nginx and Caddy.
- Automation and networks: AutoJS, ADB, GOST, WebSocket, RabbitMQ and AWS Global Accelerator integration.

## AI development and knowledge sharing

Uses Codex, Claude Code and Cursor, with practical work on harnesses and tool orchestration. Contributed sales-training, price-comparison and product-sourcing skills to Workbuddy, and led team training on AI tools and skills.

## Projects

### Oracle Data Assistant

A personal project combining a React data workspace, a TypeScript agent gateway and a Spring Boot data service. It turns natural-language questions into queries that can be confirmed, executed and audited, and connects to a real Oracle 10g database.

- Plan before querying: Parsed natural language into structured QueryPlans and executed queries through a business semantic layer and approved SQL templates. Requested clarification when needed and user confirmation before execution.
- Validate model suggestions deterministically: A business dictionary and a rule baseline produce candidates, and the model can propose alternatives. Deterministic validation and arbitration choose a plan or fall back to rules or clarification.
- Bind confirmation to the actual plan: Used a plan hash to bind user confirmation to the execution plan. Added read-only queries and protection for sensitive fields.
- Break down complex questions: Decomposed questions into multiple template queries and calculation steps, consolidated evidence and exposed parsing, execution and analysis progress through SSE.
- Keep results traceable: Provided query audit logs and CSV export, and distinguished real data from mock results for review.
- Evaluate the rule path offline: Used separate sets of standard questions and paraphrases to exercise period comparisons, ambiguity and sensitive fields. Standard cases passed more consistently than paraphrases. This was a rule-mode regression, not a live model-to-Oracle evaluation.

Delivery and scope: This personal engineering project connects a real Oracle 10g database to natural-language queries and a frontend analysis workspace. Read-only execution, confirmation and audit logs constrain data access.

Details: https://cv.dancelight.cn/en/projects/oracle-data-agent/

### Sales Knowledge Agent

Sales questions need knowledge, context and practical next steps. This project provides quick answers and four-part sales plans, supported by a WeChat Mini Program and a Vue admin console.

- Check access before retrieval: Combined PostgreSQL full-text search and pgvector retrieval using RRF. Filtered knowledge entitlements and publication status in SQL so unauthorized content stays out of model context.
- Keep generation within defined limits: Restricted available tools, retrieval calls and execution steps by stage. Delivered answers through structured fields and server-resolved references, with clarification and refusal when appropriate.
- Resume unfinished work: Used a PostgreSQL task queue and persisted plan sections for staged recovery. Saved request policy snapshots and rechecked access rights when resuming.
- Account for usage and credits: Persisted model usage by call ID, handling fallback-model pricing, cancellation and duplicate accounting. Implemented credit reservation, settlement and refunds.

Delivery and scope: The project has a recorded pass of 753 backend non-live regression tests dated 2026-10-07. This is engineering regression evidence, not a measure of model answer accuracy or a production SLA.

Details: https://cv.dancelight.cn/en/projects/sales-agent/

### B2B Sales Lead Workflow Toolkit

Two sales operations scenarios: cleaning an existing prospect list and turning trade-show cards into a follow-up queue. Both prototypes use synthetic inputs and reusable scripts and separate model judgment, deterministic rules and human review.

- Clean and merge lead records: Ran field normalization and deduplication on 5,000 synthetic leads. Rules handle clear matches; a model assists with ambiguous matches and free-text sales notes.
- Qualify leads and preserve a review trail: Used target account fit, behavior and urgency to qualify leads. Exported merge records, items for human review and follow-up lists.
- Test routing with structured card samples: Used structured business-card CSVs for deduplication, company-profile matching, prioritization and assignment by region and industry. Shared exports can mask personal details.
- Separate demo validation from real-world use: Kept known answers for synthetic records to check deduplication and tiering. The card prototype validates only the steps after the data is structured.

Delivery and scope: Delivered two independent demo prototypes with sample data. Validation covered synthetic leads and structured card samples. It did not test OCR on real cards, integrate with a CRM or measure sales outcomes.

Details: https://cv.dancelight.cn/en/projects/sales-lead-workflows/

### Android Automation Agent

A project exploring cloud-phone and Android automation. The frontend shows device previews, while the backend coordinates confirmation, script generation and execution, using device feedback to support repairs.

- Confirm the action plan: Organized task planning and user confirmation before generating and executing AutoJS scripts.
- Repair from execution feedback: Collected execution errors and logcat output to repair scripts, with limited retries to bound execution.
- Bind tools to the current device: Built a cloud-phone tool plugin with session-bound devices and environments, wrapping ADB, screenshots and task APIs.
- Load task-specific context: Supported Skill context loading and operation timeouts, connecting model capabilities with concrete device tools.

Delivery and scope: Implemented a loop from confirmation and script generation to device execution and feedback-based repair, with session device binding, context loading and operation timeouts.

Details: https://cv.dancelight.cn/en/projects/android-automation/

### Orders, Payments and Subscriptions

A work project at Guangzhou Yunxi Guangnian. Developed order and payment systems, integrated UPay and Payssion, and covered purchases, wallet top-ups, subscriptions, renewals, expiry and refunds.

- Handle requests and callbacks: Implemented payment requests, callbacks and wallet credits. Validated signatures, amounts and currencies, and maintained order states and wallet transaction records.
- Prevent duplicate crediting: Combined database transactions and conditional order-state updates to prevent duplicate payment notifications from crediting a wallet twice.
- Coordinate money and resources: Connected purchase, renewal and expiry states for cloud phones. Investigated cases where payment and resource states disagreed.
- Apply refund constraints: Checked associated orders and refundable amounts, and recorded balance changes and refund transactions.

Delivery and scope: Implemented UPay and Payssion integrations across payment callbacks, financial records, refunds and subscription lifecycles, using transactions and conditional state updates to prevent duplicate credits.

Details: https://cv.dancelight.cn/en/projects/payments/

### Network Proxy and Video Forwarding

Network service development covering dynamic proxy mappings, cloud-phone session forwarding and traffic billing, connecting network sessions to business usage reporting.

- Manage forwarding chains dynamically: Created and removed multi-hop forwarding chains and proxy mappings through GOST APIs. Managed port allocation and recycling, connectivity checks, traffic collection and state synchronization.
- Manage WSS connection lifecycles: Used Caddy for HTTPS / WSS entry points and Go with Redis for session mappings. Handled bidirectional video forwarding, heartbeats and connection timeouts.
- Connect acceleration to the business gateway: Built a SOCKS5 gateway integrated with AWS Global Accelerator, with mapping management, quotas and traffic billing.
- Report usage reliably: Used a database Outbox and RabbitMQ for batch usage reporting, connecting business records with asynchronous delivery.

Delivery and scope: Implemented proxy-chain management, session-based bidirectional video forwarding, quotas and usage reporting. AWS Global Accelerator provides the acceleration entry point; the business gateway manages mappings and traffic.

Details: https://cv.dancelight.cn/en/projects/network-platform/

## Experience

- 2025.10 - 2026.09: Guangzhou Yunxi Guangnian, Full-Stack Engineer. Cloud-phone orders, payments, network forwarding, DeepSeek-based group-chat lead screening and task automation.
- 2025.03 - 2025.10: Independent Development, AI Applications and Full-Stack Development.
- 2022.04 - 2024.12: Guangzhou Lianfei Network Technology, Go Backend Developer. Cross-border e-commerce, distribution and microservices.
- 2019.06 - 2022.01: Guangzhou Banchengyun Information Technology, PHP Backend Developer. SaaS orders, marketing integrations and third-party services.

## Education and certification

Zhengzhou Economic and Trade Vocational College, Diploma in Financial Accounting, 2007 - 2010. College English Test Band 4 (CET-4).

## Public code samples

These public repositories are separate from the case studies above.

- [gin-rag](https://github.com/DianWoung/gin-rag): Go RAG prototype using Gin, Eino and Qdrant
- [go-zero-single-demo](https://github.com/DianWoung/go-zero-single-demo): go-zero single-service learning demo
- [Csocket](https://github.com/DianWoung/Csocket): C / TCP/IP networking examples
