Notebooks
A
Arize AI
Smolagents Tracing Tutorial

Smolagents Tracing Tutorial

agentsllmsLlamaIndexarize-phoenixopenaitracingtutorialsevalsllmopsai-monitoringaiengineeringprompt-engineeringdatasetsllm-evalai-observabilityllm-evaluationsmolagentsanthropiclangchain

Open In Colab

phoenix logo

Docs | GitHub | Community

Tracing Smolagents with Arize Phoenix

Install Dependencies

[ ]

Connect to Phoenix

In this example, we'll use Phoenix as our destination. You could instead add any other exporters you'd like in this approach.

If you need to set up an API key for Phoenix, you can do so here.

Keys

Note: For this colab you'll need:

  • Phoenix API key
  • Hugging Face Token
[ ]

Define the Trace Provider

[ ]

Instrument Smolagents

[ ]

Create your Smolagents & Run

Now you can create any sort of agent using the smolagents module, and Phoenix will track every step, input, output, tool, and call your agent makes.

[ ]

⭐⭐⭐ If you like this guide, please give Arize Phoenix a star ⭐⭐⭐