Skip to main content

Prerequisites

  • Python 3.10 or later
  • A PandaProbe account with an API key

Install the SDK

Base install:
pip install pandaprobe
Optional extras:
ExtraInstall CommandDescription
OpenAIpip install pandaprobe[openai]Traces Chat Completions and Responses API
Anthropicpip install pandaprobe[anthropic]Traces Messages API
Geminipip install pandaprobe[gemini]Traces generate_content API
LangGraphpip install pandaprobe[langgraph]LangGraph callback handler
Google ADKpip install pandaprobe[google-adk]Google Agent Development Kit adapter
Claude Agent SDKpip install pandaprobe[claude-agent-sdk]Claude Agent SDK adapter
CrewAIpip install pandaprobe[crewai]CrewAI adapter
OpenAI Agentspip install pandaprobe[openai-agents]OpenAI Agents SDK adapter
Install multiple extras:
pip install pandaprobe[openai,anthropic,gemini]

Configure environment variables

Minimum required setup:
export PANDAPROBE_API_KEY="your-api-key"
export PANDAPROBE_PROJECT_NAME="my-project"
You can also configure the SDK programmatically via pandaprobe.init(). See Project Configuration for details.
For the full list of variables, see Environment variables.

Verify installation

import pandaprobe
print(pandaprobe.__version__)