# Dianhai Wang Website: https://www.dancelight.cn/en/ Updated: 2026-10-18 ## Profile AI full-stack engineer with 11 years of software development experience, grounded in Go / PHP backends and e-commerce transaction systems. Builds Python / TypeScript agents with RAG, tool calling, task recovery and model usage accounting. ## 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 ### 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://www.dancelight.cn/en/projects/sales-agent/ ### 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. - 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. 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://www.dancelight.cn/en/projects/oracle-data-agent/ ### 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://www.dancelight.cn/en/projects/payments/ ### 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://www.dancelight.cn/en/projects/android-automation/ ### 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://www.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).