Skip to main content
RunResult is serializable with Serde. Store it in your own database, object store, or job record when a pause must survive a process restart.

Save paused state

Restore state

Recreate the same agent definition and tools before continuing. Closures and AgentDefinition are not part of the serialized run. The effective model and maximum step count are stored in RunRecord, so per-run overrides remain active after continuation.

Human review

Use human_review(...) to inspect a completed model turn and request human input:
Resume with human input:

Pause kinds

Application-owned persistence

The Rust Agent SDK does not provide a hosted state backend or persistence adapter. Your application owns:
  • encryption and retention of stored runs
  • authorization for approvals and human input
  • recreation of tool executors
  • idempotency around resumed side effects
Last modified on July 26, 2026