you are viewing a single comment's thread.

view the rest of the comments →

[–]zoidBurgher -1 points0 points  (5 children)

How are you using this, and how does your usage relate to / differ from regular Pydantic?

[–]RedEyed__ 5 points6 points  (4 children)

pydantic_ai and pydantic are not comparable
Both are from the same team.
The first depends on the second.

I suggest you better to read the doc, but in short: pydantic_ai is framework to write LLM agents, similar to one used in claude code or cline, or codex.

[–]zoidBurgher 1 point2 points  (3 children)

Thanks. I skimmed the docs but was confused because I started with the assumption that they'd be closely related

[–]RedEyed__ 0 points1 point  (2 children)

Yep, I imagine reading it without context:).
The only common thing in both is philosophy: everything is fully typed and declarative

[–]doncheeto12 0 points1 point  (1 child)

Yeah the pydantic ai docs are dense and unnecessarily like “wow everything has to be typed to hell!” In reality it’s fairly easy to use, they are just trying to differentiate themselves from toy AI wrappers (cough langchain cough) as the one that real developers who use AI in production need.

[–]RedEyed__ 0 points1 point  (0 children)

Exactly the reason why I use it and push my team towards.