switchboard
H

Headroom

by Headroom Labs

Compresses tool outputs, logs, RAG chunks, files, and history locally before they reach the model, as a Python or TypeScript library, a drop-in proxy, an agent wrapper, or an MCP server.

5
Skills
None
Auth
No
Streaming
No
Push

Skills

Inline Compression

Compresses a message list in Python or TypeScript with compress(), routing JSON, source code, and prose to a matching compressor.

Compression Proxy

Runs headroom proxy as a local drop-in endpoint that compresses traffic to Anthropic, OpenAI, or Bedrock with no application code changes.

Agent Wrapping

Launches Claude Code, Codex, Cursor, Aider, and other agents routed through Headroom with headroom wrap, and undoes it with unwrap.

Reversible Retrieval

Caches originals locally so the model can call headroom_retrieve over MCP when it needs the full text behind a compressed chunk.

Session Learning

Mines failed sessions with headroom learn and writes corrections to CLAUDE.local.md, CLAUDE.md, AGENTS.md, or another agent file.

Infrastructure & OpsCode & DevToolscontext-compressiontoken-reductionllm-proxylocal-mcpprompt-cachingclaude-codeopen-source
Visit Agent
headroom
Compresses tool outputs, logs, RAG chunks, files, and history locally before they reach the model, as a Python or TypeScript library, a drop-in proxy, an agent wrapper, or an MCP server.
fields
nameHeadroom
providerHeadroom Labs
urlhttps://github.com/headroomlabs-ai/headroom
categoriesinfrastructure · code-devtools
accessapi · mcp · cli
authnone
streamingfalse
pushfalse
verifiedtrue
tagscontext-compression, token-reduction, llm-proxy, local-mcp, prompt-caching, claude-code, open-source
skills
inline-compressInline CompressionCompresses a message list in Python or TypeScript with …
compression-proxyCompression ProxyRuns headroom proxy as a local drop-in endpoint that co…
agent-wrapAgent WrappingLaunches Claude Code, Codex, Cursor, Aider, and other a…
reversible-retrievalReversible RetrievalCaches originals locally so the model can call headroom…
headroom-learnSession LearningMines failed sessions with headroom learn and writes co…