Pydantic's Avatar

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.

982
Followers
9
Following
36
Posts
01.11.2024
Joined
Posts Following

Latest posts by Pydantic @pydantic.dev

Preview
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.

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...

27.02.2026 17:01 πŸ‘ 13 πŸ” 4 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

We asked Adrian and Peter from @pydantic.dev what would block the Rust-accelerated Python trend from growing even more... Their answers:

20.12.2025 22:01 πŸ‘ 2 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Preview
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 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

13.11.2025 22:25 πŸ‘ 6 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0
Post image

Some personal (very belated*) news, I've moved to the bay area!

Let me know if you're in SF or Palo Alto and want to get coffee.

Also, last reminder that we have the inaugural Py AI meetup with @pydantic.dev in SF on Tuesday. Register now: luma.com/gjtfecc7

* I actually got here in the summer.

10.11.2025 02:38 πŸ‘ 8 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Workflow graph for the deep research agent, showing massive parallel processing (fan-out).

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

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.

10.11.2025 18:56 πŸ‘ 9 πŸ” 3 πŸ’¬ 1 πŸ“Œ 0
Preview
Py AI Meetup: San Francisco Β· Luma Join us for an evening of cutting-edge AI discussions featuring lightning talks from leading practitioners: Samuel Colvin (CEO of Pydantic) Reducto + Modal…

And if you want to learn more, join us at the Py AI meetup in San Francisco luma.com/gjtfecc7

05.11.2025 20:43 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
GitHub - Sentinel-One/purple-mcp Contribute to Sentinel-One/purple-mcp development by creating an account on GitHub.

SentinelOne just announced their Purple AI MCP Server at #OneCon. Now, you can access SentinelOne’s security platform with your Pydantic AI MCP agent!

Check out their GitHub repo: github.com/Sentinel-one...

05.11.2025 20:43 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
A screenshot of using Logfire + DBOS + Pydantic AI agent.

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

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.

28.10.2025 17:34 πŸ‘ 8 πŸ” 4 πŸ’¬ 1 πŸ“Œ 0
Preview
Py AI Meetup Β· Luma Join us for an evening of cutting-edge AI discussions featuring lightning talks from leading practitioners: Samuel Colvin (CEO of Pydantic) Reducto + Modal…

I'm teaming up with @sa.muelcolvin.com to launch a new meetup series, Py AI.

Our first one is November 11 in San Francisco with talks from @pydantic.dev, @modal-labs.bsky.social, ReductoAI and @fastmcp.bsky.social.

Hosted by our friends at pebblebed.com

RSVP here: luma.com/gjtfecc7

23.10.2025 19:25 πŸ‘ 7 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0
Post image

Just putting this here. Not much more to say.

@pydantic.dev

15.10.2025 20:17 πŸ‘ 10 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Post image

New social icon for @opensourcepledge.com spotted on
@pydantic.dev's website. Lookin' sharp! πŸ‘€

15.10.2025 16:07 πŸ‘ 9 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

Here's FastAPI 0.118.1, with compatibility for the latest @pydantic.dev. πŸš€

This one had the combined effort of the community, the @pydantic.dev team, and the @fastapi.tiangolo.com team, all together. πŸ™Œ

github.com/fastapi/fast...

08.10.2025 09:14 πŸ‘ 16 πŸ” 7 πŸ’¬ 0 πŸ“Œ 0
uv tree for dbos v2.0.0

uv tree for dbos v2.0.0

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).

25.09.2025 16:27 πŸ‘ 37 πŸ” 3 πŸ’¬ 1 πŸ“Œ 0
Post image

You made my day @pydantic.dev 😁
pydantic.dev/articles/pyd...

17.09.2025 12:09 πŸ‘ 4 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Preview
Vercel AI Elements types by samuelcolvin Β· Pull Request #2923 Β· pydantic/pydantic-ai This adds support for Vercel AI Elements streams to Pydantic AI. There's an example frontend in a separate repo github.com/pydantic/pydantic-ai-chat the plan is to either make that into a more ...

I think this might be MASSIVE:

Pydantic AI is getting support for @vercel.com AI Elements streaming, making it easy to build React or Next.js frontends for Pydantic AI agents.

Video demo in the PR:

github.com/pydantic/pyd...

16.09.2025 18:34 πŸ‘ 8 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Durable Execution with Temporal - Pydantic AI Agent Framework / shim to use Pydantic with LLMs

@pydantic.dev AI 🀝 Temporal

Together, run durable agents that:

βœ…Survive API failures & app restarts
βœ…Handle long-running & async tasks
βœ… Preserve progress with replay-based fault tolerance

Production-grade resilience for agents.
πŸ”— https://ai.pydantic.dev/temporal/

14.08.2025 19:36 πŸ‘ 2 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image

Played around with @logfire.pydantic.dev from @pydantic.dev during today's Python+AI office hours. Took just a couple minutes to set up and start seeing traces from agent calls!

04.09.2025 22:10 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

ICYMI, #Heroku support for @pydantic.dev is here.

To get started, all you have to do is provision Managed Inference and Agents from Heroku Elements or via the command line.

πŸ”— https://sforce.co/3Ii73mR

09.09.2025 19:56 πŸ‘ 7 πŸ” 5 πŸ’¬ 0 πŸ“Œ 0

Exciting! Thanks for working with us on this.

10.09.2025 15:20 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Durable Agents in Pydantic AI – now with DBOS support!
@pydantic.dev 🀝 DBOS

Run agents that:
- Survive restarts, failures, and deploys
- Handle long-running async + human-in-the-loop tasks
- Autosave progress with SQLite/Postgres

Production-grade resilience in just a few lines of code.

10.09.2025 15:17 πŸ‘ 8 πŸ” 2 πŸ’¬ 2 πŸ“Œ 0
Post image

The best docs are by @pydantic.dev

05.08.2025 22:38 πŸ‘ 2 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Preview
AG-UI - Pydantic AI Agent Framework / shim to use Pydantic with LLMs

Pydantic AI now supports AG-UI - an open protocol for building chat agents, meaning you can use existing frontend apps to interact with @pydantic.dev AI agents.

ai.pydantic.dev/ag-ui/#agent...

23.07.2025 17:55 πŸ‘ 11 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
Agentic analytics in Slack with ClickHouse, MCP, and PydanticAI Let’s build a self-service analytics agent that we can talk to directly in Slack, that transparently queries our ClickHouse data warehouse.

Is Slack the new BI layer for the AI era?

It's now possible to build custom, self-service agentic analytics experiences in a single afternoon thanks to Slack, @pydantic.dev @anthropic.com MCP and ClickHouse

23.07.2025 16:02 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
SE Radio 676: Samuel Colvin on the Pydantic Ecosystem – Software Engineering Radio

Podcast with @sa.muelcolvin.com on Software Engineering Radio is out!

Covers the @pydantic.dev ecosystem including Pydantic Validation, Pydantic AI and @logfire.pydantic.dev. Well worth a listen.

se-radio.net/2025/07/se-r...

11.07.2025 15:54 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

It's so pleasant to start any data project by defining the @pydantic.dev models ❀️

02.07.2025 07:42 πŸ‘ 6 πŸ” 1 πŸ’¬ 2 πŸ“Œ 0
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

Here's FastAPI 0.115.14 πŸš€

@patrick.wtf fixed support for unions of @pydantic.dev models in Form data. πŸ›πŸŽ‰

(This will make it easier to implement single sign-on πŸ˜‰)

github.com/fastapi/fast...

26.06.2025 15:34 πŸ‘ 16 πŸ” 5 πŸ’¬ 0 πŸ“Œ 1

Working on a number of AI Agent Boilerplates using #pydantic @pydantic.dev

09.06.2025 15:48 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

I’ll give a talk about @pydantic.dev AI and Logfire today 12:25 at @pyconit.bsky.social πŸ™

29.05.2025 07:42 πŸ‘ 6 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0
Creating AI Agents with Pydantic AI
Creating AI Agents with Pydantic AI YouTube video by MeeTechnically

Created a video on agents with @pydantic.dev ai
- Creating bare bones agents
- Adding tools
- Using different llm models (local and cloud)
- Running agent in different ways (a
sync/async, streamed, graph)

youtu.be/_m2YpvsdxSA

26.05.2025 18:15 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

Well done to whoever came up with the name for @pydantic.dev - it’s perfect

21.05.2025 18:38 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0