kagan-sh

kagan-legacy

Community kagan-sh
Updated

The Orchestration Layer for AI Coding Agents

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.

This repository and experiemental python version of kagan harness are DEPRECATED see https://github.com/kagan-sh/kagan for latest iteration of the tool - now leveraging OpenCode ecosystem and available as a native OpenCode plugin.

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

MCP Server · Populars

MCP Server · New

    kagan-sh

    kagan-legacy

    The Orchestration Layer for AI Coding Agents

    Community kagan-sh
    cbtw-apac

    QDrant Loader

    Enterprise-ready vector database toolkit for building searchable knowledge bases from multiple data sources. Supports multi-project management, automatic ingestion from Confluence/JIRA/Git, intelligent file conversion (PDF/Office/images), and semantic search. Includes MCP server for seamless AI assistant integration.

    Community cbtw-apac
    aks129

    HealthClaw Guardrails

    Open-source guardrails between AI agents and FHIR clinical data — PHI redaction, immutable audit, step-up auth, tenant isolation. MCP server + OpenAI/Gemini adapters. A healthclaw.io project.

    Community aks129
    opentargets

    Open Targets Platform MCP

    Official MCP server implementation for accessing Open Targets Data

    Community opentargets
    longsizhuo

    openInvest

    基于multiple LLM的风险投资助手

    Community longsizhuo