A conveyor belt for AI coding agents: dispatch, independently verify, record.
pip install taskproof==0.4.0 Copy PIP instructions
It does not decide what to do. It guarantees that whatever gets dispatched is independently verified and recorded — so you never have to trust an agent's own claim that it finished.
A card is dispatched. The agent says it finished. The record says it changed nothing — the acceptance command is what decides.
Status: stage 1 is usable, and the stage-2 desktop console is here. The engine, CLI, a browser board, a local read-only REST API, and an Electron console in desktop/ are implemented. See docs/DESIGN.md for the full design and the decision log, and docs/ARCHITECTURE.md for how each mechanism works today, with diagrams.
Two ways in: the desktop console if you do not write code, the command line if you do.
Download the installer for your platform from the GitHub Releases page:
The installers are not signed and not notarised:
Minimum versions are macOS 11+, Windows 10+, or a current mainstream Linux distribution. Each installer ships its own Python runtime, so there is nothing to pip install — but it does need a system git for worktrees and the protected-path gate. Without git the settings page says so, and everything else keeps working.
pipx install taskproof uv tool install taskproof does the same thing. Python 3.11+, and the package is pure standard-library Python — there is no dependency tree to resolve.
The latest development version, straight from the repository:
pipx install git+https://github.com/HaoHaoP/taskproof Offline, or pinned to one build: download the wheel (or the sdist) from the Releases page and install the file. Its name carries the version, so take it from the release you downloaded — there is no unpinned wheel name to copy.
pipx install ./taskproof- -py3-none-any.whl Or run from a source checkout:
pip install -e . Run a task taskproof init taskproof register /absolute/path/to/your/repo taskproof run "fix the failing test" run is the whole lifecycle in one line: it dispatches the card to a pluggable adapter (codex / claude / gemini / opencode, or custom: ), then independently runs the acceptance command from the registry once the agent exits, and finally records every step in the audit ledger. The agent's own "done" is never the verdict.
taskproof tasks lists what is in flight; taskproof show and taskproof log read one card back.
The desktop console shares the same ledger. On first launch it creates ~/.taskproof as an empty workspace — a [defaults] table and a commented example, with no sample projects and no sample tasks — and the board's empty state points you at the Projects page (or taskproof register ). Because the console and the CLI read the same ~/.taskproof, either one sees the other's cards.
docs/WALKTHROUGH.md runs this end to end on a throwaway example — including the case where the agent reports success and the acceptance command disagrees.
The usage this project is extracted from is a discipline for the agent that hands out the cards, and it now ships in the repository as a skill:
skills/taskproof-dispatch/SKILL.md skills/taskproof-dispatch/SKILL.zh-CN.md It is the operating manual for an AI coding agent — the orchestrating one that plans the work, registers the repositories, writes each card, and dispatches it to a worker. Taskproof itself does not plan anything (see Non-goals); this skill is the missing half: how to drive the tool without the failure modes the hard way. Both languages ship: SKILL.md (English) and SKILL.zh-CN.md (简体中文).
The rules in it are not invented; each is a lesson from breaking something. pkill -f is the classic one, for instance: a card is passed as process argv, so the pattern also matches the dispatcher itself and kills the run — exactly the kind of practical rule the skill exists to record. It turns the lessons of this build into steps you can copy: register a project, put a card in a file and pass it with $(cat …), fire it with an explicit --adapter and --timeout, then read state back with taskproof tasks --all and taskproof log . Above all it pins four things that were learned by breaking them:
Every orchestration project on GitHub competes on how many agents it can run, how many CLIs it supports, and how pretty the UI is. Almost none of them talk about the thing that actually bites you in daily use:
Real incidents from the workflow this project is extracted from:
None of these are exotic. They are the normal failure mode of handing file-writing work to an autonomous process.
A small, mechanical dispatch layer that wraps every agent invocation in discipline:
taskproof run " " # dispatch, then verify, then record taskproof wait # block until a card reaches a terminal state taskproof tasks / show / log # inspect state taskproof board # serve the board and open a browser (blocks) taskproof board --serve 8788 # serve the board only, no browser (blocks) taskproof api --port 8787 # local read-only REST API for clients Python, standard library only, pipx install-able SQLite for state (transactional claims, not lock files) JSONL audit stream, write-only, rotated monthly Pluggable adapters (codex / claude / gemini / opencode + any command) The concurrency cap The global cap is workspace-level and is always reported as a value plus where it came from, never a bare number. It has three sources, in precedence order:
The auto fallback is deliberately conservative — one slot is a whole extra coding agent:
cap = clamp(2, cores // 4, 6) # at most one slot per four cores if RAM < 8 GiB: cap = 2 # a small box cannot afford cores // 4 if the core count is unknown: cap = 3 Inspect the effective value and its source:
taskproof config --show Change the persisted value, comment-preserving:
taskproof config --concurrency N run --cap N overrides it for one dispatch only. Lowering the cap is not retroactive: it never touches a card already running — the CLI prints the cards that now exceed the new cap and leaves the decision to you.
Two terminal states are deliberately different:
Both are cleared by accept, which is a human registration, not a fresh verdict:
taskproof accept # blocked: a note is optional taskproof accept --note "why" # failed: a note is required accept never re-runs acceptance and never rewrites the recorded verdict — the run's own facts stay authoritative. Closing a failed card requires a note, because that is a human sign-off and the reason has to survive in the ledger. taskproof rerun starts a fresh card from a terminal one and links the two both ways (rerun_of / rerun_as).
On the board, blocked gets its own Needs review column, kept out of the failure column.
desktop/ is the stage-2 console: an Electron + Vue 3 app (Element Plus, UnoCSS, Pinia, vue-i18n). It is the same renderer taskproof board serves in a browser — one rendering layer with two hosts. It is bilingual — zh-CN and en, following the system locale with an English fallback.
The board — the run the agent called done sits under not passing; the run that really changed the file sits under done.
The process model is the interesting part. The app spawns the local service itself — taskproof api --port 0 — reads the bound port from the child's stdout, and terminates the child on exit. Data comes from that loopback, read-only REST API; nothing leaves 127.0.0.1.
The REST surface is read-only. Every mutation lives in the CLI — registering a project, editing its registry entry, dispatching, cancelling, accepting and removing. The API itself only serves reads: it mints no session token and exposes no write endpoint, so a write-shaped request to an old path is a plain 404.
Everything taskproof may dispatch is declared in one TOML file in the workspace (~/.taskproof/projects.toml) in two layers: a project (the repository and its default path) and one or more taskgroups (the lanes it dispatches onto, each with its own acceptance command and lock).
A lane may also declare a workspace of its own (workspace = "worktree"): one git worktree beside the repository, created the first time a card actually fires into that lane and reused from then on, with dependency directories symlinked in from the main checkout (link = [...]) so nothing is reinstalled. taskproof workspaces lists them; taskproof workspace-rm prints the evidence and deletes one. --worktree remains the one-off. The fields are in docs/REGISTRY.md.
[[project]] id = "my-app" path = "/absolute/path/to/my-app" [[taskgroup]] id = "my-app" project = "my-app" verify = "npm run build" # run by taskproof, after the agent exits verify_kind = "build" # check | build | none A flat, older [[project]] block that carries the acceptance command still works unchanged: it reads as a project plus a same-named lane. taskproof register appends a [[taskgroup]] (add --project to hang it off an existing project). See examples/projects.example.toml for a commented starting point, and docs/REGISTRY.md for the field reference and the list of hard errors.
The board's left rail groups by project — one row per project, with the lanes it owns shown on hover — and each task card names the lane it ran on.
Status words, verify_kind values and exit-code meanings are one generated artefact — contract/enums.json — produced from the Python constants by tools/gen_contract.py. The TypeScript side imports it instead of re-typing it; a status that exists in Python but not in the frontend is a task that silently vanishes from the board. CI runs the check, so the two languages cannot drift:
PYTHONPATH=src python3 tools/gen_contract.py --check Development Run the CLI from a source checkout:
pip install -e . taskproof --version Or, without installing:
PYTHONPATH=src python3 -m taskproof doctor Two test suites, both green at the time of writing:
CI runs three checks: the asset scan (tools/scan_assets.py), the enum-contract consistency check (PYTHONPATH=src python3 tools/gen_contract.py --check), and the desktop build + tests.
The animation at the top of this page is reproducible: tools/demo/ holds the throwaway /tmp workspace builder and the vhs tape.
The docs ship in pairs, English and Simplified Chinese:
The dispatch discipline is a skill, in skills/taskproof-dispatch/SKILL.md (English) and skills/taskproof-dispatch/SKILL.zh-CN.md (简体中文).
docs/assets/icon.png is a 256 px copy of the app icon, small enough to live in the repository. The source was an AI-generated mark; the checkerboard that got baked into the PNG was cut out, the artwork was laid on Apple's 824/1024 grid (the mark occupies 824 of the 1024 px canvas so the rounded-corner margin is correct), and sips produced the 256 px copy used at the top of this page.
Exit codes are part of the contract for callers (scripts, agents, CI): they tell you why a run ended without parsing stdout.
ai-agents orchestration verification codex claude-code cli
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.




