Skip to main content

Approval-gated deployment

Run the agent and persist the returned record when its status is waiting_for_human. Continue it with a decision keyed by the pending tool-call ID.

Stream into a terminal

Bound autonomous research

Combine StepCountIs, MaxTokensUsed, MaxCost, and MaxDuration so a long-running agent cannot exceed the product budget even when it keeps finding useful work. See tools, state and approval, and stop conditions for complete contracts.
Last modified on July 26, 2026