Latest / AI & agents

billion-context

github.com · Open source · Active

Context compression plugin for very long single sessions

Visit github.com ↗Share

  • AI & agents
  • Open source
  • TypeScript
  • Day-7 check
  • Day-30 check
  • context compression
  • token reduction
  • llm sessions
  • npm plugin
Stars
8.8k
Forks
720
Open issues
993
Last commit
Releases
≥ 211
Found
3 months ago

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

billion-context is a context-compression plugin that keeps very long single sessions running on a small context window. Its readme reports about five times fewer tokens, which suits people running long agent sessions under modest context limits.

Repository description on GitHub: “A context-compression plugin for month-long single sessions (billions of tokens) and small context windows (a 100K context is enough), billion-context is all you need .”

What it does

  • Compresses context for long single sessions
  • Works with small context windows, such as 100K tokens
  • Reports about five times fewer tokens in its readme
  • Distributed as an npm package

Good for

  • Keep month-long agent sessions within a small context window
  • Reduce token use during long coding sessions

Suits: People running long LLM or agent sessions with limited context.

Worth knowing: Performance figures are self-reported in its readme.

What you can try

Install the billion-context npm package, following the install steps in its readme.

Install

npx billion-context

Confirmed against the package registry. Read the project’s own instructions before running anything.

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 billion-context on , when ranxianglei created its repository on GitHub. The oldest published release on GitHub is v0.1.2, dated . Its first tagged release came 2 days after it was found. 211 releases or more have been published in total; the latest is v0.1.218 ().

Day-7 and day-30 updates

Day 7 not reconstructed

  • This project has more than 100 releases, and Kip did not page back far enough to count the ones from this window.

Checked , later than day 7 because tracking began after.

Day 30 not reconstructed

  • This project has more than 100 releases, and Kip did not page back far enough to count the ones from this window.

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (30 in total, busiest month 22). Based on the most recent releases on record.
  1. Repository created on GitHub: ranxianglei/billion-context
  2. Found: ranxianglei created its repository on GitHub. GitHub
  3. Release v0.1.2
  4. Release v0.1.213
  5. Release v0.1.214
  6. Release v0.1.215
  7. Release v0.1.216
  8. Release v0.1.217
  9. Release v0.1.218
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

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

Quick answers

When was billion-context released?
Its first tagged release on GitHub is dated 8 Aug 2026. Kip found it on GitHub on 6 Aug 2026.
Is billion-context open source?
Its source is public on GitHub at ranxianglei/billion-context; check the repository for licence terms.
What does billion-context run on?
Library.
Is billion-context free?
It is open source, so the code is free to read and run; check the licence for terms.
Is billion-context still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
GitHublisting
official API record
GitHub repositoryranxianglei/billion-context
REST API record
GitHub Releasesrelease list
REST API record

Stable ID github-1324949198. Summary written by KipFound’s editor.

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.