Approvals and grants
You decide how much an agent can do in a session before it asks you. The same setting covers Studio Chat and any agent you connect.
Choose how often the agent asks
Open the session, select Settings in its header, then Approvals:
| Setting | What happens |
|---|---|
| Before each step | You approve every plan, run and change |
| Once, for the plan | You approve the plan once. Runs and changes it covers go ahead |
| Don’t ask | Requirements, plans, changes and runs go ahead without asking. New sessions start here |
A change reaches the agent on its next step, without reconnecting. Agents can’t change this setting. Work that isn’t part of a Studio session asks before every step.
Whatever the setting, the agent always asks before anything public or shared, deleting or archiving, giving itself standing permissions, changing the session’s requirements or run limit, going over a limit, and publishing. Your account permissions and spending limits still apply.
What you approve
When the agent asks, it shows you a proposal for one exact action. Check:
| Field | Why it matters |
|---|---|
| Hardware | The compute the run will use |
| Cost | The most the run can charge |
| Base revision | The exact state of the Lab the action applies to |
| Findings | What the preflight checks noticed |
| Expiry | Proposals are short-lived; an expired one has to be prepared again |
Your approval is bound to that proposal. If the Lab has changed by the time the agent acts, the action is refused and the agent has to prepare it again, because what you read is no longer what would run.
Approving requirements or a plan doesn’t approve publishing. Continuing a session with another agent doesn’t hand over the first agent’s approvals.
Grants
A grant lets one approval cover several actions, which helps when you’d otherwise approve the same thing repeatedly. Giving an agent a grant always needs your explicit approval.
- Run grant: up to 10 runs of one plan, for a window you choose between 60 seconds and 24 hours.
- Workflow grant: up to 10 pairs of a managed run plus a private publication of its result, all from the same Lab revision. A grant that asks for a public release is refused.
Revoking a grant stops what’s left of it. It doesn’t cancel work already running or delete anything already produced.
For agents and integrations
Every action that changes a Lab, runs compute or publishes has two steps: a prepare call returns a proposal with its plan_id and plan_sha256, and the matching apply, create or execute call carries it out. The prepare result says whether the person needs to confirm under the session’s current setting.
| Prepare | Carry out | Covers |
|---|---|---|
workspace_<action>_prepare | workspace_<action>_apply | One change to a private Lab: files, components, connections, inputs, manifest, requirements and more |
run_prepare | run_create | One managed run |
experiment_prepare | experiment_create | Every arm of an experiment |
publish_prepare | publish_execute | One release |
hosting_prepare | hosting_execute | Hosting a Lab |
run_grant_prepare | run_grant_create | A run grant |
workflow_grant_prepare | workflow_grant_create | A workflow grant |
Carrying out the same approved plan again returns the original result rather than running twice. Check a grant with run_grant_get or workflow_grant_get, revoke it with run_grant_revoke or workflow_grant_revoke, and cancel a run with run_cancel.
See the tool reference for scopes.