← Back to Leaderboard
Kkungfu-systems

kungfu-systems/kungfu

A project-local task layer that preserves work across coding agents and failed attempts.

AI Coding ToolQuickstart ↓
Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated 9d ago
Latest Release
v4.0.0-alpha.5
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption23/25
Release Cadence17/20
License Clarity20/20
CLISelf-Hosted
Total Stars
★ 4,544
24h Growth
+0
7d Growth
+2
Forks
1,287

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

kungfu-systems/kungfu Star History (2020-01-13 - 2026-12-04) ALL-TIME STAR HISTORY (2020-01 – 2026-12) +3k in 2517d · avg +1/day 4.7k 2.9k 1.1k 2020-01-13: ★ 1,5412020-06-20: ★ 1,7742020-11-21: ★ 1,9282021-04-24: ★ 2,1892021-09-25: ★ 2,3332022-02-26: ★ 2,4502022-07-30: ★ 2,5572022-12-31: ★ 2,6442023-06-03: ★ 2,7552023-11-04: ★ 2,8452024-04-06: ★ 3,0422024-09-07: ★ 3,2842025-02-08: ★ 3,4132025-07-12: ★ 3,5752025-12-13: ★ 3,6912026-05-16: ★ 3,8292026-12-04: ★ 4,544 ★ 4.5k 2020-01 2023-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Kungfu is a durable task layer beside the agent console, not a replacement for it. A Project groups related tasks; a Work holds one objective, evidence, progress, next action, and completion state; an Attempt records a single execution, including failure. Agent consoles, the CLI, APIs, and optional TUI and GUI expose the same Work state. If a live agent already owns a Work, Kungfu blocks a second writer rather than merging competing updates.

The repository combines native components with a pnpm 11.7.0 workspace spanning framework/, developer/, extensions/, examples/, and product/. The root install script routes through Shifu, and Kungfu embeds the same Shifu crate source in-process that is also shipped as standalone binaries. The .kungfu/ directory holds project-local Work and runtime state. The available material does not establish its storage format or an MCP transport; neither should be assumed from the workspace layout or category label.

Key Capabilities & Differentiators

Run kungfu run codex to use the native console with Kungfu tracking the task, or substitute claude, opencode, or amp. An agent already in use can enter through kungfu agent brief. Handoff is task-level, not transcript replay: a new session can pick up the objective, evidence, and next action without copied chat. Declared sources, omissions, conflicts, and uncertainty remain visible, and the executing agent can submit a result but cannot approve its own Work. Independent review and Kungfu settlement are distinct from process exit.

Two deterministic Mock Agent scenarios give evaluators concrete tests. recovery-story keeps one Work intact across three Attempts: disconnect, crash, and recovered delivery. multi-step exercises a question, an approval, and a ready-for-review result in one Attempt. Neither is a model benchmark or evidence that every backend handles failure identically. Standard onboarding still needs a supported real agent for independent review.

Trade-offs & Limitations

Native session resume is simpler when one agent can finish the task and its conversation history is sufficient. Kungfu adds value when work outlives a session or changes hands and the next agent needs the current objective and evidence rather than a transcript. That comes with a project-local state directory to manage and a separate review step. The single-writer rule prevents competing updates to one Work, but is not a fit for simultaneous multi-agent editing of that same Work.

Treat v4 as an Alpha pilot, not a production durability guarantee. Before adoption, test the handoff and review path with your actual agent pair, and check the project's known limits and version compatibility policy before relying on upgrades. Kungfu does not stage, commit, or push files for you; follow workspaceGit rather than putting all of .kungfu/ under version control. The Apache-2.0 license covers Kungfu; connected providers have separate terms and data-handling policies.

Hardware & Deployment Guide

The CLI is self-hosted at the project level. The macOS and Linux quickstart uses a per-user installer that does not invoke sudo or modify shell profiles; apply the PATH step it prints. Use docs/guides/installing-cli.md for Windows, version pinning, and higher-assurance installation. First validate local recovery with the credential-free Mock Agent, then test execution and independent review with the agents you intend to use. Local state does not imply that those agents run offline.

v4.0.0-alpha.5 ships Buildchain Release Passport assets; the separate shifu-v4.0.0-alpha.5 release ships native Shifu binaries for macOS arm64, Linux x64 static/musl, and Windows x64. Check SHA256SUMS and GitHub build attestations for those artifacts. For source builds, use the Shifu-managed entry point and check toolchain.contract.json; the pnpm pin is a source-workspace detail, not proof that end users need Node or pnpm for the packaged CLI.

State model: Project groups related Work; Attempt preserves one execution outcome without replacing the Work.
Agent integration: kungfu run supports Codex, Claude, OpenCode, and Amp in their native consoles; kungfu agent brief is the entry point for an existing agent.
Write ownership: A second live agent is blocked from writing a Work already owned by another agent.
Completion control: Delivery and evidence go through independent review and Kungfu settlement; the executing agent cannot self-approve.
Recovery test: The credential-free recovery-story scenario exercises disconnect, crash, and recovered delivery across three Attempts.
Release verification: shifu-v4.0.0-alpha.5 provides native binaries for macOS arm64, Linux x64 static/musl, and Windows x64, with checksums and GitHub build attestations.
Best For

Teams piloting multi-day work that may change agents or resume after a crash, where the next session needs evidence and a clear next action, and completion needs independent review.

Skip If

Native session resume is enough, multiple agents must write the same task at once, or you require a stable, entirely offline execution and review stack out of the box.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLISelf-Hosted
curl -fsSL https://kungfu.tech/install.sh | sh

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
kungfu ★4.5k+2C++Apache-2.0A project-local task layer that preserves work across coding agents and failed a
Codewhale41.2k+38RustMITRust coding agent with swappable models, sandboxed execution, and turn receipts
opencode230.9k+1.3kTypeScriptMITTerminal-first coding agent with separate planning and editing modes
claude-code158k+709TypeScript—A terminal coding agent for navigating codebases, running tasks, and handling Gi

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/kungfu-systems/kungfu.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

kungfu-systems/kungfu Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about kungfu

How do I integrate Kungfu without replacing my existing agent console?

Use kungfu run codex to launch Codex in its native console, or run kungfu agent brief from an agent that can execute local commands. Keep the project’s .kungfu/ workspace intact. Before staging anything from it, check the workspaceGit policy returned by kungfu agent map --json rather than committing the entire directory.

Do I need a GPU, and how should I size a pilot?

There is no published CPU, RAM, or VRAM sizing in the available material. The credential-free Mock Agent is a way to exercise local state and recovery without a real model. For a real deployment, measure Kungfu alongside the selected agent and review workflow. If your execution surface runs a model locally, size GPU memory for that model and its concurrency, not for the continuity layer alone.

Can a commercial team self-host it, and does that keep all data local?

Kungfu is licensed under Apache-2.0, which permits commercial use and self-hosting subject to its terms. If you redistribute it, check the applicable license and notice obligations, including THIRD_PARTY_NOTICES.md. Connected agent services have separate terms; running Kungfu locally does not establish that model requests or review data stay on the machine.

When is Kungfu a better fit than an agent’s built-in session resume?

Start with native agent resume if the same agent will continue the task and session history is enough. Pilot Kungfu when a different agent needs to pick up the objective, evidence, and next action without copying chat, or when the worker’s exit must be separate from completion. If several agents must write to the same Work simultaneously, Kungfu’s single-writer rule is a mismatch.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining kungfu-systems/kungfu? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature kungfu-systems/kungfu on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare