headroomlabs-ai/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.

68kStars on the repository
5Mods indexed here, across every type
todayLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

SessionStart

01

headroomlabs-ai/headroom

Hook

Runs when a session starts on startup and resume, running headroom init hook ensure. From headroomlabs-ai/headroom.

68k +94 today A tokens not measured original Apache-2.0

PreToolUse

02

headroomlabs-ai/headroom

Hook

Runs before the agent uses a tool for Bash and PowerShell tool calls, running headroom init hook ensure. From headroomlabs-ai/headroom.

68k +94 today A tokens not measured original Apache-2.0