How you choose whether your agents' purchases and orders wait for you, for the whole account or for one agent. The switch works with controls on or off, and it is free.
The account has one setting, and an agent can have its own. An agent without its own follows the account.
These always apply, whatever the switch says: your credit and an agent's budget still refuse what they cannot cover, a policy that holds an action still holds it, and the changes that need a signed-in browser still need one.
Is my account on ask first or trust my agents?The client calls stack_get_trust. The answer says what is set, what is in effect, and whether that comes from the agent, the account or the default.
npx @getstackrun/cli trust get
npx @getstackrun/cli trust get agt_123# The whole account.
npx @getstackrun/cli trust set ask_first
# One agent.
npx @getstackrun/cli trust set trust_agents agt_123
# Let that agent follow the account again.
npx @getstackrun/cli trust clear agt_123await stack.trust.set('ask_first');
await stack.trust.set('trust_agents', 'agt_123');
await stack.trust.clear('agt_123');To hold specific actions whatever the switch says, write a rule: see Policies and Approvals.