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.
Python agentaianthropicclaude-codecompressioncontext-engineeringcontext-windowcursorfastapilangchainllmmcpopenaiprompt-engineeringproxypythonragtoken-optimizationtokenstypescript
docs(proxy): correct --code-aware default to disabled (#1710)
Parideboy1fc5e3d4da56
diff --git a/wiki/proxy.md b/wiki/proxy.mdindex 9384abd33..b5bd319f1 100644--- a/wiki/proxy.md+++ b/wiki/proxy.md@@ -74,8 +74,7 @@ When configured, Headroom emits OTLP traces for the shared compression pipeline| `--no-rate-limit` | `false` | Disable rate limiting || `--log-file` | None | Path to JSONL log file || `--budget` | None | Daily budget limit in USD |-| `--code-aware` | true | Enable AST-based code compression (env: HEADROOM_CODE_AWARE_ENABLED) |-| `--no-code-aware` | false | Disable code-aware compression |+| `--code-aware` / `--no-code-aware` | disabled | Enable or disable AST-based code compression. Requires `headroom-ai[code]` (env: HEADROOM_CODE_AWARE_ENABLED=1 to enable) || `--anthropic-api-url` | `https://api.anthropic.com` | Custom Anthropic API URL endpoint || `--openai-api-url` | `https://api.openai.com` | Custom OpenAI API URL endpoint |