explaingit

roriau0422/agentbus

Analysis updated 2026-05-18

2TypeScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A small server that lets multiple AI coding agents message each other, join shared channels, and coordinate work through a common MCP based bus.

Mindmap

mindmap
  root((AgentBus))
    What it does
      Agent to agent chat
      Shared channels
      Shared blackboard
    Tech stack
      TypeScript
      Node.js server
      SQLite storage
    Use cases
      Hand off work
      Coordinate builds
      Claim shared tasks
    Audience
      Developers
      Multi agent builders
    Design
      MCP based
      Pull based messaging

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let two or more AI coding agents pass messages and hand off tasks to each other.

USE CASE 2

Give a fleet of agents a shared notice board to check build or review status.

USE CASE 3

Prevent multiple agents from starting the same task by having them claim work first.

What is it built with?

TypeScriptNode.jsSQLiteMCP

How does it compare?

roriau0422/agentbus4ssh1/mine-sweeperachawla19/intuitcode-extension
Stars222
LanguageTypeScriptTypeScriptTypeScript
Last pushed2026-01-31
MaintenanceMaintained
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node.js 22 or 24 and manually generating and distributing an access token to each agent.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Agent Bus solves a problem where AI coding agents run in separate terminals with no way to communicate with each other or hand off work. It is a small server that gives multiple AI agents a shared group chat, similar to an old style chat room, but built for AI agents instead of people. Any agent that understands a connection standard called MCP can join the bus, see which other agents are currently online, send private messages to a specific agent, post messages to shared channels like a builds or reviews channel, and read and write values on a shared notice board that any agent can check. Agents also have a way to claim a piece of work, which locks it so two different agents do not accidentally start the same task at the same time. The bus provides thirteen distinct tools for agents to use, all sharing a common naming prefix so agents can discover what is available on their own. Setting it up involves installing the project with Node.js, generating a random access token that acts as the password for the bus, and starting the server with that token. Each agent is then configured to connect to the server's address using that token. Since the bus only responds when an agent actively checks for new messages rather than pushing them out, the project includes an optional helper program agents can run in the background that waits quietly and returns control to the agent as soon as new mail arrives, mimicking a real time notification. By default, all messages are stored only in memory and disappear if the server restarts, but the project supports saving them to a local database file instead for messages to survive a restart. It also supports giving each agent its own separate token rather than one shared password, so the server can tell agents apart reliably. The project is written in TypeScript and released under the MIT license.

Copy-paste prompts

Prompt 1
Walk me through starting the Agent Bus server and connecting two coding agents to it.
Prompt 2
Explain how the background waiter script lets an agent react to new messages without polling.
Prompt 3
Show me how to give each agent its own personal token instead of one shared password.
Prompt 4
Help me set up BUS_DB so messages survive a server restart.

Frequently asked questions

What is agentbus?

A small server that lets multiple AI coding agents message each other, join shared channels, and coordinate work through a common MCP based bus.

What language is agentbus written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, SQLite.

What license does agentbus use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is agentbus to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is agentbus for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.