Agno

Arize provides observability and tracing for Agno agents through the OpenInference instrumentation package. This integration automatically captures agent interactions, tool usage, reasoning steps, and multi-agent conversations, giving you complete visibility into your Agno applications. Monitor performance, debug issues, and evaluate agent behavior in real-time as your agents execute complex workflows and collaborate in teams.

Agno is a lightweight, high-performance Python framework for building AI agents with tools, memory, and reasoning capabilities. It enables developers to create autonomous agents that can perform complex tasks, access knowledge bases, and collaborate in multi-agent teams. With support for 23+ model providers and lightning-fast performance (~3μs instantiation), Agno is designed for production-ready AI applications.

Key Agno Features

  • Model Agnostic: Connect to OpenAI, Anthropic, Google, and 20+ other providers

  • Lightning Fast: Agents instantiate in ~3μs with minimal memory footprint

  • Built-in Reasoning: First-class support for chain-of-thought and reasoning models

  • Multi-Modal: Native support for text, image, audio, and video processing

  • Agentic RAG: Advanced retrieval-augmented generation with hybrid search

  • Multi-Agent Teams: Coordinate multiple agents for complex workflows

  • Production Ready: Pre-built FastAPI routes and monitoring capabilities

Install

pip install openinference-instrumentation-agno agno arize-otel

Setup

Use the register function to connect your application to Phoenix.

from arize.otel import register

tracer_provider = register(
    space_id = "your-space-id", # in app space settings page
    api_key = "your-api-key", # in app space settings page
    project_name = "your-project-name", # name this to whatever you would like
)

# Import the automatic instrumentor from OpenInference
from openinference.instrumentation.agno import AgnoInstrumentor

# Finish automatic instrumentation
AgnoInstrumentor().instrument(tracer_provider=tracer_provider)

Observe

Now that you have tracing setup, all Agno requests will be streamed to Phoenix for observability and evaluation.

from agno.agent import Agent
from agno.models.openai import OpenAIChat
from agno.tools.duckduckgo import DuckDuckGoTools

agent = Agent(
    model=OpenAIChat(id="gpt-4o-mini"),
    tools=[DuckDuckGoTools()],
    markdown=True,
    debug_mode=True,
)

agent.run("What is currently trending on Twitter?")

Resources

Last updated

Was this helpful?