Skip to main content

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

  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 open your Phoenix instance 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

Arize Phoenix Trace

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.