headroomlabs-ai/headroom

★81,512PythonApache-2.0⑂ 6,432Issue 148Updated Dec 5, 2026

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.

Shrinking AI agent context without losing the important lines — Headroom compresses tool outputs, logs, and RAG chunks before they hit the LLM, cutting tokens by 20% for coding agents and up to 95% for JSON while preserving exact answers, including critical lines like error messages. It ships as a Python/TS library, proxy, or MCP server, with its own kompress-v2 model on Hugging Face.

AI agentsagentaianthropicclaude-codecompressioncontext-engineeringcontext-windowcursorfastapilangchainllmmcpopenaiprompt-engineeringproxypythonragtoken-optimizationtokenstypescript

Metrics

Relative growth (7d)+1%Growth over the last 7 days relative to size
Acceleration-28%Change in growth pace from the week before
Retention+163%How well growth holds up 30 days after first trending
Attention43The three metrics scaled to 0–100 and combined

See About for how each metric is defined.

Star growth and Trending appearances (last 30 days)

+268★/dayDaily
Nov 6, 2026Dec 5, 2026

Bands mark days on the trending list (darker = higher rank)

Daily trending ranks as a table (7 days)
DateDaily
Nov 15, 2026
python #10 +93
Nov 14, 2026
python #8 +120
Oct 23, 2026
python #6 +517
Oct 22, 2026
#4 +474
python #2
Oct 21, 2026
#10 +549
python #4
Oct 20, 2026
#7 +310
python #3
Oct 10, 2026
python #7 +104

Created Jan 8, 2026 · First on trending Oct 10, 2026

Other notable repositories in the same category (AI agents)

See all AI agents repositories →

Rank within agent

#Repository★
1langgenius/dify162,433
2Snailclimb/JavaGuide159,782
3Leonxlnx/taste-skill125,659
4TauricResearch/TradingAgents125,220
5OpenHands/OpenHands94,903
6koala73/worldmonitor91,497
7datawhalechina/hello-agents88,738
8lobehub/lobehub86,442
9bytedance/deer-flow86,139
10OpenMontageInc/OpenMontage85,587
11headroomlabs-ai/headroom81,512

See all agent repositories →

Get the weekly digest by email

Every Monday: the repositories that grew most last week, and how the buzz spread between the global and Japanese-language web. Unsubscribe any time. See the privacy and ad policy for how we handle your address.