Skip to main content

Common checks

Recording is unavailable

For local recording, install the CLI. For a remote server, set url and agentToken (or SOVARA_AGENT_TOKEN); see the API reference. An unreachable server may let your agent continue without recording. getTraceId() returns undefined in that case, and logging helpers do nothing. During recording, await logging calls and handle any errors. Authentication and version mismatches raise; update the component named in the error.

Missing custom steps

Import @sovara/runner before creating clients or capturing a reference to fetch. Add trace only to operations that are not already recorded:
For Claude Agent SDK calls, use the Claude wrapper.

Inspect what was recorded

Use step references shown by probe.

Traces and turns

Keep agent work inside trace() and await tasks and streams before the callback returns. Declare conversation turns with turn(); they are not created automatically. Do not nest turns in the same trace or use a different client inside it. See the usage guide.