Version 1.1 Open specification for AI agents

ProcurAuth

Give each AI agent a key. A key never has more rights than the person who owns it.

Your backend holds the users, their rights and the keys of their agents. Your services only speak AuthZEN.

See how it works

One call of an agent (shortened)
The service asks the PDP about the key of the agent
{ "subject":  { "type": "user", "id": "key:9b1c…" },  "action":   { "name": "data.read" },  "resource": { "type": "database", "id": "test2",    "properties": { "ancestors": […] } },  "context":  { "usage": { "units": 1 } } }
The PDP answers
{ "decision": true,  "context": {    "limits": { "max_rows": 5000,      "max_duration": 30 },    "usage":  { "units": 1 } } }

One call of an agent, five steps

The agent never talks to the decision point. The edge checks its key. The service asks, and it applies the answer.

One call in five steps: agent, edge, service, decision point, answerThe agent shows its key to the edge. The edge checks the key and signs a token for the service. The service asks the decision point. The decision point checks grants and counts budgets. The answer is yes or no, with limits.1Agentshows its key2Edgechecks the key,signs a token3Serviceasks thequestion4PDPchecks grants,counts budgets5Answeryes or no,with limits
One call in five steps: agent, edge, service, decision point, answerThe agent shows its key to the edge. The edge checks the key and signs a token for the service. The service asks the decision point. The decision point checks grants and counts budgets. The answer is yes or no, with limits.1Agentshows its key2Edgechecks the key, signs a token3Serviceasks the question4PDPchecks grants, counts budgets5Answeryes or no, with limits
Alice's agent shows its key to the edge. The edge gives the service a signed token. The service asks the decision point and applies the answer. Read the steps one by one.

Built for agents that call tools

The MCP binding applies the protocol to an MCP server. These are its rules for an agent.

The tool error that an agent gets when its budget is spent (structuredContent, binding 5.3):

Tool error
{  "error": {    "code": "budget_exceeded",    "message": "The budget of this action is spent.",    "retryable": true,    "retry_after": 12  }}

The agent can read the error and wait. It learns no grant and no amount. A refused tool and an unknown tool get the same answer.

Start with the text or with the tools

The specification and the MCP binding are the normative texts. The source and the binaries of version 1.1 are in one repository.