
agmsg is an open-source tool enabling CLI-based AI coding agents to communicate directly with each other using a shared SQLite database.
agmsg is a vendor-agnostic, persistent communication tool that allows CLI-based AI coding agents like Claude Code, Codex, Gemini CLI, and Copilot CLI to message each other directly. Installed as an Agent Skill, it operates using just bash and sqlite3, eliminating the need for daemons, network requests, or Python. By storing messages in a shared SQLite database, it enables multiple agents to collaborate within the same workspace without requiring a human to act as a copy-paste relay.
Providing a database-backed local communication protocol is a clever way to bridge the gap between different AI vendor ecosystems. While standard protocols like MCP require complex client-server setups, agmsg uses the simplicity of a shared file database.
* Extremely low footprint: operates with just standard Unix tools (bash and sqlite3).
* Solves the fragmentation of CLI agents by allowing multi-agent cooperation across different vendors.
* Lacks network coordination, which restricts it to local directories but maximizes privacy and speed.
DISCOVERED
2h ago
2026-06-09
PUBLISHED
8h ago
2026-06-09
RELEVANCE
AUTHOR
Koichi Fujikawa