> ## 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.

# DevTools

> Capture .NET Agent SDK runs locally for development and debugging.

Enable local JSONL capture with `AgentSdk.CreateAgentDevtools(...)` and pass it in `RunOptions`.

Captured entries include run status and duration, model/provider details, request IDs, messages, steps, tool activity, usage, cost, and structured errors.

<Warning>
  Agent inputs, context, and tool results may contain sensitive data. Keep DevTools output out of source control and production images.
</Warning>

## Related

* [Lifecycle hooks](./agent-sdk-lifecycle-hooks)
* [Errors and troubleshooting](./agent-sdk-observability)
