Skip to main content
Use continuation when an agent must wait for a person, external job, or application-owned tool before proceeding. The Agent SDK returns the complete run state required to continue later.
Phaseo does not persist Agent SDK runs in a hosted agent service. Store resumable run state in your own application when it must survive a request or process restart.

Approve a tool call

Require approval only for calls that need it:
The run pauses with pending calls in run.pause.pendingToolCalls. Resume by exact call ID so concurrent calls cannot be confused:

Pause for human review

Use humanReview when the completed model response should be checked before another turn begins:
Continue with explicit human input:

Persist run state

Persist the returned AgentRunResult directly, or provide a state accessor with asynchronous load(runId) and save(result) methods. A continued run can then use runId instead of passing the serialized record through every layer. The SDK does not ship persistence adapters or a hosted state backend. Your application can keep one-shot runs in process and save only paused or incomplete runs.
Last modified on July 26, 2026