Hacker GitHub

← All repos

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

Mentions per year 18 mentions · busiest year 2025 (9)
20082026
  1. (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…
  2. (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…
  3. …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…
  4. 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
  5. …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
  6. > 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…
  7. …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…
  8. …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
  9. …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
  10. …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...…
  11. …/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:…
  12. …which is also based around pydantic / structured outputs, though works at level of "agents". https://github.com/pydantic/pydantic-ai
  13. See https://github.com/pydantic/pydantic-ai/issues/112 people have tried quite a few models. Llama3.2 worked well and used <2gb ram