Skip to content
repository radar
Agents & Orchestration

🧠Context Mode

ACTIVE BREAKOUT

mksglu/context-mode · homepage ↗

Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.

⭐ Very popular: 20k stars, gaining about 188 a week

View on GitHub ↗

repo profile

vintage 2026 launched this year
delivery library
language TypeScript
license Other

momentum

total stars 20k
stars added last week +188
weekly downloads 17k /wk · npm
used by 17 repos & packages
commits / week 9 cooling · -25% vs prior mo
issues closed 96% ~1 day to close, median
contributors 110
release cadence weekly
last activity today

durability

backing community / independent
openness source-available Elastic License
bus factor 1 solo
top-author share 58% 6 mo

bus factor = how many people it takes to cover more than half the commits (6 months). 1 is a solo project; higher means the work is spread across a team. top-author share is the single busiest author's slice of those commits.

since we covered it

monthly average + 2k/mo (+16%/mo) · + 7k total since PR#33

why it's a big deal

  • Treats context as a system resource that needs virtualization, not just a prompt to manage.
  • Extends typical agent sessions from around 30 minutes to multiple hours by cutting context use up to 98%.
  • Works across Claude Code, Gemini CLI, VS Code Copilot, OpenCode, and Codex CLI as a portable layer.

under the hood

  • Sandbox tools run code in isolated subprocesses with only stdout entering context.
  • SQLite FTS5 with BM25 ranking and three-layer fuzzy search powers on-demand retrieval.
  • Hooks intercept Bash, Read, and WebFetch calls before execution to enforce sandbox routing.

our take from PR#33, 2026-05-06

star history

PR#33 · 13k20k now Feb 2026Aug 2026
  1. PR#33 13k 2026-05-06
  2. now 20k + 7k since first covered

curve is sampled from GitHub's star history, plus our own daily readings since we covered it; the dashed stretch is before we first covered it, the solid line since. figures at coverage are the numbers we printed then (approx.), current count is live.

understory

Quietly building: more output than attention, for now.

+10 understory score output 88 · clout 78
Aug 2025 Jul 2026
  • output, commits & releases
  • clout, star velocity

output = commits & releases; clout = star velocity, both 0 to 100 monthly indices; the gap where output runs above clout is the understory. The understory →

covered in

  • PR#33 2026-05-06 on the radar

    Virtualization layer for AI agent context

similar projects

compare these →
  • 🧩 cc switch

    Rust · 6.4× the stars

    A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

    127k ACTIVE
  • 📦 Agents

    Python · 2× the stars

    Multi-harness agentic plugin marketplace for Claude Code, Codex CLI, Cursor, OpenCode, GitHub Copilot, and Gemini CLI

    39k ACTIVE
  • 🌊 Ruflo

    3.4× the stars

    🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

    68k ACTIVE

comments

Sign in with GitHub to add your blip on Context Mode.

loading comments…