Audit infrastructure for AI coding agents with evidence-backed review and policy gates.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Agent Work Ledger for AI coding.
Vibe coding is fast. Blind trust is not enough.
ProofFlow makes AI-generated work reviewable, traceable, and reversible by recording the full chain from work contract to proof packet: contract first, record the algorithm decision, declare the cost budget, snapshot the code state, bind claims to evidence, evaluate done criteria, then export an auditable packet.
Latest release: v0.1.8 - Agent Work Ledger for AI coding
โถ Watch the 72s demo: From AI agent claims to verifiable Proof Packets
Demo asset (deferred): The end-to-end dogfood Demo_Asset GIF and the VSCode_Channel inline audit / Approve Gate screenshots for the v0.1.x dogfood-and-channel-polish milestone are deferred to the next dogfood cycle (no capturable VS Code window in this milestone). Tracked in
PLANS.md#vscode-channel-screenshots-deferred-from-v0-1-x-dogfood.
๐ฆ Example Proof Packets: code review ยท issue triage ยท agent work ledger ยท ledger dogfood
Maintainer workflow: docs/maintainer_evidence_workflow.md
Agent Work Ledger guide: docs/agent_work_ledger.md
Ledger Risk Hints: docs/ledger_risk_hints.md
5-minute MCP quickstart: docs/ledger_quickstart_mcp.md
Ledger PR comment template: docs/examples/pr_comment_agent_work_ledger.md
AgentGuard semantic rules: docs/agentguard_semantic_rules.md
ProofFlow is not only a PR review helper. It is a local-first ledger for AI coding work. A Ledger Case captures the workflow before, during, and after an agent changes code:
Main chain: Work Contract -> Algorithm Decision -> Cost Budget -> Snapshot -> Evidence -> Claim -> Evaluation -> Proof Packet. This keeps the core product invariant sharp: no Case, no workflow; no Evidence, no trusted Claim; no done criteria evaluation, no quiet success.
Risk Hints extend the evidence flow without turning ProofFlow into an automatic algorithm judge. They tell the maintainer when the recorded route may be wrong or too expensive, such as regeneration where mapping was required, budget overrun metadata, or tests that prove output but not method.
See docs/agent_work_ledger.md for the full
architecture and evaluation model, or
docs/ledger_quickstart_mcp.md to run the
full MCP flow.
ProofFlow v0.1.6 was dogfooded on a real repository PR. The GitHub Actions
workflow ran AgentGuard, posted a stable PR summary comment, uploaded
summary.json, and exported a downloadable Proof Packet.
summary.json, no merge blocking.AI coding agents (Claude Code, Codex, Copilot Workspace) can modify files, run commands, and make decisions autonomously. But there's no standard way to:
ProofFlow solves this by sitting between the agent and the filesystem, creating an evidence graph that links every action to its justification.
Run from the parent directory of the freshly cloned repo. The
Push-Location / Pop-Location pair keeps the working directory at the
repository root for the docker compose up command and restores it after the
block, so this snippet is copy-paste safe in a single PowerShell session.
Backend: http://localhost:8787 | Frontend: http://localhost:5173
Docker publishes both ports on 127.0.0.1 by default to preserve ProofFlow's
localhost trust boundary. For stronger local protection, set an API key before
starting:
If you enable backend auth for the Docker frontend, use the same
PROOFFLOW_API_KEY value at build time so Vite can embed
VITE_PROOFFLOW_API_KEY in the static frontend bundle. AgentGuard
test_command execution is disabled by default; set
PROOFFLOW_ENABLE_TEST_COMMANDS=true only when you intentionally want the
backend to run local test commands during review.
Start each component from the repository root in a single PowerShell session.
Push-Location / Pop-Location keeps the working directory predictable across
the backend and frontend blocks; the backend port is fixed to 8787 to match
the make dev-backend baseline. npm run dev is a long-running process - run
the frontend block in a second PowerShell session if you want to keep the
backend uvicorn process visible in the first.
Add to your project's .mcp.json:
Now your AI agent can keep an Agent Work Ledger, scan files, review code, triage issues, suggest actions, and export audit reports - all with enforced safety gates.
ProofFlow also includes a repo-local Codex plugin at
plugins/proofflow-maintainer. It provides
starter prompts and a maintainer-focused skill for:
The plugin uses the same local proofflow-mcp server and keeps the backend
trust boundary at http://127.0.0.1:8787.
See the public-safe
Agent Work Ledger example
for the expected handoff shape.
Records complex AI coding work as a first-class Case. The main flow is Work Contract -> Algorithm Decision -> Cost Budget -> Snapshot -> Evidence -> Claim -> Evaluation -> Proof Packet, so maintainers can see what the agent promised, what approach it chose, what cost limits it accepted, what changed, what evidence backs its claims, whether the done criteria were satisfied, and which Risk Hints deserve human review.
Analyzes git diffs, generates risk-scored claims, and links each claim to specific evidence (changed lines, test results). No claim exists without supporting evidence.
Scans directories, indexes files with SHA-256 hashes, extracts text for full-text search, and suggests organization actions โ all tracked in an auditable Case.
Captures issue text as a first-class Case with source Artifact, deterministic triage Claims, component inference, label suggestions, and Proof Packet export.
High-risk filesystem actions (moves to system paths, bulk operations) are automatically paused at pending_decision status. Requires explicit owner approval before execution.
finished_with_riskshealth ยท scan ยท suggest ยท review ยท triage_issue ยท start_work_contract ยท record_algorithm_decision ยท record_cost_budget ยท capture_snapshot ยท record_evidence ยท record_claim ยท evaluate_contract ยท finish_work_ledger ยท status ยท approve_execute ยท export_packet ยท search ยท list_cases ยท list_actions ยท undo ยท decide
explain_risk_hint records an evidence-backed Decision for a Ledger Risk Hint
without suppressing the hint.
| Layer | Technology | Tests |
|---|---|---|
| Backend | Python 3.12, FastAPI, SQLite | 311 |
| Frontend | React 19, TypeScript, Vite | 25 |
| MCP Server | Python, MCP SDK, httpx | 44 |
| CI | GitHub Actions (PR review + release gates) | Audit artifact + PR comment |
PROOFFLOW_API_KEY)PROOFFLOW_RATE_LIMIT)PROOFFLOW_ENABLE_TEST_COMMANDS)PROOFFLOW_MCP_MAX_CONCURRENT)v0.1.0 โ Stable release. All core workflows functional, tested, and documented.
| Milestone | Status |
|---|---|
| Core evidence graph (Case/Artifact/Claim/Evidence) | Done |
| LocalProof file audit workflow | Done |
| AgentGuard code review workflow | Done |
| Issue triage workflow | Done |
| Policy gate enforcement | Done |
| MCP server for Claude Code/Codex | Done |
| Backup/restore with safety preview | Done |
| Docker deployment | Done |
PyPI package (proofflow-mcp) | Done |
Run from the repository root in a single PowerShell session. Each
Push-Location / Pop-Location block restores the working directory back to
the repository root, so the python scripts/... smoke tests and
scripts/demo_workflow.py below can be pasted in the same session.
Local backend data defaults to backend/data/. For dogfood runs that should not
touch repository-local state, set PROOFFLOW_DB_PATH and PROOFFLOW_DATA_DIR
to a temporary directory before starting the backend.
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
MIT
Built by Hyperion-GPU โ making AI agent workflows auditable, safe, and provable.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/proofflow)<a href="https://allmcps.com/mcp/proofflow"><img src="https://allmcps.com/api/badge/proofflow?style=directory" alt="ProofFlow on AllMCPs" /></a>