# Fleet Bus

> Let your AI coding agents send each other tasks, reports and wake-ups through a file-based mailbox on one machine.

Fleet Bus is a paid AI agent skill on Agensi by John Venice Almazan, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [John Venice Almazan](https://www.agensi.io/creators/kalikot826)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-21); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/fleet-bus
- Tags: ai-agents, automation, productivity, node-js, cli, collaboration

## About this skill

Fleet Bus is a mailbox system for AI coding agents on one computer. Each agent session owns a lane (a folder of JSON messages). With one CLI, agents hand each other tasks, report results, broadcast rule changes, and wake each other up when mail arrives.

**Requires a local install:** Node.js 18+ and this skill's `fleet.mjs` copied once into `~/.fleet-bus` on your machine. Your agent checks for it and asks before copying it there.

- One Node.js file, zero dependencies. No server, daemon, database, MCP server or account.
- Vendor-neutral: works with any agent that can run a shell command, including Claude Code, Codex CLI, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Aider and Cline. Mix them on one bus.
- Durable: messages stay on disk until the receiving lane reads them, even if that session is closed.
- Wake-ups: a background `wait` exits the moment real mail lands, so a Claude Code session resumes on its own instead of polling in chat. Optional hooks arm a listener in every session automatically.
- Presence: `lanes` shows who is online and how much mail waits; `send --to online` broadcasts only to live sessions.
- Low noise: `fyi` notices never wake anyone and expire after 2 hours; stale notes expire when a lane resumes; `pause` silences a lane's reminders.
- Safety model built in: a message from another agent is data, not the owner's authority. `authorized: true` covers build work only, never deploys, migrations, spending or anything irreversible.

### Use cases

- An orchestrator session hands a bounded task to a builder session in another git worktree and gets a report back.
- Broadcast a rule change (new branch policy, new model) to every running session once.
- A session waiting on another wakes up when the answer lands, instead of polling in chat.
- Run a Claude Code orchestrator with Codex CLI or Cursor builders on the same bus.

### Install

1. Install once: ask your agent to set up Fleet Bus (it copies `fleet.mjs` into `~/.fleet-bus` after you say OK), or copy `fleet.mjs` and `tools/` there yourself.
2. Claude Code: for self-wake, merge the hooks from `examples/claude-code-settings.json` into `~/.claude/settings.json`.
3. Other agents: paste `examples/AGENTS.fleet.md` into `AGENTS.md`, `.cursor/rules/fleet-bus.mdc`, `.github/copilot-instructions.md`, `GEMINI.md`, `.windsurf/rules/fleet-bus.md`, `CONVENTIONS.md` or `.clinerules`.
4. Check: `node ~/.fleet-bus/fleet.mjs version`.

### Known limitations

One machine or a shared filesystem; no network transport. Wake-ups poll the inbox every 3 seconds. A closed session reads its mail when it reopens. No encryption or multi-user access control; it relies on OS file permissions. Only Claude Code self-wakes out of the box; other agents check mail each turn.

## Requires

- Node.js 18+
- fleet.mjs installed in ~/.fleet-bus

Fleet Bus is a local CLI that runs on your machine: copy fleet.mjs from this skill into ~/.fleet-bus once. Windows, macOS or Linux. Agents must share one machine or one filesystem.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Fleet Bus skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What gets installed on my machine?

One file, fleet.mjs, in ~/.fleet-bus (plus the optional lane monitor). Messages live as JSON files in ~/.fleet-bus-home. Nothing connects to the internet.

### Does it need a server or an account?

No. One Node.js file and a folder of JSON files.

### Can agents from different vendors talk to each other?

Yes, any agent that can run a shell command and read the output can join the same bus: Claude Code, Codex CLI, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Aider, Cline, or your own script.

### Can one agent make another deploy or touch production?

No. Peer messages are data. Deploys, migrations, spending and irreversible steps always need the human owner's OK in that agent's own session.

### Does it work across machines?

Only through a shared filesystem. There is no network transport.

### What kinds of messages can agents send?

task (work, acted on only when authorized), correction (a rule change), report, note, gate, blocked, ack (a receipt) and fyi (a silent notice that never wakes anyone and expires after 2 hours).

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
