Kagan - AI Orchestration Layer
Kagan is an AI orchestration layer providing a Kanban-style interface for managing coding tasks, automating development workflows with AI agents, and integrating with external systems.
Task Management — Create (individually or in batch), list, get, update, delete, search, and add notes to tasks. Tasks support properties like title, description, priority, base branch, acceptance criteria, and agent backend. Also view task events, wait for status changes, and get task counts.
Agent Run Management — Start, cancel, kill, and manage interactive sessions for AI agents working on tasks. Retrieve run status/summaries, check for active sessions, and detach from sessions.
Project & Repository Management — Create, list, delete, and activate projects. Add repositories to projects and configure default branches.
Code Review Workflow — Approve, reject (with feedback), and merge review-ready tasks. Perform Git operations like rebasing, conflict handling, and rebase progression. Set or clear AI review verdicts for individual acceptance criteria.
Settings & Audit — Retrieve and modify system configuration settings; access audit logs.
Persona Preset Management — Audit, import, and export AI persona presets from/to repositories; manage a whitelist of trusted persona sources.
Plugin Integrations — Sync external items (e.g., GitHub issues) into Kagan tasks, and preflight-check plugin dependencies.
Interfaces & Agent Modes — Interact via a terminal Kanban board (TUI) or web dashboard. Supports both autonomous and pair programming modes across 14 AI coding agents.
Provides comprehensive management of Git repositories through task-based branches, supporting operations such as rebasing, merging approved changes, and tracking repository-specific branches.
Enables synchronization of GitHub issues into the Kanban board, mapping labels like priority and status to task properties while providing tools to verify GitHub CLI authentication.
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 (below 1.18.0 — see
engines.opencode in package.json).
From npm:
opencode plugin @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).
For bare @kagan-sh/kagan and explicit @latest installs, Kagan prepares compatible latest
releases automatically. Ready or blocked updates appear once as a host toast on home/session routes
and persist in the board footer. Restart OpenCode when an update is ready; if latest needs a newer
OpenCode, Kagan names the required range. Exact version pins and local installs remain unchanged. See
Updating.
Pass options by using the array-of-array form, or open /kagan-settings from the project — see the configuration reference.
Related MCP server: mcp-github
Docs
Documentation is available in docs/.
License
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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