For the complete documentation index, see llms.txt. This page is also available as Markdown.

iai traces diff

Compare two turns and show where their decision paths diverge

Synopsis

Compare two traces side by side: routine activations, tools called, and the per-iteration journey decision path. Highlights the iteration where the agents selected different routine follow-ups — i.e. where their behavior diverged.

Uses the platform API with dual authentication (API key or session).

iai traces diff <trace-id-a> <trace-id-b> [flags]

Examples

  iai traces diff abc123 def456
  iai traces diff abc123 def456 --json | jq '.journey'

Options

  -h, --help                  help for diff
      --json                  Output the diff as JSON
  -o, --organization string   Organization name that owns the project
  -p, --project string        Project name
      --yaml                  Output the diff as YAML

Options inherited from parent commands

SEE ALSO

  • iai traces - Browse agent decision traces with full attribution

Last updated

Was this helpful?