OpenAI
LangChain
LangGraph
PydanticAI
PydanticAI agents are automatically traced, including multi-turn conversations. The SDK ensures that all LLM calls within an agent execution share the same trace, and consecutive conversation turns share the same trace ID when using shared message history.When you pass the same
message_history list across multiple agent runs, ZeroEval automatically groups all runs under a single trace. This provides a unified view of the entire conversation.LiveKit
The SDK automatically creates traces for LiveKit agents, including events from the following plugins:- Cartesia (TTS)
- Deepgram (STT)
- OpenAI (LLM)
Claude Agent SDK
Anthropic’s Python Claude Agent SDK (claude-agent-sdk) is automatically traced. Each agent turn becomes its own ZeroEval trace, and all turns in the same Claude conversation are grouped into one ZeroEval session via the claude_session_id attribute.
One-shot query
Multi-turn conversation
WithClaudeSDKClient, each query() call opens a new trace while all turns in the same conversation share a single session.
ZeroEval automatically captures assistant output, tool use and tool result summaries, total cost, token usage, stop reason, permission decisions from
can_use_tool callbacks, hook metadata, and partial stream event counts when include_partial_messages is enabled.Only public Claude Agent SDK APIs are instrumented — private transport and protocol internals are not patched. The Claude CLI’s own OpenTelemetry output (beta) is separate from this integration; if you need both, enable
CLAUDE_CODE_ENABLE_TELEMETRY=1 in ClaudeAgentOptions.env and point an OTLP collector at each backend independently.Need help? Contact us at [email protected] or join our Discord.