Context Compression
Deterministic or model-based systems that reduce tool output, logs, transcripts, files, or retrieved chunks before insertion into an agent prompt; it excludes token billing meters and general archive compression.
| Project | What it does | Stars | Language | License | Latest release |
|---|---|---|---|---|---|
| rtk-ai/rtk | A CLI proxy that compresses, routes, and filters development-command output to reduce LLM token consumption in agent context. | ★ 83.8K | Rust | Apache-2.0 | v1.0.1 |
| headroomlabs-ai/headroom | Compresses tool outputs, logs, files, and RAG chunks before they enter an LLM context. | ★ 75.7K | Python | Apache-2.0 | v0.41.0 |
| mksglu/context-mode | A context tool that sandboxes coding-agent output before inserting smaller representations into prompts. | ★ 30.6K | TypeScript | NOASSERTION | v1.0.169 |