Agents

Kill switch

Suspend one agent or every agent of an app, ending their open tasks at once.

Suspending an agent sets its status to suspended and revokes every open task it runs, together with every open task inside those tasks. Its tokens stop working on the next call. A suspended agent gets no new tasks until a person resumes it.

Scute also suspends an agent on its own when it goes over its budget or calls a decoy tool.

Suspend one agent#

POST/v1/apps/:app_id/authz/agents/:slug/suspendApp key
reasonstring
Why. Up to 500 characters. Shown as the agent's suspended_reason.
curl -X POST https://api.scute.io/v1/apps/$SCUTE_APP_ID/authz/agents/billing-assistant/suspend \  -H "Authorization: Bearer $SCUTE_APP_SECRET" \  -H "Content-Type: application/json" \  -d '{ "reason": "Refunds look wrong, investigating" }'

Answers the agent. The audit event app.authz.agent.suspended records how many tasks were revoked. Each revoked task records who revoked it in revoked_by.

Suspend every agent#

POST/v1/apps/:app_id/authz/agents/suspend_allApp key
reasonstring
Why. Up to 500 characters. Default Every agent was stopped.

Suspends every active agent of the app.

{ "suspended": ["billing-assistant", "refund-worker"], "tasks_revoked": 7 }
curl -X POST https://api.scute.io/v1/apps/$SCUTE_APP_ID/authz/agents/suspend_all \  -H "Authorization: Bearer $SCUTE_APP_SECRET" \  -H "Content-Type: application/json" \  -d '{ "reason": "Incident 2026-11-19" }'

Resume#

POST/v1/apps/:app_id/authz/agents/:slug/resumeApp key

Sets the agent back to active and clears suspended_reason. Tasks revoked by the suspension stay revoked: create new ones.

What else stops an agent's tasks#

EventEffect
A task is revokedEvery open task inside it ends too
The person a task acts for is banned or suspendedTheir open tasks end, in every app, with a revoke_note saying why
The person is deactivatedChecks for them answer deny with person_inactive
An agent key is revokedNew conversations with that key are refused