pydantic/pydantic-ai
View on GitHub ↗ ★ 20,996 Python
How Python does AI. Agents, realtime voice, image generation, embeddings. Every model, every interface, typed end to end.
18 mentions on Hacker News by 13 people: 5 stories, 13 comments · first 2024-12-02 · latest 2026-02-07
20082026
-
(Pydantic AI lead here) That’s exactly what we built this for: we’re implementing Code Mode in https://github.com/pydantic/pydantic-ai/pull/4153 which will use Monty by default, with abstractions to use other runtimes / sandboxes. Monty’s…
comment by DouweM · 2026-02-07 · in Monty: A minimal, secure Python interpreter written in Rust for use by AI -
(Pydantic AI lead here) We’re implementing Code Mode in https://github.com/pydantic/pydantic-ai/pull/4153 with support for Monty and abstractions to use other runtimes / sandboxes. The idea is that in “traditional” LLM tool calling, the…
comment by DouweM · 2026-02-07 · in Monty: A minimal, secure Python interpreter written in Rust for use by AI -
…speculation was wrong, it looks like they might have developed this to write code for pydantic-ai: https://github.com/pydantic/pydantic-ai , i'll leave the comment above as-is though, since I think it would still be cool to have that…
comment by notepad0x90 · 2026-02-07 · in Monty: A minimal, secure Python interpreter written in Rust for use by AI -
https://github.com/pydantic/pydantic-ai/issues/582 https://github.com/pydantic/pydantic-ai/issues/2405
comment by robot-wrangler · 2025-11-15 · in Structured outputs on the Claude Developer Platform -
…working on a DBOS [2] integration into Pydantic-AI as a lightweight durable agent solution. [1] https://github.com/pydantic/pydantic-ai/pull/2638 [2] https://github.com/dbos-inc/dbos-transact-py
comment by qianli_cs · 2025-08-29 · in Building your own CLI coding agent with Pydantic-AI -
> https://github.com/pydantic/pydantic-ai/issues/2405 Thanks, this is a very interesting thread on multiple levels. It does seem related to my problem and I also learned about field docstrings :) I'll try moving my dependency closer to the…
comment by photonthug · 2025-08-29 · in Building your own CLI coding agent with Pydantic-AI -
…harder to use strict JSON mode (in response to feedback from Python creator Guido of all people: https://github.com/pydantic/pydantic-ai/issues/2405 ), so if you haven't tried it in a little while, the problem you were seeing may very well…
comment by DouweM · 2025-08-28 · in Building your own CLI coding agent with Pydantic-AI -
…strong tools for things like ASTs really should be the best things to pair with AI and agents. [0]: https://github.com/pydantic/pydantic-ai/issues/582
comment by photonthug · 2025-08-28 · in Building your own CLI coding agent with Pydantic-AI -
…in mind: analyzing an Excel file and asking questions about its contents. The current approach ( https://github.com/pydantic/pydantic-ai/blob/main/mcp-run-py... ) seems limited to running standalone scripts—it doesn't support reading and…
comment by 5rest · 2025-04-29 · in MCP Run Python -
…OpenAI Agents: https://github.com/openai/openai-agents-python/blob/48ff99bb... Pydantic Agents: https://github.com/pydantic/pydantic-ai/blob/4c0f384a0626299... Langchain: https://github.com/langchain-ai/langchain/blob/4d1d726e61ed5...…
comment by zh2408 · 2025-03-20 · in LLM Agents Are Simply Graph – Tutorial for Dummies -
…/github.com/openai/openai-agents-python/blob/48ff99bb... Pydantic Agents: organizes steps in a graph: https://github.com/pydantic/pydantic-ai/blob/4c0f384a0626299... Langchain: demonstrates the loop structure:…
comment by zh2408 · 2025-03-19 · in LLM Agents Are Simply Graph – Tutorial for Dummies -
…which is also based around pydantic / structured outputs, though works at level of "agents". https://github.com/pydantic/pydantic-ai
comment by jackmpcollins · 2024-12-13 · in Taming LLMs – A Practical Guide to LLM Pitfalls with Open Source Software -
See https://github.com/pydantic/pydantic-ai/issues/112 people have tried quite a few models. Llama3.2 worked well and used <2gb ram
comment by scolvin · 2024-12-07 · in PydanticAI using Ollama (llama3.2) running locally