Agent authorization levels and grants

The AI Monitoring Agent only does what its authorization level allows. An administrator sets the level. Levels 2 and 3 are available when they are turned on. This page explains each level, how a retry is approved or authorised, and every way to stop it.

The principle is simple: the AI model suggests, and fixed rules written as code decide. The model can recommend a retry. It cannot approve one, authorise one or run one.

The levels

Level What it may do Who sets it
0 Off Nothing. No sweeps run, no model calls are made and no AI data is written An administrator
1 Observe Reads run history and failure data, diagnoses, writes insights and notifications. Changes nothing An administrator
2 Recommend Everything in Observe, and proposes a retry for a person to approve An administrator
3 Act within limits Everything in Recommend, and retries by itself where a standing authorization covers the failed run An administrator

Levels 2 and 3 are available when they are turned on. A level that is not turned on is greyed out on the agent card. Lowering the level takes effect on the next save, and it never deletes anything.

Try level 3 with caution. It lets the agent retry without asking you first, so we recommend working up to it: start at Observe, move to Recommend until the proposals match what you would approve, and only then grant an authorization. Nothing happens at level 3 until an administrator grants one. See Level 3: standing authorizations, below, and Agent cautions and limits.

The only action the agent can take on your runs, at any level, is to retry a failed run. It cannot change a task, job or platform, a schedule, a credential or a pipeline, and it cannot cancel or delete a run.

The checks every retry must pass

Every retry is checked by code before it is proposed, and checked again at the moment it would start. The checks come in two tiers.

Checks that stop a retry whoever asks. A person approving cannot override these.

  • The switches. The agent is off or paused, AI features is off, consent is missing, Polysync has stopped the agent, or an automatic-retry pause is in force for the organisation or the platform.
  • Your rules. The task, job, platform or organisation is set to Never retry, or a rule forbids retries that would set off dependent tasks.
  • The kind of failure. The agent retries only transient and capacity failures, and a timeout only when the task is marked Safe to repeat. It never retries credential or permission failures, configuration or data failures, an upstream or source-system failure, a run rejected or held by a contention profile, a cancelled run or a failure it does not recognise. These fail the same way until someone fixes the cause.
  • The run is still a candidate. The agent re-reads the run just before retrying. The failure must be recent, the run must still be failed, no retry of it may already exist and no later run of the task may have started.
  • Plan and organisation state. The organisation is suspended, unsubscribed or out of trial, or a capped plan has reached its monthly limit, or the plan's daily cap on agent actions is reached.
  • Exactly once. A retry is claimed in one step, so it cannot start twice. If the dispatcher's answer is unclear, the agent does not retry again. It checks the outcome later.

Checks that stop an automatic retry. At level 2 most of these appear as warnings on the proposal and the approver decides. At level 3 they send the retry back to a person.

  • Limits per failure. The agent makes only a few retries of the same failed run, and it waits longer before each one. Retries the task makes by itself count towards the total.
  • Rate limits. There are limits per task, per platform and per organisation.
  • The task's own retry. If the task's own retry may still fire, the agent waits.
  • Contention and dependencies. The queue would hold or reject the retry, a parent run has failed, or the retry would set off failure-triggered children.
  • Quiet hours. An automatic retry waits until your quiet hours end.
  • Confidence and futility. The agent is not confident enough, or an earlier agent retry failed the same way.
  • A person already acted. Someone has cancelled, retried or dismissed the run. The agent does not override them.
  • Missing authority. No grant covers the run, or automatic retries for this kind of failure have been suspended.

Statistics about earlier outcomes can lower what the agent is allowed to do and can never raise it.

Level 2: how an approval works

  1. The sweep diagnoses a failure. If a retry looks worth trying and passes the checks, the agent records a proposal with the reasons and an expiry. It appears under Needs your approval on Monitor, Agent Insights, and you are notified.
  2. An operator or administrator reads the card, optionally presses Why?, and chooses Approve retry or Reject.
  3. On approval, the agent checks again: the approver's role, the expiry and every check above. Only then does it claim the retry and send it through the normal dispatcher. A decision can be used once.
  4. The agent watches the retried run and records the outcome.
  5. If the retry fails the same way, the agent raises a high-priority insight that needs you and does not keep retrying that failure by itself.

A proposal that nobody decides expires. The next sweep can propose it again if it still makes sense.

Level 3: standing authorizations

A standing authorization, or grant, is a recorded permission from an administrator for the agent to retry failed runs in a named scope without asking each time. It is the only way the agent acts by itself. Level 3 is available when it is turned on, and you should try it with caution.

A careful way to start:

  1. Run at Observe, then Recommend, until you trust what it proposes. Approve and reject on the merits, and rate each diagnosis.
  2. Pick one platform or a few tasks that are safe to repeat, and mark them Safe to repeat only if they really are. See When is a retry safe?.
  3. Grant an authorization for that scope only, with tight limits and a short expiry.
  4. Set quiet hours for the times you do not want anything retried by itself.
  5. Review Agent activity after the first few days. Revoke the grant at once if anything surprises you, then widen it only when you are comfortable.
Part of a grant What it means
Scope The tasks, jobs or platforms it covers. A grant must name what it covers, and a whole-organisation grant is not offered. Where more than one grant covers a run, the most specific one applies
Limits How many retries per failed run, per task per day, per platform per hour and per organisation per day. A grant can only narrow what your plan already allows
Expiry Every grant expires. Choose how long it lasts, within the range offered. Nothing renews it automatically, and reminders arrive before it ends
Acknowledgement The administrator must tick a statement of what they are authorising. The wording is stored with the grant
Who An administrator. The role is checked again every time a grant is created, revoked or confirmed

To grant one, open the agent card, choose Grant authorization, pick the scope, set the limits and the expiry, tick the acknowledgement and choose Authorise retries. The agent must be switched on first. Without a grant that covers a run, the agent proposes a retry for approval instead.

To revoke, choose Revoke beside the grant on the card. It stops applying immediately. Revoking does not undo a retry that has already started.

A suspended grant is one the agent has stopped using without being told to. It happens if the administrator who granted it is deactivated. The card shows it as suspended and offers Confirm to keep it, or Revoke. A suspended grant does nothing until an administrator confirms it.

Every automatic retry is shown in the Monitor with the authorization it relied on, and recorded in the audit trail.

Automatic pauses

The agent pauses itself before a run of failed retries can do harm.

  • Organisation pause. If automatic retries fail repeatedly in a short time, the agent stops retrying for the whole organisation and notifies administrators. It keeps watching and reporting failures, but nothing is retried, automatic or approved, until an administrator chooses Resume automatic retries on the card.
  • Platform pause. If automatic retries keep failing on one platform, nothing is retried on that platform, and other platforms are not affected.
  • Failure-class pause. If automatic retries for one kind of failure keep not working, the agent stops doing that kind by itself and asks a person.
  • When it cannot tell. If the agent cannot read the state of these pauses, it asks a person rather than assuming it is safe.

Quiet hours

An administrator can set a window, in the organisation's time zone, every day, on weekdays or at the weekend, when the agent will not retry anything by itself. Proposals still appear during quiet hours. Only automatic retries wait.

The audit trail

Every action is recorded with what was done, who or what caused it, the approval or authorization it relied on and the time. The trail is kept when you delete the agent's other data, because security and change control need it.

How to stop it

To do this Use
Stop automatic retries, keep the agent watching Revoke the grants, or lower the level, and save
Stop one kind of retry Set the task, job or platform to Never retry in its AI agent section
Stop the agent Switch it off on the agent card and save. New sweeps stop at once
Stop the Copilot and the agent together Switch off AI features
Stop one run Cancel the run

Switching the agent off does not cancel a retry that has already started on the platform. Cancel the run if you need it stopped. If you cannot reach settings and need the agent stopped for your organisation, contact support and Polysync can stop it from its side.

Worked examples

Retry one critical load only. Keep the level at 2, so the agent only proposes. Approve the proposal for that load and reject the others. To stop proposals for a task altogether, set it to Never retry in its AI agent section.

Let it handle one flaky platform (level 3, with caution). Grant an authorization scoped to that platform, with tight limits and a short expiry. Set quiet hours for the times you want left alone, and review what it did under Agent activity.

Stop everything now. Switch the agent off on the agent card and save. Then revoke any grants so they do not apply when you switch it back on.