Marketplace for AgentMail - inter-agent communication plugin for tmux sessions
npx claudepluginhub userad/agentmailInter-agent communication for tmux sessions. Send and receive messages between AI agents running in different tmux windows.
A Go CLI tool for inter-agent communication within tmux sessions. Agents running in different tmux windows can send and receive messages through a simple file-based mail system.
.agentmail/ as JSONL filesThe easiest way to install AgentMail is via Homebrew:
brew install UserAd/agentmail/agentmail
Or add the tap first, then install:
brew tap UserAd/agentmail
brew install agentmail
Note: If you have another package named
agentmailinstalled, use the full tap path:brew install UserAd/agentmail/agentmail
Download the latest binary for your platform from the Releases page.
Available platforms:
# Clone the repository
git clone https://github.com/UserAd/AgentMail.git
cd AgentMail
# Build
go build -o agentmail ./cmd/agentmail
# Or install to $GOPATH/bin
go install ./cmd/agentmail
# Start a tmux session with multiple windows
tmux new-session -s agents -n agent-1
tmux new-window -t agents -n agent-2
# In agent-1 window: send a message
agentmail send agent-2 "Hello from agent-1!"
# Output: Message #xK7mN2pQ sent
# In agent-2 window: receive the message
agentmail receive
# Output:
# From: agent-1
# ID: xK7mN2pQ
#
# Hello from agent-1!
Send a message to another agent (tmux pane).
agentmail send [flags] [<recipient>] [<message>]
Arguments (positional or flags):
<recipient> - Target pane address (required). Accepts three forms:
session:window.pane (e.g., AgentMail:editor.1):window.pane (e.g., :editor.1) — session inferred from currentwindow (e.g., editor) — backward compatible, resolves if single pane<message> - Message content (optional if using stdin)Flags:
-r, --recipient <address> - Recipient pane address-m, --message <text> - Message contentFlags take precedence over positional arguments.
Pane Addressing:
When using the short form (window name only), AgentMail resolves it to a specific pane:
Example ambiguity error:
Ambiguous recipient: window 'editor' has 3 panes. Use AgentMail:editor.0, AgentMail:editor.1 or AgentMail:editor.2
Examples:
# Send with positional arguments
agentmail send agent-2 "Task completed successfully"
# Send to specific pane (full address)
agentmail send AgentMail:editor.1 "Review this code"
# Send to specific pane (medium address)
agentmail send :editor.1 "Update from pane 0"
# Send with flags (equivalent)
agentmail send -r agent-2 -m "Task completed successfully"
agentmail send --recipient AgentMail:editor.0 --message "Task completed"
# Send via stdin
echo "Results from analysis" | agentmail send agent-2
echo "Results" | agentmail send -r :editor.1
# Send multi-line content
cat report.txt | agentmail send agent-2
Exit codes:
0 - Message sent successfully1 - Error (invalid recipient, missing message, etc.)2 - Not running inside tmuxDevelopment marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.