@pydantic

The Pydantic Stack: Logfire, Monty, Validation, AI, Evals, and AI Gateway

London
Joined August 2022
One Jev request, three scores: a policy label, a rubric level, and the probability the reply asks for a password, all recorded in Logfire. Modeled cost of 1M evaluated replies: $62, vs $4,542 with Braintrust before data charges. Blogpost pydantic.io/n4PWy
6
6
1
53
4,940
Replying to @pydantic
@pydantic AI agents can now be voiced with @ElevenLabs pydantic.dev/docs/ai/realtim…
1
3
10
596
Samuel used up his entire Fabel budget in a night, now he wants your validation that it was a good idea.
Mad plot twist - what if Monty could run JS and TS code, and even run and render React components!? Just an experiment for now, but it works amazingly well. This would be especially useful if you want agents to generate UI safely. Feedback welcome. github.com/pydantic/monty/pu…
1
1
1
52
3,607
Pydantic retweeted
Already have agents? OpenAI Agents SDK, Strands, Google ADK and the Anthropic SDK get the same Airflow toolsets as the built-in @Pydantic AI operators.
1
2
3
314
Monty can pause agent-written code, turn it into bytes, and resume it later ⏸️ - dump() serializes the whole interpreter - load_snapshot() resumes it in another process or machine - Wait hours for a human approval with nothing running pydantic.dev/docs/monty/conc…
4
4
2
64
2,710
Last call: Tomorrow our engineers sit down with @dosu_ai on keeping internal agents’ company knowledge current: - How to evaluate an internal agent - When a person should review its work - What agents should remember, and memory drift Oct 20 at 8:30am PT/11:30am ET. Register now: pydantic.io/JH6VJ
25
1,175
What's the most useful feature here? What do you want/need next?
Monty v1.2.0 from @pydantic is released. Massive lease (as ever) with some very important features. github.com/pydantic/monty/re… Biggest features:
2
1
23
2,216
Pydantic AI's CodeMode can start your tools before the model finishes writing the code ⚡ - CodeMode(speculate=['get_weather']) - A call with literal keyword arguments starts once its line streams in - In my test, 3 slow lookups went from 8.7s to 4.7s pydantic.dev/docs/ai/harness…
3
8
1
50
3,495
Pydantic retweeted
This is why reducing your dependency on corporate entities is so important. Own your own harness. Own your own hardware. Own your privacy. Why not build on top of @pydantic AI? pydantic.dev/pydantic-ai
🚨 Confirmed. OpenCode hacked. Keys stolen. Telling customers to revoke.
3
4
10
1,610
As agents started opening and reviewing more of our PRs, we moved our CI to @RunsOnRunsOn. We also built a RunsOn integration to watch it in Pydantic Logfire. @RunsOnRunsOn users get dashboards for queue times, Spot interruptions, cost per job, and runner sizing. pydantic.io/oKz6x
The @pydantic team switched Logfire's CI to RunsOn on Sept 1. August, on GitHub, Depot and Ubicloud runners: $18.2k. September, on RunsOn: $5.7k, license and every AWS cost included. And they ran 31% more runner minutes in September. 🧵
4
1
20
1,745
Along the way, they built a RunsOn integration in Logfire: dashboards for queue times, Spot interruptions, cost per job, and runner CPU and memory. A few lines of Terraform: runs-on.com/blog/runs-on-pyd…
1
4
408
Pydantic retweeted
I'm looking for my next role 👀 TS SDKs, DX, agent tooling. remote/hybrid from Boston. if you've enjoyed ArkType, Standard Schema or my TypeScript perf work, a repost would mean a ton 🙏 ssalbdivad.com
23
84
10
404
72,797
Trace Claude with @pydantic Logfire ;)
Now in public beta, Claude Platform can send OpenTelemetry traces from the Messages API, Claude Managed Agents, and the Claude SDKs to your observability stack.
2
1
12
1,090
Monty is a Python interpreter in Rust, built to run code written by AI 🦀 - Starts in under 1ms vs ~1500ms for a sandbox service - No filesystem, env or network, just the functions you pass - In Pydantic AI, CodeMode() runs your agent's tools through it github.com/pydantic/monty
15
23
5
262
14,840
Play with the new Google release with Pydantic AI ;)
Pydantic AI now supports Gemini 4 Argon, with long decode. One Argon request stops at 32K output tokens (64K streamed). Set a bigger output budget and Pydantic AI follows Google's continuation token for you: one agent run, one combined response. pydantic.io/ifgZJ
1
5
402
Pydantic AI now supports Gemini 4 Argon, with long decode. One Argon request stops at 32K output tokens (64K streamed). Set a bigger output budget and Pydantic AI follows Google's continuation token for you: one agent run, one combined response. pydantic.io/ifgZJ
6
4
4
48
3,594
Strong argument from Samuel on why Graphs are a bad idea, and why Pydantic Monty and @temporalio are a better option.
Trying out X articles, decided to at last explain my criticisms graph libraries properly. Graphs are dead, long live graphs.
2
2
57
4,795
Pydantic retweeted
Replying to @heyyyyyieeee
A. (with @pydantic AI)
1
1
962
This is huge as a user since 0.x
Pydantic AI now turns on prompt caching with one capability. Anthropic and Bedrock cache nothing unless the request asks. The Caching capability asks for you: tool definitions, instructions and the conversation, one setting instead of each provider's. pydantic.io/uJC8d
2
29
5,354