# Headroom — card for AI agents

Compresses tool outputs, logs, files, RAG chunks and conversation history before they reach the model, so agents use fewer tokens. Runs locally as a library, a proxy, an agent wrapper or an MCP server; originals stay cached and can be retrieved on demand.

Maker: Headroom Labs · category: Agent tooling for cost, context and memory · open source (Apache-2.0)

## Price
- Free and open source (Apache-2.0). Compression runs on your machine.
- Free tier: yes
- Pricing page: https://github.com/headroomlabs-ai/headroom
- Checked: 2026-10-09

## Install
- npm: `npm install headroom-ai`
- PyPI: `pip install headroom-ai`

## Facts
- Interfaces: Python library, TypeScript library, CLI, Local proxy, MCP server
- Repository: https://github.com/headroomlabs-ai/headroom

## Numbers (AgentGid data)
- Gid Score: 49 (rank #77) (public popularity and activity, not quality)
- Downloads last 7 days: 117,247
- GitHub stars: 80,570

## Details (plan limits, live status, safety; from AgentGid's data)
Headroom by Headroom Labs. Category: Agent tooling for cost, context and memory. Type: context compression library and proxy. Compresses tool outputs, logs, files, RAG chunks and conversation history before they reach the model, so agents use fewer tokens. Runs locally as a library, a proxy, an agent wrapper or an MCP server; originals stay cached and can be retrieved on demand. Open source (Apache-2.0) Pricing (checked 2026-10-09): Free and open source (Apache-2.0). Compression runs on your machine. Free tier: yes. Interfaces: Python library, TypeScript library, CLI, Local proxy, MCP server Supports: multi_agent Data: Gid Score 49/100, #77 overall; #10 in its category; 80,570.0 GitHub stars; usage -6% over 30 days; latest release 0.45.0 (2026-11-22).

## Alternatives in the same category
- LiteLLM: https://agentgid.com/agents/litellm/agent.md
- Langfuse: https://agentgid.com/agents/langfuse/agent.md
- Firecrawl: https://agentgid.com/agents/firecrawl/agent.md
- E2B: https://agentgid.com/agents/e2b/agent.md
- Composio: https://agentgid.com/agents/composio/agent.md
- Graphify: https://agentgid.com/agents/graphify/agent.md

## Links
- AgentGid page: https://agentgid.com/agents/headroom/
- Source: https://github.com/headroomlabs-ai/headroom
- Source: https://headroomlabs.ai
- Source: https://docs.headroomlabs.ai/docs

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
