Learn AI Engineering
A free, interactive course for Python programmers who want to build with language models. Write the code for model calls, tools and agent loops, press Run, and earn a certificate for each section.
44 lessons44 challenges96 quiz questionsAbout 2 hours
- Beginner friendly
AI-assisted coding help
Hands-on interactive lessons
Quizzes to test your knowledge
Free certificate of completion
Syllabus
Section 1
Calling Models From Code
Start sectionStartCall a language model from Python: messages and roles, system prompts, stop reasons, effort, streaming, token counts and costs, errors, and structured JSON output.First Model Calls
5 lessons516Controlling the Output
5 lessons516Tokens and Structure
5 lessons516Project: Ticket Triage
4 lessons4Final Challenges
3 lessons3Section 2
Tools and Agents
Start sectionStartGive a model tools: define them with JSON schemas, run the calls it asks for, send the results back, and build a safe agent loop with error handling, step limits and human approval.Tool Use Basics
5 lessons516The Agent Loop
5 lessons516Designing Agents
5 lessons516Project: Travel Agent
4 lessons4Final Challenges
3 lessons3
Learn by Doing
Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.
Build Your Streak
Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.
12 days streak
Return tomorrow to keep your streak!
January 2026
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
21
22
23
24
25
26
27
28
29
30
Double or Nothing
Day 5 of 7
Streak Freeze
2 left
You're Not Alone
Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!
Every way to learn
Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.
A variable is a named container that stores a value you can reference later in your program.
In Python, you create one by writing the name, an equals sign, then the value you want to store.
The value can change over time. Reassigning the name simply points it to a new value.
Earn a Certificate
Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.
Why learn AI engineering with Coddy
- You write real Python against the interface of Anthropic's Python SDK:
client.messages.create, roles, system prompts and tools. Each lesson runs your code against Coddy's stand-in for the SDK, which answers from fixed rules instead of calling a model, so every answer can be checked exactly and you need no API key. - Calling Models From Code covers messages and roles, system prompts, reading the response,
max_tokensand stop reasons, varied answers, effort and thinking, streaming, counting tokens and cost, API errors, and structured output with a JSON schema and enums. - Tools and Agents defines tools with JSON schemas, reads the tool calls a model asks for, returns their results, chooses between tools, runs parallel calls, and builds an agent loop with error handling, step limits, input validation and human approval.
- Each section ends with a project, a support ticket triage and then a travel booking agent that asks before it books, plus practice challenges such as a chat with memory, a token budget guard, a lead extractor, a calculator agent and an inventory agent.
Questions about learning AI engineering
What is AI engineering?
AI engineering is building software on top of language models: calling a model from code, shaping its answers with prompts and schemas, controlling cost and errors, and giving it tools so it can act as an agent. It is about using models in apps, not training them.
How do you build an AI agent?
An AI agent is a loop around a model. You send the model the conversation and the tools it may use, described with JSON schemas. When it asks for a tool, your code runs the tool and sends back the result, and the loop repeats until the model answers. Good agents also handle tool errors, stop after a set number of steps and ask a human before risky actions. The Tools and Agents section builds this loop step by step.
Does the course call a real AI model?
coddy_ai, Coddy's stand-in that answers from fixed rules. The same program always prints the same output, so the checks are exact and you need no API key or paid account. In your own project, import anthropic and the same code calls the real API.Do I need to know Python first?
input(). The course writes Python from the first lesson. New to code? Start with the Python course.How is this different from prompt engineering or machine learning?
How are the exercises checked?
Each check runs your program with the lesson's input and compares what it prints with the expected output. Because the stand-in answers the same way every time, a lesson passes when your code makes the right calls and handles the replies as the task asks.
Does the course teach RAG, fine-tuning or deploying agents?
Not yet. The two sections cover calling models from code, and tools and agents. Retrieval with embeddings (RAG), fine-tuning, evaluations and deploying an agent to production are not covered.
Is the AI Engineering course free?
Yes. The lessons, the hints and the certificates are free. A free account works through a few lessons a day, and Pro removes the daily limit.
Do I get a certificate for the AI Engineering course?
Yes. Each of the 2 sections gives you a free certificate of completion when you finish it, with its own page you can share or add to LinkedIn.