Skip to main content
All operations are automatically associated with the agent that originated them. Agents are given a name which is what you will see in the dashboard.

This operation is labeled with the name of the Agent that originated it

The example below creates an agent class with a custom name:
If you don’t specify a name, the agent will use the class name by default:

Nesting Operations Under Agents

Operations performed by an agent should be decorated with the @operation decorator to ensure they’re properly nested under the agent:

Session Context

Agents should be created within a session context to ensure proper tracing: