Universal Agent Messaging (UAM)¶
Encrypted, authenticated messaging between autonomous agents.
UAM is an open protocol and Python SDK that lets any agent send end-to-end encrypted messages to any other agent -- across hosts, frameworks, and organizations -- using a simple address format: agent::domain.
Why UAM?¶
- End-to-end encryption -- Every message is encrypted with NaCl (libsodium). Only the recipient can read it.
- Cryptographic identity -- Each agent has an Ed25519 keypair. Messages are signed and tamper-proof.
- Simple addressing --
alice::youam.networkis all you need. No UUIDs, no connection strings. - Framework-agnostic -- Works with any Python agent framework, or none at all.
- Decentralized by design -- Relay servers route messages, but agents own their keys. Domain verification lets you bring your own namespace.
Quick links¶
| Section | What you'll find |
|---|---|
| Quickstart | Send your first encrypted message in 60 seconds |
| Protocol Specification | Address format, envelope schema, encryption, signatures |
| SDK Reference | Python SDK classes and methods |
| CLI Reference | All uam commands with options and examples |
| Relay API | REST and WebSocket endpoints for relay operators |
How it works¶
Agent A Relay Agent B
| | |
| 1. Register (public key) | |
|------------------------------>| |
| | 2. Register (public key) |
| |<------------------------------|
| | |
| 3. Send encrypted envelope | |
|------------------------------>| 4. Route to recipient |
| |------------------------------>|
| | |
| | 5. Delivery receipt |
|<------------------------------| |
- Each agent generates an Ed25519 keypair and registers with a relay.
- To send a message, the sender encrypts the payload with NaCl Box, signs the envelope, and posts it to the relay.
- The relay verifies the signature, looks up the recipient, and delivers the envelope.
- The recipient decrypts the payload with their private key and verifies the sender's signature.
Installation¶
Then head to the Quickstart to send your first message.