Hacker GitHub

← All repos

headroomlabs-ai/headroom

View on GitHub ↗ ★ 78,618 Python

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

26 mentions on Hacker News by 20 people: 12 stories, 14 comments · first 2026-01-13 · latest 2026-09-04

Mentions per year 26 mentions · busiest year 2026 (26)
20082026
  1. ▲ 1
    Headroom: Save Tokens from Reversible Compression
    story by ghostoftiber · 2026-09-04 · 0 comments
  2. How is this different from headroom? Mcptoon seems like it's specific to tool calls. https://github.com/headroomlabs-ai/headroom
    comment by swedishagentic · 2026-08-11 · in Show HN: Mcptoon – Token-efficient MCP CLI client
  3. ▲ 10
    Headroom - compress AI agent input for reduced token usage w/out harming output
    story by andsoitis · 2026-07-21 · 2 comments
  4. …They provide perfect GLM5.2, awesome token/s, TTFT and price. Coupled with a local Headroom ( https://github.com/headroomlabs-ai/headroom ) you'll be able to use a LOT without hitting your 5h window :) Definitely the best $ value for me…
    comment by w4yai · 2026-06-22 · in GLM 5.2 vs. Opus
  5. ▲ 3
    Headroom – The context compression layer for AI agents
    story by sibellavia · 2026-06-22 · 0 comments
  6. ▲ 4
    Compress tool outputs, logs, files, RAG chunks before LLM for 60-95% less tokens
    story by gmays · 2026-06-20 · 0 comments
  7. …types. I liked their approach a lot better than RTK and thought it might be relevant for you. https://github.com/chopratejas/headroom
  8. Anybody have experience with https://github.com/chopratejas/headroom ? They seem to have similar goals in token reduction, but headroom appears to be broader in scope.
  9. ▲ 2
    TokenMinMaxing
    story by droppedasbaby · 2026-06-18 · 0 comments
  10. ▲ 2
    Headroom
    story by marc__1 · 2026-06-17 · 0 comments
  11. …built-in LSP support. I point it at the tailnet DNS (https://llama.<tailnet>:<port>) - Headroom ( https://github.com/chopratejas/headroom ) to maximize the 80k context window - Exa MCP for web search ( https://exa.ai/ ) this alone makes…
  12. The github seems to be a better source, since it supports JavaScript and python https://github.com/chopratejas/headroom (4 points, 16 days ago) https://news.ycombinator.com/item?id=48155888 But we also seem to have a couple of Show HN from…
  13. ▲ 3
    Headroom – LLM Input Compression
    story by lgats · 2026-05-31 · 0 comments
  14. ▲ 4
    A Compression Tool for LLM Reads. Est. 60-95% Fewer Tokens
    story by botacode · 2026-05-16 · 0 comments
  15. …ago: https://news.ycombinator.com/item?id=47914963 Headroom:The Context Optimization Layer for LLM: https://github.com/chopratejas/headroom Of these, it looks like RTK and 8v are somewhat equivalent, while headroom is complementary.…
    comment by esperent · 2026-05-03 · in Context Mode v1.0.0
  16. …which I guess is a close equivalent. https://github.com/rtk-ai/rtk Headroom which is complementary. https://github.com/chopratejas/headroom I have tried both of these and I have to say, I didn't notice any difference. That's not to say…
  17. …Headroom out and looks like Headroom actually uses RTK under the hood for CLI output compression: https://github.com/chopratejas/headroom#compared-to
  18. …RTK - it includes RTK sure, but headroom cli has a lot more going on under the hood. For more see https://github.com/chopratejas/headroom
    comment by gghootch · 2026-04-17 · in Claude Opus 4.7
  19. …you want to reduce token usage is headroom https://github.com/gglucass/headroom-desktop (mac app) https://github.com/chopratejas/headroom (cli)
    comment by gghootch · 2026-04-16 · in Claude Opus 4.7
  20. …Some great ones are https://github.com/gglucass/headroom-desktop https://github.com/rtk-ai/rtk https://github.com/chopratejas/headroom https://github.com/samuelfaj/distill
    comment by gghootch · 2026-04-08 · in Sonnet 4.6 Elevated Rate of Errors
  21. …compresses context between you and Claude by ~34%. Sits at localhost, zero config once running. https://github.com/chopratejas/headroom > RTK - Rust CLI proxy that compresses shell output (git, npm, build logs) by 60-90% before it hits the…
    comment by sillysaurusx · 2026-03-31 · in Universal Claude.md – cut Claude output tokens
  22. ▲ 1
    The Context Optimization Layer for LLM Applications
    story by selvan · 2026-03-04 · 0 comments
  23. ▲ 3
    Show HN: Headroom (OSS): Cuts LLM costs by 85%
    story by chopratejas · 2026-01-18 · 5 comments
  24. ▲ 1
    Show HN: Headroom – Reversible context compression for LLMs(~60% cost reduction)
    story by chopratejas · 2026-01-15 · 1 comment
  25. …"headroom-ai[proxy]" && headroom proxy --port 8787 then point your client’s base URL at it. Repo: https://github.com/chopratejas/headroom Limitations: best on JSON arrays; text compression is opt-in; if you truly need every row, you’ll…
  26. ▲ 2
    Headroom – context optimization layer for tool-using agents
    story by chopratejas · 2026-01-13 · 2 comments