chopratejas/headroom at 16.5K Stars: Compress Tool Outputs, Logs and RAG Chunks Before They Hit the LLM
GitHub·medium signal
Headroom (16,542 stars, created 2026-01-07) is a Python library, proxy, and MCP server that compresses tool outputs, logs, files and RAG chunks before they reach the model, claiming 60-95% fewer tokens with 'same answers.' It attacks token cost at the context-window layer rather than the command layer, making it a complement to rtk and codeburn in the emerging token-economics stack. The MCP server packaging means it can drop straight into existing agent setups.