Permission modes
Decide how much a run may do on its own. A permission mode tells a run how to answer the agent’s permission requests, the moments when an agent wants to use a tool it has not been cleared for. Pick auto for hands-off work, ask to approve each request yourself, or deny to keep the agent inside what it already has.
Available when your administrator enables runs.
The three modes
| Mode | What happens to each request | Reach for it when |
|---|---|---|
auto | Marshal approves it. The agent never stops to wait. | The task is routine and the manifest already limits what the agent can reach. |
ask | The request goes to a person as a question. An approval lets the agent continue. Any other answer, or no answer, refuses the request. | You want a person to clear each step. |
deny | Marshal refuses it. The agent carries on with what it is allowed to do. | The run should only read and report, and nothing else. |
auto is the default. A run you start without a mode runs in auto, and so does every run a deputy fires, because a deputy works without anyone watching.
Questions in ask mode
In ask mode each request reaches the right person on Home and in Slack, like any other question from a run. See Home and notifications. Answer it from the run page. The run parks while it waits and picks up the moment you answer.
Choose a mode
- Starting a run from the CLI. Pass
--permission-mode auto,--permission-mode askor--permission-mode deny. Add--driver-mode acpforask. See Start a run from the CLI. - Launching child runs. A run or space that starts child runs sets the mode for each child, and a stack can cap it. See Orchestration.
ask needs --driver-mode acp. deny is refused with --driver-mode print. Marshal checks this when you start the run, so you learn about a mismatch before any work begins.
See what a run used
The run page shows the mode in the run details, under permissions. The Activity counts panel shows how many requests were approved and how many were denied, so you can tell what the agent was cleared to do.