Building Type-Safe LLM Agents With Pydantic AI: Setting Up & Getting Structured Output From LLMs
Video by Real Python, watch the original on YouTube
Real Python's lesson on setting up Pydantic AI and getting a Pydantic model back through output_type. It predates the V2 release, so check any retry or usage calls against the table in Step 1.