Notebooks
A
Arize AI
Crewai Routing Tutorial

Crewai Routing Tutorial

agentsllmsLlamaIndexarize-phoenixopenaitutorialsevalsllmopsai-monitoringaiengineeringprompt-engineeringdatasetsllm-evalcrewaiai-observabilityllm-evaluationsmolagentsanthropiclangchain

Open In Colab

phoenix logo

Docs | GitHub | Community

Tracing CrewAI with Arize Phoenix - Routing Workflow

[ ]

Set up Keys and Dependencies

Note: For this colab you'll need:

[ ]
[ ]

Configure Tracing

[ ]

Instrument CrewAI

[ ]

Define your Working Agents

[ ]

From here, there are two ways to do this -- through a routing Agent or through @router() decorator in Flows (allows you to define conditional routing logic based on the output of a method).

Option 1: Define your logic for Router Agent to classify the query & run corresponding Agent

[ ]

Examples Runs

[ ]

Option 2: Define your logic for @router() Decorator to define routing logic

[ ]

Examples Runs

[ ]

Check your Phoenix project to view the traces and spans from your runs.