Grant Spec
A proposed open format for agent delegations. Concept.
Agents can already pay. What's missing is a way for a counterparty to know what an agent is allowed to commit to. The argument is in Authorization is the unfinished product and A session isn't a grant. This is a sketch of the object itself.
A grant, minimally
{
"grant": "g_01",
"principal": "did:web:acme.example",
"agent": "did:web:agents.acme.example:procurement",
"scope": {
"categories": ["software-subscription"],
"max_amount": { "value": 5000, "currency": "USD", "per": "year" },
"vendors": ["approved-list:2026-10"],
"may_accept_terms": ["standard-saas-v2"]
},
"not_before": "2026-10-15T00:00:00Z",
"expires": "2027-01-15T00:00:00Z",
"revocation": "https://acme.example/.well-known/grants/g_01/status",
"answerable_party": "cfo@acme.example",
"signature": "..."
}
Design principles
- Separate from credentials. A grant is never a session or an API key.
- Verifiable without trusting the agent. The merchant checks the signature and the revocation endpoint.
- Cited by every action. Orders reference the grant id, so the record writes itself.
- Names the answerable party. Someone signs for it.
- Readable by a person. The scope should be explainable to a judge in one paragraph.
This is a draft for discussion, not a standard.