> ## Documentation Index
> Fetch the complete documentation index at: https://phaseo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# State and approval

> Pause C# agents for human decisions and continue application-owned state.

Use `AgentDefinition.HumanReview` for a general checkpoint. Approval-gated and manual tools populate `Run.Pause.PendingToolCalls` with exact call IDs.

Continue through `Agent.ContinueRun(...)` with:

* `ToolDecision` records in `Approvals` or `Rejections`
* `ToolOutput` records for work completed by your application
* `HumanInput` for a general review pause
* either the prior `RunResult` or `RunId` with an `IStateAccessor`

Decisions are matched by call ID, so concurrent calls to the same tool stay distinct.

Implement `IStateAccessor.Load(...)` and `Save(...)` when runs must survive requests or process restarts. Phaseo does not host Agent SDK run state.

## Related

* [Tools](./agent-sdk-tools)
* [Run controls](./agent-sdk-run-controls)
