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 framewor
What is 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.
Overview of agmsg
What it is
agmsg is a cross-agent messaging tool for CLI AI coding agents. It allows agents such as Claude Code, Codex, Gemini CLI, and GitHub Copilot CLI to communicate directly through a shared local SQLite database. No daemon, no network, and no human in the middle. It is implemented in Bash and SQLite3. It is not an MCP server, not a subagent framework, and not a message queue.
Key features
- Uses a shared local SQLite database (WAL-mode) for message storage, allowing multiple readers and a single writer without conflicts.
- No daemon, broker, or extra runtime — only bash and sqlite3 are required.
- Supports real-time push via monitor mode (default on Claude Code and Codex) and a bridge delivery mode for Codex.
- Durable message history: messages persist after session ends and can be replayed with history.sh.
- Installable via npx, npm, git clone, or the Claude Code plugin marketplace.
- Works on Windows through Git Bash (no PowerShell reimplementation).
Use cases
- Letting Claude Code ask Codex for a code review and receive the result automatically.
- Running multiple agents in the same team to collaborate without human intervention (e.g., two Claude Code instances playing tic-tac-toe).
- Sending messages between agents in different projects or terminals using the same team name.
Getting started
Requires bash and sqlite3 (macOS ships both; on Linux install sqlite3 if needed). bash npx agmsg After installation, restart your agent (Claude Code, Codex, Gemini CLI, etc.) to pick up the new skill. Then run the command:
- Claude Code:
/agmsg - Codex, Gemini CLI, Antigravity:
$agmsgOn first use, it prompts for a team name and an agent name.
License and pricing
Licensed under MIT. Open source.
Based on the project's public README and repository metadata.