pypi kaganstdioMITupdated 1mo ago
Supervised kanban for AI coding agents inside OpenCode.
Kagan 能做什么?
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/.
License
安装
把 Kagan 添加到你的客户端。选择你正在使用的那个。
claude mcp add kagan -- uvx kagancodex mcp add kagan -- uvx kaganamp mcp add kagan -- uvx kagan{
"mcpServers": {
"kagan": {
"command": "uvx",
"args": [
"kagan"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"kagan": {
"command": "uvx",
"args": [
"kagan"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"kagan","command":"uvx","args":["kagan"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"kagan": {
"command": "uvx",
"args": [
"kagan"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"kagan": {
"command": "uvx",
"args": [
"kagan"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"kagan": {
"command": "uvx",
"args": [
"kagan"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"kagan": {
"type": "local",
"command": "uvx",
"args": [
"kagan"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"kagan": {
"command": {
"path": "uvx",
"args": [
"kagan"
]
}
}
}
}Add to your Zed `settings.json`.
uvx kaganRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
评分
39 / 100
不完整
- 文档18/25
- 维护16/25
- 可信度16/20
- 能力0/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 35 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 0.11.2最新 | 2026年3月23日 |
| 0.11.2-beta.1 | 2026年3月23日 |