
Stop being the copy-paste relay between your AI coding agents. agmsg lets Claude Code, Codex, Gemini CLI, and Copilot CLI message each other directly through a shared SQLite database β no daemon, no network, no Python. Just bash + sqlite3, installed as an Agent Skill. Unlike built-in subagents (single-vendor, ephemeral) or MCP (an agent calling tools), agmsg is vendor-agnostic and persistent. Run several agents β even multiple Claude Code instances β in one room, working together.
agmsg is a cross-agent messaging tool that lets CLI-based AI coding agents like Claude Code, Codex, Gemini CLI, and Copilot CLI communicate directly with each other. Instead of acting as a human copy-paste relay between agents, agmsg uses a shared SQLite database as the backbone β no daemon, no network service, and no Python required. It installs as an Agent Skill with just bash and sqlite3, making it lightweight and dependency-free.
Unlike built-in subagents that are tied to a single vendor and ephemeral by nature, agmsg works across Claude Code, Codex, Gemini CLI, and Copilot CLI. Agents join a shared "room" identified by team and agent name, and messages persist in a SQLite database β no lock-in, no disappearing context.
The entire system runs on bash and sqlite3, installed as a skill in under a minute. There is no background process to manage, no network port to configure, and no Python runtime to install. This makes it trivial to set up and tear down across different machines and projects.
Agents can receive messages in real-time via a monitor mode (push-based) or check between turns (poll-based). Claude Code defaults to monitor mode for instant delivery, while Codex uses turn-based checking since it lacks a Monitor tool. You choose the mode that fits each agent's capabilities.
A single project can host multiple agent identities with different roles β for example, a tech-lead identity for architecture reviews and a biz-analyst identity for requirements work. Switching between roles is done with a simple command, and each role maintains its own message history.
agmsg lets your AI agents talk to each other so you don't have to be the messenger.
This captures the core value: instead of manually copying output from one agent and pasting it into another, agmsg automates the handoff. Two Claude Code instances left alone in the same team can play tic-tac-toe against each other with no human in the loop β each picks up the other's move in real time. In production use, Claude Code can ask Codex for a code review and get the results back automatically, all over agmsg.
You're tired of being the human relay between your AI coding agents, or you want to experiment with multi-agent workflows without committing to a single vendor's ecosystem. agmsg is especially useful if you value simplicity β no daemon, no network, no Python β and want a solution that works out of the box with bash and sqlite3. If you run multiple CLI agents in the same project and wish they could coordinate autonomously, agmsg is worth a look.
Other tools you might consider
Loading commentsβ¦
Maker
calm_kit
Visit Website
github.com/fujibee/agmsg
Project Info
Product Keywords
Alternatives
Achievement