Skip to content

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

Support both API key and codex login auth for Codex WS proxy

chopratejas059e165c571b
diff --git a/headroom/cli/wrap.py b/headroom/cli/wrap.py
index b1812bb77..d9a641d5b 100644
--- a/headroom/cli/wrap.py
+++ b/headroom/cli/wrap.py
@@ -256,6 +256,7 @@ def _inject_codex_provider_config(port: int) -> None:
f'name = "OpenAI via Headroom proxy"\n'
f'base_url = "http://127.0.0.1:{port}/v1"\n'
f'env_key = "OPENAI_API_KEY"\n'
+ f"requires_openai_auth = true\n"
f"supports_websockets = true\n"
f"# --- end Headroom ---\n"
)