Core concepts
Agents, subjects, actions, resources, context, policies and decisions, and the one request model every industry uses.
The universal model
Every authorization question in ReQlo has the same parts:
Agent
The verified workload asking to act
Subject
The verified user, when acting on their behalf
Action
The operation being requested
Resource
The target and its trusted attributes
Context
Additional validated facts
Environment
Derived from the API credential
No part of the model is specific to payments, support tickets or any other industry. You define your own actions, resource types and attributes.
Concepts
| Concept | What it is | Where trust comes from |
|---|---|---|
| Organization | Your tenant. Every policy, credential and log belongs to one organization. | Derived from the API credential, never from the request body |
| Environment | An isolated copy of configuration, such as sandbox or production | Derived from the credential and endpoint |
| Agent | A non-human actor (an AI agent, workflow or service) that wants to act | Must be bound to a verified identity, not a name the caller types |
| Subject | The person or entity the agent acts on behalf of. Optional for fully autonomous system agents. | Must come from a verified session or signed claim, never from a prompt |
| Action | A namespaced operation you define, such as documents.read or deployments.create | Validated against your registered actions |
| Resource | The target of the action, identified by a type and an ID, such as document / doc_831 | Ownership and metadata should come from your authoritative systems |
| Context | Extra typed attributes your policies use, such as a classification or an amount | Schema-validated; each attribute has a provenance (see Custom attributes) |
| Policy | Rules that decide which agents, acting for which subjects, may perform which actions | Changed only through reviewed, versioned updates |
| Decision | ReQlo's answer: allowed or denied, with a decision ID and reason | Must be enforced by your code before the action runs |
| Delegation | Authority a subject grants an agent to act for them | Verified, scoped and revocable (see Delegated access) |
| Enforcement point | The place in your trusted code that asks ReQlo and then executes or blocks | Your server or tool executor, not the model and not the browser |
The canonical example: documents.read
An assistant agent wants to read a document for a user. This is the domain-neutral example used throughout these docs.
Your server sends this to POST /v1/authorize:
{
"agent": { "id": "agt_assistant_42" },
"subject": { "id": "usr_94", "kind": "user" },
"action": "documents.read",
"resource": { "type": "document", "id": "doc_831" },
"context": { "document_classification": "internal" }
}{
"id": "dec_01example",
"decision": "deny",
"allowed": false,
"reason_code": "policy_denied",
"matched_rules": ["deny-confidential"],
"policy_version": "2026-11-09.1"
}The organization and environment do not appear in the body. They come from the authenticated credential, so a caller cannot claim to be another tenant by editing JSON.
JSON is not proof of identity
Fields such as agent.id and subject.id are trusted because your server, holding the project key, sends them.
Take the subject from your application's verified session and the agent ID from your own configuration, never from
strings a caller or a model controls.
The same model in every industry
These requests use exactly the same shape. Only the customer-defined action, resource and context change.
{
"agent": { "id": "agt_support_7" },
"subject": { "id": "cus_2031", "kind": "customer" },
"action": "tickets.reply",
"resource": { "type": "ticket", "id": "tkt_5512" },
"context": { "ticket_owner_id": "cus_2031", "channel": "email" }
}The amount and currency in the financial example are attributes the customer defined. ReQlo's base model has no required financial, order or refund fields.
Related
Something wrong or unclear? Report an issue with this page.