Flash

TopicTrending open-source AI on GitHub

Flash·Apps & Agents·2026-10-12 02:07

context-mode Hits GitHub Trending: Tool Output, Sandboxed First

context-mode reached GitHub's daily trending chart on October 11. It is an MCP server: the raw output of tool calls is executed and processed in a sandbox first, and only the conclusion enters the model's context window.

Bright desk where a large funnel compresses a stack of chat windows into a small window on a monitor
context-mode: tool output is sandboxed before it reaches the context window.

What happened

context-mode (mksglu/context-mode) appeared on GitHub's daily trending chart on October 11. Checked on the repo page before publication: 26,619 stars and 1,916 forks; the project was created in February 2026 and has shipped 195 releases.

The problem it targets is tool output filling the context window: one browser snapshot is about 56KB and 20 GitHub issues about 59KB, and raw data going straight into context can consume roughly 40% of the window in half an hour. context-mode has the agent write analysis as a script that runs in a sandbox and returns only what it prints; the project's example turns 315KB of raw data into a 5.4KB return, a self-reported 98% reduction.

Session continuity is the other part: file edits, git operations, tasks, errors and user decisions are recorded in SQLite with an FTS5 index. After a session is compacted, the model retrieves relevant events via BM25 search instead of reloading the full history into context. The project connects to 17 clients through MCP and hooks, including Claude Code, Codex, Cursor, Gemini CLI and VS Code Copilot.

Key facts

  1. Numbers: : 26,619 stars and 1,916 forks (checked October 11, 2026); repo created in February 2026.
  2. Mechanism: : tool output runs in a sandbox and only results return; the project reports a 98% cut in context usage (a 315KB to 5.4KB example).
  3. Integration: : 11 MCP tools and 17 supported clients, including Claude Code, Codex, Cursor and Gemini CLI.
  4. License: : Elastic License 2.0.

Why it matters

raw MCP tool output previously entered the context window in full by default. context-mode changes that step to sandbox execution with only results returned, already supports 17 agent clients, and reached GitHub's daily trending chart on October 11 with 26,619 stars.
Useful Tap if this story helped you

SourcesGitHub repo mksglu/context-mode (2026-10-11, repo). Compiled from public sources; not investment advice.

From HIMIAO Horizon · himiao.ai

Comments

  1. Loading comments…

Related

  1. Oct 13REA Review: Letting Agents Reverse-Engineer Anything, 100K Stars in a Week
  2. Oct 10Anthropic Open-Sources 11 Knowledge-Work Plugins Covering Sales, Legal and Finance
  3. Oct 19Stably AI's Orca Tops GitHub Daily Trending: One Desktop App to Orchestrate 30+ Coding Agents
  4. Oct 18Linux Kernel Moves to Drop AI Code Disclosure Tag; Torvalds: Banning AI Tools Is an Utterly Stupid Idea
  5. Oct 17GitHub Weekly Vol.1: 8 Projects Worth Your Time

Today

Oct 19 Monday

Latest news

All →
  1. Oct 19MONST3R-AI Crimeware Runs Autonomous Pentest Scans on Stolen API Keys, Victims Foot the Bill
  2. Oct 19VoiceStudio Hits No. 3 on GitHub Daily Trending: Open-Source, Fully Local ElevenLabs Alternative
  3. Oct 19dsh Free-Model Plugin Hits No. 2 on GitHub Daily Trending: Frontier Models Without Login or API Key
  4. Oct 18Anthropic to Commit 5% of Shares to New Public Benefit Fund
  5. Oct 19Jailbroken PS5 Becomes a Local AI Server: Qwen3.8-27B Hits ~20 tok/s, Small Models Top 100
  6. Oct 19Anthropic Internal Study: Junior Share of Technical Staff Falls to 14%, Meeting Time Up 20%
Ask the cat