Kungfu
Keep one body of work moving across agents, sessions, and failures.
- Source repo
- kungfu-systems/kungfu
- Stars
- ★ 4.5k
- Last updated
- 2mo ago shifu-v4.0.0-alpha.5
- FARS reviewed
- Nov 08, 2026
- License
- Apache-2.0
- Primary language
- C++
- FA score
- 64/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer who switches among Codex, Claude, OpenCode, or Amp and wants to continue one task without copying chat context.
- Not a fit if
- Teams that need a stable, production-ready tool rather than an Alpha prerelease
- Users who want onboarding and independent review with no external agent at all
- Teams unwilling to add a project-local .kungfu/ workspace and learn its Git policy
- Website
- kungfu.tech ↗ set on GitHub
- Maintenance
- Commits in the last 6 monthslast commit 2026-09-09latest release shifu-v4.0.0-alpha.5 (2026-09-03)
- Source review
- 64/100 · Some gaps
What does this agent do, and when should you use it?
Kungfu is a durable Work layer for multi-agent development workflows, publicly available as a v4 Alpha. Instead of transferring chat history, it stores the objective, progress, evidence, next action, and completion state outside any individual Agent Session. Its model consists of Projects, Works, and Attempts: a Project groups related activity, a Work holds the current truth, and an Attempt records what one agent tried, including failures. The same Work can be accessed through native agent consoles, the kungfu CLI, TUI, GUI, and APIs, with documented launch commands for Codex, Claude, OpenCode, and Amp. Runtime state lives in a project-local .kungfu/ workspace, while Git staging, commits, and pushes remain under the user's control. It is a fit for teams that need cross-agent continuity, recoverable execution, and independent completion review, but its Alpha status and reliance on a supported external agent for regular onboarding limit production readiness.
From a project directory, a user creates and executes Work with kungfu run <agent> "<task>", or asks an existing agent to run kungfu agent brief and guide initial Project and Work creation. Kungfu writes the Work objective, progress, evidence, next action, and completion state to the project-local .kungfu/ workspace. Each execution becomes an Attempt, so a new process can resume the same Work after a disconnect or crash without erasing earlier failures. kungfu agent map --json exposes workspace information and the workspaceGit policy for checking what may be staged. kungfu agent-work-lab provides an open → watch/tour → try → test → report verification journey, while the credential-free Mock Agent supplies deterministic recovery-story and multi-step scenarios. An executing agent may produce a candidate result and evidence, but independent review and Kungfu settlement control completion; Kungfu also blocks a second writer when another live agent already owns the Work.
- A developer who switches among Codex, Claude, OpenCode, or Amp and wants to continue one task without copying chat context.
- A team evaluating recovery behavior can run the deterministic Mock Agent
recovery-storyscenario through disconnect, crash, and resumed delivery. - An engineering organization that requires separation of duties can keep candidate production, independent review, and settlement distinct.
- A team maintaining long-running or multi-stage changes can preserve Attempts, current evidence, remaining work, and the next action.
- An evaluator without model-provider credentials can exercise the built-in recovery and multi-step workflows before connecting a real agent.
- A user managing Work across several projects can optionally open the Kungfu TUI or GUI as a global sidecar view.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://kungfu.tech/install.sh | sh
- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
On macOS or Linux, run curl -fsSL https://kungfu.tech/install.sh | sh. The reviewed per-user installer does not use sudo or edit the shell profile; follow the exact PATH step printed after installation. The source points Windows users, higher-assurance installations, and explicit version pinning to the installation guide but does not include their copyable commands here. Downloading the installer requires network access. The built-in Mock Agent scenarios require no provider credentials.
How do you use this agent?
Enter a project directory and run KUNGFU_MOCK_AGENT_SCENARIO=recovery-story kungfu to watch one Work survive three Attempts: disconnect, crash, and recovered delivery. For a shorter check, run KUNGFU_MOCK_AGENT_SCENARIO=multi-step kungfu. To use a real agent, run kungfu run codex; replace codex with claude, opencode, or amp as appropriate. Create a Work directly with kungfu run codex "Prepare the release notes". To remain in an existing agent interface, have that agent run kungfu agent brief and guide Project and Work creation. When .kungfu/ appears, do not delete it or add the entire directory to Git; run kungfu agent map --json and follow its workspaceGit policy before staging.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Persists structured Work state rather than chat, retaining the objective, progress, evidence, and next action across fresh agent sessions.
- The Attempt model preserves disconnects and crashes while allowing a new process to resume the same Work.
- Separates execution from independent review and settlement, so the producing agent cannot approve its own Work.
- Documents operation with Codex, Claude, OpenCode, Amp, and custom execution surfaces through CLI, native consoles, TUI, GUI, and APIs.
- Includes deterministic Mock Agent scenarios that test recovery and multi-step flows without provider credentials.
- Prevents two live agents from silently diverging by stopping a second writer when a Work already has an owner.
- Kungfu v4 is explicitly an Alpha prerelease, not a stable or generally available release.
- Regular onboarding and independent review still require a supported real agent, so the Mock Agent is not a complete zero-external-agent path.
- Adoption adds a project-local
.kungfu/workspace whoseworkspaceGitpolicy must be understood before staging files. - The demonstrations establish bounded artifact behavior only; they are not production certification, provider rankings, or authority to complete real Work.
- A direct installation command is supplied only for macOS and Linux; Windows users must consult separate installation guidance.
- The selected agent must be able to run local commands, and Kungfu does not automate Git staging, commits, or pushes.
How does this agent compare with similar options?
Compared with manually copying chats and re-explaining decisions when moving among Codex, Claude, OpenCode, or Amp, Kungfu keeps the Work objective, evidence, progress, and Attempt history outside those sessions. It complements rather than replaces these agents, and its TUI and GUI are optional sidecar views rather than substitutes for native agent consoles.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Kungfu This agent | 64 · Some gaps | CLIFree | ★ 4.5k | 2mo ago | C++ | Codex · Claude Code |
| Mnemon — Persistent Memory Engine for AI Agents | 71 · Some gaps | CLIFree | ★ 755 | 10d ago | Go | Codex · Claude Code |
| AGI Super Team | 69 · Some gaps | CLIFree | ★ 123 | 1d ago | Python | — |
| MCO | 75 · Some gaps | CLIFree + model costs | ★ 563 | 26d ago | Python | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Source comments and guides describe declared capabilities, on-demand Skill loading, runtime isolation, local state, and an installer that avoids privilege elevation, giving substantive support for least privilege and data-flow transparency. Security reporting has a private disclosure route. User confirmation is documented for some install and configuration choices but not comprehensively across interactions, so it scores 1. Dependency-security evidence is thin: the sample contains no dependency inventory or vulnerability-handling evidence, so it scores 1. Attribution and maintainer identity evidence is limited; publisher provenance is unverified, so source attribution scores 1. Unknown identity is not treated as adverse evidence.
The README labels the product Alpha and says the Mock Agent does not provide an end-to-end real-Agent path. Installation, configuration, and durability guides are reasonably consistent and describe signature checks, fail-closed behavior, unknown timeout states, rollback, and stable failure causes, supporting scores of 2 for self-consistency and failure messages. The sample names external Agents, download routes, Buildchain, and toolchain dependencies without enough evidence that they are generally available in target environments, so dependency availability scores 1. No runtime or tests were executed.
The material covers developers, Agent users, CLI, GUI/TUI, multiple Agents, and macOS, Linux, and Windows installation. It also states meaningful boundaries, including Mock Agent limits, lack of production eligibility, and capability authorization rules. The Skill fixtures show trigger and capability metadata, but they are only samples and do not establish the precision of the overall trigger design, so trigger precision scores 1.
The README, documentation map, and task-routed AGENTS.md provide strong information architecture, scoring 3. The installation guide covers per-user installation, verification, pinning, upgrades, uninstall, and troubleshooting; known limits are explicitly documented; and an Apache-2.0 LICENSE is present. Naming and version conventions have contract references and a v4/Alpha statement, but the sample cannot establish overall stability. Examples are substantial, while FAQ evidence is limited. Changelog coverage and explicit maintenance responsibility are not sufficiently shown. Unverified publisher provenance is treated only as an evidence gap.
Work, Attempt, cross-Agent continuity, and failure recovery form a clear value proposition, while CLI/JSON interfaces and examples support usable outputs. However, the supplied material consists mainly of claims and bounded demonstration descriptions, without enough independent evidence to quantify marginal benefit or operating cost, so these criteria receive moderate scores.
The README routes major claims to contracts, known limits, installation guidance, and demonstration evidence, and explicitly says demonstrations are not production certification. The guides also distinguish requested, admitted, and effective states and source declarations from runtime evidence, supporting scores of 3 for claim traceability and fact/inference separation. Several sources corroborate selected boundaries, but the packet is a sample and includes self-authored claims, so cross-source corroboration scores 2.
- The product is labeled Alpha; the README says the Mock Agent does not provide an end-to-end path without an external real Agent.
- Installation and release-verification details come mainly from project documentation; this static review did not install, run, or test the product or verify external release state.
- The Skill and source files are samples. Unprovided files are unknown and cannot establish absence or completeness.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Native component binaries for macOS arm64, Linux x64 static/musl, and Windows x64. Verify SHA256SUMS and GitHub build provenance with gh attestation verify <asset> --repo kungfu-systems/kungfu. Kungfu embeds the same crate source in-process; standalone executables remain GitHub-only products.View on GitHub ↗ -
Release notes excerpt
Native component binaries for macOS arm64, Linux x64 static/musl, and Windows x64. Verify SHA256SUMS and GitHub build provenance with gh attestation verify <asset> --repo kungfu-systems/kungfu. Kungfu embeds the same crate source in-process; standalone executables remain GitHub-only products.View on GitHub ↗
FAQ
Do I need OpenAI or Anthropic credentials to try it?
recovery-story and multi-step Mock Agent scenarios. Regular onboarding and independent review still require a supported real agent.Will Kungfu commit or push repository changes?
kungfu agent map --json and follow the reported workspaceGit policy before staging .kungfu/ content.Can the executing agent declare its own Work complete?
What happens after a disconnect or agent-process crash?
Is it ready for stable production deployment?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.