The absence of a human is the design constraint
A scheduled agent runs with no human in the session. Nobody is present to approve an action, apply judgment to an unexpected result, interrupt a run that is going wrong, or answer for what the agent did. Governance for these agents has to be designed around that absence.
The controls therefore need to be defined in advance and enforced by machine, because there is no moment during the run when a person can step in.
Replacing what a live user provides
A live user normally supplies four things that an unattended run does not have:
- Approval of actions before they happen
- Judgment about whether a result or request makes sense
- Interruption when a run needs to stop
- Accountability for what was done
Each of these must be replaced by a control that is configured before the run starts and applied automatically while it runs. The sections below cover the controls in order: identity, scope, policy, limits, and audit.
Identity and scoped permissions
One distinct identity per scheduled agent
Give each agent its own identity. A distinct identity makes it possible to tie every action to a specific agent and to the credential or token issued for a specific run.
Permissions limited to the task and run window
Scope permissions to the task the agent performs and to the window in which it runs. Access should not extend beyond what the scheduled task requires.
Runtime policy, limits, and stop conditions
Check tool calls at execution time
Check every tool call against policy when it is executed. Each evaluation produces a decision (allow, deny, or hold) and a reason, which is recorded with the call.
Replace live interruption with automated limits
Set limits and stop conditions that end or constrain a run without anyone watching it. Automated stop conditions take the place of the live interruption a user would otherwise provide.
Control model for an unattended agent run
Use this model to decide which controls need runtime enforcement for each scheduled agent.
| Control | Requirement |
|---|---|
| Identity | One distinct identity per scheduled agent |
| Scope | Permissions limited to the task and run window |
| Policy | Tool calls checked at execution time |
| Limits | Automated stop conditions replace live interruption |
| Audit | Records that support after-the-fact review |
What an audit record should contain
Record enough detail to reconstruct the run afterward. Each record should include:
- Agent identity and the credential or token issued for the run
- Trigger: the schedule, event, or orchestrator job that started the run
- Tool called, operation, and the parameters supplied
- Policy evaluated, the decision (allow, deny, hold), and the reason
- Outcome of the call, including errors and any limit or stop condition reached
- Timestamps and a run identifier linking every action in the same execution