Skip to main content

Integrating Agno with Arize Phoenix

Arize Phoenix is a platform for monitoring and analyzing AI models. By integrating Agno with Arize Phoenix, you can use OpenInference to send traces and gain insights into your agent’s performance.

Prerequisites

  1. Install Dependencies Ensure you have the necessary packages installed:
  2. Setup Arize Phoenix Account
    • Create an account at Arize Phoenix.
    • Obtain your API key from the Arize Phoenix dashboard.
  3. 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.
Now go to the phoenix cloud and view the traces created by your agent. You can visualize the execution flow, monitor performance, and debug issues directly from the Arize Phoenix dashboard.
arize-agno observability
  • Example: Local Collector Setup

For local development, you can run a local collector using

Notes

  • Environment Variables: Ensure your environment variables are correctly set for the API key and collector endpoint.
  • Local Development: Use phoenix serve to start a local collector for development purposes.
By following these steps, you can effectively integrate Agno with Arize Phoenix, enabling comprehensive observability and monitoring of your AI agents.