Headroom compresses agent input locally: 21–57% fewer input tokens across four agent scenarios, over 90% on repeated JSON and log lines
Headroom compresses what an AI agent reads, including tool outputs, logs, RAG chunks, files and conversation history, before it reaches the LLM, aiming for the same answers with fewer input tokens. Across four agent scenarios it measured 21–57% fewer input tokens, over 90% on repeated JSON arrays and log lines, and little on prose. Compression runs in-process on the local machine, and originals are cached locally so the model can retrieve them when needed.