Make sense of complex execution paths in your LLM and agentic apps
The Weave Trace view is designed to help you make sense of complex execution paths in your LLM and agentic apps. Whether you’re debugging an agentic app with dozens of nested calls, or tracking the flow of a single model prediction, the Trace view provides a clear breakdown, while also providing alternate ways to view and understand your application flow.This guide describes how to move through the trace stack, filter and search for ops, switch between visual representations, and more.
You can switch between multiple visual representations of the trace tree depending on your needs. To switch to an alternate trace view, click one of available options (default trace view, code composition, flame graph, graph view) in the upper right corner
In the code view, boxes represent ops and their nested calls. This is helpful for visualizing flow of function calls. In this view, you can click on a box to drill into that op and filter the call path.
The flame graph view provides a timeline-based visualization of execution depth and duration. This is helpful for when trying to understand performance diagnostics over time. You can click into frames to isolate sub-traces.
Use the “Filter by op name” search bar at the top of the trace tree view to quickly isolate relevant tool or LLM calls.
Switch between views based on your debugging need. Use Code View for call logic, Flame Graph for to understand performance over time, and Graph View to understand structure.