Building Type-Safe LLM Agents With Pydantic AI
Build type-safe LLM agents in Python with Pydantic AI using structured outputs, function calling, and dependency injection.
Curated development tutorials from top sources. Filter by language.
Build type-safe LLM agents in Python with Pydantic AI using structured outputs, function calling, and dependency injection.
Test your understanding of Python scope, the LEGB rule, and how Python resolves names across local, enclosing, global, and built-in scopes.
Test what you've learned about building type-safe LLM agents in Python with Pydantic AI: structured outputs, tools, and dependency injection.
Learn how to flatten a list of lists in Python using for loops, list comprehensions, itertools, functools, NumPy, and recursion.
Test your understanding of how to flatten a list of lists in Python using for loops, list comprehensions, itertools, recursion, and NumPy.
Test your understanding of how CPython allocates, tracks, and frees memory for your Python objects behind the scenes.
What if you could build charts in Python by describing what your data means, instead of scripting every visual detail? Christopher Trudeau is back on
Test your knowledge of Qt Designer for Python. Build PyQt GUIs visually with drag-and-drop, signals and slots, and .ui files.
Build a Python chatbot with the ChatterBot library. Clean real conversation data, train on custom datasets, and add local AI with Ollama.
Quiz yourself on OpenCode: install it, connect an AI provider, and use it to analyze and refactor Python from your terminal.
Test your understanding of working with web APIs in Python, from reading responses and handling status codes to authentication and rate limiting.
Learn how to use Codex CLI to add features to Python projects directly from your terminal, without needing a browser or IDE plugins.
Test your knowledge of Python project layouts for one-off scripts, installable packages, internal packages, and Django and Flask web applications.
A new Python Packaging Council, PEP 803 stabilizes the free-threaded ABI, the incremental GC gets reverted, and Astral changes hands.
Test your knowledge of SQLite and SQLAlchemy in Python, from flat files and SQL to ORM models and many-to-many relationships.
Test your understanding of Python fundamentals: variables, data types, operators, expressions, keywords, and exceptions in 15 questions.
Check your grasp of the Factory Method pattern in Python: when to use it, the roles involved, and how to implement a flexible object factory.
How do you add agent skills to your data science workflow? How can a coding agent assist with data wrangling and research? This week on the show, Trev
Test your understanding of a data analysis workflow in Python, from cleansing raw data with pandas to spotting insights with regression.
AI coding agents come in four types: IDE, terminal, PR, and cloud. Learn how each workflow fits into modern Python development.