memorax-code
Shared memory for coding agents: lessons, repo knowledge, and your preferences, carried across sessions.
Context optimization for coding agents: sandbox tool output, keep sessions lean, remember more
context-mode is an open-source dev tools project by mksglu (mksglu/context-mode on GitHub). It has 25,701 GitHub stars and 1,856 forks, is released under the Elastic License 2.0 license, and was last updated on GitHub on 8 October 2026.
Decide what you want to achieve with context-mode and check the README on GitHub for requirements before installing.
Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).
Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.
Work through the README's quickstart example end to end, then adapt it to your own project or data.
Executes tools in a sandbox and returns summaries instead of raw dumps, cutting context burn dramatically (up to 98% per the project).
Keeps session knowledge in a searchable knowledge base so agents retain context across a long task.
The knowledge base uses reciprocal rank fusion, proximity reranking and fuzzy correction to fetch the right snippets.
Hooks and MCP config steer supported agents (Claude Code, Codex, Cursor, Copilot, Gemini and others) to use the sandbox consistently.
Designed so work survives context resets and session restarts.
The README documents its privacy/security model, including project-boundary containment and hardened network fetching.
Get the Context Mode source and platform guides.
git clone https://github.com/mksglu/context-mode.git
cd context-modeInstall the context-mode binary globally from npm.
npm install -g context-modeFor Claude Code, add the MCP server, then restart your agent so hooks and the server load.
claude mcp add context-mode -- npx -y context-modecontext-mode is maintained by the mksglu organization/account on GitHub, together with open-source contributors, in the public repository mksglu/context-mode.
Yes — the code is open source under the Elastic License 2.0 license. Check the repository's LICENSE file for the exact terms before commercial use.
Context Mode itself has no API key; it sits between your existing coding agent (with its own model access) and its tools.
Bigger context windows postpone the problem and cost more; Context Mode attacks the waste itself — sandboxing output and indexing memory so less context is needed.
Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.
Shared memory for coding agents: lessons, repo knowledge, and your preferences, carried across sessions.
LeanCTX — the Rust context gateway that controls what your AI coding tools can see.
Personal context store for AI coding agents — your skills, always loaded.
The ripgrep of AI context — a zero-dependency C++23 CLI + MCP server that maps your repo for coding agents
Like htop, but for AI coding agents — watch Claude Code and Codex sessions in real time.
The terminal runtime your coding agents live on — a Rust multiplexer built for agent sessions
The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if context-mode is not the right fit.
The open source coding agent
The model-definition framework behind modern AI — thousands of pretrained transformers for text, vision, and audio.
Anthropic's agentic coding tool that lives in your terminal and works across your whole codebase
Cross-platform desktop all-in-one manager for Claude Code, Codex, OpenCode and other coding agents
OpenAI's lightweight coding agent that runs locally in your terminal
Free and open — grab the source, star the repo, and start creating.