
kagan
Supervised kanban for AI coding agents inside OpenCode.
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/kaganOr 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).






