Agentic AI /  Syllabus Topic guide
16-week hands-on course

Agentic AI β€” From Foundations to Advanced Systems

Learn to build AI agents step by step β€” from your first tool-using agent to a full system you can put online. For people who already know the basics of ML and LLMs.

Duration16 weeks
Format3 hrs / week
StyleCode-first
LevelInt β†’ Adv
StackPython Β· LangGraph
CapstoneDeployed agent
01 β€” Orientation

Course description & rationale

An AI agent is a program that uses a language model to think, take actions with tools, look at the result, and try again β€” until the job is done. This course teaches you how to build agents like this, and how to make them work well.

You already know the basics: machine learning, how LLMs work, prompting, and embeddings. So we will not repeat them. From day one, we focus on what is new and hard β€” giving a model a loop, tools, and memory, and keeping it reliable, safe, and low-cost.

Over 16 weeks, you start by building one simple agent by hand. Then you build teams of agents that work together and pause for human approval. Finally, you learn to test, secure, and launch agents for real use. You will write a lot of Python. By the end, you will have many small projects and one finished agent that anyone can use online.

Why this course, why now

Most agent tutorials are one of two kinds: a flashy demo that works only once, or a tool guide that teaches the buttons, not the ideas. Both go out of date fast, because tools change every few months. This course does the opposite. It teaches the ideas that last β€” the loop, tools, memory, teamwork, testing, and safety. Learn these well, and you can pick up any new tool in an afternoon.

That is why you build things by hand first. You write a ReAct loop yourself in Week 3, before you touch a framework like LangGraph in Week 7. And we treat testing, reliability, and security as real work β€” because these are what turn a demo into a product.

Assumptions I made (adjust freely): cohort-based, synchronous delivery (in-person or live online), sessions recorded  Β·  provider-agnostic examples (Claude by default; any API works)  Β·  LangGraph as the framework spine, with CrewAI & AutoGen for comparison  Β·  class of 12–30, solo labs and team capstones  Β·  roughly $20–40 of API credit per learner across the term.

02 β€” Getting in

Prerequisites

Required

  • Comfortable writing Python: functions, classes, type hints, virtual environments, reading a traceback, basic async/await.
  • You know the basics of AI/ML and LLMs β€” tokens, embeddings, context windows, prompting, and roughly how RAG works.
  • Basic command line and Git (clone, branch, commit, push).
  • You can read JSON and understand what an API request and reply look like.

Helpful, not required

  • Prior REST API experience.
  • Basic Docker familiarity.
  • Some use of a web framework (FastAPI / Flask).

We do not re-teach

  • Neural-network internals or transformer math.
  • Prompt-engineering basics or "what is an LLM."

Quick self-check: can you write a Python function that calls an LLM API, reads the JSON reply, and handles an error? If yes, you are ready.

03 β€” The destination

Course-level learning outcomes

By the end of the course you will be able to:

#You will be able to…Assessed in
1Explain and draw the parts of an agent, and say when an agent is (and isn't) the right choice.W1
2Build a tool-using thinking loop (ReAct, reflection) from scratch, with no framework.W3–4
3Design strong, reliable tools with typed inputs, checks, and error handling for real APIs.W5
4Build grounded agents combining working memory, long-term memory, and retrieval.W6
5Build multi-agent systems with clear coordination and human-approval steps.W9–10
6Connect agents to the world with context engineering and the Model Context Protocol.W11
7Test, trace, and fix how an agent behaves, using clear methods β€” not guesswork.W12
8Build agents that are reliable and low-cost: retries, caching, backups, speed budgets.W13
9Find and reduce safety and security risks, including prompt injection, with guardrails and least privilege.W14
10Deploy and run an agent as a watched service, and explain LLMOps basics.W15
11Finish a full capstone agent and explain your design choices.W16

Every outcome maps to graded work β€” the full mapping is in the outcome β†’ assessment map.

04 β€” Kit

Required tools & tech stack

CategoryWhat we useNotes
LanguagePython 3.11+uv for env/deps (or venv + pip)
LLM accessA frontier model APIClaude by default; any provider works. Everyone needs a key + credit.
FrameworksLangGraph + LangChain (primary); CrewAI, AutoGen (comparison)Introduced Week 7; hand-rolled before that.
RetrievalEmbedding model + vector store (Chroma / FAISS)Week 6.
Tools / integrationhttpx, pydantic schemas, MCP SDKMCP in Week 11.
Eval & tracingLangSmith or an open alternative (Langfuse / Phoenix) + a custom harnessWeek 12.
ServingFastAPI + Uvicorn; DockerWeek 15.
Version controlGit + GitHub (course org)Labs submitted as PRs.

Setup before Week 1

  1. Install Python 3.11+ and uv.
  2. Create a provider account, generate an API key, and add ~$10 credit to start.
  3. Clone the course repo and run the provided hello_agent.py smoke test.
  4. Store keys in a .env file β€” never commit keys. A .gitignore and .env.example are provided; Week 1's lab checks this.

A one-page "Setup & Troubleshooting" guide lives in the repo, and Week 1's buffer time is reserved for fixing broken setups. No one leaves without a working environment.

05 β€” The weekly rhythm

The 3-hour session structure

Every week has the same shape, so you always know what comes next. Each class is 180 minutes long. About 40 minutes is free time β€” recap, a break, and questions β€” built into every class.

SegmentClockLengthPurpose
Recap & warm-up buffer0:00–0:1515 minReview last week, connect to today, homework questions.
New ideas (part 1)0:15–0:5540 minNew ideas with live-coded demos.
Lab (part 1)0:55–1:3540 minHands-on, with the teacher walking around to help.
Break buffer1:35–1:5015 minβ€”
New ideas (part 2)1:50–2:2030 minA deeper or second topic, with patterns and common mistakes.
Lab (part 2) + extra2:20–2:5040 minFinish the lab; extra goals for those who move fast.
Wrap-up, questions & homework buffer2:50–3:0010 minWrap up, give homework, and answer questions.

Where the free time sits: about 40 minutes each class gives room for the normal bumps of hands-on work. On top of that, Weeks 4, 8, and 12 are lighter "catch-up" weeks with less new material β€” time to slow down, review, and check your capstone.

06 β€” How you're graded

Assessment breakdown

ComponentWeightWhat it covers
Weekly labs (best 10 of 12)25%Did the finished labs work? Handed in as PRs.
Homework assignments15%Extending labs, plus short practice problems.
Mini-project (Week 4)10%A small agent that mixes the loop with a thinking method.
Checkpoints (W8 & W12)10%Capstone plan and middle review.
Capstone (W13–16)30%Design, build, test, put online, and present a full agent.
Taking part & helping classmates10%Coming to class, taking part, reviewing classmates' code, and demo-day feedback.

Labs are graded gently β€” if it works, you pass β€” so you can try things without worry. Your capstone is where careful, deep work earns the most marks.

07 β€” The main event

Capstone project

Design, build, test, and launch an agent (or a small team of agents) that does something truly useful. It must use tools, use memory or retrieval, and show that you thought about reliability and safety.

A plain chatbot with no tools does not count. A research helper that searches, reads, checks facts, and writes a summary with sources does count. Some good ideas: a research helper that shows its sources; a Q&A agent for a real code repo; a support agent that passes hard cases to a human; a data agent that reads a database and draws charts; or a team of agents (researcher β†’ writer β†’ editor).

Requirements

  • At least 2 well-made tools with typed inputs and error handling.
  • Memory and/or retrieval that really changes what the agent does.
  • A test set β€” a small labeled set of cases with scores, not just a demo.
  • Reliability features (retries, backups, caching) and a note on cost and speed.
  • A safety check: at least one guardrail and a least-privilege permission plan.
  • Put online and reachable (an API or simple UI) with basic monitoring and tracing.
  • A short design doc and a 6–8 minute demo.

Milestones tied to weeks

MilestoneDue
Plan β€” problem, users, tools, goalsW8
Design sketch β€” graph, tools, data flow, handoffsW10
Middle review β€” working core + first test casesW12
Reliability + safety checkW14
Put online + monitorW15
Final demo + design docW16
08 β€” The fine print

Grading scale & course policies

Grading scale

GradeRange
A93–100
Aβˆ’90–92
B+87–89
B83–86
Bβˆ’80–82
C+77–79
C70–76
D60–69
F< 60

Policies

Attendance. You can miss up to 2 classes with no penalty. After that, each missed class costs 2 points from your participation grade, unless you arrange it with me first. Recordings help, but they cannot replace live lab help.

Late work. Labs and homework lose 10% per day, up to 3 days late; after that, no marks. But only your best 10 of 12 labs count, so two bad weeks will not hurt you. Capstone dates are firm, because they control feedback. If life gets in the way, talk to me before the deadline.

Honesty. Using AI tools is welcome β€” that is often the point. One rule: you must understand and be able to explain everything you hand in. Credit any big piece of code you borrow. Working together on labs is fine; copying someone's homework or capstone is not. Being open about your help is never punished.

Support. If you need any changes to take part fully, tell me early and I will arrange them. In a field this new, there are no silly questions.

09 β€” Keep learning

Suggested resources

This field moves fast. Treat every tool name as temporary, and every idea as lasting. A tool named here may be renamed or replaced β€” but the idea behind it stays useful.

Primary (always current)

  • Official docs for your model provider, LangChain/LangGraph, CrewAI, AutoGen, and MCP. Read the release notes β€” this is where the field actually lives.
  • Provider "building agents" guides and cookbooks.

Habits

  • Follow 2–3 expert blogs instead of trying to read everything.
  • Keep your own "patterns notebook" β€” it lasts longer than any tool.

Foundational reading (patterns over tools)

  • The original ReAct paper and Reflexion β€” the backbone of Weeks 3–4.
  • Toolformer and function-calling write-ups for tool use.
  • Writing on RAG and retrieval for grounding.
  • The MCP specification and introductory posts.
  • Community write-ups on agent evaluation, tracing, and prompt injection / security (e.g. OWASP's LLM risk lists).
MONTH 1

Agent foundations

Weeks 1–4 Β· intermediate
WEEK 01

What makes something an agent? Anatomy & setup

Intermediate
Learning objectives
  • Explain how an agent is different from a normal one-shot LLM call, and point out its four parts (model, tools, memory, loop) in an example.
  • Set up a working Python + API setup and run a small model call safely (keys kept in .env).
  • Decide when a problem needs an agent and when a simpler tool is better.
Hands-on lab

Set up your tools and run the test file. Then build a "pretend agent": a script where the model says an action in words, and you (the human) do it and paste the result back. This lets you feel how the loop works before you automate it.

Homework

Write one page about an agent product you know. Name its model, tools, memory, and loop, and say if an agent was really needed. Check your key setup with the checker we give you.

Buffer this week

Extra recap and wrap-up time is saved for setup help β€” the usual Week 1 trouble with keys, versions, and installs.

WEEK 02

Tool / function calling: how agents act

Intermediate
Learning objectives
  • Build tool calling: make a tool, show it to the model, read the call, run it, and return the result.
  • Explain how a tool call works (request and reply), and fix a broken tool call.
  • Build an agent with two tools that picks the right one for each request.
Hands-on lab

Build a small agent with two tools (for example, a calculator and a time or weather tool). Connect the full loop: user β†’ model β†’ tool call β†’ run it β†’ model β†’ answer. Add logging so you can see every tool call.

Homework

Add a third tool and a test that shows the agent picks the right tool for three different questions. Note one time it picked wrong, and why.

Buffer this week

The break and wrap-up are used for a quick group look at everyone's tool logs, to compare how different wording changed which tool was picked.

WEEK 03

The agent loop: ReAct, built by hand

Intermediate
Learning objectives
  • Build a ReAct loop (reason β†’ act β†’ observe β†’ repeat) from scratch, with no framework.
  • Add a stop rule and a max-step limit so the loop cannot run forever.
  • Follow a multi-step run and explain each reason, act, and observe step.
Hands-on lab

Build a ReAct agent by hand that answers multi-step questions using your Week 2 tools plus a search tool. It must show its thinking, loop until it has an answer, and stop safely at a max number of steps.

Homework

Give your agent a task that needs at least 3 tool calls. Save the full trace and mark where it thought well and where it wasted a step.

Buffer this week

Wrap-up questions focus on fixing loops that never stop and costs that run away β€” we set a firm step limit together.

WEEK 04

Reasoning patterns + mini-project

IntermediateCheckpoint
Learning objectives
  • Build reflection (draft, then fix) and self-consistency (try a few times and vote) on top of a basic agent.
  • Check whether each method really gives better results, with before-and-after proof.
  • Finish a small project agent that mixes the loop with one thinking method.
Topics β€” click to open its explainer

Plus: when extra reasoning helps vs. just costs more. Lighter new content β€” a consolidation + build week.

Hands-on lab

Add a reflection step to your Week 3 agent, and measure the change on 3–5 test cases. Start the mini-project.

Mini-project Β· graded 10% Β· due end of Week 5

Build a small agent that uses the loop plus at least one thinking method to solve a task you pick (a math word-problem solver, a fact-checker, or a research helper). Add a short note on whether the thinking method helped, with proof.

Buffer this week

Catch-up week: less new material and saved time to catch up on Weeks 1–3 and start the mini-project with the teacher in the room.

MONTH 2

Building capable agents

Weeks 5–8 Β· intermediate β†’ upper-intermediate
WEEK 05

Designing agent tools: schemas, error handling, real APIs

Upper-int.
Learning objectives
  • Design good tool descriptions with clear wording, typed inputs (Pydantic), and input checks.
  • Add error handling so a failing tool returns a helpful message the agent can recover from β€” not a crash.
  • Connect a real outside API as a tool, including keys and rate limits.
Hands-on lab

Swap a fake tool for a real API (weather, search, or GitHub). Add Pydantic checks and friendly error messages. Break it on purpose (bad input, network error) and make the agent recover.

Homework

Add a second real-API tool and write 3 tests: normal use, bad input, and API failure. The agent must handle the last two smoothly.

Buffer this week

The break is used for a short lesson on reading API docs and handling keys β€” the part that trips people up.

WEEK 06

Agent memory & retrieval

Upper-int.
Learning objectives
  • Tell apart working memory (the context window) and long-term memory (saved), and build both.
  • Build a retrieval tool that grounds the agent in an outside source.
  • Check how memory and retrieval change what the agent does on repeated and fact-based tasks.
Hands-on lab

Add long-term memory (saved between runs) and a retrieval tool over a small set of documents. Show it answering a question that needs those documents β€” and saying so when the answer is not there.

Homework

Point the retrieval tool at a set of documents you care about. Make 3 grounded question-and-answer examples that cite the source pieces.

Buffer this week

Wrap-up questions cover common retrieval problems (splitting text, out-of-date search) and a preview of how this helps your capstone.

WEEK 07

Agent frameworks hands-on (LangGraph; CrewAI & AutoGen)

Upper-int.
Learning objectives
  • Rebuild one of your hand-made agents in LangGraph, matching your own ideas to the framework's parts.
  • Compare LangGraph, CrewAI, and AutoGen, and say which fits a given job.
  • Build a simple graph with nodes, edges, and state.
Hands-on lab

Move your Week 3–5 agent to LangGraph. Then write the same task in a short form in CrewAI or AutoGen, and write a short comparison: what each one made easy or hard.

Homework

Finish the move, and add one branching edge to the LangGraph version. Note two things the framework did for you that you had coded by hand before.

Buffer this week

The recap matches "hand-made idea β†’ framework word" as a class, so frameworks feel like new names for things you know, not magic.

WEEK 08

Agent planning & task decomposition + capstone proposal

Upper-int.Checkpoint
Learning objectives
  • Build a planner that breaks a big goal into ordered steps the agent runs.
  • Compare plan-first vs. step-by-step (ReAct) planning, and pick the right one.
  • Hand in a capstone plan with a clear problem, users, and goals.
Topics β€” click to open its explainer

Lighter new content β€” a planning + proposal week.

Hands-on lab

Add a planning step to your LangGraph agent: it writes a plan, runs it step by step, and can re-plan if a step fails. Test it on a task with 4 or more steps.

Capstone proposal Β· graded checkpoint Β· due end of Week 8

Hand in a 1-page plan: the problem, who it is for, the tools you plan to use, your memory/retrieval idea, and clear goals you can measure.

Buffer this week

Catch-up week: saved time for one-to-one feedback on your plan and to catch up on the move to frameworks.

MONTH 3

Advanced agent architectures

Weeks 9–12 Β· advanced
WEEK 09

Multi-agent systems: roles, collaboration, handoffs

Advanced
Learning objectives
  • Build a multi-agent system where special agents work together on a task.
  • Build a clean handoff (how one agent passes control and information to another).
  • Judge when many agents beat one good agent β€” and when they just add cost and new ways to fail.
Hands-on lab

Build a 2–3 agent "content line" (researcher β†’ writer β†’ editor) with clear handoffs. Compare its output and cost with a single agent.

Homework

Add a critic agent that can send work back to be fixed. Show one run where the critic found and fixed a real problem.

Buffer this week

Wrap-up questions cover debugging many agents β€” finding which agent went wrong is a new skill, so we practice reading multi-agent logs.

WEEK 10

Orchestration: graphs, supervisor/worker, human-in-the-loop

Advanced
Learning objectives
  • Build a supervisor/worker setup where a supervisor sends tasks to workers.
  • Build a human-approval step that pauses the graph before an important action.
  • Design a graph diagram for your capstone.
Hands-on lab

Build a supervisor agent that sends work to 2 or more workers, and add a human-approval pause: the graph stops for your "OK" before a risky tool, then continues.

Capstone milestone Β· due Week 10

Hand in your design sketch (agents/graph, tools, data flow, handoffs, human-approval steps). Add at least one human-approval pause to a prototype.

Buffer this week

The break is used to work on design diagrams in pairs before they become the capstone milestone.

WEEK 11

Agents in the real world: context engineering & MCP

Advanced
Learning objectives
  • Use context-engineering skills (what to put in the context, when, and how to shorten it) to improve reliability and cost.
  • Connect an outside system with the Model Context Protocol (MCP).
  • Check how your context choices change a real task.
Hands-on lab

Connect your agent to an MCP server and use its tools. Then do a context clean-up on one agent: measure tokens and cost before and after you shorten and summarize.

Homework

Connect one more MCP tool, or use context engineering on your capstone, and report the before-and-after cost and quality.

Buffer this week

The recap links context engineering back to Week 6 memory β€” two sides of "choosing what the model sees."

WEEK 12

Agent evaluation, tracing & debugging + mid-capstone review

AdvancedCheckpoint
Learning objectives
  • Build a test setup: a labeled test set plus scores for an agent task.
  • Add tracing to an agent and fix a failure by reading its trace.
  • Check your own capstone against the goals you set so far.
Topics β€” click to open its explainer

Lighter new content β€” consolidation + review.

Hands-on lab

Add tracing to an agent and build a small test set (5–10 labeled cases) that scores it for you. Use a trace to find one real failure and fix it.

Mid-capstone review Β· graded checkpoint Β· due Week 12

Give a 5-minute update: a working core loop, one real tool, and your first test cases. Give and get feedback from classmates.

Buffer this week

Catch-up week: most of class is capstone reviews and getting unstuck. We teach testing now so you can use it on your own project right away.

MONTH 4

Production agents & capstone

Weeks 13–16 Β· advanced
WEEK 13

Reliability: retries, caching, fallbacks, cost & latency

Advanced
Learning objectives
  • Build retries with backoff, caching of results, and model/tool backups in an agent.
  • Measure and budget cost and speed for an agent run, and speed up one slow part.
  • Check your reliability gains with before-and-after numbers.
Hands-on lab

Make an agent tougher: add retries with backoff, cache a costly tool or model call, and add a backup model. Make a table of cost and speed (p50/p95) before and after.

Homework

Add reliability features to your capstone (part of the Week 14 milestone) and record the effect on cost and speed.

Buffer this week

Wrap-up questions cover cost surprises β€” everyone shares their biggest bill and how they would cut it.

WEEK 14

Safety & security: prompt injection, guardrails, permissions

Advanced
Learning objectives
  • Show a prompt-injection attack on a tool-using agent, and add a defense.
  • Build input and output guardrails and a least-privilege permission setup for tools.
  • Check an agent for common security risks and write down the risk that is left.
Hands-on lab

Attack your own agent: hide a prompt injection inside a document or tool result that makes it misbehave. Then defend it β€” add a guardrail and tighten permissions so the attack fails. Show both the attack working and the defense working.

Capstone milestone Β· reliability + safety Β· due Week 14

Finish the safety pass on your capstone: at least one guardrail and a written least-privilege permission plan, along with the Week 13 reliability features.

Buffer this week

The break is used for a live group exercise: everyone tries to attack the teacher's agent β€” attacks are more fun and memorable as a team.

WEEK 15

Deploying & operating agents (serving, monitoring, LLMOps)

Advanced
Learning objectives
  • Put an agent online as a service (a FastAPI endpoint in a container) that others can reach over the web.
  • Add production monitoring: logging, tracing, and basic numbers and alerts.
  • Explain the LLMOps loop (watch β†’ measure β†’ improve) for a live agent.
Hands-on lab

Wrap your agent in a FastAPI endpoint, put it in a container, and deploy it somewhere people can reach. Add request logging and tracing and a simple numbers view.

Capstone milestone Β· deploy + monitor Β· due Week 15

Put your capstone online with tracing and basic monitoring. It must be reachable and set up for demo day.

Buffer this week

Wrap-up is a deployment help session β€” because something always breaks in production. We make sure every capstone is reachable before demo day.

WEEK 16

Capstone demos, feedback & what's next

AdvancedWrap
Learning objectives
  • Show and explain your capstone: its design, test results, reliability and safety choices, and cost.
  • Review classmates' agents with clear, kind feedback.
  • Plan how you will keep learning in a fast-changing field.
Topics β€” click to open its explainer

Plus: reflecting on trade-offs, where the field is heading (patterns over tools), and building a portfolio.

Hands-on β€” demo day

Each person or team gives a 6–8 minute live demo and answers questions. The rest of the class reviews it against a shared checklist (works Β· tested Β· reliable Β· safe Β· online).

Final deliverable Β· end of Week 16

Capstone hand-in: repo + design doc + live link or UI + test results + demo.

Buffer this week

Wrap-up week: little new material. Time is saved for demos, feedback, a look back at the course, and a "what to learn next" plan so you keep going after the course.

Appendix

Outcome β†’ assessment map

Course outcomePrimarily assessed by
1 Β· Explain agent anatomy & when to useW1 lab/HW, participation
2 Β· Hand-implement ReAct / reflectionW3–4 labs, mini-project
3 Β· Robust tool designW5 lab/HW, capstone
4 Β· Memory + retrieval groundingW6 lab/HW, capstone
5 Β· Multi-agent + orchestration + HITLW9–10 labs, capstone
6 Β· Context engineering + MCPW11 lab/HW, capstone
7 Β· Evaluate, trace, debugW12 lab, capstone eval suite
8 Β· Reliability & costW13 lab, capstone milestone
9 Β· Safety & securityW14 lab, capstone milestone
10 Β· Deploy & operateW15 lab, capstone deployment
11 Β· Deliver & defend end-to-endCapstone + W16 demo
Next: open the Topic Guide β†’Every topic above, explained in simple words with an example. Part 2 of 2