Run Kimi Code from a Kanban board
Kimi Code takes no hooks, so Kangentic reads the wire log every session writes, types the first prompt in, and finds the session ID afterwards.
Kangentic is our product. Kimi Code is not. Kangentic runs the copy you install, on your own login or API key, and this page says what Kangentic does with it.
Kimi Code is Moonshot AI’s coding agent CLI. Kangentic runs Kimi Code CLI 2.x, the npm package @moonshot-ai/kimi-code with the kimi binary. The older Python kimi-cli no longer runs agents, and detection reads a 1.x install as not installed. The adapter was built from the CLI’s docs and source, and no real Kimi session has run against it yet.
| In Kangentic | Kimi Code |
|---|---|
| Status read from | Log file |
| Turn-end automations run | Yes |
| Resumes its conversation | Yes |
| Hands its conversation to the next agent | Yes |
| Permission modes | 4 |
| An approved plan moves the card on | Yes |
| Kangentic approves its plans | No |
| Accounts | No |
| Kangentic's MCP server | Yes |
| Runs from a WSL distro | Yes |
A wire log instead of hooks
Kimi Code takes no hooks per session. It writes a structured log, wire.jsonl, for every session under ~/.kimi-code/sessions/, and Kangentic finds that log through the CLI’s session_index.jsonl. Kangentic watches it for prompts, tool calls, question and approval waits, subagents, compactions and turn ends.
The wire’s turn.ended record is the turn end that runs On agent turn end automations. The first read of the log turns the terminal tracker off, so a silence timer carries activity only until the log first flows. A turn that ends on a service error, or one the CLI retries, is in the log too, so a failed turn leaves an idle card rather than a spinning one.
Kimi’s log names background tasks, but every session in a folder shares its MCP URL, so a mark could land on the wrong session. Since v0.54.0 Kangentic tracks none.
The first prompt and the session ID
The interactive CLI takes no starting prompt, and a session has no ID or folder until its first message. So Kangentic types the first prompt in once Kimi is ready, then reads the new session’s ID from session_index.jsonl after the message lands. A resume is --session <id>, which takes no prompt either, so Kangentic types the column’s message in.
A session from the 1.x CLI cannot resume, because Kimi Code reads that data only through kimi migrate. Since v0.54.0 Kangentic checks Kimi’s session folder before a resume, and starts a new conversation from a recap of the task when the old one is gone. A handoff out of Kimi points the next agent at the session’s wire.jsonl.
Permission modes
New tasks start in Always Ask.
| Mode | Shown as |
|---|---|
plan |
Plan (Read-Only) |
default |
Always Ask |
auto |
Ask When Needed (YOLO) |
bypassPermissions |
Never Ask (Auto) |
Kimi has no mode that approves edits alone, and none that denies whatever is not allowed, so Accept Edits and Don’t Ask are not offered. When you approve Kimi’s plan in the terminal, its log reads “Exited plan mode.”, and Kangentic moves a plan column’s task to the next column.
MCP, sign-in and the context bar
The CLI has no per-session MCP flag, so Kangentic merges a kangentic entry into the folder’s .kimi-code/mcp.json, beside your own servers, and removes it when the folder’s last session exits. The entry names the token’s variable, and the token goes out as an Authorization: Bearer header.
Kangentic looks under ~/.kimi-code for a credentials/*.json from /login, or a model configured in config.toml. With neither, the agent picker shows a warning, and the Welcome screen offers kimi login to copy. Kangentic follows KIMI_CODE_HOME when it is set, and also looks in the install script’s ~/.kimi-code/bin, on Windows too.
The wire log feeds the context bar’s tokens. Kimi reports no cost or rate limits, and the context window’s size comes from your config.toml.
Try Kangentic with the Kimi Code you have
Free and open source, on Windows, macOS and Linux.