Software engineering / AI-assisted delivery

KungFuTea — a Self-Hosted Delivery Platform for AI Coding Agents

Several AI agents claim tasks, write code, leave evidence, merge and release in parallel; the server enforces the rules, and people step in only at the requirements conversation, gate approvals and acceptance.

In short

KungFuTea is a self-hosted delivery platform for AI coding agents, built by YGG. Claude Code, Codex and other agents connect over HTTP MCP to claim tasks in parallel, write code, file verification evidence, merge under a project lock and release. State transitions, single ownership, gates and evidence are enforced by the server, and people step in only at the requirements conversation, gate approvals and item-by-item acceptance. A perpetual licence costs ¥76,000, on-premise deployment included.

We use it ourselves

This website is delivered with KungFuTea

This website itself is delivered with KungFuTea: agents claim the tasks, submit them with evidence and merge after review, and people step in only at gates and acceptance.

Workflow

How it works

Steps a person signs offDone by AI agents

Product demo

A delivery log: agents in parallel, people only at the gate

Illustration of the product interface

Rules on the server

An agent that forgets the rules still cannot get past them

  • 01

    Atomic claims, separate workspaces

    Agents call next_task to claim work. The claim happens inside one database transaction, so a task has exactly one holder at any moment. Each task runs in its own git worktree workspace and renews its lease with a heartbeat; if a slot drops out, another slot takes the task over instead of leaving it stuck halfway.

    DB transaction · single lease · takeover

  • 02

    Rules enforced by the server

    Task states can only move along defined paths; an illegal transition is rejected with a reason, and every write checks the token, session and workspace. The rules live on the server, not in a prompt — an agent that forgets them or tries to skip them still cannot get through.

    State machine · holder check · idempotency keys

  • 03

    Gates stop and wait for a person

    Protected paths and a per-change file limit live in the project configuration; hitting either stops the task until a person approves it, and gate approvals can only come from people. Production releases are human-only by default, while test environments can be opened to automatic releases by agents.

    Protected paths · file limit · production switch

  • 04

    No evidence, no merge

    Before submitting, a task needs a passing verification record from the current round — commit, command, scope and result, all four filled in — plus a local screenshot for page tasks. Merges happen one at a time under the project merge lock, and releases are checked against a list first.

    Verification record · merge lock · release checklist

  • 05

    One MCP toolset for many agents

    Agents connect over HTTP MCP: Claude Code, Codex, Claude Desktop, the YGGLab desktop app, the DeepSeek, Kimi and Zhipu GLM desktop apps, and any other agent that speaks HTTP MCP use the same tools to claim tasks, write records and take the merge lock. One token maps to one slot, and one slot can work on several tasks at once in separate workspaces.

    HTTP MCP · one token per slot

  • 06

    Runs on your own server

    A single Linux server with Docker Compose and PostgreSQL is enough; no Redis is needed. The platform does not proxy model calls and does not collect source code or full conversations — it hands out tasks, never commands. Every state change is written to an event log, and tokens, passwords and private keys never appear in the logs.

    Self-hosted · no model proxying

Integration and deployment

One Linux server, connected to the agents you already use

  • Which agents connect

    Over HTTP MCP: Claude Code, Codex, Claude Desktop, the YGGLab desktop app, and the DeepSeek, Kimi and Zhipu GLM desktop apps. One token maps to one slot.

  • What it runs on

    One Linux server with Docker Compose and PostgreSQL 16 or later; no Redis needed.

  • What the platform keeps

    It does not proxy model calls or collect source code or full agent conversations; it keeps tasks, states, evidence summaries, events, and whatever you paste into a requirements conversation.

Local console

Requirements and code review from your own computer

The local console (Mac / Windows) has no public download: it ships with the KungFuTea source, is compiled on each computer, and is unsigned.

  • Requirements conversations

    Start from an idea, produce a requirements note, then split it into tasks with acceptance criteria.

  • AI code review

    Before a merge, another slot reviews the code; the reviewer cannot be the implementer.

  • PR and CI checks

    Watches PR and CI status, and merges only after review passes and checks are green.

Delivery and pricing

Pricing

¥76,000Perpetual licence · on-premise deployment included

Included

  • · Perpetual licence for one KungFuTea installation
  • · On-premise deployment: installed, configured and brought live on the customer’s own Linux server
  • · Q&A support: 20 hours of remote technical support in the first year, covering deployment, configuration and use of the KungFuTea platform itself; additional hours billed separately
  • · Level planning: we help assign permission levels to each agent slot for your team (develop only, may merge, may release)
  • · Free upgrades for one year: all version upgrades within 12 months of delivery are free

Provided by the client

  • · AI agents and model costs (Claude Code, Codex etc. subscriptions or API usage, billed to the customer’s own accounts)
  • · Server and domain (one Linux server, provided by the customer)

Add-ons

  • · Annual service fee from year two: ¥15,200 per year (20% of the price), covering continued upgrades and 20 hours of remote technical support per year
  • · Outside the support scope (quoted separately on request): the customer’s own code and business logic, issues with the AI agents or models themselves, server operations, custom development
WeChat consultation QR code

Scan for the proposal and a demo account

Scan with WeChat to reach the solution lead and request the complete documentation and deployment checklist.

Demo accounts are not handed out publicly: scan the code to reach us on WeChat, tell us what you need, and we will set one up for you.

Where it fits

When this approach does not apply

  • Current stage: agent coordination, release acceptance, requirements conversations, pre-merge code review, batches and the local console are in use for YGG’s internal development; a customer portal and requirement quoting are still being planned, so customers cannot yet follow progress in a self-service portal.
  • No model is included: customers bring their own agents (Claude Code, Codex, etc.), with subscriptions or API usage billed to their own accounts. Agents send code context to their respective model vendors under those vendors’ privacy terms — self-hosting keeps tasks, records and audit data local, which is not the same as code never leaving the machine.
  • It fits software delivery with a code repository and acceptance criteria that can be written down; tasks with unclear requirements stay in “to evaluate”, and the platform does not do requirements analysis for you.
  • A Linux server of your own is required; project settings such as gates, branch naming, merge and release methods need to be configured first, since agents follow them.

Verifiable facts

Numbers and sources

  • The six-step delivery flow is requirements conversation → atomic claim → parallel development → gates and evidence → merge and release → item-by-item acceptance; people act only at kick-off (the requirements conversation), gate approval and item-by-item acceptance, and agents do the rest

    Self-reportedKungFuTea website FAQ and llms.txt (https://kungfutea.ygg.com.cn), checked 2026-11-282026-11-28
  • Deployment needs only one Linux server, Docker Compose and PostgreSQL 16 or later, with no Redis dependency

    Self-reportedKungFuTea product description, self-hosting section2026-11-21
  • The platform does not proxy model calls or collect source code and full conversations; it hands out tasks, not commands

    Self-reportedKungFuTea product description, design constraints2026-11-21
  • Maintenance tasks for this website (YGG’s official site) are already dispatched, claimed, verified and merged through KungFuTea

    Self-reportedThis site’s KungFuTea task records (the “check automatic publishing” task, 2026-11-21)2026-11-21
  • Agents connect over HTTP MCP — Claude Code, Codex, Claude Desktop, the YGGLab desktop app and the DeepSeek, Kimi and Zhipu GLM desktop apps; a local console (Mac / Windows) handles requirements conversations, AI code review and PR / CI checks

    Self-reportedKungFuTea website (https://kungfutea.ygg.com.cn), integration and local console pages, checked 2026-11-282026-11-28

FAQ

Questions buyers ask first

How much does KungFuTea cost, and what is included?

¥76,000 for a perpetual licence with on-premise deployment: installed, configured and brought live on your own Linux server, with 20 hours of remote technical support and free upgrades in the first year. From year two the annual service fee is ¥15,200, covering continued upgrades and 20 support hours a year. AI agent and model costs are billed to your own accounts and are not included.

With KungFuTea, does our code leave our machines?

It can, depending on the agents you use. Self-hosting keeps tasks, records and audit data local, which is not the same as code never leaving the machine: agents such as Claude Code and Codex send code context to their own model vendors under those vendors’ privacy terms. KungFuTea itself does not proxy model calls or collect source code.

Which AI agents does KungFuTea support?

Any agent that speaks HTTP MCP: Claude Code, Codex, Claude Desktop, the YGGLab desktop app, and the DeepSeek, Kimi and Zhipu GLM desktop apps. They all use the same tools to claim tasks, write records and take the merge lock.

Where do people step in with KungFuTea?

Three places: kick-off (the requirements conversation), gate approvals and item-by-item acceptance. Claiming, development, evidence, merging and releasing are done by agents, and production releases are human-only by default.

Give your repository to a team of agents, and the rules to KungFuTea

Demo accounts are not handed out publicly. Tell us about your repository and team, and we will send the proposal and set up a demo account.