Pydantic

@pydantic.dev

The end-to-end AI engineering stack AI observability at scale without fail with Pydantic Logfire. Iterate with Pydantic Evals. Build type-safe agents with Pydantic AI. Track costs with AI Gateway.

A model discovered a contradiction between the Bible and biology textbooks. It had access to a lot of compute so it consumed an entire data center's worth of it, debating the Immaculate Conception with itself. This talk is 15 mins of real production AI failures and what it took to debug them.

Bild

"The best navigation is the kind nobody notices." On Part 2 of Lies, Damn Lies, and the Box Model, @summerscope talks about the design process behind Logfire's sidebar. The trade-offs, and what "directionally correct" means in practice. Part 3 (and final) out tomorrow.

A few weeks ago our founder announced Monty, a minimal, secure Python interpreter written in Rust, for running code written by AI agents. People got excited. @sa.muelcolvin.com just wrote up the full story on why he's excited about it and you should be too. pydantic.dev/articles/pyd...

Pydantic Monty: A Minimal Python Sandbox for AI Agents | Pydantic

Meet Monty — a secure, minimal Python interpreter written in Rust for running AI-generated code. Learn where it sits between tool calling and full computer use, and why CodeMode matters for AI agents.

pydantic.dev

Pydantic AI Gateway is now in open beta 🚀 One API key for OpenAI, Anthropic, Google, Groq, and Bedrock. BYOK and Built-in providers. Real cost limits. Built-in observability. Zero translation delays. Free during beta. pydantic.dev/ai-gateway

Enterprise AI Gateway: Unified Access to Major AI Models

The Pydantic enterprise-grade AI Gateway provides secure & scalable single API key interface to manage models from OpenAI, Google, Anthropic, Groq & others

pydantic.dev

I added two new demos showing durable agent patterns (parallel vs sequential) with @pydantic.dev AI + @dbos.dev: - Deep Research: large fan-out parallel workflows - Twenty Questions: long sequential subagent chaining Both are long-running, so durable execution is necessary to survive crashes.

Workflow graph for the deep research agent, showing massive parallel processing (fan-out).

I wrote a tutorial on integrating DBOS with Logfire. It's super easy to set up (kudos to the @pydantic.dev team!) -> just a few lines to configure the exporter and your Logfire write token. Once it's running, you'll get a unified view of your app with logs + traces in one place.

A screenshot of using Logfire + DBOS + Pydantic AI agent.

Several people (thanks to @mitsuhiko.at and @sa.muelcolvin.com) noted early on that DBOS had too many dependencies. In the latest Python release, we trimmed it down to just 6 direct deps while still implementing durable workflows and queues in one library. It's lightweight (for real).

uv tree for dbos v2.0.0