Skip to main content
Action tracing provides comprehensive visibility into your automation workflows through two complementary features: detailed step logging and visual GIF recording.

Action Trace Response

An action trace records the individual browser actions performed by /Operator, such as navigating, typing, clicking, and selecting elements. In the Python SDK, access it through response.action_trace. For Agent Studio custom-agent workflow steps and nested workflows, use Workflow Trace instead.

Operator Traces

Simple action logs for /Operator commands:

Operator Action Timing

Timed Operator browser actions include optional startTs, endTs, and durationMs fields. The first two are Unix epoch milliseconds measured in the browser, and durationMs is the elapsed milliseconds between them. Composite actions can include nested children; timing currently describes the parent action rather than each child. The synthetic Done item has no timing fields.
In the Python SDK, the same fields are available on response.action_trace items as start_ts, end_ts, and duration_ms.

Nested Operator Traces

When a custom workflow invokes Operator, that workflow step can include its Operator action trace:

Legacy Custom Agent Step Types

Legacy custom-agent action traces use a step_type field to identify the action. The full list of supported step types:

Formatting Example

Convert action traces to readable markdown (handles multiple custom agent step types):

GIF Recording

The SDK automatically compiles frames into an animated GIF showing the complete automation trajectory.
1

Automatic Directory Creation

Narada automatically creates a directory structure for your GIFs:
  1. Main Directory: Narada Downloads in your machine’s Downloads folder
  2. Request Directory: Directory named after your request_id from the SDK response
  3. File: Automation saved as an animated .gif file
If the Narada Downloads directory doesn’t exist, it will be created automatically.
2

Find Your GIF File

Navigate to your Downloads folder and look for:
Each GIF request gets its own directory named after the request_id for easy correlation with your SDK calls.

Best Practices

Debugging

Use action traces for programmatic debugging and GIFs for visual verification

Auditing

Action traces provide detailed audit logs for compliance and monitoring

Documentation

GIFs document visual workflows while action traces capture step-by-step logic

Analysis

Parse action traces to analyze automation patterns and optimize workflows