Skip to main content
Note:You can use traces only in:
Traces give you a high-level view of what happens when an agent receives a request. They visualize the complete path a request takes through the agent, so you can understand agent behavior. A tracer records observations with detailed information about specific operations. Each observation represents a distinct unit of work or activity. With the watsonx Orchestrate ADK, you can access traces and their observations in two ways:
  • Using ADK CLI Run the orchestrate observability traces command to retrieve traces from your active environment.
  • Using a Python script Use the ADK Python library to write a script that retrieves traces from your watsonx Orchestrate environment.
You can also access traces through the UI and the API. For more information, see Trace details and Observability.