billion-context
Context compression plugin that stretches small context windows
Source repositoryOverview
Small context windows end sessions early: the agent forgets, the thread breaks, and long work has to restart. billion-context is a compression plugin built to stretch a small window much further than it should go.
Around 100K tokens is enough — the plugin uses roughly a fifth of the tokens, so a modest window can carry a session that keeps going.
What that makes possible
- Work within a small context window instead of needing a huge one
- Roughly a fifth of the token usage for the same work
- A single session sustained over months, rather than restarted constantly
- Billions of tokens accumulated in total across that long-lived session
How it fits in
It is a plugin: add it to your agent setup and compression happens as the session runs.
Who it's for
Agent users stuck with small-window models, or anyone whose long projects keep dying at the context limit.