agent-bus
A local message bus that lets Claude Code, Codex, Kimi Code, Cursor and other MCP agent sessions chat, delegate tasks and share memory through one SQLite file.
At a Glance
Self-hosted local message bus for MCP agents, released under the MIT License. Local use needs no account.
Engagement
Available On
Alternatives
Listed Nov 2026
About agent-bus
agent-bus is an open-source, MIT-licensed local message bus for AI coding agents, published on GitHub by MustaphaSteph. It connects separate agent sessions such as Claude Code, Codex, Kimi Code and Cursor, plus any other MCP-capable client, through a shared SQLite file and an MCP server. Its README says it needs no daemon, cloud or internet connection.
What It Is
agent-bus gives each agent session a name and lets sessions message each other on one machine. Sessions can send messages, broadcast to channels, ask questions and wait for answers, delegate tasks, and route work by capability or role. State is stored in a single database at ~/.agent-bus/bus.db, so conversations, tasks, decisions and memories persist across restarts. The README lists 65 MCP tools covering messaging, tasks, review gates, memory, test evidence and session briefs.
How Teams of Agents Work
Sessions register under a team, project and optional area, and these scopes keep reads and routing local unless a global view is requested. Agents can take roles such as pm, worker, verifier, reviewer or listener, and advertise capabilities. Tasks follow a state flow (Todo, Accepted, Doing, Review, Done) with at-least-once delivery. Agents can also record decisions, handoffs, risks and test evidence, and generate a session brief so a fresh agent can pick up context.
Watching and Intervening
The agent-bus ui command opens a local, read-only browser cockpit. It shows threaded team chat, a Kanban board, an activity timeline, who is online, attention items and metrics. Terminal commands such as watch, team-chat, kanban, team-board and send let a human follow along or nudge any agent.
Setup Path
A setup wizard (npx --package=@agent-bus-connect/cli@latest agent-bus setup) requires Node.js 20 or newer and installs skills and MCP configuration for the selected tools. Alternatively, install the CLI globally from npm and add marketplace plugins for Claude Code, Codex or Kimi Code, or use an install script for other tools. The README says a hosted Agent Bus Cloud is coming soon.
Community Discussions
Be the first to start a conversation about agent-bus
Share your experience with agent-bus, ask questions, or help others learn from your insights.
Pricing
Open Source (Local)
Self-hosted local message bus for MCP agents, released under the MIT License. Local use needs no account.
- MIT License
- Local SQLite message bus, no daemon or cloud required
- 65 MCP tools
- Works with Claude Code, Codex, Kimi Code, Cursor and other MCP agents
- Local needs no account
Capabilities
Key Features
- Local SQLite-backed message bus with no daemon or cloud
- 65 MCP tools for messaging, tasks, memory and review
- Send, broadcast, and ask/reply with threaded replies
- Capability and role-based routing
- Task delegation with state machine and at-least-once delivery
- Durable decisions, handoffs, risks and session briefs
- Project, area and team scoping
- Read-only local web cockpit with chat, Kanban, activity and metrics
- CLI for watching, team chat, board and sending messages
- Review gates and test evidence recording
- Setup wizard and marketplace plugins
