kagan-sh/kagan
๐ ๐ ๐ ๐ช ๐ง - AI-powered Kanban TUI and MCP server for autonomous development workflows. Orchestrates 14 coding agents across task tracking, isolated git worktrees, review, and merge.
Quick Install
{
"mcpServers": {
"kagan-sh-kagan": {
"command": "npx",
"args": [
"-y",
"kagan-sh-kagan"
]
}
}
}Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.
Documentation Overview

kagan
Supervised kanban for AI coding agents inside OpenCode.
Docs ยท Quickstart
Kagan is an OpenCode plugin that turns agent work into supervised tasks on a kanban board. Each task is an OpenCode session running in an isolated git worktree, moving through Backlog โ In Progress โ Review โ Done with a gate at every transition โ intake before the agent runs, review before you approve, merge only on your say-so.
The agent never touches your checkout. It works on a kagan/<slug> branch in its own worktree, a reviewer agent files ranked findings against the original task, and nothing reaches Done until you've triaged every finding and chosen where โ or whether โ to merge.
Install
You need OpenCode 1.17.13 or newer (see engines.opencode in
package.json).
Install globally so Kagan is available in every project:
opencode plugin -g @kagan-sh/kagan
Or add a local clone to both OpenCode config files:
{
"plugin": ["/path/to/kagan"]
}
Open the board with /kagan from the command palette, the kagan palette command, or <leader>k (the leader key defaults to ctrl+x).
From any regular OpenCode session, run /kagan-task to create board tasks conversationally โ useful when planning several tickets at once without opening the board create dialog for each one.
For global npm installs, Kagan checks npm for newer stable releases and shows an available version in
the board footer. Press u, run /kagan-update, or use the command palette to review and confirm the
update; Kagan then installs the exact release and asks you to restart OpenCode. Local, file, and
development installs are never updated automatically. See
Updating.
Pass options by using the array-of-array form, or open /kagan-settings from the project โ see the configuration reference.
Docs
Documentation is available in docs/.