Kungfu

Keep one body of work moving across agents, sessions, and failures.

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++

At a glance

How it runs
CLI
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
macOS, Linux, or WindowsA supported agent for regular onboarding and independent reviewShell / CLINetwork accessLocal filesystem
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.

  1. A developer who switches among Codex, Claude, OpenCode, or Amp and wants to continue one task without copying chat context.
  2. A team evaluating recovery behavior can run the deterministic Mock Agent recovery-story scenario through disconnect, crash, and resumed delivery.
  3. An engineering organization that requires separation of duties can keep candidate production, independent review, and settlement distinct.
  4. A team maintaining long-running or multi-stage changes can preserve Attempts, current evidence, remaining work, and the next action.
  5. An evaluator without model-provider credentials can exercise the built-in recovery and multi-step workflows before connecting a real agent.
  6. 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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 whose workspaceGit policy 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?

FollowAgents source review · FARS-2.1
Some gaps
64/ 100 5-point scale 3.2 / 5
Trust 16/29
Reliability 8/14
Adaptability 10/18
Convention 14/18
Effectiveness 9/13
Verifiability 7/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

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.

Reliability8 / 14 · 2.9/5

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.

Adaptability10 / 18 · 2.8/5

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.

Convention14 / 18 · 3.9/5

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.

Effectiveness9 / 13 · 3.5/5

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.

Verifiability7 / 8 · 4.4/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision a025fe8fd306
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/kungfu.svg)](https://followagents.com/en/agents/kungfu)
<a href="https://followagents.com/en/agents/kungfu"><img src="https://followagents.com/badge/kungfu.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 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 ↗
  2. v4.0.0-alpha.5
    Release notes excerpt
    Buildchain release passport assets for v4.0.0-alpha.5.
    View on GitHub ↗
  3. 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?
No provider credentials are needed for the built-in 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?
No. It does not stage, commit, or push files. Run kungfu agent map --json and follow the reported workspaceGit policy before staging .kungfu/ content.
Can the executing agent declare its own Work complete?
No. The agent may submit a candidate and evidence, but independent review and Kungfu settlement determine completion.
What happens after a disconnect or agent-process crash?
A new process can resume the same Work, with failed and subsequent executions retained as separate Attempts. The deterministic recovery scenario is provided to test this local path.
Is it ready for stable production deployment?
The source identifies Kungfu v4 as an Alpha prerelease rather than a stable or generally available release. Adopters should evaluate its stated limits, support matrix, and qualification boundaries before production use.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts