Skip to main content
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.
Agent inputs, context, and tool results may contain sensitive data. Keep DevTools output out of source control and production images.
Last modified on July 26, 2026