# Headroom

> Apache context-compression layer — shrink tool dumps before the model

**Category:** AI Agents  
**Pricing:** open-source  
**URL:** https://docs.headroomlabs.ai/docs  
**GitHub:** https://github.com/headroomlabs-ai/headroom  
**Added:** 2026-10-01

---

## The Hook

Headroom is an Apache context-compression layer for agents — compress tool outputs, logs, files, and RAG chunks before they burn the context window, while keeping fatal lines intact.

## What's Good

Apache-2.0 (headroomlabs-ai/headroom). PyPI `headroom-ai` and npm `headroom-ai` (HTTP 200). Docs at docs.headroomlabs.ai. Aimed at operators who lose half the window to noisy tool dumps — compression before the model call, not another memory SaaS.

## The Catch

★74201 in about 38 weeks (~1953 a week): judge it on the compression fidelity and failure modes, not the star count. Vs litellm / langfuse / mem0: those are proxy/obs/memory lanes — Headroom’s catch is lossy/lossless-ish context compression of tool/RAG payloads. Always validate that error lines and stack traces you care about survive; pin `headroom-ai` package names (not unrelated `headroom` on PyPI).

## Verdict

Apache context compression when tool dumps eat the window — not LiteLLM proxy, not Langfuse, not Mem0; treat the star spike with caution; verify FATAL lines survive.
