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.

76.0k
Stars
+16.8k
Gained
28.3%
Growth
Python
Language

🎭 Best For

🏷️ Topics & Ecosystem

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

📊 Activity

Latest commit: 2026-10-17. Over the past 92 days, this repository gained 16.8k stars (+28.3% growth). Activity data is based on daily RepoPi snapshots of the GitHub repository.