An agent in Scute acts for a named person, within roles that cap what it can ever do. Each job it runs has its own short-lived task token. Every action it takes is checked against three things at once: the agent's roles, what the person it acts for may do, and what the task allows.
The model#
| Piece | What it is |
|---|---|
| Agent | A record in one app: a slug, a name, a human owner and ceiling roles. Registered by your backend or in the dashboard. |
| Task | One job. A token (sct_...) that says who the agent works for, which actions it may take, on which objects, and until when. 30 minutes by default, 24 hours at most. |
| Decision | allow, deny, allow_with_step_up or allow_with_approval. An action is allowed only when the agent's roles, the person and the task all allow it. |
| Human steps | The agent can ask the person to verify, ask a reviewer to approve one call or a whole plan, and ask the person for consent before a task starts. |
| Safety rails | Budgets, loop detection, first-use review, tool drift, decoy tools, requester only and session trust. What they catch lands in the monitors inbox. |
| Properties | Secrets and key pairs an agent's tools use without the model ever seeing them. |
How the pieces fit#
Register the agent
Your backend registers the agent with an owner and ceiling roles. The roles are app roles from your authorization policy. See Register an agent.
Start a task
When a person asks the agent to do something, your backend creates a task for that person and gets a task token back once. It gives the token to the agent process, never to a browser. See Task tokens.
Check before each action
Before each tool call the agent asks Scute with its task token. The answer is a decision plus a say line the agent can pass to the person as is. See The decision rule.
Bring a person in when needed
allow_with_step_up means the person has to verify first. allow_with_approval means a reviewer has to approve. See Verify the person and Approvals.
End the task
Your backend completes or revokes the task. Suspending the agent ends every open task at once. See Kill switch.
Where the code runs#
| Part | Runs in | Credential |
|---|---|---|
| Agent registry, tasks, monitors, reports, properties | Your backend | App key (Authorization: Bearer with the app's secret key) |
| Checks, verifications, approvals, property reads and signing | The agent process | Task token (Authorization: Bearer sct_...) |
| Auth MCP server for voice and chat agents | The voice or chat platform | Agent key (scak_...) or task token |
| MCP sign-in (OAuth 2.1) | MCP clients such as Claude and Cursor | OAuth access token |
| MCP gateway | Your server, in front of an MCP server | App key, plus each user's access token |
The harness wraps an agent's tool calls in guards that make these checks for you. It is documented in Harness. The MCP gateway puts the same guards in front of any MCP server.