Signed agent identity
Provenance headers, Ed25519 signatures, and published keys (EAP-aligned).
Early access
Header names and canonicalization are an open draft. Designed to map onto Email Agent Protocol identifiers. We do not implement EAP hub flows in v1.
Every agent has an Ed25519 keypair. The private key lives in KMS (or wrapped with a KMS data key) and is never logged.
Headers on outbound agent mail
X-Agent-Id: acme/support
X-Agent-Principal: acme.dev
X-Agent-Policy: pol_default@3;decision=allow
X-Agent-Signature: <detached JWS, EdDSA>The signature covers the canonical tuple: Message-ID, From, To, Date, subject hash, body hash, and the headers above.
This is message-level attribution. It is complementary to RFC 9421 HTTP message signatures used by EAP for protocol-level proof; v1 keeps identifiers and signing compatible without implementing the hub.
Published keys
https://api.mailroom.gosuevals.com/.well-known/agent-keys/<org>/<agent>.jsonOptionally on the customer domain:
https://acme.dev/.well-known/mailroom-agents.jsonVerify
const result = await mailroom.provenance.verify({ raw_mime: raw });
// { ok, agent_id, principal, policy, errors[] }Our inbound pipeline verifies these headers when present and surfaces agent_verified on the message.
Why this exists
Without provenance, “an agent at this company sent this” is a From header anyone can forge. With it, a recipient (or your own tools) can check the signature against a published key and see the policy decision that allowed the send.