Agno

Trace Agno AI agent workflows with Respan.
  1. Sign up — Create an account at platform.respan.ai
  2. Create an API key — Generate one on the API keys page
  3. Add credits or a provider key — Add credits on the Credits page or connect your own provider key on the Integrations page

Add the Docs MCP to your AI coding tool to get help building with Respan. No API key needed.

1{
2 "mcpServers": {
3 "respan-docs": {
4 "url": "https://mcp.respan.ai/mcp/docs"
5 }
6 }
7}

What is Agno?

Agno is a Python framework for building AI agents with built-in reasoning, tool use, and OpenInference instrumentation. The Respan exporter captures Agno’s trace data and sends it to Respan.

Setup

1

Install packages

$pip install agno openinference-instrumentation-agno respan-exporter-agno
2

Set environment variables

$export RESPAN_API_KEY="YOUR_RESPAN_API_KEY"
$export OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
3

Initialize and run

1from agno.agent import Agent
2from agno.models.openai import OpenAIChat
3from respan_exporter_agno import RespanAgnoInstrumentor
4
5# Initialize Respan instrumentation
6RespanAgnoInstrumentor.instrument(api_key="your-api-key")
7
8# Create and run agent
9agent = Agent(
10 model=OpenAIChat(id="gpt-4o-mini"),
11 instructions="You are a helpful assistant.",
12)
13agent.print_response("Tell me a joke about AI")
4

View your trace

Open the Traces page to see your agent trace.

Agno agent trace

Configuration

ParameterTypeDefaultDescription
api_keystrRESPAN_API_KEY env varRespan API key.
endpointstr | NoneNoneCustom ingest endpoint URL.
base_urlstr | NoneNoneAPI base URL.
environmentstr | NoneNoneEnvironment label.
customer_identifierstr | NoneNoneDefault customer identifier.

See the Agno Exporter SDK reference for the full API.