Headroom is a compression layer for AI coding agents.
Install: uv tool install "headroom-ai[all]"
Or run as Docker install:
docker pull ghcr.io/chopratejas/headroom:latest
Docs: https://headroom-docs.vercel.app/docs/installation
It can be used with Claude Code, opencode etc, but also integrated in Pipelines as with LangChain
Update with pip: pip install -U headroom-ai
Proxy
headroom proxy starts a proxy server on your system which will then call the LLM provider.
Setting it up with custom Claude Code Providers:
headroom proxy --anthropic-api-url https://api.z.ai/api/anthropic
Then replace the URL in .claude Config with: http://127.0.0.1:8787