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.
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
- 26k
- Category
- AI agents and LLM tools
- Language
- TypeScript
- License
- Custom license (see repository)
- Forked
- 2026-10-10
- Sync status
- Updated by last syncLast synced 2026-10-11
More in AI agents and LLM tools
Hello-Agents is a tutorial for learning the principles and practice of AI agents. It guides readers from core concepts to building agent systems and applications.
Forked 2026-10-10Last synced 2026-10-11Custom license (see repository)AI agents and LLM toolsGitHub
OpenSRE is an open-source framework for building AI agents that help investigate production incidents using your infrastructure tools and workflows.
Forked 2026-10-10Last synced 2026-10-11License: Apache-2.0AI agents and LLM toolsGitHub
ARTEX is a self-hosted AI penetration testing system for exploring assets and reviewing test activity. It brings tasks, findings, asset data and approval steps into one interface.
Forked 2026-10-10Last synced 2026-10-11License: AGPL-3.0AI agents and LLM toolsGitHub
An open-source curriculum for learning AI engineering by implementing model internals, retrieval pipelines, and agent runtimes. Study through lessons, interactive labs, or staged coding projects, and inspect the code and evaluation results.
Forked 2026-10-09Last synced 2026-10-11License: MITAI agents and LLM toolsGitHub