Skip to main content
Letting an AI agent in is not the end of your control over it. Aiveth runs one gate before every token an agent gets: a first token, a refresh, an enterprise pass, an approved step, or a server-to-server call. If the gate says no, the agent gets no token. You manage all of this in the console under AI agents, which needs the Manage apps power.
AI agents and MCP servers are available on the Business plan and above.

The gate

For each token, Aiveth checks in order:
  1. Pause all agents is off for your organization.
  2. The agent has an owner who is still an active person in your organization.
  3. Its end date has not passed.
  4. It is within the hours it may work.
  5. It has not asked for too many tokens this hour.
  6. Its permissions: only those it may ever hold; permissions that need a person’s yes only through an approval; and never all the permissions of a never-together rule.
  7. Its access review was not left unanswered, if your organization stops agents in that case.
A refusal is recorded in the activity log with the reason, once per agent and reason an hour. The agent receives an OAuth error with one of these reasons:

Pause all agents

Pause all agents on the AI agents page stops every agent in your organization at once. No agent gets a token, and introspection answers inactive for their tokens. Turn it off to let them back in.

An agent’s limits

Open an agent in the list and choose its limits: Every change is recorded in the activity log. To stop one agent completely, block it from the agents list. A blocked agent gets no code and no new token.

Human approval

Some steps are too big for an agent to take alone, like releasing a payment. The agent asks for the person’s yes with OpenID CIBA (Client-Initiated Backchannel Authentication) in poll mode, with Rich Authorization Requests (RFC 9396) describing exactly what it wants to do.

1. The agent asks

The agent sends its current access token for the person and the MCP server:
string
What the agent wants to do, in words. Up to 200 characters.
string
The permissions this step needs.
string
A JSON list of up to 5 objects, each with a type. An amount is digits with at most two after the point, like 5000 or 5000.50. A currency is three capital letters, like INR.
The answer:
A request that asks for no permission needing a yes, and whose amounts are all within the agent’s limit, is approved at once and recorded.

2. The person decides

The person is emailed, and the request waits on their Approvals page under Waiting for you. They choose Approve or Reject. Approving needs a sign-in from the last few minutes; otherwise they are asked to Sign in again. Only the person the request is for can answer it, never an admin on their behalf.

3. The agent collects

The agent polls /oauth/token no faster than every 5 seconds:
The approved token lasts 5 minutes, has no refresh token, and carries the approval’s ID in aid and what was approved in authorization_details. The approval is spent once collected. Your MCP server can tie its own record of the action to aid.

Never-together rules

A never-together rule names two or more permissions that one agent must never hold at the same time, for example claims:approve and payments:release. Add rules under Permissions never held together with Add rule. For each rule, choose what happens When an agent would hold them all:
  • Block (the default): the permission that would complete the rule is left out of the token. If nothing the server guards is left, the request is refused.
  • Ask: the completing permission is given only through a person’s yes (see Human approval).
Aiveth judges a rule against everything the agent already holds, for anyone, on any server, plus what it asks for now. If a rule is added after an agent already holds a conflicting set, the conflict shows on the agent and in its access review so its owner can stop it.

Alerts

Aiveth watches for three signs of unusual behaviour at the gate: An agent known for under 3 days raises no alert for the first two signs, because it has no baseline yet. Each sign fires at most once a day per agent. An alert is recorded in the activity log, sends the agent.alert webhook, and is emailed to the agent’s owner and everyone with Manage apps. If the agent’s setting is Email them and stop the agent, it is blocked at once and the token it asked for is refused. It stays blocked until an admin unblocks it.

Access reviews for agents

Every 30 or 90 days (the first after 30 days), a review opens for the agent’s owner. They see it on their Approvals page under Agents you look after. The review shows, as it was when it opened: the MCP servers the agent reaches and with which permissions, how many people use it, its tokens in the last 30 days, when it was last used, and its alerts. The owner chooses Keep it or Stop it. Stopping blocks it at once and ends every person’s connection to it. An admin can also decide from the AI agents page. Reminders go to the owner and admins at 7 and 12 days. Under If nobody answers in 14 days, choose whether the agent stops until someone reviews it, or keeps working and the review closes as “nobody answered”. Ordinary apps are never reviewed here, only AI agents.

Report what agents did

Aiveth sees an agent’s sign-in, not its tool calls. Your MCP server reports each action with an API key that has the agents:actions power:
string
required
The agent’s token for this call. Aiveth takes the agent, the person, every actor in between and any approval from it, so a server can’t name someone else. A token up to a day past its expiry is still accepted, for late reports.
string
required
A lower-case name with dots, like claims.approve.
string
default:"done"
done, failed or blocked.
string
ISO 8601 time while the token was valid. Defaults to now, or the token’s expiry if earlier.
array
Up to 10 objects, each with a type and id, and an optional name.
object
Up to 20 keys. Values are short text, numbers or yes/no, up to 200 characters.
Send an Idempotency-Key header so a retry never makes a second record. Without it, Aiveth uses the body’s fingerprint.
Report names of things, never personal data.
Reported actions show on each agent in the console and download as CSV. They are kept for one year.