Architecture
How an authorization request flows, where the trust boundaries are, and what happens when something fails.
Request sequence
User request
The agent proposes an action
Trusted server
Verify identity and load authoritative facts
ReQlo
Evaluate the request against policies
Enforce
Execute only after an explicit allow; otherwise stop or pause
- The model proposes an action. A proposal is not permission.
- Your trusted server builds the authorization request from verified identity and authoritative data, not from whatever the model wrote.
- ReQlo evaluates your policies and returns a decision.
- Your server executes the action only if the decision allows it. Any denial or error stops it.
Trust boundaries
Untrusted input
Model output, prompts, tool arguments and browser input
Your trusted server
Verified sessions, agent binding, resource lookups and enforcement
ReQlo
Credential-bound organization and environment, policies and decision logs
- Anything a model or end user can influence is untrusted input. It can be a reason to ask for authorization, but never a source of identity or policy facts.
- Your trusted server is responsible for identity, for looking up authoritative facts such as resource ownership, and for enforcing the decision.
- ReQlo derives the organization and environment from the API credential and evaluates policies. It cannot see or control code paths that never call it.
How the parts interact
Developer
CLI and policy files
Administrator
Console configuration
Your server
SDK or direct HTTP
The HTTP API at https://api.reqlo.io/v1 is the single source of truth. The dashboard, the TypeScript SDK
(@reqlo/sdk) and the CLI (@reqlo/cli) are clients of the same service, so a policy published in one is used by
the others within seconds.
Data flow
ReQlo only needs the facts your policies use:
- Sent to ReQlo: identifiers (agent, subject, resource), the action name and the context attributes your policies need.
- Not needed: full documents, message bodies, prompts or other payloads. Send a classification, not the content.
- Stored by ReQlo: your catalog, policies and their versions, decisions, approvals, delegations and audit records, scoped to your organization and environment. Decisions keep a summary (agent, subject ID, action and resource), not your attributes.
Failure modes
| Condition | What it means | Required behavior at your enforcement point |
|---|---|---|
| Decision: denied | A valid answer: policy does not allow the action | Do not execute. Return a safe refusal. |
| Invalid request | Missing or malformed fields, unknown action, bad attribute types | Do not execute. Fix the integration. |
| Authentication failure | Missing, revoked or wrong-environment credential | Do not execute. Alert your team. |
| Rate limited | Too many requests | Do not execute now. Retry later or queue. |
| Timeout or ReQlo unavailable | No decision was obtained | Do not execute. See Offline and outage behavior. |
| Allowed | Policy permits the action | Execute exactly the action that was checked. |
Only an explicit allow decision results in execution. Everything else fails closed.
Something wrong or unclear? Report an issue with this page.