{"data":{"slug":"headroom","name":"Headroom","tagline":"Apache context-compression layer — shrink tool dumps before the model","category":"agents","categoryName":"AI Agents","url":"https://docs.headroomlabs.ai/docs","github":"https://github.com/headroomlabs-ai/headroom","pricing":"open-source","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.","whatsGood":"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.","theCatch":"★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.","addedAt":"2026-10-01","featured":false,"domain":"AI Agents","subSpecialty":"Context","subcategory":"Context","tags":["self-host","permissive","rag","observability","active","fast-stars"],"capabilities":["compression","context","agents"],"surfaces":["Self-host","Hosted"],"ecosystem":["Python","Node.js","Multi-platform"],"licenseModel":"Apache-2.0","githubStars":75926,"starsPerWeek":1861,"access":"free","archived":false,"repo":{"createdAt":"2026-01-07","pushedAt":"2026-10-17","license":"Apache-2.0","archived":false,"checkedAt":"2026-10-19"}},"related":[{"slug":"claude-code","name":"Claude Code","tagline":"Terminal-first coding agent with deep repository context"},{"slug":"cursor","name":"Cursor","tagline":"The AI-first code editor that understands your codebase"},{"slug":"devin","name":"Devin","tagline":"Autonomous AI engineer for defined engineering tasks"},{"slug":"stagehand","name":"Stagehand","tagline":"AI-native browser automation that mixes code and natural language"},{"slug":"browser-use","name":"Browser Use","tagline":"Open-source framework for LLM-driven browser agents"}],"links":{"self":"/api/gems/headroom","html":"/gems/headroom","markdown":"/gems/headroom.md","category":"/api/gems?category=agents","categoryPage":"/stacks/agents"}}