headroom
chopratejas/headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
41,864stars
Forks
2,878
Open issues
219
Watchers
134
Size
52.7 MB
PythonApache License 2.0
agentaianthropiccompressioncontext-engineeringcontext-windowfastapilangchainllmmcpopenaiproxypythonragtoken-optimizationclaude-codecursorprompt-engineeringtokenstypescript
Created: Jan 7, 2026
Updated: Jun 21, 2026
Last push: Jun 20, 2026