Skip to content
View erishen's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report erishen

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
erishen/README.md

Hi, I'm Lei Sun

AI engineering / platform engineering / senior full-stack engineer focused on landing AI in real engineering workflows.

I currently work on FinTech engineering at PayPal, building customer-facing systems with React, Next.js, and Node.js. Recent focus areas include AI-assisted engineering workflows, system security hardening, and large-scale framework upgrades.

I care less about one-off AI demos and more about systems that are runnable, reproducible, testable, and explainable.

πŸ” Open to opportunities


Current Focus

  • Landing AI in real software systems (AI-assisted engineering workflows)
  • Agent workflow design: planning / execution / independent evaluation / evidence-driven iteration
  • Quality & security engineering: reproducible workflows, deterministic checks, and security hardening
  • Developer tooling: CLI workflows, prompt / memory systems, and MCP-based code context
  • Full-stack systems with React, Next.js, Node.js, TypeScript, Python, FastAPI, Redis, and APIs

πŸ“ Shanghai, China

🌐 Blog: https://erishen.cn


Featured Projects

An async RAG document pipeline in Rust / axum: upload, chunking, embedding, vector write and hybrid retrieval (BM25 + vector) in one service; a seven-layer architecture decouples storage (SQLite exact dedup + perceptual hash) through retrieval, LLM re-ranking to generation. Local-first and privacy-oriented, built on classic algorithms + heuristics rather than heavy ML dependencies.

An AI BI workbench: connect SQLite / CSV / PostgreSQL / MySQL, ask in natural language, LLM writes read-only SQL and renders ECharts dashboards. A deterministic Text2SQL pipeline (schema constraints + read-only execution + result validation) runs in parallel with a ReAct dual-path (tool calls + reflection/retry), balancing control and exploration; pre-execution permission / scope checks for self-service BI.

Multi-agent workflow system built on AutoGen: Planner decomposes tasks, Specialists execute, Evaluator reviews β€” with evidence-driven iteration and independent quality gates. Demonstrates practical agent orchestration for real engineering workflows.

Evolved from a single RBAC auth module into a small microservice system: Eureka discovery + Config + Gateway (PEP + hand-rolled zero-dependency JWT) + auth / rbac services, extended with CRM, audit and a BFF layer into a reusable enterprise backend skeleton.

A modern AI chat application with streaming responses, RAG document retrieval, Markdown rendering, theme switching, and practical conversation workflows.

Demo: https://chat.erishen.cn


Writing

I write about AI engineering, agent frameworks, and full-stack practice on my blog: erishen.cn.


Engineering Themes

AI Engineering
Agent workflows, tool calling, MCP, RAG, evaluation loops, prompt systems, memory systems, SSE execution logs.

Platform Engineering
Docker, Makefile, multi-stack environments, reproducible workflows, local tooling, developer productivity.

Full-Stack Systems
React, Next.js, TypeScript, Node.js, Python, FastAPI, Redis, GraphQL, REST APIs, Playwright.

FinTech
Customer-facing systems, identity verification, compliance workflows, secure full-stack development.


Background

  • PayPal β€” Senior Full-Stack Engineer (2024 – Present)
    Customer-facing FinTech systems, identity verification, AI-assisted engineering workflows, full-stack development with React/Next.js/Node.js
  • Trip.com Group β€” Senior Frontend Engineer (2017 – 2024)
    International content platforms, Node.js SSR, SEO, multilingual content, frontend engineering evolution
  • Earlier β€” Software Engineer β†’ Technical Manager (2005 – 2017)
    Enterprise systems, mobile apps, embedded web, cross-team delivery

Links

Pinned Loading

  1. autogen-asset-analyst autogen-asset-analyst Public

    Multi-agent investment research roundtable built on AutoGen. Four agents (value investor, technical analyst, risk controller with veto power, investment director) debate and reach consensus on port…

    Python 1

  2. nsbp-shop-e2e nsbp-shop-e2e Public

    nsbp shop e2e playwright

    TypeScript 5

  3. nsgm nsgm Public

    A powerful full-stack development framework with intelligent code generation

    JavaScript 1

  4. react-native-pageview react-native-pageview Public archive

    React-Native Plugin

    JavaScript 2

  5. cicdkit cicdkit Public

    Local-first CI/CD platform β€” build Docker images and release to a k3s cluster from one web UI. Zero-dependency Go stdlib backend with an embedded React/Vite frontend.

    Go 2

  6. datapulse datapulse Public

    DataPulse β€” AI BI studio: chat with your SQLite/PostgreSQL/MySQL/CSV data. The LLM agent writes read-only SQL, answers from real data, and auto-generates ECharts dashboards. Local-first, privacy-co…

    TypeScript