Skip to content
masterclass Buddy

AI Agents · Concept

Pydantic AI

LangSmith captures PydanticAI agent traces through OpenTelemetry. Install the integration packages and configure the LangSmith API key, agent ID, and environment.

Last updated

Syntax

pip install langsmith pydantic-ai opentelemetry-exporter-otlp

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • PydanticAI
  • OpenTelemetry instrumentation
  • LangSmith Python SDK
  • agent addressing
  • tracer_session_name

Source: Trace PydanticAI agents - Docs by LangChain Documentation. Checked 2026-11-03.