Lei Sun (Erishen)
Summary
- Senior full-stack engineer focused on AI application engineering and production delivery (React / Next.js / Node.js service layer + Python strengthening): turning LLM / Agent / multimodal capabilities into auditable, production-ready assets.
- Real AI landing at PayPal: landed the Planner / Specialist / Evaluator three-role verification loop (the PSE methodology, designed by me) in payment-migration verification, turning Vibe Coding output into reproducible, evidence-driven engineering assets.
- AI toolchain & engineering practice: AutoGen migration agent, MCP (Figma / Serena / Playwright), Playwright E2E verification, Python / FastAPI services, RAG / retrieval-augmented generation open-source and integration work (LangChain / LlamaIndex).
- Complex multi-platform frontend engineering: full evolution Java enterprise → router firmware → React Native → React / Next.js → Three.js / R3F 3D; drag-drop, rich text, live streaming, 3D digital humans, real-time voice across PC / H5 / RN / mini-programs.
- Fintech core-business experience: full-stack development of PayPal COS / CIP core systems; hands-on KYC / PIPL compliance and security hardening.
- 0→1 delivery & quality: multiple 0→1 systems end-to-end; unit-test coverage 40% → 75%; 30+ production releases zero P0/P1; led 3-7 person frontend teams and mentored 20+ engineers.
Skills Matrix
AI Application Engineering
LLM / Agent Toolchain
RAG / Retrieval-Augmented
Frontend / Multi-platform
BFF / Service Layer
Engineering / Quality
Compliance / Security
Languages
Work Experience
PayPal
Full-Stack Engineer
Tech Stack: TypeScript, React, Next.js, Node.js, Express, Docker, Playwright, MCP, Redis, gRPC, Jest, Vitest, Makefile, Python, FastAPI
- Built the CIP identity verification platform 0→1: multi-vendor dual-channel liveness detection, enterprise security and observability, passing full PayPal security audit (Pentest / SDER).
- Owned the COS customer operations frontend: covering KYC / AI Calls / Case / Accounting / RBAC.
- Built the payment-migration verification engineering system: multi-language e-commerce test suite, 20+ Docker environments, 60+ Playwright E2E cases, turning manual troubleshooting into a reproducible, evidence-driven process.
- Engineering upkeep: contributed to Next.js 12→14 and Node 14→20 upgrades (4 production projects), raised core-module unit test coverage from 40% to 75%; 30+ production releases in the past year with zero P0/P1 incidents.
Shanghai Quante Information Technology
Full-Stack Engineer
Tech Stack: React, Next.js, Three.js, react-three-fiber, Node.js, Socket.io, Azure AI
- Led frontend architecture and end-to-end delivery of a Disney Resort AI digital-human customer service system, shipping the first working release within one month.
- Implemented web 3D digital-human rendering and lip / expression sync with Three.js + react-three-fiber; integrated Azure ASR / TTS and FunASR dual-channel voice + Socket.io for voice input, interruption and three-way sync of speech / motion / expression.
- Built the knowledge-base admin (frontend reused from open-source nsgm-cli) for Q&A maintenance and semantic matching; resolved iOS / Android mobile WebGL and audio compatibility, moving the project into demo and validation.
Trip.com Group
Senior Frontend Engineer
Tech Stack: React, Next.js, Node.js, Express, SSR, GraphQL, Serverless, Redis, MySQL, MongoDB, React Native, Taro
- Built the department’s first Node.js SSR content platform and drove long-term iteration of Trip.com multi-language content channels.
- Delivered live-streaming H5, reviews / Q&A / travelogues (RN / H5 / mini-program) and rich-text editor customization, covering the full content production-to-consumption UI.
- Led a 2-4 person frontend team for code review, standards and delivery; mentored 10+ engineers through project-based leadership in earlier years.
Shanghai Jiuzhen Network Technology
Frontend Development Manager
Tech Stack: React, React Native, Node.js, PHP, MySQL, Jenkins
- Led React Native cross-platform social app development, building and managing a 4-7 person frontend team.
- Adopted Scrum with daily syncs and two-week iterations; set up a Jenkins multi-branch automated build pipeline.
Actiontec
Software Engineer
Tech Stack: Cordova, JavaScript, Java, Linux / C / Shell, Openfire, XMPP
- Developed hybrid mobile apps (a calendar/photo app) and router embedded web management UIs, collaborating across China-US time zones.
- Built an instant-messaging app on Openfire / XMPP (2010) and authored PHP-like CGI server-side page components with Linux / Shell.
ZTE / Gksel / Jinsiwei
Software Engineer → Technical Manager
Tech Stack: Java, Struts, Spring, Hibernate, EJB, Swing, Flex, PHP, Tomcat, JBoss, Nginx
- Led Java enterprise applications, a 3G network management platform and CRM customization; promoted from engineer to technical manager, building and managing a 3-person team.
- Implemented a Google-Calendar-style drag-and-drop appointment system (2007), demonstrating complex frontend interaction skills.
Projects
PayPal - AI-Assisted Payment Migration Verification & Automation
PayPal · 2026/01 — 2026/07
- Built 20+ local test environments (16 from scratch) covering config, ordering, redirect, callback, order status, authorization, capture and refund; unified start-reset-test-verify flow via Docker Compose / Makefile / Playwright with a three-layer image cache resolving arm64 / amd64 incompatibility.
- Landed the Planner / Specialist / Evaluator three-role verification loop at PayPal, integrated into an AutoGen-based migration Agent (file I/O + PayPal API + Playwright E2E + FastAPI + SSE log stream + Web UI).
- Empirically validated 34 Orders V1/V2 fields, identifying 18 (~53%) documented-but-unenforced constraints, forming an API_ENFORCED / DOCS_ONLY taxonomy.
- Diagnosed root causes of AI migration-tool defects (missing dependencies, naming conflicts, field-mapping gaps) and fed fix proposals back to the migration-tool team.
- Integrated and tested PayPal legacy payment (NVP / SOAP) across multilingual e-commerce environments, unblocking the core payment path; contributed API-behavior evidence, migration rules and E2E reports to inform migration decisions.
PayPal - COS Customer Operations System
PayPal · 2024/08 — 2025/09
- Owned the enterprise customer-operations frontend covering KYC review, AI Calls, Case management, Accounting and RBAC; integrated 20+ gRPC microservices with a BFF / Redis data layer.
- Delivered case management (drag ordering, bulk close/download, large exports), reconciliation and omni-channel messaging (SMS / LiveChat / WeChat); KYC pre-checks reduced invalid operations by 40%.
- Built a gRPC debugging tool cutting issue localization from 1-2 hours to ~10 minutes; 10+ production releases.
- Shipped a Dashboard risk-classification view supporting daily operations of large agent teams.
PayPal - CIP Identity Verification Platform
PayPal · 2025/01 — 2025/12
- Led frontend and BFF layer 0→1 architecture and development, implementing dual-channel liveness detection with dynamic switching across vendors, meeting PIPL and enterprise security requirements.
- Built a privacy-policy management module (Quill rich text + DOMPurify XSS protection), integrating PayPal SSO and Redis session/cache.
- Landed enterprise security and observability (Passport.js / Prometheus / Jaeger / Grafana); passed full security audit (Pentest / SDER).
- Owned the full lifecycle from design, development, test verification, security audit to production release; a Plan management page configured traffic ratios across Plan / Retrieve / Result flows.
PayPal - China Website / Help Center Pages
查看PayPal · 2025/03 — 2025/12
- Built an AI-assisted page development flow with Figma MCP + Serena MCP + Playwright MCP, cutting per-page development from ~6 hours to ~1.5 hours (~4x).
- Developed CBT carousel / layered card components, merchant video sections and cross-border brand story pages with responsive and multi-language support.
- Owned help-center features: search security enhancement, mobile adaptation and a singleton Livechat toolbar (language switch, permission control), shipping search / contact-us / results pages.
- Built Germany and other overseas-market Landing Pages plus cross-border brand story pages (Keychron / Alipearl etc.) with multi-language switching.
Trip.com - International Content Platform
查看Trip.com Group · 2020/01 — 2024/01
- Owned the Blog / Destinations React SSR architecture and iteration, delivering 14 pages and 100+ reusable components.
- Supported Sitemap generation for 10 languages x 185 regions with localization, and Schema.org structured data for SEO.
- Added configurable resource-loading parameters into Next.js source, packaged as an internal npm module; Blog H5 GMV ranked only behind flights and hotels.
- Handled Next.js upgrades, Webpack bundle splitting (9 cacheGroups, dual minifiers) and SSR pipeline optimization; contributed to Core Web Vitals improvements.
- Built Trip APP React Native pages and mobile video-playback compatibility governance for consistent cross-platform content.
Open-Source AI - agentic-souls (Agent role orchestration)
GitHubOpen Source · 2026/01 — Present
- Open-source Agent role-orchestration framework: organizing multi-Agent task decomposition and collaboration via role-based (soul) design.
- Explores toolchain integration and role division for complex tasks.
Open-Source AI - langgraph-pse (PSE generic core)
GitHubOpen Source · 2026/01 — Present
- Published the PSE generic core: planner / specialist / evaluator three roles + verify-retry state machine, reusable across tasks.
- Shipped a crm-qa data-quality watchdog, landing the verification-governance loop in a CRM Q&A scenario.
- Same governance idea as autogen-pse / agentic-souls but on a different stack, probing the boundary of applicability.
Open-Source AI - autogen-pse (PSE verification framework)
GitHubOpen Source · 2026/01 — Present
- Published the PSE (Planner / Specialist / Evaluator) verification-governance framework: hardening "independent Evaluator evidence collection + bounded retries with traceability" into a reusable Agent skeleton.
- Mirrors the verification loop proven at PayPal; task-agnostic core with pytest / ruff as the Evaluator evidence collectors for auditable output.
- Released on GitHub as a runnable carrier of the PSE methodology.
Open-Source AI - rag-platform (RAG retrieval-augmented learning project)
GitHubOpen Source · 2026/01 — Present
- A minimal RAG learning project demonstrating an end-to-end pipeline: hybrid retrieval (BM25 keyword + pgvector vector weighted fusion) and OpenAI-compatible LLM generation.
- Implemented a Lexicon Gate (AhoCorasick sensitive-word blocking / direct QA / synonym expansion) and a "answer solely from retrieved passages" guardrail.
- FastAPI + Vue full-stack with PostgreSQL(+pgvector) + Redis infra; ruff / eslint all green and 13 tests covering core paths.
Open-Source - nsgm-cli (full-stack scaffold CLI)
查看Open Source · 2023/01 — 2025/12
- All-in-one full-stack scaffolding CLI: project init, templates and build pipeline as reusable engineering scaffolding.
- Reused by the Disney AI digital-human project as the page-generation base, proving its load-bearing value in real work.
- Published on npm for community and personal reuse.
Education
Nanjing University of Information Science and Technology (Dept. of Mathematics)
Bachelor's Degree · Information and Computing Science
2001/09 — 2005/06