
Frameworks with Built-In Support
These frameworks set the required attributes automatically through their auto-instrumentors — no additional setup needed:| Framework | What’s tracked |
|---|---|
| LangGraph | Agent nodes and graph transitions from LangGraph’s native node metadata |
| AutoGen | graph.node.id, graph.node.parent_id, agent handoffs |
| CrewAI | Agent roles and task relationships |
| OpenAI Agents | Agent metadata via OpenInferenceTracingProcessor, handoffs |
| Agno | Agent names and team relationships |
Custom Implementation
Add these attributes to your agent spans:| Attribute | Required | Description |
|---|---|---|
graph.node.id | Yes | Unique name for the agent/node |
graph.node.parent_id | Recommended | ID of the parent node. If omitted, Arize infers from span hierarchy |
Multi-Level Hierarchy
For agents that call sub-agents, nest the spans and setgraph.node.parent_id to point to the parent. Arize uses these relationships to build the graph: