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: retire IntelligentContext from README and installation guide (#1445)
Bhavya Choprac707de4691a3
diff --git a/README.md b/README.mdindex 42a438ebe..fa729d2d2 100644--- a/README.md+++ b/README.md@@ -301,7 +301,7 @@ Platform support note: macOS auth reuse via Copilot CLI Keychain storage has bee- **Kompress-v2-base** — our HuggingFace model, trained on agentic traces.- **Image compression** — 40–90% reduction via trained ML router.- **CacheAligner** — stabilizes prefixes so Anthropic/OpenAI KV caches actually hit.-- **Live-zone compression** — compress fresh tool output while keeping frozen prefix byte-stable.+- **Live-zone compression** — compresses only new bytes (fresh tool output, latest turn); frozen prefix stays byte-identical so provider cache is not busted. History is never dropped.- **CCR** — reversible compression; LLM retrieves originals on demand.- **Cross-agent memory** — shared store, agent provenance, auto-dedup.- **SharedContext** — compressed context passing across multi-agent workflows.@@ -316,7 +316,7 @@ Headroom exposes one stable request lifecycle across `compress()`, the SDK, and`Setup` → `Pre-Start` → `Post-Start` → `Input Received` → `Input Cached` → `Input Routed` → `Input Compressed` → `Input Remembered` → `Pre-Send` → `Post-Send` → `Response Received`-- **Transforms** do the work: CacheAligner, ContentRouter, SmartCrusher, CodeCompressor, Kompress-v2-base.+- **Transforms** do the work: CacheAligner → ContentRouter → SmartCrusher / CodeCompressor / Kompress-base (live-zone only; IntelligentContext and RollingWindow were retired in PR-B1).- **Pipeline extensions** observe or customize lifecycle stages via `on_pipeline_event(...)`.- **Compression hooks** sit alongside the canonical lifecycle as an additional extension seam.- **Proxy extensions** remain the server/app integration seam for ASGI middleware, routes, and startup policy.diff --git a/docs/content/docs/installation.mdx b/docs/content/docs/installation.mdxindex 3ba631dc6..1c84711f2 100644--- a/docs/content/docs/installation.mdx+++ b/docs/content/docs/installation.mdx@@ -26,7 +26,9 @@ using a newer Python, force a supported interpreter.pip install headroom-ai```-The core package includes the `compress()` function, SmartCrusher, CacheAligner, and the live-zone compression pipeline. No heavy dependencies.+The core package includes the `compress()` function, SmartCrusher, CacheAligner, and live-zone ContentRouter compression. No heavy dependencies.++> **Note:** IntelligentContext / RollingWindow (score-based history dropping) were retired in PR-B1. Headroom compresses fresh tool output and new turns only — it does not drop conversation history.### Extras