agents
latest
false
  • Getting started
    • About this guide
    • About agents
    • Agent capabilities in the UiPath Platform™
  • UiPath Agents in Studio Web
  • UiPath Agents in Agent Builder
  • UiPath Coded agents
UiPath logo, featuring letters U and I in white

Agents user guide

Last updated Jul 9, 2025

Traces

About traces

Traces are detailed records of everything an agent does during a run, including steps taken, data processed, decisions made, and results generated. Each trace captures a complete timeline of the agent’s behavior, including timestamps, errors, inputs/outputs, and contextual metadata.

Use traces for:

  • Debugging and troubleshooting: Identify exactly where an agent failed or behaved unexpectedly.

  • Performance analysis: Evaluate latency, errors, and throughput across agent runs to optimize behavior.

  • Compliance and auditing: Maintain a verifiable record of what the agent did, when, and how — essential for audits or regulated workflows.

  • Continuous improvement: Use trace insights to fine-tune agent logic, adapt behavior, or train new models.

The following table outlines common use cases where trace visualization can enhance your ability to debug, analyze, and optimize agent behavior. Each example highlights how trace data helps uncover insights and drive better decision-making during development and runtime monitoring.

Use caseWhat traces help you do
Agent fails during tool callFind and inspect the exact step, inputs, outputs, and error
Performance is slowUse timestamps to locate bottlenecks
Investigating a spike in errorsFilter runs by status and trace the pattern
Verifying a production fixReplay the original run and confirm the issue no longer occurs
Preparing an audit reportExport or review traces that show decision paths and data handled

Trace types

Traces come in two distinct types, each serving a specific purpose in understanding and analyzing agent behavior:

  • Agent run traces: These traces capture the step-by-step execution of an agent during a live or scheduled run. They show how the agent processed data, invoked tools, handled conditions, and responded to different states in real-time.
  • Evaluation run traces: Evaluation traces are generated when an agent is tested against predefined inputs, typically during model evaluations, scenario validations, or test cases. These help assess agent accuracy, decision quality, and behavior under controlled conditions.

Accessing traces

You can access both types of traces from two key locations:

  • Agent Builder: While designing or editing an agent, switch to the Evaluations or Output tabs to inspect how the agent behaved during recent runs.

  • Agent Instances page: Navigate to the Agents > Instances section. From here, select a specific agent and select any run to open its trace view, which includes the full visual trace and log panel. For details, refer to Agent instances tab.

When viewing traces for either agent runs or evaluation runs, you gain visibility into the agent’s execution. You can:

  • See execution outcomes, as indicated with color-coded nodes: success, failure, or retry.

  • Hover over any node to preview: start and end timestamps, execution status, input and output snippets.

  • Click a node to view the details, including: complete JSON payloads, logs and errors, runtime metrics, (token usage, latency).



  • About traces
  • Trace types
  • Accessing traces

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2025 UiPath. All rights reserved.