BeginnerCoder
AI Agents Foundations course cover

AI Agents Foundations

Build an AI agent step by step — messages, tools, memory, guardrails and evals, all runnable in your browser. Needs basic Python (variables, lists, dicts, functions) — new to code? Start with Python Foundations.

1
Lesson 1 — What an agent is
basics · 6 min
→
2
Lesson 2 — Messages as a list of dicts
basics · 6 min
→
3
Lesson 3 — Prompts and system messages
easy · 7 min
→
4
Lesson 4 — Calling a (fake) model
easy · 8 min
→
5
Lesson 5 — Structured output with JSON
easy · 8 min
→
6
Lesson 6 — Parsing and validating model output
easy · 9 min
→
7
Lesson 7 — Tools as Python functions
easy · 8 min
→
8
Lesson 8 — Tool schemas
medium · 9 min
→
9
Lesson 9 — Dispatching a tool call
medium · 9 min
→
10
Lesson 10 — Talking to a real model API
medium · 12 min
→
11
Lesson 11 — Tool calling with a real API (shape)
medium · 13 min
→
12
Lesson 12 — Streaming and stop reasons
medium · 12 min
→
13
Lesson 13 — What MCP is
medium · 13 min
→
14
Lesson 14 — Build a mini MCP-style tool server
medium · 15 min
→
15
Lesson 15 — The agent loop with a step limit
medium · 10 min
→
16
Lesson 16 — Observations back into the conversation
medium · 10 min
→
17
Lesson 17 — Multiple tools
medium · 11 min
→
18
Lesson 18 — Short-term memory: the conversation window
medium · 10 min
→
19
Lesson 19 — Long-term memory: keyword retrieval
medium · 12 min
→
20
Lesson 20 — Planning: break a goal into steps
hard · 12 min
→
21
Lesson 21 — Error handling and retries
hard · 12 min
→
22
Lesson 22 — Guardrails
hard · 12 min
→
23
Lesson 23 — Evaluating an agent with test cases
hard · 11 min
→
24
Lesson 24 — Multi-agent: planner and worker
hard · 13 min
→
25
Lesson 25 — Capstone: a study-buddy agent
very hard · 15 min
→