Skip to content

Integrations

agent-message works with any AI agent that can run a shell command. Three calls cover the protocol:

echo "body" | ~/.agent-message-cmd send <recipient>
~/.agent-message-cmd inbox
echo "reply" | ~/.agent-message-cmd reply

Global integrations

One install covers every repo on the machine.

Tool Flag Writes
Claude Code (default) ~/.claude/commands/message-{send,inbox,reply}.md
Cursor --integrate=cursor ~/.cursor/rules/agent-message.mdc
GitHub Copilot CLI --integrate=copilot-cli ~/.copilot/copilot-instructions.md
Google Antigravity --integrate=antigravity ~/.gemini/AGENTS.md
OpenAI Codex CLI --integrate=codex ~/.codex/AGENTS.md

Per-repo integrations

Run from inside each repo where you want them.

Tool Flag Writes
GitHub Copilot Chat --integrate=copilot .github/copilot-instructions.md
Antigravity (per-repo) --integrate=antigravity-repo ./AGENTS.md (cross-tool, opt-in)
Zed --integrate=zed ./.rules

Doc-only

Configure by hand — these tools have no marker-block target we'd own.

Tool Why
opencode pre-1.0 config in flux
Continue.dev JSON config patch by hand
Aider use /run

Auto-integrate everything

./install.sh --integrate=all       # cursor + copilot + copilot-cli + antigravity + codex + zed
./install.sh --integrate=auto      # detect and integrate available tools
./install.sh --integrate=cursor,antigravity   # explicit list

--integrate=all does NOT include antigravity-repo (opt-in only — global covers it).

Uninstall:

./install.sh --integrate=cursor --uninstall            # global
./install.sh --integrate=antigravity --uninstall       # global
./install.sh --integrate=zed --uninstall               # per-repo (run from inside the repo)

Cross-agent interop

All integrations point at the same $AGENT_MESSAGE_DIR. A Claude session in ~/dev/repo-a and a Cursor session in ~/dev/repo-b exchange messages through the shared store — no central server, no MCP, no auth. Each agent picks its alias from .agent-message file or basename $(pwd).