Building AI Agents with Pydantic AI

Jan Willem Kleinrouweler & Kristof Schröder & Nicholas Junge

Monday, 19 April 2027, 9:00–16:00 (lunch break 12:00–13:00)

Full-day masterclass · 6 hours

  • AI Agents
  • Pydantic AI
  • Python
  • Tool Calling

Space is limited. Book your place.

Get your ticket

Learn how to build AI agents with Pydantic AI in this hands-on masterclass.

This masterclass is designed to guide you through building a simple, yet functional, coding assistant using Pydantic AI. Over the course of the exercises, you will gain hands-on experience with the core concepts behind agentic systems, including how to define and structure an agent, write instructions (prompts), and enable tool-calling capabilities. You will also explore how execution hooks can be used to customize and control agent behavior.

By the end of this masterclass, you will have a working prototype and a solid understanding of foundational patterns to develop agentic applications.

Who Should Attend

This masterclass is intended for ML engineers and software developers who want to learn how to build AI agents in Python. Participants should have basic Python programming experience. No prior experience with AI agents or Pydantic AI is required.

What You'll Learn

  • Explore the fundamentals of AI agents: Explore how LLMs, instructions, tools, and conversation state work in agentic systems.
  • Build your first AI agent: Configure a model, define instructions, and interact with the model using Pydantic AI.
  • Enable tool calling: Give your agent capabilities to interact with its environment by implementing function tools.
  • Extend agents with reusable capabilities: Organize your code into modular and reusable components. Extend the agent with lifecycle hooks, configurable reasoning effort, and dynamic system instructions.

What to Bring

Bring a laptop and a GitHub account.

We will use GitHub Codespaces to provide a ready-to-use Python environment. Alternatively, you can work with a local Python environment on your own machine.

API keys for accessing the models will be provided during the masterclass.

Your trainers

This masterclass is created by the appliedAI Institute for Europe and will be given by:

  • Jan Willem Kleinrouweler — Senior Principal ML Engineer
  • Kristof Schröder — Principal Research Engineer
  • Nicholas Junge — Senior MLOps Engineer

Course Materials

Workshop repository on GitHub

Space is limited. Book your place.

Get your ticket