Integrating Agno with Arize Phoenix
Arize Phoenix is the open-source observability and evaluation platform from Arize AI for tracing, evaluating, and debugging LLM applications and AI agents. By integrating Agno with Arize Phoenix, you can use OpenInference to send traces and understand your agent’s runtime behavior. Phoenix is a good fit for local development, OSS workflows, and self-hosted experimentation. Teams that need the full-featured platform for production AI observability and evaluation can use Arize AX, available as managed cloud or enterprise self-hosted deployment. For examples of how traces turn into evaluation workflows, see Arize’s agent evaluation guide and LLM evaluation guide.Prerequisites
-
Install Dependencies
Ensure you have the necessary packages installed:
-
Setup Arize Phoenix Account
- Create an account at Arize Phoenix.
- Obtain your API key from the Arize Phoenix dashboard.
-
Set Environment Variables
Configure your environment with the Arize Phoenix API key:
Sending Traces to Arize Phoenix
Example: Using Arize Phoenix with OpenInference
Instrument your Agno agent with OpenInference and send traces to Arize Phoenix.
Arize Phoenix Trace
Example: Local Collector Setup
For local development, you can run a local collector usingNotes
- Environment Variables: Ensure your environment variables are correctly set for the API key and collector endpoint.
- Local Development: Use
phoenix serveto start a local collector for development purposes.