Code GenerationOpen_source
Headroom logo

Headroom

Context compression for AI agents

About Headroom

Headroom is a context compression layer that sits between an AI coding agent and the model it calls. Agents burn tokens on material nobody reads: a ten thousand line log dump, a JSON tool response with forty redundant fields, the full text of a file when three functions mattered. Headroom compresses that content before it reaches the LLM and caches the originals locally, so the agent can pull the untouched version back on demand when it turns out to need it. The project publishes a worked example on its own repository: a 10,144 token log reduced to 1,260 tokens with the FATAL line preserved byte for byte.

Pricing

No pricing page found

Free tier
  • Open source$0/mo
  • EnterpriseContact sales

Details

GitHub Stars 77,191
Forks 5,986
devopsinfrastructureopen-sourcetoken-optimization