What Is an Agent in Veritrix?
In Veritrix’s model, an agent is any autonomous process that receives an input, reasons over it (typically via one or more LLM calls), and produces an output or delegates to another agent. Agents are identified by the name you pass totrace.init or, in multi-agent setups, by the name declared on each agent node in your orchestration layer.
Each agent owns a subtree of spans within the trace. All LLM calls, tool executions, and retries that occur while that agent is in control are nested under its root span. This means you can collapse or expand any agent’s work independently when reviewing a trace.
What Is a Handoff?
A handoff is the moment one agent transfers control — and context — to another. Veritrix captures every handoff as anagent.handoff span. The span records which agent is handing off, which agent is receiving control, what payload was passed between them, and how long the transfer took.
Handoffs are the connective tissue of multi-agent architectures. By treating them as first-class spans, Veritrix lets you see not just what each agent did, but how agents communicated and whether the data passed between them was well-formed.
Multi-Agent Chains: The Parent-Child Trace Tree
When one agent calls another, Veritrix nests the receiving agent’s spans as children of theagent.handoff span. The result is a parent-child trace tree that mirrors your agent graph.
Consider a four-agent pipeline:
All agents in a chain share the same
trace_id. You never need to correlate separate trace files across agents — Veritrix stitches everything together automatically.Example: Planner → Researcher → Coder → Reviewer
Here is what the span tree looks like for a typical four-agent run:✗ symbols on the reviewer’s spans immediately surface that the failure occurred in the final stage — without requiring you to read any logs.
Parallel Calls and Retries
Veritrix handles two common patterns that make agent traces more complex than a simple linear chain: Parallel calls. When an agent fans out multiple LLM or tool calls simultaneously, Veritrix records each as a sibling span with overlapping timestamps. In the waterfall view, parallel spans are rendered side-by-side so you can see their relative start times and durations at a glance. Retries. When an LLM call fails and is retried — whether because the model returned a malformed response, hit a rate limit, or exceeded a timeout — each attempt is recorded as anllm.retry span linked to the original llm.call. You can see exactly how many retries occurred, whether they succeeded, and how much they added to the total cost and latency.
Identifying Which Agent Caused a Failure
When a multi-agent run fails, the last thing you want to do is grep through logs across four separate services. Veritrix gives you a faster path:1
Open the trace
Navigate to Traces in the sidebar and select the failed run. Traces with at least one failed span are marked with a red status badge.
2
Locate the first failing span
The waterfall view highlights failed spans in red. Veritrix also marks the earliest failed span with a root failure indicator, so you can distinguish the original failure from cascading errors in downstream agents.
3
Expand the failing agent's subtree
Click the parent
agent.handoff span to expand the subtree belonging to the agent where the failure originated. You will see the full sequence of events — including any retries — that led up to the error.4
Read the root-cause summary
Every failed trace includes an AI-generated root-cause summary that explains in plain language what broke and why. Click View summary in the trace header to read it, or share the permalink with your team.
Traces & Spans
Learn about the span payload fields and trace metadata that power the agent tree view.
Root-Cause Summaries
See how Veritrix turns failure patterns into plain-language explanations.