headroom
by chopratejas · github.com/chopratejas/headroom
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.
Stars
★ 61k
Forks
4,607
Language
Python
Category
AI Agents
License
Apache-2.0
agentaianthropicclaude-codecompressioncontext-engineeringcontext-windowcursorfastapilangchainllmmcppythonrag
Featured in
- headroom @ 00:37 · Jun 17, 2026