Identities and agents
How agents, subjects and your server establish identity, and why a typed name is never proof.
ReQlo distinguishes three identities in every request:
| Identity | Example | Established by |
|---|---|---|
| Caller (your server) | Project API key rq_test_… | The secret API key, which also fixes organization and environment |
| Agent | agt_assistant_42 | Registered in ReQlo; your server asserts which agent is acting |
| Subject | usr_94 (kind user) | Your verified session; a delegation records that person's grant |
The trust chain
ReQlo trusts your server, because it holds a secret key. Your server is responsible for knowing which agent is running and which user's session triggered it. ReQlo then checks that:
- the agent is registered, enabled and not deleted,
- the policies allow this agent, for this subject, to do this action,
- any delegation sent with the request is active and covers this agent, subject and action.
Adding an agent in the dashboard
An agent in ReQlo is a record of an AI agent that already runs in your own code. ReQlo never runs the agent; it gives it an ID so your server can say which agent is asking for permission.
Every request your server sends carries two things:
| What it proves | How many | |
|---|---|---|
| API key | The request comes from your project | One per environment, created once under API keys |
| Agent ID | Which agent wants to act | One per agent |
To connect an agent:
- Under API keys, create a key for your environment (once per project) and store it on your server as
REQLO_API_KEY. It's shown only once. Keys can only be created in Sandbox for now. - Open Agents, select Add agent, enter a name your team will recognise, such as Support assistant, optionally choose the Provider it runs on, pick its Owner (the workspace member responsible for it; it's you if you're the only member), and select Create agent. The provider is a label for your team; ReQlo never connects to it or asks for its keys.
- On the agent's page, copy its Agent ID (it looks like
agt_7Hq2mK9xR4vTq8Lpand never changes, even if you rename the agent) and follow Connect your code: send the ID asagent.idwith your key, and check with ReQlo right before the agent uses a tool. Run the tool only when the decision isallow; treat errors and timeouts as a deny.
To change an agent's name, provider or owner, select Edit next to its details. Its ID never changes, so connected code keeps working. The same dialog has a Disable agent switch: a disabled agent is paused, and requests made as it are rejected until you turn it back on. Unlike deleting, disabling can be undone.
To remove an agent, use Delete agent at the bottom of its page. Owners and admins only. Any request made as that agent is rejected from then on, and the audit log keeps a record of the agent and its deletion.
Tagging agents
Tags let policies target groups of agents (agents: { tags: [customer_facing] }) without listing IDs, and conditions
can read them as agent.tags. Tags are lowercase letters, digits, _ and -, up to 20 per agent.
In the dashboard, open the agent, select Edit and enter tags separated by commas (developers, admins and owners). Tags show next to the agent's name and every change appears in its activity.
From a terminal: reqlo agents create --name "Support reply agent" --tag support, and
reqlo agents tag <agent-id> --tag support --tag customer_facing. See CLI commands.
Tag changes apply to the next authorization request and are recorded in the audit log. ReQlo always generates the agent ID, so code never depends on a name.
One project key works for every agent in its environment. Keys are never tied to individual agents; your server decides which agent ID to send.
Autonomous agents
Agents that act for no one (a nightly reconciliation job, a warehouse bot) omit subject. Rules that list
subjects: { kinds: [...] } don't match subject-less requests; to allow them explicitly, use
subjects: { kinds: [none] }.
Common mistakes
- Using display names or model-generated strings as agent IDs.
- Letting the model choose which agent it "is".
- Sharing the project key outside your backend. Roll it from API keys if it may have leaked.
- Treating
subject.idin a prompt or tool argument as the real user.
Something wrong or unclear? Report an issue with this page.