mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
- Fix E402: Move module-level imports to top of file - Fix F401: Add noqa for availability check imports - Fix F402: Rename loop variables shadowing imports - Fix E722: Replace bare except with except Exception - Fix B904: Add exception chaining (from e) - Fix F811: Remove duplicate imports - Fix B027: Add noqa for empty close() method - Fix E741: Rename ambiguous variable l -> label - Fix I001: Import sorting issues - Apply ruff format to all 106 files All 902 tests pass. |
||
|---|---|---|
| .. | ||
| api.md | ||
| ARCHITECTURE.md | ||
| getting-started.md | ||
| HEADROOM_DEEP_ANALYSIS.md | ||
| HEADROOM_FEATURES.md | ||
| PATH_TO_10_OUT_OF_10.md | ||
| proxy.md | ||
| quickstart.md | ||
| README.md | ||
| transforms.md | ||
| troubleshooting.md | ||
Headroom Documentation
Welcome to the Headroom documentation.
Quick Links
Overview
Headroom is the Context Optimization Layer for LLM applications. It reduces your LLM costs by 50-90% through intelligent context compression.
Core Concepts
- Transforms: Stateless functions that modify message arrays to reduce tokens
- Providers: Adapters for different LLM providers (OpenAI, Anthropic, etc.)
- Pipeline: Chains multiple transforms together
- Proxy: HTTP server that applies transforms transparently
Getting Help
- GitHub Issues - Bug reports
- GitHub Discussions - Questions
- Discord - Community chat