This Pydantic documentation guide shows Python developers how to send evaluations from Pydantic Evals (pydantic-evals), a Python package for evaluating AI agents or other task functions against datasets of test cases, to Pydantic Logfire, a hosted, OpenTelemetry-compatible service with a web interface for viewing traces. Using the hosted view sends evaluation data and task traces to Logfire. It covers installation, token configuration, case details, run comparison, CI provenance and OpenTelemetry span attributes.
Pydantic AI tools and skills reviewed
Pydantic AI Harness is a Python library for developers building coding, research and other long-running AI agents, but its local workspace is not a sandbox and minor-version upgrades can require code changes. It adds composable capabilities to Pydantic AI, including ready-made agents, memory, delegation, context management and optional execution controls.
Multi-Run Evaluation is a Pydantic Evals guide for Python developers measuring variation in AI tasks, but its examples use a deterministic function. It explains the repeat parameter, grouping runs by their original case and calculating averages that give each original case equal weight.
Advanced Tool Features is a Pydantic AI guide for Python developers building AI agents; several of its controls, including strict schemas, forced tool choice, returned files and tool search, behave differently across models and providers. It explains rich tool results, argument validation, dynamic tool availability, retries, approval, concurrency and tool search, including how these choices affect message history and prompt caching.
The Researcher guide teaches Python developers to add web research to Pydantic AI agents, but the documented setup needs a workspace or another store for oversized results. It covers search, page fetching, delegation and tool-output limits, with a warning that the Harness API may change during 0.x releases.
Pydantic AI Common Tools is a guide for Python developers adding web access to AI agents, but its Exa common tools are deprecated. It explains DuckDuckGo search, web-page fetching and Tavily search, including optional dependencies, agent integration, retrieval limits and credential-handling precautions.
This Pydantic AI guide teaches Python developers to share AI agents with other applications, but its sampling client needs a real model call added. It demonstrates Model Context Protocol (MCP) servers, Python clients and model requests routed through the client.
Managed Prompt is a guide for Python developers updating Pydantic AI agent instructions through Logfire, with prompt text and targeting data recorded in telemetry. It explains defaults, labels, rollouts, user targeting, optional templates and effects on provider prompt caching.
This guide helps Python developers coordinate Pydantic AI sub-agents, but scripts run in a restricted sandbox and the API may change during 0.x releases. It explains how DynamicWorkflow combines parallel calls, chains and retry loops inside one tool call, with controls for agent calls, token usage and sandbox resources.
PromptInjectionDefender is a Python capability for developers building Pydantic AI agents whose tools return untrusted text, such as emails, tickets or web pages. It checks what local tools return for hidden instructions (indirect prompt injection). Its main catch is that it only reports by default and only inspects text from locally run tools, so it is a partial safeguard, not a complete defence. Technically it is a capability in the pydantic-ai-harness package. It runs in the after_tool_execute hook and classifies results with StackOne's defender-py library. With block_high_risk=True it replaces results rated high or critical risk with a short notice before the model sees them. Optional local ML detection can be switched on with semantic_detection=True.
The Pydantic AI Harness Subagents guide is documentation for Python developers using Pydantic AI that shows how one AI agent can hand self-contained tasks to named child agents, each of which needs a complete brief because it cannot see the parent conversation. It covers named agents, model routing, usage controls, background tasks and remote workers, alongside important security and durable-execution limits.
Pydantic AI’s Multi-agent Applications guide teaches Python developers how to coordinate AI agents, but it does not explain installation or model-provider setup. It covers delegation, application-controlled hand-offs, shared dependencies, usage limits and tracing, with introductions to graphs and autonomous-agent capabilities.
Pydantic AI's unit testing guide teaches Python developers to check AI-agent application code without real model calls, but those checks do not establish model-answer quality. It covers TestModel, FunctionModel, agent overrides, message assertions, reusable fixtures and in-memory batch tests.
Pydantic Evals’ Online Evaluation guide shows Python developers how to monitor live AI outputs, but checks can be silently skipped when too many run at once. It explains background evaluators, configurable sampling, OpenTelemetry events, custom result handlers and integration with Pydantic AI agents.
Pydantic AI's persistence guide teaches Python developers to save agent conversations, but saving a conversation alone cannot recover a run interrupted by a crash. It explains complete conversation serialization, incremental storage, checkpoint snapshots and memory across conversations, with different mechanisms for each need.
Pydantic AI's Direct Model Requests is a documentation page for Python developers who want to call language models through one low-level API. Its main catch is that it is low-level: tool execution, retries and output parsing are left to you, or to the higher-level Agent API. The page covers five request functions (async, sync, streamed and batch), a basic example, a tool-calling example and OpenTelemetry/Logfire instrumentation.
Pydantic AI’s Multimodal Input guide helps Python developers send files and structured data to agents, but support varies by model and provider. It explains input classes, file downloads, uploaded-file references and how application data becomes model input.
Pydantic AI vs Strands Agents is a comparison guide for developers choosing an AI agent framework, with the catch that Pydantic publishes it and includes its wider product stack in the comparison. It covers languages, structured output, agent capabilities, observability, AWS deployment and CI, without benchmarks or pricing.
This Pydantic-written guide compares Pydantic AI, a general Python framework for building AI agents, with the OpenHands Software Agent SDK, a Python SDK for coding agents, for Python developers choosing between them; it compares OpenHands with a wider Pydantic stack and supplies no performance measurements. It covers agent architecture, tools, execution environments, integrations and CI options.
This Pydantic documentation page compares Pydantic AI with Microsoft Agent Framework to help developers choose a framework for building AI agents; its Pydantic side also includes companion components such as the Harness SDK, Pydantic Evals, Pydantic Graph and Logfire. It covers language support, typed agents, workflows, harness features and integrations without providing performance measurements or pricing.
