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.
- agent
- ai
- anthropic
- claude-code
- compression
- context-engineering
- context-window
- cursor
- fastapi
- langchain
- llm
- mcp
- openai
- prompt-engineering
- proxy
- python
- rag
- token-optimization
- tokens
- typescript
- Stars
- 74,238
- Forks
- 5,744
- + today
- —
- Created
- 10mo
Ranking data as of November 24, 2026 (UTC).
Overview
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.
The project is written in Python and has 5,744 forks. It was created 10mo ago.
Installation
git clone https://github.com/headroomlabs-ai/headroom.git
cd headroom
# see README for setup