omp-mail
Federated agent mail extension for oh-my-pi that lets separate omp sessions message each other live or offline via a singleton mailbox daemon.
At a Glance
Self-hosted omp-mail extension and mailbox daemon; README declares MIT license.
Engagement
Available On
Listed Nov 2026
About omp-mail
omp-mail is an extension for oh-my-pi (omp) that lets separate agent processes send each other mail through a singleton mailbox daemon. It is published by GitHub user jokull and describes itself as a working prototype. Mail is delivered live when the recipient session is running and stored for replay when it is not.
What It Is
omp-mail is a plain omp extension plus a small dependency-free Node daemon, with no core changes required. Sessions are addressed by session id, an auto-generated slug, or a user-set alias. A human can send mail with the /mail command, and agents can use the mail_send and mail_agents tools to discover and message each other without human involvement.
How Delivery Works
The daemon runs as a singleton over a Unix socket and is auto-spawned by the first extension that needs it. It resolves addresses, persists append-only mailboxes under ~/.omp/mail, and pushes mail live to connected sessions. The extension registers on session start, re-registers on session switch, and unregisters on shutdown. Incoming mail is injected as a user message, which starts a turn when the agent is idle, so the recipient agent can reply on its own. If the daemon is unreachable, the extension polls its own mailbox. Offline mail is replayed on the next registration, and cursors deduplicate it.
Addressing and Commands
Addresses resolve in order: exact session id, slug, alias, then unique id prefix. Slugs derive from the session name, with a cwd basename fallback, and are deduplicated with numeric suffixes. The /mail command supports sending, alias, agents, inbox, whoami, and test. Sending to all broadcasts to every registered session, including the sender.
Setup Path
Install through the omp marketplace with /marketplace add jokull/omp-mail and /marketplace install omp-mail@omp-mail, or use the CLI equivalents. The repo can also be linked for development or installed as raw files globally or per project. A bundled SKILL.md teaches agents mail etiquette, such as replying by mail when a task arrived by mail and how to address peers.
Current Status
The README labels it a working prototype. Documented known edges are that all includes the sender, content-derived slugs update only when OMP generates a session title, and extension async jobs are still gated by core.
Community Discussions
Be the first to start a conversation about omp-mail
Share your experience with omp-mail, ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
Self-hosted omp-mail extension and mailbox daemon; README declares MIT license.
- Live delivery between sessions
- Offline inbox-on-resume
- Broadcast
- Agent tools mail_send and mail_agents
- Scope: README states MIT; GitHub metadata shows no license file detected
Capabilities
Key Features
- Live mail delivery to running sessions
- Offline mailboxes with inbox-on-resume
- Broadcast to all sessions
- Addressing by session id, auto-slug, or alias
- Agent tools mail_send and mail_agents
- /mail command with whoami, alias, agents, inbox, test
- Bundled SKILL.md for agent mail etiquette
- Singleton Unix-socket daemon auto-spawned on demand
