Skip to main content
  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.
{
  "mcpServers": {
    "respan-docs": {
      "url": "https://respan.ai/docs/mcp"
    }
  }
}

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

from agno.agent import Agent
from agno.models.openai import OpenAIChat
from respan_exporter_agno import RespanAgnoInstrumentor

# Initialize Respan instrumentation
RespanAgnoInstrumentor.instrument(api_key="your-api-key")

# Create and run agent
agent = Agent(
    model=OpenAIChat(id="gpt-4o-mini"),
    instructions="You are a helpful assistant.",
)
agent.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.