docs(agents): document Headroom proxy for Kimi Code

Add Kimi Code proxy subsection: systemd user service on port 8789,
Headroom anyllm/openai backend targeting https://api.kimi.com/coding/v1,
and ~/.kimi/config.toml base_url update.
This commit is contained in:
allaun 2026-06-20 16:27:19 -05:00
parent 9fab42d31f
commit dc8994ee49

View file

@ -49,8 +49,13 @@ workstation.
- **MCP server** installed for Claude Code and Codex (headroom_compress,
headroom_retrieve, headroom_stats). See `~/.claude/` config.
- **Proxy**: `headroom proxy` on port 8787. Route through it with
`ANTHROPIC_BASE_URL=http://127.0.0.1:8787` for automatic compression.
- **Anthropic/Codex proxy**: `headroom proxy` on port 8787. Route through it
with `ANTHROPIC_BASE_URL=http://127.0.0.1:8787` for automatic compression.
- **Kimi Code proxy**: `headroom-kimi-proxy.service` on port 8789. Routes Kimi
Code through Headroom using the OpenAI-compatible Kimi endpoint. Started via
systemd user unit; `~/.kimi/config.toml` points `managed:kimi-code` at
`http://127.0.0.1:8789`. To bypass temporarily:
`KIMI_BASE_URL=https://api.kimi.com/coding/v1 kimi`.
- **Memory**: `headroom proxy --memory --learn` enables persistent memory and
automatic failure-pattern mining → AGENTS.md updates.
- **Project config** lives in `.headroom/` at the repo root.