Smolagents Tracing Tutorial
agentsllmsLlamaIndexarize-phoenixopenaitracingtutorialsevalsllmopsai-monitoringaiengineeringprompt-engineeringdatasetsllm-evalai-observabilityllm-evaluationsmolagentsanthropiclangchain
Export
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.
[ ]