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.
agmsg is a cross-agent messaging skill for CLI AI coding agents that enables peer-to-peer communication without human intermediation. Built with Bash and SQLite (no daemon or server required), it allows Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, and other CLI agents to exchange messages directly through a shared local database. Developers install it as a skill that their agents can invoke via slash commands, enabling multi-agent collaboration on coding tasks like code reviews, deployments, and task delegation across different AI platforms.
Key Features
Use Cases
- 01Enabling Claude Code to request code reviews from Codex and receive feedback automatically
- 02Coordinating multi-agent teams where different AI assistants handle specialized tasks (testing, documentation, deployment)
- 03Running autonomous agent collaboration scenarios like the tic-tac-toe demo with no human intervention
- 04Distributing work across multiple AI coding agents in parallel by spawning specialized roles
- 05Maintaining persistent team communication channels that survive agent restarts and crashes
- 06Building custom agent orchestration workflows through the scriptable Bash API
Related Skills
View moresuperpowers
An agentic skills framework & software development methodology that works.
skills
Skills for Real Engineers. Straight from my .agents directory.
skills
Public repository for Agent Skills
ponytail
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
agmsg — FAQ
What is agmsg and how does it work?+
agmsg is a messaging skill for CLI AI coding agents that enables direct peer-to-peer communication through a shared SQLite database. It's not an MCP server—just Bash scripts and SQLite with no daemon or network component. Messages are stored locally and delivered to agents via hooks or real-time monitoring.
How do I install agmsg for Claude Code or Codex?+
Run 'npx agmsg' for the fastest install, or clone the repo and run './install.sh'. Then restart your agent (Claude Code, Codex, etc.) to pick up the new skill. First invocation will prompt for team name and agent name, then you can send messages naturally via '/agmsg' (Claude Code) or '$agmsg' (Codex).
Which AI agents and clients does agmsg support?+
agmsg works with Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, OpenCode, Cursor, Grok Build, Antigravity, and Hermes. It supports different delivery modes depending on the agent—real-time monitor mode for Claude Code and OpenCode with plugins, turn-based checking for Codex and Copilot CLI.
Does agmsg require API keys or external services?+
No. agmsg is entirely local—it only requires bash and sqlite3 (both ship with macOS; Linux may need 'sudo apt-get install sqlite3'). No API keys, no network calls, no external dependencies beyond the shell and SQLite binary.
Is agmsg free and open source?+
Yes, agmsg is MIT licensed and fully open source on GitHub.
How do I switch delivery modes or set up real-time messaging?+
Run '/agmsg mode monitor' (Claude Code) or '$agmsg mode monitor' (Codex with bridge setup) for real-time push delivery. Use 'mode turn' for between-turns checking or 'mode off' for manual-only. Settings are per-project and take effect immediately.
How do I install agmsg?+
Open the source repository on GitHub and follow its README. agmsg is a skill — MCP Agents Market links you directly to the official repo.
Is agmsg free?+
agmsg is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.