A Python program sends messages to a language model, which streams pieces of its answer back, reads a course note through a tool and cites the paragraph it used.

Building AI Apps with Python

No reviews yet

Write Python programs that use a language model properly. Call a model over HTTP, stream its answers, turn them into validated Python objects, let it call your functions, build a small agent, ground it in your own documents, and test and budget the result.
You need Python in Practice first, because this course builds on its requests, command-line and testing skills. Python Fundamentals II is recommended but not required: the course teaches the few pieces of it that it needs, such as type hints on fields and a pydantic model, where they first come up.
Every lesson runs against a course model inside the site's sandbox. The scripted model is free and gives the same answer every time, so you can finish the whole course without a live model or an API key of your own.

  • 12

    chapters

  • 93

    lessons

  • 63

    practice exercises

  • 11

    projects

Certificate when you finish Available inEnglishNederlandsDeutsch

Lessons are arranged in a recommended order, but you can open any lesson.

Chapter 1

An LLM Call Is an HTTP Request

Chapter 2

Conversations and Instructions

Chapter 3

Streaming

Chapter 4

Structured Output

Chapter 5

Using the OpenAI Client

Chapter 6

Tools

Chapter 7

A Small Agent

Chapter 8

Answering from Your Notes

Chapter 9

When Things Go Wrong

Chapter 10

Testing LLM Code

Chapter 11

Capstone

Chapter 12

Taking It Home