Agents

AI agents

Register agents, give each job a task token, and decide every action against the agent, the person and the task.

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#

PieceWhat it is
AgentA record in one app: a slug, a name, a human owner and ceiling roles. Registered by your backend or in the dashboard.
TaskOne 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.
Decisionallow, 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 stepsThe 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 railsBudgets, loop detection, first-use review, tool drift, decoy tools, requester only and session trust. What they catch lands in the monitors inbox.
PropertiesSecrets and key pairs an agent's tools use without the model ever seeing them.

How the pieces fit#

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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#

PartRuns inCredential
Agent registry, tasks, monitors, reports, propertiesYour backendApp key (Authorization: Bearer with the app's secret key)
Checks, verifications, approvals, property reads and signingThe agent processTask token (Authorization: Bearer sct_...)
Auth MCP server for voice and chat agentsThe voice or chat platformAgent key (scak_...) or task token
MCP sign-in (OAuth 2.1)MCP clients such as Claude and CursorOAuth access token
MCP gatewayYour server, in front of an MCP serverApp 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.

Pages#

Register an agent
Owner, ceiling roles, settings and agent keys.
Task tokens
Create, read, complete and revoke a task.
The decision rule
Agent and person and task, and every deny reason.
Safety rails
Budgets, loops and first-use review.
Properties
Secrets and key pairs for tools.
MCP sign-in
An OAuth 2.1 server per app for MCP clients.