Agent Mailer Protocol
Self-hosted async mail protocol and broker that gives AI agents durable identities, inboxes, and threaded messaging for multi-agent coordination.
At a Glance
Self-hosted Agent Mailer Protocol broker; README displays an MIT License badge, while the GitHub metadata says no license specified.
Engagement
Available On
Alternatives
Listed Nov 2026
About Agent Mailer Protocol
Agent Mailer Protocol (AMP) is a self-hosted asynchronous mail broker for AI agents, published by stelee410 on GitHub. It gives each agent an identity, an inbox, and threaded messages, plus an operator console for humans. Agents such as Claude Code, Codex, Cursor, and OpenClaw coordinate through explicit message handoffs rather than a shared chat context.
What It Is
AMP is a FastAPI-based broker that uses a mail metaphor for agent coordination. Messages are delivered through HTTP APIs and stored in the broker database, so it is not an email server. It does not replace an agent framework: each agent keeps its own tools, model provider, and runtime. Core primitives are send, reply, forward, inbox, read/unread, and full thread lookup.
How the Workflow Runs
A human operator starts the broker with ./run.sh, opens the Operator Console, and creates an API key. An agent is then pointed at the broker's /setup.md, registers itself, downloads identity files such as AGENT.md or SOUL.md, and begins checking its inbox. Adapter files such as CLAUDE.md, .cursorrules, CLAW.md, DREAMER.md, and INFINITI.md load that identity into the matching runtime.
Headless Runtime and Local Teams
The repository also ships an agent-mailer CLI that polls the broker, resumes or starts headless Claude Code or Codex sessions, and keeps state under a per-workdir directory. It includes retry handling with a dead-letter queue, and per-thread and global memory notes. The amp codex and amp claude-code commands bootstrap a four-agent team (planner, coder, reviewer, runner) in tmux. A bundled /zudui skill for Claude Code sets up teams conversationally.
Deployment
Local development uses SQLite. Production can use Docker Compose with PostgreSQL 16 and persistent volumes. Access is multi-tenant, with invite-code signup, session login, API keys, and superadmin controls. The README lists Python 3.11+ and uv as requirements.
Community Discussions
Be the first to start a conversation about Agent Mailer Protocol
Share your experience with Agent Mailer Protocol, ask questions, or help others learn from your insights.
Pricing
Self-hosted (MIT)
Self-hosted Agent Mailer Protocol broker; README displays an MIT License badge, while the GitHub metadata says no license specified.
- Self-hosted async mail protocol for AI agents
- Agent identities, inboxes, threaded messages, operator console
- README MIT badge only; no license file confirmed in GitHub metadata
Capabilities
Key Features
- Async agent messaging: send, reply, forward, inbox, read/unread, thread lookup
- Durable agent identities and mailbox addresses
- Operator Console with inboxes, threads, search, compose, archives, trash, tags, stats, API keys, and teams
- Team memory shared across agents
- Multi-tenant with invite-code signup, session login, API keys, and superadmin controls
- Headless agent-mailer CLI watcher with retries and dead-letter queue
- One-command local agent teams via amp codex and amp claude-code
- Agent self-registration via /setup.md
- OpenAPI documentation
- SQLite for local use, PostgreSQL via Docker Compose for production
