Skip to content
Agents tracked: 504 Releases (7d): 733 Agent status: 2 with issuesSince last limit reset: Claude 12d · Codex 10d For AI agents: Markdown Updated Nov 23, 2026

Headroom by Headroom Labs

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.

Agent tooling for cost, context and memory Context compression library and proxyOpen source · Apache-2.0Free to start

Use it in: API / SDK CLI MCP server Works with: MCP Multi-agent

Price
Free (OSS)
free and open source
Popularity
#10 in Agent tooling
Gid Score 49 / 100 · #10 of 66 ranked agent tools
Trend
Slowing down
downloads down 6.3% over 30 days · down 7.4% last week
Development
Actively updated
latest 0.45.0, yesterday
Community
80.6K GitHub stars
117K package downloads a week

Usage data: latest readings Nov 21 to Nov 23, 2026, last checked Nov 23, 06:26 UTC. Date of each number

What Headroom does

Headroom is a context compression library and proxy from Headroom Labs, first released in January 2026. You use it through a Python library, a TypeScript library, a command-line tool, a Local proxy and MCP server. Its documentation covers subagents or parallel agents. It can run models from Anthropic, OpenAI, Amazon Bedrock, Google, xAI and any OpenAI-compatible endpoint. It is used from Python and TypeScript. It is free and open source (Apache-2.0); you pay only for the models it calls.

Key facts

MakerHeadroom Labs
TypeContext compression library and proxy
First releasedJanuary 2026
LicenseApache-2.0
InterfacesPython library, TypeScript library, CLI, Local proxy, MCP server
Works withWraps Claude Code, Codex, Cursor, Copilot, Aider, OpenCode, Cline and other agents; works with Anthropic, OpenAI, Bedrock and other providers
Main languagePython
Open issues and PRs339

Pricing

Free and open source (Apache-2.0). Compression runs on your machine.

Vendor claim: Vendor says about 20% fewer tokens for coding agents and 60-95% fewer for repetitive JSON, with the same answers (GitHub README); its own benchmarks show 21-57% across four agent scenarios.

Source: official pricing page, checked Oct 9, 2026. Prices change often; confirm before you buy.

Compare prices of all agents

Quick answers

  • Free to start?Yes
  • Open source?Yes (Apache-2.0)
  • Where you use itPython library, TypeScript library, CLI, Local proxy, MCP server
  • Model providersanthropic, openai, amazon, google, xai, any OpenAI-compatible
  • Subagents / multi-agent?Yes
  • Feature comparisonAll agents
  • Closest alternativeLiteLLM · all alternatives

What's new in Headroom: November 2026 so far

Full monthly summary

November brought MCP server updates, improved memory handling, and new proxy capabilities including shadow mode and cost tracking. The release also added system tray integration with savings visibility and expanded model routing options.

Action needed: PyTorch extras removed from default packaging; install separately if needed.
  • MCP servers ported to SDK 2.x for compatibility with latest libraries.
  • New shadow mode for model router allows logging-only evaluation without routing live requests.
  • System tray icon added with savings counter, dashboard access, and update alerts.
  • Per-request cost tracking exposed in proxy stats and lossless compression mode added.

4 releases this month · summarised from the official release notes · all months

AgentGid articles about Headroom

All guides

Get started with Headroom

npmnpm install headroom-ai
PyPIpip install headroom-ai

These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.

Headroom works with

Claude Code OpenAI Codex GitHub Copilot CLI Cursor CLI Cursor Aider OpenCode Cline Goose OpenHands Mistral Vibe Oh My Pi ZCode Agent frameworks and SDKs

Compare Headroom with another agent

vs
# Agent Gid Score Downloads 7d 7d 30d Stars Latest release Price
1
LiteLLMBerriAI
72 25.9M up 9.3% up 3.5% 63.7K+65/day 1.108.152d ago Free (OSS)
2
LangfuseLangfuse
69 14.9M up 1.2% up 25.2% 37.7K+40/day 4.83.04d ago Free + $29/mo
3
FirecrawlFirecrawl
64 3.2M up 7.1% up 14.5% 207K+754/day 2.11.05mo ago Free + $19/mo
4 63 6.2M up 5.4% up 42.9% 15K+13/day 2.24.010d ago Free + $150/mo
5
ComposioComposio
57 2.5M up 3.7% up 34.8% 31.2K+24/day 0.6.33d ago Free + $29/mo
6
GraphifyGraphify Labs
55 567K up 4.2% up 23.8% 152K+528/day 0.9.1152d ago Free + $15/mo

Head to head: Headroom vs E2B · Headroom vs Firecrawl · Headroom vs Langfuse · Headroom vs LiteLLM

Tools used with Headroom

All tools

What 147 public GitHub projects that depend on Headroom use with it, from their dependency files.

  1. TypeScript38.8%
  2. React32.0%
  3. Tailwind CSS27.2%
  4. ESLint26.5%
  5. Vite20.4%
  6. Vitest17.0%
  7. Lucide React16.3%
  8. python-dotenv15.6%
  9. Next.js15.0%
  10. Playwright (JavaScript)15.0%

Used far more often here than in AI-built projects overall: what sets Headroom projects apart.

  1. openpyxl6.1% · 4.5×
  2. Anthropic Python SDK8.2% · 4.4×
  3. psutil7.5% · 4.0×
  4. aiohttp6.1% · 3.1×
  5. axe-core Playwright5.4% · 3.1×
  6. Beautiful Soup6.1% · 2.9×
  7. LangChain5.4% · 2.7×
  8. websockets5.4% · 2.7×

Ratings from people who use Headroom

No ratings yet. Used Headroom? Rate it and say what it is good and bad at.

Headroom news

All AI agent news

  1. Release GitHub Releases

    Headroom 0.45.0 released

    opencode: add repeatable --extra-model flag for custom wrap-time models (66e0086); savings: book modelled output savings per request, as a token and dollar range (00436a8); shaper: let an extension replace a level's steering text; default to L3 (a3afd43)

  2. Data AgentGid data

    Headroom passes 80K GitHub stars

  3. Release GitHub Releases

    Headroom 0.44.0 released

    packaging: keep PyTorch extras out of all; pipeline: say whose request an OutcomeSnapshot is (a2bcbd1); providers: add Hermes agent wrap support (7877241)

What changed: recent Headroom releases

11 stable releases in the last 90 days · Monthly summary · Full changelog

0.45.0
  • opencode: add repeatable --extra-model flag for custom wrap-time models (66e0086)
  • savings: book modelled output savings per request, as a token and dollar range (00436a8)
  • shaper: let an extension replace a level's steering text; default to L3 (a3afd43)
  • telemetry: split beacon sessions by harness, model and day (ac932eb)
  • tray: opt-in system tray icon with savings counter, dashboard and update alert (e9301f3)
  • benchmarks: drop the duplicate protect_recent=0 table from the proof harness (a385ea8)
0.44.0
  • packaging: keep PyTorch extras out of all
  • pipeline: say whose request an OutcomeSnapshot is (a2bcbd1)
  • providers: add Hermes agent wrap support (7877241)
  • proxy/model-router: add shadow mode (HEADROOM_MODEL_ROUTER_LOG_ONLY) (861ef95)
  • proxy: add lossless /v1/compress mode and detect provider by wire shape (33f067a)
  • proxy: expose per-request cost_usd in /stats recent_requests (84cedbf)
Earlier releases
0.43.1
  • ccr: keep the in-memory order queue from evicting re-stored entries (c6f5bf9)
  • memory: read the relation key the memory_save schema advertises (7592e68)
  • memory: replace the HNSW vector when a memory is re-indexed (ee638f9)
  • openclaw: accept 12-character hashes in headroom_retrieve (8d3e9e5)
  • ort: avoid implicit runtime discovery from the workspace (69fbd23)
  • proxy: bound the model-keyed tokenizer, beacon and litellm caches (e51b806)
0.43.0
  • mcp: port MCP servers to SDK 2.x
  • ccr: answer headroom_retrieve on streaming chat completions (31dcaf4)
  • mcp: port MCP servers to SDK 2.x (ee2252a)
  • plugins: headroom skill for Claude Code, Codex, Copilot and skills.sh (66e1467)
  • savings: show the proxy's model-routing savings in headroom savings (aaab338)
  • [BUG] A timeout in one image compression call resets the shared worker pool and affects concurrent requests (e9bcfe7)
0.42.0
  • pipeline: put per-request saved tokens on OutcomeSnapshot (8cedf7b)
  • proxy: let turn hooks rewrite OpenAI Responses requests on HTTP and WebSocket (fbf7bc3)
  • proxy: report the same tool savings on gateway /v1/compress as the proxy path (a904210)
  • savings: add the per-request counterfactual savings record (2912b7b)
  • batch: preserve live contexts during capacity cleanup (2cbdd22)
  • batch: preserve native Gemini continuation tools (8757458)
0.41.0
  • antigravity: add native Google Antigravity IDE integration (cd4367b)
  • opencode: support the OpenCode 2.x plugin API (1d4b357)
  • plugins: add headroom-snip Claude Code mod that animates compression (17abee2)
  • proxy: native spend/savings stats + dashboard for the Rust proxy (70b21c1)
  • router: add max_output_tokens condition to ModelRoute (01185e3)
  • savings: per-agent attribution in history checkpoints and rollups (489de46)

Headroom prices over time

Token prices of Anthropic modelsnewest Anthropic model in each family, output price per 1M tokens
Anthropic OpusAnthropic SonnetAnthropic Haiku

Headroom popularity and usage data

Headroom was downloaded 117K times from npm and PyPI in the week ending Nov 21, 2026, down 7.4% on the week before and down 6.3% over the last 30 days compared with the 30 before. The GitHub repository has 80.6K stars, 3,168 of them added in the last 30 days. The latest stable release is 0.45.0, published Nov 22, 2026; there were 5 stable releases in the past 30 days.

Downloads per daynpm and PyPI, 7-day average 16.7K/day
GitHub starsrunning total 80.6K

Download the raw daily series: headroom.csv

Gid Score breakdown

Adoption46
Community80
Attention—
Momentum44

Gid Score shows public popularity and activity (usage, GitHub stars, mentions, growth), not the quality of the product. Each component is scored 0 to 100 from public signals; a dash means no data for it. How the Gid Score works.

How fresh these numbers are

NumberLatest readingLast checked
Package downloadsNov 21, 2026Nov 23, 06:24 UTC
GitHub starsNov 23, 2026Nov 23, 06:26 UTC

We fetch every source once a day. Registries publish downloads and page views a day or two late, so their latest reading trails the check. A reading more than 4 days old is marked out of date; the Gid Score still uses it until a newer one arrives.

Headroom FAQ

How much does Headroom cost?

Free and open source (Apache-2.0). Compression runs on your machine.

Is Headroom open source?

Yes. Headroom is open source, released under the Apache-2.0 license.

How popular is Headroom?

Headroom was downloaded 117K times from npm and PyPI in the week ending Nov 21, 2026, down 7.4% on the week before and down 6.3% over the last 30 days compared with the 30 before. The GitHub repository has 80.6K stars, 3,168 of them added in the last 30 days. The latest stable release is 0.45.0, published Nov 22, 2026; there were 5 stable releases in the past 30 days.

What is the latest version of Headroom?

The latest stable release we track is 0.45.0, published on Nov 22, 2026.

What are the alternatives to Headroom?

The closest alternatives in the same category by Gid Score are LiteLLM, Langfuse, Firecrawl, E2B.

For the makers of Headroom badges, corrections

Add a live badge to your README or site:

AgentGid: #10 in Agent tooling Gid Score: 49/100 downloads: 117K/week ▼6% 30d

[![AgentGid: #10 in Agent tooling](https://agentgid.com/badges/headroom-rank.svg)](https://agentgid.com/agents/headroom/)
[![Gid Score: 49/100](https://agentgid.com/badges/headroom-score.svg)](https://agentgid.com/agents/headroom/)
[![downloads: 117K/week ▼6% 30d](https://agentgid.com/badges/headroom-downloads.svg)](https://agentgid.com/agents/headroom/)

Something wrong or outdated on this page? Send a correction with a link to the official source. More for makers.

Where these numbers come from

npm: headroom-ai. PyPI: headroom-ai. GitHub: headroomlabs-ai/headroom. See data sources for how each one is collected.

Product facts and pricing were checked against: github.com, headroomlabs.ai, docs.headroomlabs.ai.