Skip to main content
These APIs enable tracing. They do not enable reflection by themselves. Use the same explicit client for tracing and Reflect when combining them. LangChain, LangGraph, and DeepAgents use callback handlers passed to native invocation configuration. Their inherited callback methods are framework hooks; applications normally construct a handler once and let the framework call it. The callback contracts below include those inherited SDK methods. Other integrations use the framework’s adapter, processor, query wrapper, or agent wrapper. Register instrumentation once at application startup. See Reflect integrations for memory tooling and reflection continuation. Await OpenAI Agents instrument() or use its processor factory with the native SDK. Claude integration wraps the query function because ESM modules cannot be patched like Python modules. Vercel model middleware instruments LLM calls; wrapVercelAgent adds the agent/step/tool hierarchy. Google ADK and CrewAI are not TypeScript exports.

On this page

AdapterOptions, ClaudeAgentSDKAdapter, DeepAgentsCallbackHandler, LangChainCallbackHandler, LangGraphCallbackHandler, OpenAIAgentsAdapter, TraceProcessor, VercelAgentOptions, VercelMiddlewareOptions, pandaProbeMiddleware, wrapClaudeAgentQuery, wrapVercelAgent.

Example

Full native setup examples are in the tracing integrations and Reflect integrations.

AdapterOptions

Also exported from pandaprobe/integrations/langgraph, pandaprobe/integrations/deepagents, pandaprobe/integrations/claude-agent-sdk, pandaprobe/integrations/openai-agents. Source declaration

Fields and properties

ClaudeAgentSDKAdapter

Source declaration

Constructor

Methods

Wrap the SDK query function so each call is traced.

DeepAgentsCallbackHandler

DeepAgents callback handler. A deep agent is a LangGraph compiled graph under the hood, so the standard LangChain callback interface captures the full trace tree (including sub-agent invocations). Pass via config: { callbacks: [handler] }. Source declaration

Constructor

Fields and properties

Methods

LangChainCallbackHandler

LangChain callback handler for create_agent, LCEL chains, and custom Runnables. Pass via config: { callbacks: [handler] }. Source declaration

Constructor

Fields and properties

Methods

LangGraphCallbackHandler

LangGraph callback handler that maps graph events to PandaProbe traces. Pass via config: { callbacks: [handler] }. Source declaration

Constructor

Fields and properties

Methods

OpenAIAgentsAdapter

Source declaration

Constructor

Methods

Build the tracing processor object (register it with the Agents SDK).
Register the processor with the @openai/agents SDK. Returns true on success, false if the SDK is unavailable or exposes no known hook.

TraceProcessor

The TracingProcessor object shape expected by @openai/agents. Source declaration

Methods

VercelAgentOptions

Source declaration

Fields and properties

VercelMiddlewareOptions

Source declaration

Fields and properties

pandaProbeMiddleware

Build a PandaProbe middleware object for the AI SDK’s wrapLanguageModel. Source declaration

wrapClaudeAgentQuery

Wrap the Claude Agent SDK query function so each call is traced. Source declaration

wrapVercelAgent

Instrument a native ToolLoopAgent instance or constructor without changing its public types. Type parameters: T extends object. Source declaration

Signatures and fields are generated from the SDK source. See the import index for available entry points.