Skip to content

[GitHub Trending] ranxianglei/billion-context

7 relevance
Score Breakdown
technical depth
8
novelty
9
actionability
6
community
4
strategic
5
personal
7

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Context compression for long sessions, novel and relevant to AI agent memory.

Open Source github.com
A context-compression plugin for month-long single sessions (billions of tokens) ,small context windows (a 100K context is enough) and token savings (5x fewer tokens) .上下文压缩插件,月级长会话会话, 兼顾小窗口(100k上下...
Summary

billion-context is an open-source context-compression proxy that sits between any agent and its model API, rewriting Anthropic/OpenAI streams to enable month-long coding sessions with billions of tokens. In a 4.5-month production study across three hosts with 174,327 model calls and 18.76B cumulative input tokens, it achieved zero window violations on 204,800-token models and maintained a 95–97% prefix-cache hit rate. Independent benchmarks show it ranked #1 on ContextBench (0.3097 Utilized F1, -58.3% cost vs full context) and achieved 100% survival on 1.48M-token MemoryAgentBench TTL where full context failed 199/199 tests.