AgentsApprovals and grants

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:

SettingWhat happens
Before each stepYou approve every plan, run and change
Once, for the planYou approve the plan once. Runs and changes it covers go ahead
Don’t askRequirements, 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:

FieldWhy it matters
HardwareThe compute the run will use
CostThe most the run can charge
Base revisionThe exact state of the Lab the action applies to
FindingsWhat the preflight checks noticed
ExpiryProposals 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.

PrepareCarry outCovers
workspace_<action>_prepareworkspace_<action>_applyOne change to a private Lab: files, components, connections, inputs, manifest, requirements and more
run_preparerun_createOne managed run
experiment_prepareexperiment_createEvery arm of an experiment
publish_preparepublish_executeOne release
hosting_preparehosting_executeHosting a Lab
run_grant_preparerun_grant_createA run grant
workflow_grant_prepareworkflow_grant_createA 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.