Skip to content

Resume ​

STARK LAI · AI AGENT · AGENT HARNESS · TECHNICAL LEADERSHIP

Jinyue Lai Stark Lai

20+ years of programming, product, and technology leadership experience. My recent work focuses on AI Agents, Agent Harnesses, MCP, and AI-native products, combining hands-on Runtime development with complex platform architecture, team building from 0 to 1, and product commercialization.

20+Years of programming and product practice
6Systematic Agent Harness projects
20+Hackathon track awards
2000+Developer community members

Target Roles: VP of Agent R&D / Head of Agent Technology / AI Agent Platform Architecture Lead

Professional Summary ​

I bring 20+ years of programming, product, and technology management experience, combining hands-on Agent Runtime development with experience building a nearly 20-person R&D team, a PaaS, and cross-platform products from 0 to 1. My recent focus is AI Agents, Agent Harnesses, MCP, and AI-native products:

  • Independently completed two 100-day Agent Harness projects, Personal Agent and PI Agent, plus 30-day clean-room educational implementations of four architectures: OpenCode, OpenHands, Codex CLI, and Warp. This work systematically covers model integration, tool calling, context, memory, task orchestration, sandbox boundaries, Trace, Replay, Eval, CLI, SDK, and extension mechanisms.
  • Delivered Streamable HTTP MCP, user authorization, 35 user-level tools, and 6 public read-only tools at JJF Incubation Lab, connecting Agent capabilities to unified accounts, credits, orders, payments, moderation, notifications, and operations.
  • Experienced in complex platform architecture and end-to-end business workflows, with the ability to evaluate performance, reliability, security, cost, developer experience, and commercialization together; hands-on experience making build-versus-buy technology decisions.
  • Combine AI Coding with automated testing, deterministic Demos, E2E, ADRs, and release acceptance in Agent projects, turning rapid validation into testable, observable, recoverable, and releasable engineering outcomes.

Core Competencies ​

  • Agent Technology Strategy and Architecture: Agent Loop, Model Provider, Tool Contract, dynamic tool retrieval, MCP, context engineering, short-term / long-term memory, sub-Agents, DAG, background tasks, and lifecycle management.
  • Runtime Reliability and Quality: Task state machines, timeouts and cancellation, structured error feedback, retries and circuit breakers, checkpoint recovery, idempotency, Trace / Span, Replay, Eval, Token / cost tracking, and release audits.
  • Security and Sandbox Boundaries: Least privilege, tool allowlists, sensitive-action approvals, tenant policies, command admission, process-group cleanup, output limits, auditing, and high-risk action fallback; able to distinguish process controls from OS-level security isolation.
  • Platform and Transaction Workflows: Unified accounts, PAT / Bearer Token, credit ledgers, orders and payments, callback verification, refunds, Outbox, Workers, content moderation, operations consoles, and open interfaces.
  • R&D Organization and AI Coding: Built and managed teams of nearly 20 people from 0 to 1, with cross-functional and cross-time-zone collaboration; use architectural standards, automated testing, Feature Review, CI/CD, and AI Coding workflows to safeguard delivery quality.
  • Product and Business Judgment: Translate product positioning, user needs, and growth logic into technical priorities, with hands-on experience across AI products, trading platforms, developer tools, courses, and communities.

Core AI Agent and AI Product Experience ​

Personal Agent | Open-Source General-Purpose Agent Harness Tutorial ​

Role: Author and Independent Designer / Developer | TypeScript / Node.js 24+ / SQLite / MCP / CLI / SDK | D100 completed, v1.0.0, MIT

Project: GitHub

Built an embeddable, replaceable, and observable Agent Runtime from scratch, starting with model calls and the tool loop rather than implementing only a chat application.

  • Core Runtime: Designed an Agent Loop covering “context construction → model invocation → Tool Call parsing → permission and Schema validation → tool execution → structured result feedback.” Provider abstraction decouples the runtime from specific model vendors and supports streaming responses, Token usage, timeouts, cancellation, and structured stop reasons.
  • Tooling and Protocols: Implemented ToolRegistry, recursive Schema validation, dynamic tool retrieval, lazy loading, error feedback, and MCP stdio Client / Server. Remote MCP tools can be projected as local Tools, reusing permission, timeout, retry, throttling, and circuit-breaker policies.
  • Context and Long-Running Tasks: Implemented context budgets, message priorities, paired Tool Call / Result pruning, compaction, layered memory, plans, checkpoints, cost budgets, task queues, background Runners, sub-Agents, and DAG orchestration.
  • Observability, Evaluation, and Recovery: Built Session / Run persistence, Trace / Span, Replay, Eval assertions, unified events, and structured logs so runs can be audited, replayed, and verified.
  • Security Controls: Implemented tool allowlists, sensitive-tool approvals, tenant policies, data retention, and version migrations. Command execution includes temporary directories, minimal environment variables, process-group cleanup, output truncation, exact argv allowlists, and JSONL auditing, while explicitly acknowledging that these controls do not constitute an OS-level production sandbox.
  • Developer Experience and Delivery: Delivered a CLI, REPL, programmatic SDK, health checks, and deployment documentation. Organized development through 100 daily branches, offline Mocks, deterministic Demos, E2E, ADRs, and release audits. The v0.1.0 release baseline included 234 tests and 95.13% line coverage, and passed offline tarball installation in a clean directory plus CLI / Demo acceptance.

PI Agent and the Multilingual Agent Harness Series ​

Role: Author and Independent Designer / Developer | TypeScript / Python / Rust | 6 systematic implementation projects

  • PI Agent (100 days, v1.0.0): Implemented a multi-Provider model layer, event-driven Agent Loop, Harness lifecycle, tool hooks, Steering / Follow-up, JSONL session trees, SQLite, Auto-compaction, Skills, Prompt Templates, TUI, CBOR RPC, an extension Loader, and Evals. Maintains a map to the real PI source code and explicitly recognizes the gap between the educational implementation and the production system.
  • Harness TS / PY / RS: Built educational implementations of OpenCode, OpenHands, and Codex CLI, covering SSE, event streams, Runtime, CodeAct, WebSocket, Microagent, Rollout recovery, Apply Patch, approval policies, and Exec JSONL. These implementations provide architectural comparisons of the same Agent problems across languages and designs.
  • Termblock: Built an educational implementation of Warp covering macOS PTY, Block output, OSC 133, natural-language command approvals, Shell / Edit Agent, Diff, and session restoration, building hands-on experience with Coding Agents and terminal developer experience.
  • The series prioritizes reproducible tests and explicit capability boundaries; educational versions are not presented as production-scale, officially compatible, or backed by real-world SLOs.

Project hub: Agent Harness Open-Source Organization

JJF Incubation Lab | Integrated Entrepreneurship and Trading Platform for AI One-Person Companies ​

Role: Product Architecture, Full-Stack Development, and Agent Integration | uni-app / uniCloud / Vue / H5 / Streamable HTTP MCP

Platform: ai.jjf-tech.cn

Built for AI one-person companies (OPCs), the platform brings AI tools, project incubation, content, events, courses, communities, and transactions into a unified account and operations system. I am responsible for product architecture, core systems, and open Agent capabilities.

  • Open Agent Capabilities: Designed and delivered user-level Streamable HTTP MCP with 20 incubation-space tools and 15 event tools, covering asset and map reads, project editing, listing, registration, event management, and order creation / query / cancellation. Also provided 6 anonymous read-only city MCP tools for search, details, Skills, and reference materials.
  • Permissions and Security Boundaries: Implemented hashed Token storage, 30-day default validity, rotation-based invalidation, Scope and ownership checks, parameter Schemas, and idempotent writes. High-risk actions such as real payments, refund reviews, and event moderation fall back to H5 or the admin console, preventing Agents from bypassing business permissions or human confirmation.
  • Transaction and Accounting Foundation: Built unified credit accounts, append-only ledgers, server-side pricing, business orders, payment callback verification, proactive reconciliation, database transactions, idempotent fulfillment, and refund boundaries, allowing AI calls, content unlocking, events, and courses to share the same transaction foundation.
  • Asynchronous Tasks and Operational Reliability: Built Workers, state machines, backoff polling, failure retries, automatic refunds, Outbox notifications, and permanent-failure states for long-running AI tasks and multi-channel notifications, alongside content, order, asset, and system operations consoles.
  • AI Productization: Planned and built modules including AI Notes, Bilibili video summaries, digital humans, 3D generation, an AI study room, a mathematics lab, and city Skills, continuously adjusting product boundaries and R&D priorities based on real user feedback.
  • Community and Growth: Organized AI Tavern, AI Afternoon Tea, hands-on AI classes, and AI hackathons, turning community questions, Demos, and practical lessons into courses, content, and product case studies.

AMS · AI Movie Studio | Multi-Model Generative Media Workspace ​

Role: Product Architecture and Full-Stack Development | Next.js 15 / React 19 / TypeScript / Prisma / Redis / BullMQ

For novel-to-short-drama and comic-video scenarios, organized text, image, video, and speech models into a sustainable production pipeline.

  • Designed the “script → characters / settings → storyboards → image-to-video → multi-character TTS → lip synchronization → final cut” pipeline, using intermediate layers such as character cards and setting assets to improve consistency.
  • Built four queues for Image, Video, Voice, and Text with independent Workers, unified task states, heartbeat renewal, and dedupeKey idempotency. A Watchdog handles zombie tasks, automatic requeueing, and failure fallback.
  • Implemented DAG workflows, individual-step retries, Provider switching, checkpoint-based resumption, intermediate-artifact reuse, and real-time SSE progress; abstracted multi-model capability catalogs, configuration, pricing, failover, and BYOK.
  • Designed balance freezing, settlement based on actual usage, and rollback on failure; unified image, video, and audio references through MediaObject to hide differences between storage backends.

My AI Router | Multi-Platform AI Quota Aggregation Gateway ​

Role: Personal Project, Independent Design and Development | Next.js / Rust axum / Redis / libSQL

  • Pools quotas and Coding Plans from multiple AI platforms into an OpenAI-compatible gateway, estimating available capacity from billing snapshots and local usage deltas and switching within a request before thresholds are reached.
  • Uses Redis Lua atomic in-flight counters for multi-instance route selection; SSE uses byte-level pass-through and side-channel Usage metering, balancing streaming compatibility, cost accounting, and failover.
  • Separates the TypeScript control plane from the persistent Rust data plane, with configuration hot-synchronized through push updates and fingerprint polling. The project is explicitly positioned for real personal use rather than overstated production concurrency.

Agent Plugin and Ecosystem Practice ​

  • Cindy Plugin Development: Contributed to the plugin ecosystem of a local open-source AI Agent client, connecting MCP, Skill, Memory, Automation, and multiple Agent Harnesses. Addressed plugin configuration, permissions, runtime loading, and user feedback, and collaborated on Electron, Expo / React Native, and shared Packages.
  • DeepSeek Harness Plugin Development: Studied Cordis plugin lifecycles, service dependencies, and composition, organizing Providers, tools, sessions, and the Web UI into loadable, configurable, and testable plugins. Verified contracts through types, snapshots, E2E, and build gates.
  • Daily Keep: Built a JSON-RPC 2.0, Streamable HTTP, and SSE MCP Server from scratch, exposing check-ins, to-dos, timers, and other business functions as standard tools. Used dual-channel Session Cookie and Bearer PAT authentication to ensure Agents can only access the currently authorized user's data.

Technology Leadership and Platform Architecture Experience ​

Xiamen JJF Technology Co., Ltd. | Founder / Full-Stack and Product Lead ​

2022.05 — Present

  • Founded a technology and product community focused on AI, Agents, Web3, and real products, completing 10+ PoCs and helping launch multiple MVPs.
  • Won 20+ hackathon track awards as an individual participant, developing an efficient validation approach of “rapid learning → technology selection → Demo validation → product retrospective.”
  • Operate technology content and developer communities including Web3HackerWorld and HelloRWA, reaching 2000+ members, with ongoing sharing, courses, and project collaboration.

Decentralized Exchange Project | Division Architecture and Security Lead ​

  • Responsible for overall division design, planning, delivery, and security strategy. Built and managed a product and R&D team of approximately 20 people, covering security architecture, smart contract audits, and on-chain monitoring.
  • Led asset-custody security architecture including hot / cold wallet separation, multisignature, and MPC; built KYT / AML risk identification, anomalous-transaction monitoring, and multi-channel real-time alerts.
  • Promoted SDL, security audit processes, and incident-response plans. Wrote 100+ smart contract test cases covering fuzz testing, business logic, and boundary conditions; the contracts passed an audit by a leading global audit firm with a score of 97.7.

FUNSOLE | CTO ​

2018.10 — 2020.01 | Beijing / Ningbo

  • Built an R&D and startup team of nearly 20 people from 0 to 1, planned the company's overall technical architecture, and launched simultaneous updates across iOS, Android, and WeChat Mini Programs.
  • Combined a uni-app frontend, PaaS backend, Docker cluster, and automated CI/CD to support parallel delivery of multiple growth products, multi-instance scaling, and independent microservice releases.
  • Reduced duplicate backend and business-module development through Headless Table and reusable foundations, while owning the sneaker futures trading platform, high-availability architecture, and complex trading-rule design.

RingCentral Xiamen R&D Center | Team Leader, Desktop ​

2018.03 — 2018.09

  • Managed a frontend R&D team of nearly 20 people, owning desktop architecture exploration, frontend infrastructure, day-to-day team management, and cross-time-zone collaboration with US headquarters.
  • Promoted Jenkins-based Feature-based automated App Review to improve team testing and iteration efficiency.
  • Led research into alternative audio and video technologies, evaluated purchasing Zoom services versus building in-house capabilities, and reported technical capability, cost, and risk trade-offs to US headquarters to support the final decision.

iHealthLabs Beijing (Xiaomi Ecosystem Company) | Full-Stack R&D Engineer ​

2015.09 — 2017.09

  • Contributed to iOS, Android, WeChat Service Account, and Web products for chronic disease management, leading architecture based on Vue, Koa, Redis, MongoDB, Socket.IO, and WeChat APIs.
  • Built Cordova cross-platform and enterprise-distribution toolchains, contributed to Bluetooth hardware integration, Jenkins CI, and containerization, and assisted other teams with technical problem-solving.

Earlier Career Summary ​

  • 2008—2013: Managed and delivered full-stack projects for international clients and a German headquarters, completing 100+ international projects and owning English requirements communication, solution design, development, launch, and acceptance.
  • 2006—2008: Self-taught PHP, ASP, and Java at university; independently built a campus online store and information systems, and completed internships at Fuzhou Shifang Group and Beijing 360 Group.

Technology Stack ​

  • Agent / AI: Agent Harness, Agent Loop, Tool Calling, MCP, Skill, Plugin, Memory, Knowledge Search, Context Engineering, Sub-Agent, DAG, Trace, Replay, Eval, OpenAI-compatible API, and multi-model Providers.
  • Engineering Productivity: AI Coding, offline Mocks, deterministic testing, E2E, ADR, Architecture Guards, release audits, Git, Jenkins, and GitLab CI/CD.
  • Full-Stack: TypeScript, Node.js, Python, Rust, Vue, Nuxt, React, Next.js, uni-app, Electron, and Expo / React Native.
  • Data and Infrastructure: MySQL, PostgreSQL, MongoDB, Redis, SQLite / libSQL, Prisma, BullMQ, Docker, Kubernetes, Terraform, AWS, Alibaba Cloud, Cloudflare, and Vercel.
  • Security and Transactions: Least privilege, Token / PAT, Schema validation, approval policies, auditing, payment callbacks, idempotency, transactions, Outbox, KYT / AML, and smart contract security.

Education ​

Fuzhou University | Bachelor's Degree | Applied Physics

Languages and Public Impact ​

  • Native Chinese speaker; able to use English for workplace, technical, and cross-time-zone communication.
  • Developer communities totaling 2000+ members; published 40+ technical, market, and project articles through WeChat Official Accounts.
  • Won 20+ hackathon track awards from 2021–2024, including 1st Place at Mars Hackathon, 1st Place at MetaVerse Hackathon, 3rd Place at the HashKey Hong Kong Blockchain Competition, and 3 track awards at the inaugural AO Global Hackathon.

My focus is not making a model merely appear capable of completing tasks. It is building Agent systems with clear boundaries, verifiable quality, recoverable failures, accountable costs, and sustainable extensibility—and making them genuinely useful to users and the business.


Additional Project Experience ​

The following projects supplement those not expanded above. Personal Agent, PI Agent, the Harness series, JJF Incubation Lab, AI Movie Studio, My AI Router, Cindy, DeepSeek Harness, and Daily Keep are detailed in the main sections.

AI Products and Independent Development ​

  • Multi-Chain AI Content and Agent Platform (PP-All, project name redacted): Contributed to product positioning, module decomposition, and development from Demo to a verifiable end-to-end workflow, covering AI content production, on-chain products, automated operations, Agent Skills, and multi-model collaboration. Addressed idempotency, retries, and state recovery across on-chain transactions, RPC, database writes, and media uploads.
  • jjf-tech.cn Brand Website: Built the AI Creation Lab brand website and content operations platform using Nuxt 4, Nuxt Content, and Nuxt UI, showcasing AI, 3D printing, hackathons, hands-on courses, and community events.
  • 3D Scroll Personal Homepage: Used AI to generate a science-fiction armor video and native JavaScript to map scroll position to the video timeline, creating a scroll-driven interactive narrative.
  • Web3Hacker.World Website and Content Platform: Owned product and interface design, development, deployment, and maintenance using Vite, Vue 3, TypeScript, Tailwind CSS, and Vercel. Designed three community membership tiers, published 40+ technical and market articles, and attracted 10+ paying Hacker Members.

Web3, Smart Contracts, and Decentralized Applications ​

  • RWA-Wallet | Browser Wallet Extension: Studied MetaMask source code and Onboarding flows, reimplementing wallet creation and local encrypted mnemonic storage. Delivered NFT issuance, sales, resale, a trading marketplace, payment tokens, and embedding within X pages. The project attracted 2000+ downloads, recorded more than 15,000 X-user authorized logins in its backend, and received a Polkadot hackathon participation award. Technologies included Vite, Chrome Extension, Solidity, Hardhat, OpenZeppelin, ERC-721, and ERC-1155.
  • RWA-Wallet | Keyless-Login DApp: Built keyless login and complex asset logic using Nuxt 3, Tailwind CSS, Web3Auth, Lit Protocol, EIP-2535, and ERC-1155, with substantial interaction and UI optimization for a real production launch.
    • CreatorX: Implemented posting to X, ERC-1155 account shares, fan purchases, encrypted posts, shareholder unlocking, and one-time NFT (SBT) content unlocking. Designed new-user invitation tasks that brought the platform 15,000+ real-user X authorizations.
    • IXO Protocol: Developed ERC404Pro, an improved version of ERC-404, supporting tokens / NFTs with dual fungible and non-fungible properties and free conversion between NFTs and corresponding token quantities within the contract.
  • Uni-Bridge | Omnichain Asset Bridge: Used Nuxt 3, Solidity, EIP-2535, ERC-1155, SwapKit, Supabase, and Wormhole to customize omnichain asset bridging for tokens and NFTs. Integrated Acala and Bifrost and implemented staking-related contract logic, winning a Polkadot Hackathon Acala track award.
  • AO Snake and AO Invitation-Code SaaS: Learned AO and built an on-chain Snake game and invitation-code SaaS, reducing Sybil attack risks through X sharing and winning 3 track awards at the inaugural AO Global Hackathon.
  • BnB3 | Blockchain Hotel Booking: Modeled a real hotel booking workflow on-chain, reserved dynamic-pricing logic, and used server-side signatures to let frontend users execute contract methods and write data on-chain. Won 3rd Place in the HashKey Hong Kong Blockchain Competition and founded the BnB3DAO community during delivery.
  • Buidlers.Space | NFT Creation and Trading Platform: Used the EIP-2535 Diamond Protocol to overcome the 24KB contract-size limit, building an OpenSea-like NFT platform with an integrated marketplace and unified payment token. Integrated Lit Protocol and IPFS for frontend encryption, upload, NFT-based access control, and assembled decryption, and integrated CyberConnect. The project was later taken offline because excessive feature complexity harmed the user experience; it remains a product and engineering retrospective.
  • NFTTop.Best | Web3 Version of Product Hunt: Built a project-discovery platform with Vue 3, Pinia, IPFS, Hardhat, PWA, and Vite, emphasizing minimalist interactions and a unified interface. Won 3rd Place in the IPFS Track and 2nd Place in Nervos at Hackathon City.
  • Web3 Secret Club | Digital-Product Marketplace: Delivered digital-product sales, NFT issuance, sales, resale, and a 1% platform fee, owning frontend, backend, and contract development, deployment, and maintenance. Won the Web3 Infinity Top 30 Pool Prize.
  • ETH-Global XMTP / LIT Image-Gating Chat: Rapidly learned and integrated XMTP and Lit Protocol during a hackathon to build a Token-gating chat application. Won awards in both the XMTP and Lit Protocol tracks and was featured on the official XMTP blog.
  • d-blog-to-earn | Decentralized Blogging and Social Product: Provided Linktree-style homepages, following, and chat for wallet addresses; combined CyberConnect and on-chain data for social filtering and enabled creator revenue through NFT Gating. Marked my first hands-on use of Ceramic, Self.ID, and Bundlr, and won 1st Place at MetaVerse Hackathon.

Earlier Full-Stack and Platform Projects ​

  • International WordPress Project Portfolio (2008—2013): Delivered 100+ projects for international clients and a German headquarters across multiple industries, owning English requirements communication, solution design, theme and plugin customization, development, launch, and acceptance.
  • Campus Online Store and Supermarket Platform: Independently built the storefront, admin backend, ordering, and inventory functions at university and participated in actual operations.
  • University Network Department Software Platform and College Information System: Built the respective systems using ASP and PHP.
  • Chronic-Disease Management Cross-Platform Applications and WeChat Platform: At iHealthLabs, contributed to iOS, Android, WeChat Service Account, and Web applications for hypertension and diabetes, covering the Vue / Koa backend, Cordova cross-platform development, a Bluetooth blood-pressure-monitor plugin, software / hardware integration, and enterprise distribution.
  • FUNSOLE Multi-Product PaaS and Sneaker Trading Platform: Planned reusable PaaS foundations, Headless Table, a Docker cluster, and multi-instance CI/CD to support rapid iteration across Mini Programs and cross-platform applications, while advancing limited-edition sneaker trading and a high-availability transaction architecture.

Keep building. Stay curious.