context-mode
Context Mode helps AI coding agents use less context and resume work after a conversation is compacted. It is used through MCP and hooks to handle tool output, session memory, and routing across supported platforms.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
Share on XCustom license (see repository)
Overview
Context Mode is an MCP server for AI coding agents that helps manage limited context windows and preserve useful session history. It keeps raw tool output out of the conversation, records session events in SQLite, and retrieves relevant information when needed after compaction. Agents can also run code to analyze data and return only the results. MCP and hooks provide routing across supported platforms, letting developers use these context-management workflows with their coding agents.
Key features
- Sandboxes tool output to reduce the context it consumes.
- Stores session events in SQLite and retrieves relevant history with search.
- Lets agents run code for analysis and return concise results.
- Routes workflows across supported platforms using MCP and hooks.
Best for
Developers who use AI coding agents and want to limit tool-output context or continue work after conversation compaction. It is useful when session decisions and ongoing tasks need to remain retrievable.
- Upstream
- mksglu/context-mode
- Fork on GitHub
- Guo-astro/context-mode
- Upstream stars
- 33k
- Category
- AI agents and LLM tools
- Language
- JavaScript
- License
- Custom license (see repository)
- Forked
- 2026-10-10
- Sync status
- Updated by last syncLast synced 2026-11-08
More in AI agents and LLM tools
/last30days is an AI-agent skill for researching recent discussions across social platforms, video, news, markets, and the web. It brings scattered signals together in a synthesized brief for trend research and preparation.
Forked 2026-10-22Last synced 2026-11-08License: MITAI agents and LLM toolsGitHub
A portable C99 inference engine for running Kimi K3 on a CPU without a GPU or machine-learning framework. It streams the large checkpoint from disk to support inference with limited RAM, for batch text generation or text chat.
Forked 2026-10-21Last synced 2026-11-08License: Apache-2.0AI agents and LLM toolsGitHub
LayerFS gives AI agents writable workspaces over shared history, so they can work in parallel without copying the base. Use it to checkpoint, branch, rewind, and merge agent changes.
Forked 2026-10-21Last synced 2026-11-08License: MITAI agents and LLM toolsGitHub
Magnitude runs open models locally and tunes kernels for your hardware. Use it to connect local models to supported agents or an OpenAI-compatible client.
Forked 2026-10-19Last synced 2026-11-08License: Apache-2.0AI agents and LLM toolsGitHub