一键导入
agentmail
Inter-agent communication for tmux sessions. Send and receive messages between AI agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Inter-agent communication for tmux sessions. Send and receive messages between AI agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Multi-agent orchestration workflow for implementing features via tmux subagents. Use when implementing features from specs with multiple phases or tasks. Triggers: "implement feature", "use agents", "delegate implementation", "spawn agents", "/speckit.implement", multi-phase implementation, task-based development. CRITICAL: Main agent does NO implementation work. Only spawns subagents, tracks status, creates commits, and updates task files. All coding delegated to subagents. Key constraints: The main agent shall NOT write code. The main agent shall NOT run tests. The main agent shall delegate ALL work to subagents and wait for agentmail responses.
Execute TDD implementation with a 3-agent team (QA, Implementor, Reviewer) following Red-Green-Review cycle. Use when Claude needs to (1) implement features using TDD methodology, (2) run a multi-agent team for code changes, (3) enforce minimal working code through test-driven development. Triggers on "tdd", "implement with tdd", "tdd team", "red green refactor", "tdd implement".
| name | agentmail |
| description | Inter-agent communication for tmux sessions. Send and receive messages between AI agents. |
| version | 1.0.0 |
| author | Konstantin Tumalevich |
| license | MIT |
AgentMail enables communication between AI agents running in different tmux windows through a simple file-based mail system.
AgentMail is a CLI tool for inter-agent communication within tmux sessions. Messages are stored in .agentmail/mailboxes/ as JSONL files, providing persistent, file-locked message queues for each agent.
.agentmail/ directoryagentmail send <recipient> "<message>"
Send a message to another agent. The recipient must be a valid tmux window name.
Examples:
agentmail send agent2 "Can you review the changes in src/api?"
agentmail send -r worker -m "Task completed"
echo "Build succeeded" | agentmail send agent2
agentmail receive
Read the oldest unread message from your mailbox. Messages are delivered in FIFO order and marked as read after display.
agentmail recipients
List all tmux windows that can receive messages. Your current window is marked with [you].
agentmail status <ready|work|offline>
Set your availability status:
ready - Available to receive messages and notificationswork - Busy working (suppresses notifications)offline - Not available (suppresses notifications)agentmail receive to check for new messagesagentmail sendagentmail recipients to see available agentsagentmail send <recipient> "<message>"The plugin automatically manages your status:
readyofflineready, checks for new messagesMessages include:
agentmail receive to stay informedwork when focusing on complex tasksThis plugin integrates with Claude Code hooks:
ready and runs onboardingofflineready and checks for new messagesThe hooks ensure agents are properly registered and can receive notifications from the mailman daemon.
AgentMail requires tmux. Start a tmux session first.
The recipient window doesn't exist. Check available windows with agentmail recipients.
Your mailbox is empty. Other agents haven't sent you messages yet.
Ensure the mailman daemon is running: agentmail mailman --daemon