Skip to content
View erishen's full-sized avatar

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 making AI useful 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

  • AI-assisted engineering workflows for real software systems
  • Agent workflow design with planning, execution, independent evaluation, and evidence collection
  • AI-assisted engineering workflows with agent orchestration, evaluation loops, and evidence-driven iteration
  • Developer tools, CLI workflows, prompt systems, memory systems, and MCP-based code context
  • Full-stack systems with React, Next.js, Node.js, TypeScript, Python, FastAPI, Redis, and APIs

📍 Shanghai, China

🌐 https://erishen.cn


Featured Projects

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.

The same Planner / Specialist / Evaluator multi-agent pattern reimplemented with LlamaIndex. A side-by-side comparison of two agent frameworks solving the same problem — practical insight into framework trade-offs.

A minimal RAG learning project written from scratch (no LangChain, no LlamaIndex). Features: AhoCorasick lexicon gate for sensitive word blocking / direct QA / synonym expansion, hybrid search (pgvector + BM25), Ollama embedding, and OpenAI-compatible LLM generation. Runnable, testable, and documented.

A practical LLM toolkit with LangChain + LiteLLM, supporting chat, RAG document Q&A, hybrid retrieval, streaming APIs, evaluation, and cost-aware usage patterns.

Demo: https://langchain-llm-toolkit.onrender.com/docs

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

Demo: https://chat.erishen.cn

An OpenAI Function Calling-compatible tool registry and CLI for exposing local tools through standardized schemas and agent-friendly interfaces.

Personal experiments around agent design, workflow orchestration, tool usage, and practical AI execution patterns.


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 — 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 (Ctrip) — 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. agentic-souls agentic-souls Public

    AI workflow system with Planner/Evaluator/Specialist trio — document-driven, role-based software development

  2. langchain-llm-toolkit langchain-llm-toolkit Public

    LLM toolkit with RAG & multi-model support — LangChain-based text generation, chat, and document Q&A

    Python

  3. 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

  4. nsbp-shop-e2e nsbp-shop-e2e Public

    nsbp shop e2e playwright

    TypeScript 5

  5. autogen-pse autogen-pse Public

    Task-agnostic Planner–Specialist–Evaluator (PSE) agent framework powered by Microsoft AutoGen. Register tasks under tasks/ to run verifier-gated multi-agent pipelines; first shipped task is an inve…

    Python

  6. nsgm nsgm Public

    A powerful full-stack development framework with intelligent code generation

    JavaScript 1