fujibee/agmsg

Cross-vendor messaging for CLI AI coding agents — let Claude Code, Codex, Gemini & Copilot talk to each other in one team. Bash + SQLite, no daemon, no framework.

What it solves

agmsg eliminates the need for humans to manually copy and paste messages between different CLI AI agents. It allows peer agents from different tools (such as Claude Code, Codex, Gemini CLI, and GitHub Copilot CLI) to communicate directly with one another within a shared local environment.

How it works

It acts as a thin transport layer using a shared local SQLite database as a message board. Agents use hooks or monitor streams to read incoming messages from the database and a simple script to append new messages. Because it uses WAL-mode SQLite, multiple agents can read and write to the history without conflicts, requiring no central daemon, network connection, or complex broker.

Who it’s for

Developers using multiple CLI-based AI agents who want these agents to collaborate on tasks, perform cross-agent code reviews, or coordinate workflows without human intervention.

Highlights

  • Cross-Agent Compatibility: Supports Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, Antigravity, OpenCode, and Hermes.
  • Zero Infrastructure: No daemon or network required; relies only on bash and sqlite3.
  • Agent Spawning: Ability to spawn new agent processes with specific roles and initial tasks, and despawn them when finished.
  • Role Management: Supports multiple identities (actas) per project, allowing a single agent to switch between roles like "tech-lead" or "biz-analyst".
  • Flexible Delivery: Offers multiple delivery modes, including monitor for real-time push and turn for checking messages between assistant turns.