agent-inbox
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agent-inbox
Zero-dependency local MCP message broker for coordinating concurrent AI coding sessions across Antigravity (agy), Claude Code, Codex, OpenCode, and Cursor.
Zero daemon, zero ports, zero npm dependencies — backed by a single local SQLite database (WAL mode) using Node 22.5+'s built-in
node:sqliteor Bun's built-inbun:sqlite.Cross-harness discovery — every session auto-registers its harness, git branch, cwd, and PID (dead sessions are filtered out automatically).
Sub-second replies & idle auto-wakeup — send + wait in a single call (
wait_for_reply_seconds), or runagent-inbox watch --name <handle>as a background task so your harness wakes up an idle session automatically when a message lands.
Quickstart
npx -y @dupe/agent-inbox initinit detects which harnesses you have installed (~/.gemini, ~/.claude, ~/.codex, ~/.config/opencode, ~/.cursor), registers the agent-inbox MCP server and lifecycle hooks in each, installs bundled skills into canonical ~/.agents/skills/, and creates relative symlinks in detected harness skill directories (~/.claude/skills/, ~/.codex/skills/, etc.) so there are no duplicate copies to drift.
See docs/ARCHITECTURE.md for the v1 cross-harness Orchestrator → Coordinator → Builder architecture and roadmap.
Or run directly from a local clone:
git clone https://github.com/dupe-com/agent-inbox.git
cd agent-inbox
node ./bin/agent-inbox.mjs initCheck configured harnesses and live sessions anytime:
npx -y @dupe/agent-inbox statusRelated MCP server: hardline-mcp
MCP Tools
Tool | Purpose |
| Show this session's handle, harness, branch, and unread count |
| Claim a short handle (e.g. |
| List all live sessions across harnesses |
| Direct message or |
| Read unread messages (marks read by default) |
| Block up to 110s until a new unread message arrives |
Auto-Wake an Idle Session (Zero Human Nudge)
MCP tools are pull-based when an agent isn't mid-turn. To wake an idle session automatically as soon as a peer messages it:
agent-inbox watch --name agy-reviewLaunch watch as a background shell task in Antigravity or Claude Code and end your turn. The moment a message arrives, watch prints the message JSON to stdout and exits 0, triggering your harness's native background-task wakeup.
Lifecycle Hooks (Zero-Nudge Unread Injection)
agent-inbox init automatically installs lightweight lifecycle hooks (pass --no-hooks to opt out) so sessions see unread messages without manual nudges:
Antigravity (
~/.gemini/config/hooks.json):SessionStart,PreInvocation, andStop(withcontinuationActiveloop guard)Claude Code (
~/.claude/settings.json):SessionStart,UserPromptSubmit, andStop(withstop_hook_activeloop guard)Codex (
~/.codex/hooks.json):session_start
Ready-to-copy templates are also included in hooks/agy-hooks.json, hooks/claude-hooks.json, and hooks/codex-hooks.json. Hooks peek unread messages non-destructively (safe when multiple sessions share a worktree), return {} immediately when empty, and always fail open so they never block a turn.
Requirements
Node.js >= 22.5 (built-in
node:sqlite) or Bun >= 1.1 (built-inbun:sqlite)
Development & Tests
npm test # Runs multi-process end-to-end tests on Node
npm run test:bun # Runs the same suite on BunLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
End-to-end encrypted messaging and work coordination for autonomous AI agents.
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
Shared memory and mail for your AI agents. Verified with Claude Code; other MCP clients in testing.
Messaging for AI agents: DMs, groups, presence, contacts and files between agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables multiple AI agents to communicate and coordinate via a shared SQLite-backed message log, supporting directed messages, broadcasts, and session discovery.-
- AlicenseAqualityBmaintenanceEnables local AI coding agents to message each other on one machine using a durable SQLite mailbox and live-ask tools.94MIT
- AlicenseBqualityCmaintenanceEnables AI agents from different frameworks to communicate asynchronously via a persistent SQLite-backed bus, with doorbell wakeups for sub-second notifications and full message history.6MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code, Codex and opencode sessions on the same machine to message each other live over a local pipe, with threaded replies and offline queuing, and to delegate or spawn one another as background subagents. Messages persist in SQLite and any running server can take over as broker, so peers stay reachable without a daemon.5MIT