Skip to main content
Glama
kagan-sh

Kagan - AI Orchestration Layer


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
curl -fsSL https://uvget.me/install.sh | bash -s -- kagan
iwr -useb uvget.me/install.ps1 -OutFile install.ps1; .\install.ps1 kagan

Related MCP server: mcp-github

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


Install Server
A
license - permissive license
B
quality
A
maintenance

Maintenance

Maintainers
5hResponse time
2dRelease cycle
152Releases (12mo)
Commit activity
Issues opened vs closed

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kagan-sh/kagan'

If you have feedback or need assistance with the MCP directory API, please join our Discord server