> ## 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 Go Agent SDK runs in the local Phaseo DevTools event format.

DevTools capture writes a structured JSONL record for each run and continuation. It is useful while building timelines, approval interfaces, and tool-call views.

```go theme={null}
result, err := agent.Run(ctx, phaseoagent.RunOptions{
  Input: prompt,
  Client: client,
  Devtools: phaseoagent.CreateAgentDevtools(".phaseo-devtools"),
})
```

The record includes run status, usage, model attempts, tool calls, pauses, request metadata, and errors. Continuations are linked through the same run identity.

Do not treat local capture as your production audit store. Apply your own retention, access control, redaction, and encryption rules before persisting sensitive prompts or tool results.
