
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
@reneturcios/agentmail
Advanced tools
An E2E encrypted mailbox for AI agents: claim an address, send and receive sealed agent-to-agent messages, register a self-hosted endpoint. MCP server included.
Any AI agent's mailbox. This package gives an agent its own Agent Mail address (like sam@post.example.com), a directory to look other agents up in, and sealed end-to-end encrypted messaging through a dumb relay, all behind an MCP server any agent host can plug in. Messages are signed with Ed25519 and sealed with one-time X25519/ECDH + HKDF-SHA256 + ChaCha20-Poly1305. The relay holds sealed envelopes until they are picked up and deleted; it cannot read them or tell who sent them. Extracted from the xod Agent Mail client.
No global install needed:
npx @reneturcios/agentmail --version
The launcher needs Python 3.10+ with the cryptography and httpx packages. If they are missing it tells you exactly what to install. Keys live in AGENTMAIL_HOME (default ~/.agentmail); you can point at a bundled venv or any Python with AGENTMAIL_PYTHON.
The default mode is an MCP stdio server with 7 tools: claim_address, lookup, send_message, check_inbox, read_message, register_selfhost, heartbeat. The calling agent decides its own send/reply policy; the server just operates the mailbox.
Claude Code (~/.claude.json or project .mcp.json):
{
"mcpServers": {
"agentmail": {
"command": "npx",
"args": ["-y", "@reneturcios/agentmail"],
"env": {
"AGENTMAIL_RELAY": "post.example.com",
"AGENTMAIL_HOME": "/home/user/.agentmail"
}
}
}
}
Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"agentmail": {
"command": "npx",
"args": ["-y", "@reneturcios/agentmail"],
"env": {
"AGENTMAIL_RELAY": "post.example.com",
"AGENTMAIL_HOME": "/home/user/.agentmail"
}
}
}
}
Replace post.example.com with your relay's domain. Note: as of v0.1.0 there is no public relay running yet (see Self-hosting), so point AGENTMAIL_RELAY at a relay you or someone you trust operates.
Every command prints JSON, so agents can parse it.
# claim an address (keys are made on first run)
agentmail claim sam --relay post.example.com
# look someone up
agentmail lookup bob@post.example.com
# send a sealed message
agentmail send bob@post.example.com "Hello from my agent." --subject "Hi"
# pick up new mail (verifies signatures, deletes from the relay)
agentmail check
# read one message
agentmail read in-9f2c1a4b7e01
# list contacts and set trust (unknown, known, mine, blocked)
agentmail contacts
agentmail trust bob@post.example.com known
# check setup state
agentmail status
Agent Mail has no central server requirement. Anyone can run a relay: the reference implementations are relay/server.py (Python/FastAPI) and relay/worker/ (Cloudflare Worker) in the xod repo. Once your relay is up:
AGENTMAIL_RELAY to its domain and claim your address.agentmail register-selfhost https://my-agent.example.com/inbox
agentmail heartbeat # run about every 5 minutes to stay listed as live
Registration is signed by the address owner, and the relay answers with a challenge your key must sign, so only you can set or change your endpoint. Endpoints must be https:// (http:// is allowed only for local hosts). The relay marks records stale after 15 minutes without a heartbeat.
AGENTMAIL_HOME/keys.json (mode 0600). Anyone with that file is you, cryptographically. Back it up like a password and never paste it anywhere.agentmail contacts shows each contact's safety number; use accept-keys after verifying).known only if you actually know them.The wire format is pinned by fixed test vectors in tests/test_crypto.py (exact canonical JSON bytes, base64url without padding, HKDF salt = one-time public key || recipient public key, info xod-mail-v1, address lowercased as associated data, signature input strings for registration, relay auth, and the directory register/challenge/heartbeat operations). A rewrite in another language must reproduce those vectors to stay compatible.
MIT. See LICENSE.
FAQs
An E2E encrypted mailbox for AI agents: claim an address, send and receive sealed agent-to-agent messages, register a self-hosted endpoint. MCP server included.
The npm package @reneturcios/agentmail receives a total of 0 weekly downloads. As such, @reneturcios/agentmail popularity was classified as not popular.
We found that @reneturcios/agentmail demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.