> ## Documentation Index
> Fetch the complete documentation index at: https://aivision.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Read the relevant procedure and prerequisites before suggesting commands. Cite the section and give an observable check. Treat sample data as illustrative. Report product actions and results only when verified in the user's environment.

# Investigate three trace patterns

> Compare execution paths, group intermittent failures, and locate deviations in a longer call chain.

Find the execution in [Agent traces](https://aivision.mintlify.site/en/guides/traces.md) first. The scenarios below are hypothetical; their numbers are not product benchmarks or customer results.

## The same task became slower

Select one normal and one unusual Trace, keeping inputs, model, Agent version, and environment as similar as possible. Open their details separately for a manual comparison.

Use [user input and its source](https://aivision.mintlify.site/en/guides/user-input.md) to find relevant messages, then compare the source calls' full context. Root input fields or one source's last user message alone does not establish that the tasks were identical.

| Comparison | Normal example | Unusual example |
| - | - | - |
| Duration | 20 seconds | 35 seconds |
| Tool activity | One successful query | A failed query followed by two retries |
| Next action | Generate answer | Generate answer after retries |

Find the first path difference in Chain, inspect the extra calls in Timeline, and check their arguments and errors. Parent duration can include child duration, and children can overlap; do not add all span durations together.

Conclude that extra retries explain part of this trace's duration, rather than judging a client or model from only two executions. Recheck a comparable task after the fix.

[![Calls following a tool error (source excerpt)](https://mintcdn.com/aivision/4-JwUfsIEnWxcWuE/assets/figures/yuque-tool-error-chain.png?fit=max\&auto=format\&n=4-JwUfsIEnWxcWuE\&q=85\&s=7a561247eebe6f906a7200db0ad6bb09)](https://aivision.mintlify.site/assets/figures/yuque-tool-error-chain.png)

Calls following a tool error (source excerpt) · Open full size

The red ERROR badge locates a failed node. This is a separate record, unrelated to the hypothetical 20-second / 35-second example above. Check arguments and results before calling subsequent calls retries.

## A model call fails intermittently

1. Find several failures by time, error summary, or known Trace IDs, and keep a successful example for comparison.
2. Check whether failures converge on the same model, tool, or step. The last failing node may be propagating an earlier error.
3. Inspect the node's raw JSON for collected request parameters, errors, and adjacent tool results.
4. Compare parameters, inputs, and models against the successful example.
5. Record shared features and reproducible conditions before changing application code or configuration and verifying the change.

When request parameters were not collected, gather application-side evidence. Changing views cannot recover content filtered by Privacy mode.

## A request crosses multiple components

The call tree only connects spans that were actually collected and correctly associated with the same Trace. If only Agent internals appear, check service-side instrumentation and context propagation first.

Expand from the entry point to the first error, unusual delay, or unexpected result. Inspect its parent, input origin, and downstream effects to distinguish an error's origin from its propagation. Missing spans prevent you from inferring the complete chain from the diagram.

## Preserve a reviewable conclusion

Record the space and Agent, execution time, Trace ID, relevant Span ID, expected result, actual symptom, and evidence supporting or contradicting the hypothesis. Review content scope before exporting JSON or using [Session sharing](https://aivision.mintlify.site/en/guides/sessions.md).

If the execution is missing, use [missing-data troubleshooting](https://aivision.mintlify.site/en/help/no-data.md). Once a recurring condition is well understood, consider expressing it as a [diagnoser](https://aivision.mintlify.site/en/guides/diagnosers.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.