From dc8994ee491d1aad367d7f4deb840a61e8080358 Mon Sep 17 00:00:00 2001 From: allaun Date: Sat, 20 Jun 2026 16:27:19 -0500 Subject: [PATCH] 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. --- AGENTS.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 5fb032a6..95f1acea 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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.