Blog

Identity, Intent, Permission, Security, Accountability: the five questions every AI agent should answer

  • concepts
  • agent identity
  • authorization
  • accountability

Every interaction with an AI agent should answer five questions: who is acting, why it is contacting you, what it is allowed to do, whether the message can be forged or replayed, and what record it leaves. Avow answers each question with one small signed object: the Agent Card, the Intent, the Grant, the Envelope and the Receipt. This post walks through each one, with a short example and the reason it exists.

All five objects share the same basics. Each is a compact JWS signed with Ed25519, each carries a version (avow/0.2), an issuer, an issue time, a unique ID and, where it makes sense, an expiry. Each can also carry a display text of up to 280 characters that a person can read on a verify page or hear on a call (§3.3).

1. Identity: who is acting, and who stands behind it?#

Object: the Agent Card. The operator (the organisation that runs the agent) signs a card that describes one agent or machine.

{
  "v": "avow/0.2",
  "iss": "avow:voiceops.example:org:voiceops",
  "sub": "avow:voiceops.example:agent:mira",
  "kind": "agent",
  "name": "Mira",
  "ai": true,
  "operator": { "id": "avow:voiceops.example:org:voiceops", "name": "VoiceOps" },
  "principal": { "id": "avow:northwind.example:org:northwind-clinic", "name": "Northwind Clinic" },
  "channels": [ { "type": "voice", "numbers": ["+447700900001"] } ],
  "purposes": ["appointment", "sales_followup"],
  "max_scopes": ["message.send", "booking.request"],
  "instructions_hash": "sha256:…"
}

The fields that matter most:

  • ai is required and must be true for any agent that generates language. Disclosure is built into the format.
  • operator and principal separate the company running the software from the organisation the agent works for.
  • channels lists every number and endpoint the agent uses. Contact from an unlisted channel should be treated as unverified.
  • purposes and max_scopes set the outer limits of anything the agent can ever claim or be granted.
  • instructions_hash is a hash of the agent's system prompt. The text stays private, but any change becomes visible.

Why it matters. Without a stable, checkable identity, everything else is a claim about nobody. The card ties the agent to a domain the operator controls: its keys are published at https://<domain>/.well-known/avow/jwks.json, the same pattern as OpenID Connect. A registry can add assurance levels (L0 to L3) on top. See §4 and how identity works.

2. Intent: why is it contacting me, for whom, on what basis?#

Object: the Intent. The agent signs an intent before it contacts someone or acts.

{
  "v": "avow/0.2",
  "iss": "avow:voiceops.example:agent:mira",
  "to": { "type": "tel", "value": "+447700900123" },
  "purpose": "appointment",
  "purpose_text": "Confirming the appointment you asked for.",
  "on_behalf_of": "avow:northwind.example:org:northwind-clinic",
  "basis": "request",
  "basis_ref": "web-form:2026-11-30T12:41:00Z",
  "channel": "voice",
  "ref": "northwind-lead-88213",
  "grant": "sha256:…"
}
  • purpose is one of a fixed list of codes, such as appointment, delivery, payment_reminder or sales_cold (§5.3), and must be in the card's purposes.
  • basis states the legal or practical reason: the person asked (request), agreed earlier (consent), has a contract, and so on. basis_ref points to the evidence.
  • ref is an idempotency key. A receiver that sees a different intent with the same issuer and ref before the first one expires must reject it as a duplicate.

Why it matters. "Why are you calling me?" is the first thing people want to know, and the hardest thing to check today. A signed intent makes the answer explicit before contact happens. The ref rule also solves a dull but real problem: two systems handing over the same lead, so the same person gets called twice. On a phone call, the intent is what the registry turns into a 6-digit verify code.

3. Permission: what may it do, and who allowed it?#

Object: the Grant. Whoever gives permission signs the grant: the principal, the operator, a person through a wallet or passkey, or an agent passing on part of its own grant.

{
  "v": "avow/0.2",
  "iss": "avow:northwind.example:org:northwind-clinic",
  "sub": "avow:voiceops.example:agent:mira",
  "scopes": ["message.send", "booking.request"],
  "limits": {
    "purposes": ["appointment"],
    "channels": ["voice", "whatsapp"],
    "hours": { "tz": "Europe/London", "from": "09:00", "to": "21:00" },
    "countries": ["GB"],
    "max_amount": { "value": 0, "currency": "GBP" },
    "max_contacts_per_person": { "count": 2, "days": 7 }
  },
  "confirm": ["booking.request"]
}
  • scopes are dotted verbs such as message.send, booking.request or payment.initiate.
  • limits restrict purposes, channels, local hours, countries, amounts and how often one person may be contacted (§6.3).
  • confirm lists actions that need an explicit "yes" from the other party during the interaction.

The central rule is that grants only narrow. A delegated grant can never give more than its parent: fewer or equal scopes, stricter or equal limits, an earlier or equal expiry. And since 0.2, an agent can only delegate at all if its own grant includes agent.delegate (§6.2).

Why it matters. An agent that can talk can promise anything. A grant turns "the agent said it could" into "the clinic signed that it may, within these limits", and lets a receiver refuse anything outside them.

4. Security: can this be forged, altered or replayed?#

Object: the Envelope. The agent wraps each message or action in an envelope.

{
  "v": "avow/0.2",
  "iss": "avow:voiceops.example:agent:mira",
  "exp": 1796045312,
  "to": { "type": "avow", "value": "avow:hospital.example:agent:frontdesk" },
  "intent": "sha256:…",
  "grant": "sha256:…",
  "action": "booking.request",
  "body_hash": "sha256:…",
  "nonce": "…"
}
  • intent and grant are hashes that bind this exact action to the declared reason and permission.
  • body_hash covers the exact bytes of the message or HTTP body, so any change is detected.
  • exp is short (300 seconds is the recommended maximum), and a receiver must reject a jti it has already seen: a replayed envelope fails.

Why it matters. Signed identity and permission are not enough if someone can copy a valid request and send it again, or change the body in transit. The envelope closes those gaps. Over HTTP it travels in an Avow-Envelope header and can be combined with HTTP Message Signatures (RFC 9421). See §7.

5. Accountability: what did it actually do, and can it be proven later?#

Object: the Receipt. The party that acted signs a receipt for every action attempted, allowed, denied or completed.

{
  "v": "avow/0.2",
  "iss": "avow:voiceops.example:agent:mira",
  "log": "avow:voiceops.example:agent:mira",
  "seq": 18842,
  "prev": "sha256:…",
  "action": "message.send",
  "outcome": "done",
  "evidence": [ { "type": "recording", "hash": "sha256:…" } ],
  "display": "Sent the appointment details on WhatsApp after the customer asked."
}
  • outcome is done, denied, failed, duplicate or cancelled.
  • seq and prev form a hash chain: each receipt includes the hash of the one before it, so a missing or edited receipt breaks the chain.
  • Evidence such as recordings and transcripts is referenced by hash only; the content stays with the operator.

Why it matters. When something goes wrong, the question is always "what exactly happened?" A receipt chain gives a record that cannot be quietly rewritten, and operators can publish the latest hash of each log to a registry as an anchor (§8). Opt-outs are receipts too, which gives people evidence that they said STOP.

Four directions, same five objects#

The same objects work whoever starts the conversation:

DirectionExample
Agent ↔ agentA travel agent books with an airline's agent; each checks the other's card and grant.
Machine → agentA CRM hands a lead to a calling agent; the intent's ref stops duplicate calls.
Human ↔ agentAn AI calls a person and gives a verify code; a person can also sign a narrow grant for an agent.
Machine ↔ machineA webhook calls an API; the receiver checks signature, scope, replay and duplicates.

Avow keeps the cryptography boring on purpose: JWS, JWK sets on a well-known URL, SHA-256. No blockchain, no new primitive. Everything beyond the five objects is optional, which is why the spec describes itself as small enough to adopt in an afternoon (§1).

Where to go next#

  1. · 7 min read

    Introducing Avow: an open trust layer for AI agents

    Avow is an open, Apache-2.0 protocol that lets AI agents prove who they are, why they are contacting you, what they may do, and what they did. Here is why we built it.

    • announcement
    • agent identity
    • open standards
  2. · 6 min read

    Avow, MCP, A2A and AP2: how they fit together

    MCP connects agents to tools, A2A connects agents to agents, AP2 covers agent payments. Avow adds checkable identity, intent, permission and receipts on top.

    • mcp
    • a2a
    • ap2
    • standards
    • interoperability