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
fix(proxy): rustfmt drift in live_zone_anthropic imports (F2.1 c2 followup)
chopratejas05467955479d
diff --git a/crates/headroom-proxy/src/compression/live_zone_anthropic.rs b/crates/headroom-proxy/src/compression/live_zone_anthropic.rsindex 6a4975d57..4d3dd7e75 100644--- a/crates/headroom-proxy/src/compression/live_zone_anthropic.rs+++ b/crates/headroom-proxy/src/compression/live_zone_anthropic.rs@@ -42,8 +42,7 @@ use bytes::Bytes;use headroom_core::auth_mode::AuthMode as RequestAuthMode;use headroom_core::transforms::live_zone::DEFAULT_MODEL;use headroom_core::transforms::{- compress_anthropic_live_zone, BlockAction, ExclusionReason, LiveZoneError,- LiveZoneOutcome,+ compress_anthropic_live_zone, BlockAction, ExclusionReason, LiveZoneError, LiveZoneOutcome,};use serde_json::Value;