Skip to main content

Kanban TUI for AI coding agents with a structural human review gate

Project description

Kagan — Kanban TUI for AI coding agents with a structural human review gate

PyPI Python License: MIT Stars Discord

VS Marketplace Open VSX Snyk Glama

Docs · Quickstart · The review gate · MCP Setup · CLI Reference · Contributing


Kagan is a Kanban TUI for AI coding agents with a structural human review gate. No agent-authored task reaches your main branch without an explicit approval — the state machine enforces it.

The agent runs in an isolated git worktree. When it finishes, the task card moves to REVIEW. You read the diff, check the acceptance criteria, and press approve. Then merge fires. That transition — REVIEW to DONE — cannot be automated away. It is not a setting.

Install

uv tool install kagan     # or: uvx kagan
Mac / Linux (no uv)
curl -fsSL https://uvget.me/install.sh | bash -s -- kagan
Windows (PowerShell)
iwr -useb uvget.me/install.ps1 -OutFile install.ps1; .\install.ps1 kagan

What you get

  • Kanban board (BACKLOG → IN_PROGRESS → REVIEW → DONE) enforced by a state machine
  • Each task runs in its own git worktree — your working copy stays untouched
  • Managed runs (background agent) or interactive attach (you + agent in tmux/editor)
  • REVIEW stage requires explicit human approval before merge; no path around it
  • MCP server so Claude Code, Codex, or any MCP-capable client can drive the board
  • kagan doctor preflight checks all required tools before first run

Tested agents: Claude Code · Codex · Gemini CLI · 11 more — see docs/backends.

Full docs: docs.kagan.sh

Companion surfaces

The TUI (kagan) is the primary operator surface. Two companion surfaces exist for specific workflows:

  • Web dashboard (kagan web) — browser-based board, useful for remote access or a second monitor
  • VS Code extension — sidebar panel and @kagan chat participant inside VS Code

Both companions share the same state as the TUI via the same API server. Neither is required.

License

MIT


Star History

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kagan-0.19.0b30-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file kagan-0.19.0b30-py3-none-any.whl.

File metadata

  • Download URL: kagan-0.19.0b30-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for kagan-0.19.0b30-py3-none-any.whl
Algorithm Hash digest
SHA256 26b86f6db878b657dc08a0b600dd18332c83fa5d99a3632156cde990cbc74562
MD5 a0b15a0984574e857d3de3501f9e5e8f
BLAKE2b-256 4b883642055142f196eeb152f75d53129da9f6028a47fe8189c7f3385d110f12

See more details on using hashes here.

Provenance

The following attestation bundles were made for kagan-0.19.0b30-py3-none-any.whl:

Publisher: cd.yaml on kagan-sh/kagan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page