← Overview
GitHub Trending · listed 2 times

headroomlabs-ai/headroom

agenttool outputHeadroomcompressLLM10,1441,260CCR storeoriginalsretrievetokensin logs
+474 that day★ 77.3KPython

Compress tool output and logs before they reach the LLM

Compresses tool output, logs, files, and RAG chunks before they reach the LLM. Compression runs locally; the README states that no prompt or file content is sent out to be compressed.

  • README example: 10,144 tokens down to 1,260 tokens, with the same FATAL finding preserved.
  • Four ways to use it: a Python or TypeScript library, a proxy, an agent wrapper (headroom wrap claude), and an MCP server.
  • README claims: 20% fewer tokens for coding agents, 60-95% fewer for JSON.
tryheadroom wrap claude

Trending history

First listed on 20 October 2026 at 76.3K stars, most recently on 22 October 2026 at 77.3K. Biggest day: 22 October 2026, 474 stars.

20/1022/10
  1. 22 October 2026+474★ 77.3K
  2. 20 October 2026+310★ 76.3K

Related repos

Same owner or also written in Python, from other days on the list.