Latest / AI & agents

Context Gateway

github.com · Open source · Active

Proxy that compresses tool output before it reaches the LLM

Visit github.com ↗Share

  • context compression llm
  • tool output compression
  • claude code proxy
  • reduce llm tokens
  • agent context gateway
Stars
646
Forks
49
Open issues
6
Last commit
Releases
13
Found
8 months ago

GitHub figures as of . They are context, not a ranking.

Context Gateway is an open-source proxy that sits between coding agents such as Claude Code and the language model. It compresses tool outputs with small trained classifiers before they fill the context window. It suits developers running agents on large codebases who want lower token costs.

Repository description on GitHub: “Context Gateway is an agentic proxy that enhances any AI agent workflow with instant history compaction and context optimization tools”

What it does

  • Proxy between coding agents and the LLM API
  • Compresses tool outputs before they fill the context window
  • Compresses conversation history in the background
  • Setup wizard for Claude Code, Cursor and custom agents

Good for

  • Cut token use from large file reads and grep output
  • Keep long Claude Code sessions under the context limit
  • Compress history in the background before compaction

Suits: Developers running coding agents on large codebases to cut token costs.

Worth knowing: The summarizer model needs its own API key, set during the setup wizard.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Context Gateway on , when ivzak posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . Context Gateway had been shipping tagged releases for 31 days before it was found. 13 releases have been published in total; the latest is v0.5.3 ().

Day-7 and day-30 updates

Day 7 1 release shipped

  • 1 release in the first 7 days: v0.5.3 (18 Mar 2026)
  • Show HN discussion at check time: 97 points, 64 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: v0.5.3 (18 Mar 2026)
  • Show HN discussion at check time: 97 points, 64 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (13 in total, busiest month 8).
  1. Repository created on GitHub: Compresr-ai/Context-Gateway
  2. Release v0.1.0
  3. Release v0.4.4
  4. Release v0.4.5
  5. Release v0.5.0
  6. Release v0.5.1
  7. Release v0.5.2
  8. Found: ivzak posted it to Show HN. Show HN
  9. Release v0.5.3
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 13 releases. All releases on GitHub

Quick answers

When was Context Gateway released?
Its first tagged release on GitHub is dated 10 Feb 2026. Kip found it on Show HN on 13 Mar 2026.
Is Context Gateway open source?
Its source is public on GitHub at Compresr-ai/Context-Gateway under the Apache-2.0 licence.
What does Context Gateway run on?
Command line, Self-hosted.
Is Context Gateway free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Context Gateway still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryCompresr-ai/Context-Gateway
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-47367526. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.