
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Building with large language models is mostly ordinary Python. The model call is one line. Around it sits everything that decides whether the feature works: turning documents into chunks, finding the right passages, building the prompt, checking that the output is valid, handling a failed request and measuring whether answers are any good. That's the code AI engineers write every day and the code interviews ask about.
This course is 100 hands-on Python coding exercises across ten sections, plus five mock interview role plays and short introductory lectures. Every exercise runs in your browser and is checked automatically against test cases, so you know straight away whether your code works. The exercises focus on the logic around LLMs, so you don't need paid API keys to practice.
What's inside
Each exercise is short and focused on one idea, and later sections reuse earlier skills, so by the time you reach retrieval and agents the supporting code already feels familiar.
Practice explaining your work
The mock interviews put you in the conversations AI engineering roles include: explaining how you'd build a RAG feature, why an output parser failed, or how you'd measure quality. Practicing out loud helps you give clear, structured answers when it counts.
How to use the course
Work through the sections in order, since each builds on the last. If you're comfortable with Python, move quickly through the first section. Try each exercise before using hints, and redo the ones you miss.
Who it's for
Python developers moving into AI engineering, data scientists building LLM features, software engineers preparing for AI engineer interviews, and students who want practical LLM skills. You should know basic Python.
What you need
A browser. All exercises run in the course's built-in coding editor.