Skip to content

feat(adapters): add Kimi Code via native ACP - #8

Merged
samzong merged 2 commits into
samzong:mainfrom
delete-cloud:feat/kimi-code-acp
Sep 12, 2026
Merged

samzong merged 2 commits into
samzong:mainfrom
delete-cloud:feat/kimi-code-acp

Conversation

@delete-cloud

Copy link
Copy Markdown
Contributor

Add kimi as a seat agent and MCP host, alongside Claude Code, Codex, Cursor, Grok, Antigravity, and Copilot.

Seats run kimi acp over native ACP. Model and reasoning_effort (thinking: on / low / high / max) go through session/set_config_option; unattended seats use mode=auto; later messages resume with session/resume. Readiness checks the Kimi Code data root ($KIMI_CODE_HOME, default ~/.kimi-code). confer mcp install --agent kimi writes $KIMI_CODE_HOME/mcp.json. The Skill installs to kitup's kimi-cli host (the kitup id for Kimi Code, not the legacy kimi-cli product).

Kitup: crates.io kitup 0.1.4 still prefers ~/.config/agents/skills for kimi-cli, which Kimi Code does not scan. lathe-cli/kitup#41 landed that host-data fix on main. This PR patches crates.io kitup to lathe-cli/kitup main so a user-scope install lands in ~/.agents/skills. Existing installs already written under ~/.config/agents/skills are not migrated. Remove the patch after the next Kitup crates.io release.

Live check on this branch: confer MCP created a Kimi seat (kimi-code/kimi-for-coding), first prompt returned PONG, resume returned PONG2, native session recorded.

Add `kimi` as a seat agent and MCP host. Seats run `kimi acp` over native
ACP; model and reasoning_effort (thinking) are applied through
session/set_config_option, unattended seats use mode=auto, and resume
uses session/resume. Readiness checks the Kimi Code data root
($KIMI_CODE_HOME, default ~/.kimi-code); confer mcp install writes
$KIMI_CODE_HOME/mcp.json; the Skill installs to kitup's kimi-cli host.
KIMI_CODE_HOME is pinned on the ACP child.

Patch crates.io kitup to lathe-cli/kitup main so kimi-cli user skills
land in ~/.agents/skills (lathe-cli/kitup#41). Remove the patch after
the next kitup crates.io release.
@samzong

samzong commented Sep 12, 2026

Copy link
Copy Markdown
Owner

@delete-cloud thanks for this, I will check later.

CI make check failed on cargo fmt -- --check. No behavior change.
@samzong

samzong commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Thanks for this — merging.

@samzong
samzong merged commit efb35bc into samzong:main Sep 12, 2026
2 checks passed
@lodyai
lodyai Bot deleted the feat/kimi-code-acp branch September 23, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants