-
Notifications
You must be signed in to change notification settings - Fork 325
Add Kimi Code CLI as a compile/install target #2564
Copy link
Copy link
Open
Labels
area/cliCLI command surface, flags, help text (cross-cutting).CLI command surface, flags, help text (cross-cutting).area/multi-targetMulti-target deploy spec, target directory creation, agent surface routing.Multi-target deploy spec, target directory creation, agent surface routing.priority/lowAccepted but not time-sensitiveAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.One manifest, every target. Multi-target deploy, marketplace, packaging, install.type/featureNew capability, new flag, new primitive.New capability, new flag, new primitive.
Description
Metadata
Metadata
Assignees
Labels
area/cliCLI command surface, flags, help text (cross-cutting).CLI command surface, flags, help text (cross-cutting).area/multi-targetMulti-target deploy spec, target directory creation, agent surface routing.Multi-target deploy spec, target directory creation, agent surface routing.priority/lowAccepted but not time-sensitiveAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.One manifest, every target. Multi-target deploy, marketplace, packaging, install.type/featureNew capability, new flag, new primitive.New capability, new flag, new primitive.
Type
Projects
StatusShow more project fields
In Progress
Feature request
Add Kimi Code CLI (Moonshot AI's agentic coding CLI,
kimi) as a supported target forapm compile/apm install, alongside the existing claude, codex, cursor, gemini, copilot, opencode, windsurf, and kiro targets.Motivation
Kimi Code is a growing agent runtime with an open, file-based configuration model that maps very cleanly onto APM's primitives (instructions, agents, skills). Teams running multi-runtime setups currently have to hand-deploy APM packages to Kimi, which defeats the single-source-of-truth workflow APM provides for other runtimes.
Proposed target mapping
Kimi Code's discovery paths (from the official docs):
AGENTS.md)~/.kimi-code/AGENTS.md(moves withKIMI_CODE_HOME)AGENTS.md/.kimi-code/AGENTS.md~/.kimi-code/skills/.kimi-code/skills/~/.kimi-code/agents/.kimi-code/agents/Notes that make this low-effort:
~/.agents/skills/and~/.agents/agents/— the same shared~/.agents/convention APM already uses for the codex skills deploy, so skills may need no new deploy logic at all.name,description,tools,whenToUse, ...), and Kimi explicitly tolerates Claude Code-style agent files (comma-separatedtools, unknown fields ignored, filename fallback forname). So existing.agent.mdsources likely compile to Kimi profiles with little or no transformation..kimi-code/directory (consistent with how cursor/windsurf/kiro targets are detected).References
KIMI_CODE_HOME,extra_agent_dirs,extra_skill_dirs): https://www.kimi.com/code/docs/en/kimi-code-cli/configuration/config-files.html