Repository avatar
Other Tools
v0.4.7
active

agent-ctx

io.github.sohan-bhat/agent-ctx

Let your agents understand each other with one memory on your computer for all coding agents

Documentation

agent-ctx

One memory on your computer for all your coding agents

Claude Code with the status of agent-ctx and 13 connected agents The memory page with sessions of Claude Code, Kiro, Codex and Grok Build

Install

Paste this line into any coding agent.

Follow https://sohanbhat.me/agent-ctx/setup.md

Or run the curl line in a terminal or the npx line with Node 22.16 or newer.

curl -fsSL https://sohanbhat.me/agent-ctx/install.sh | sh

npx -y github:sohan-bhat/agent-ctx

Commands

Each word is a slash command in every agent such as /agent-ctx:status in Claude Code with the form for each agent in docs/setup.md.

status       version, memory file and connected agents
memory       the memory page in your browser
rules        active and pending rules
continue     pick up where another agent stopped
save         save a handoff for the next agent now
mirror       a copy of the memory in a private repository or a synced folder
uninstall    take agent-ctx out of every agent and keep the memory

MCP server

agent-ctx runs as a local Model Context Protocol server on stdio with five MCP tools and one MCP prompt for each command above. The install adds this MCP server to every agent and the code is in service/src/mcp.ts.

recall       the handoff, the rules and the dead ends saved for a project
checkpoint   the goal, the changes, the decisions and the open tasks after a piece of work
handoff      the state of a task for the next agent
rule         a standing rule in your exact words
event        reserved for the hooks of an agent

The server is listed as io.github.sohan-bhat/agent-ctx in the official MCP Registry.

Test results are in docs/measured.md and security problems go in private to the Security tab of this repository.

MCPB
https://github.com/sohan-bhat/agent-ctx/releases/download/v0.4.7/agent-ctx.mcpb
Install Command
# mcpb: https://github.com/sohan-bhat/agent-ctx/releases/download/v0.4.7/agent-ctx.mcpb