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
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
Usehuman_review(...) to inspect a completed model turn and request 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