Netflix engineer has released an open-source tool called Headroom that dramatically reduces the cost of running AI agents. The tool compresses everything an AI agent reads—tool outputs, code files, and RAG results—before sending it to the large language model (LLM), cutting token usage by 60–95%.
Headroom uses content-type-aware compressors and its own locally trained model based on Kompress. Because compression happens locally and costs zero tokens, sensitive code never leaves the machine. Early benchmarks show mixed results, with some users reporting increased token usage, but the tool's potential for cost savings has generated significant interest.