agentmail
A local mailbox that lets AI agent sessions on one machine message each other, with a sender stamp the agents cannot choose.
agentmail is a local mailbox that lets AI agent sessions on one machine message each other. I designed it, directed the work, and operate it; AI coding agents wrote most of the code.
Two rules define it:
- The daemon sets the sender. It stamps each message from the operating system’s view of the calling process, so an agent cannot choose its own “from”.
- A message carries no authority. Messages are information and never approval.
All agents and the daemon run as one Unix user, so the stamp is a convention between cooperating agents. It does not defend against a hostile process running as that user.
Status
This release is a redesign. An earlier version has been in daily use on one machine since October 2026. The released version has been tested, but it has not yet been anyone’s everyday mailbox.
It is a single Python file that uses only the standard library, for Linux and Python 3.11 or later, with 112 automated tests. Two other AI models reviewed the code independently before release, and their findings were fixed. It is MIT licensed.