Three activities that turn this week's ideas into skills: annotate a real trace, design a state graph on paper, and argue a case the way a manager would.
Below is the full trace of a travel-cost agent answering: “Can I do 3 nights in Boston — flight from Atlanta plus hotel — for under $900?” Mark up a copy (or a screenshot): (1) circle every point where the loop made a decision; (2) underline the observation that changed the plan; (3) find one wasted step; (4) verdict: is this plan-then-execute or interleaved — and how can you tell from the trace alone?
Produce: your annotated trace + a one-sentence verdict with evidence.
On paper or a whiteboard, design a LangGraph-style graph for an agent that (1) makes a plan, (2) executes one step, (3) reflects on the result, and loops or finishes. Your drawing must label: the state fields that persist across nodes (e.g., task, plan, past_steps, results, critique); every node; which edges are fixed vs conditional; and the stopping condition that prevents an infinite loop.
Produce: a photo of the graph + one sentence: where would ReAct collapse two of your nodes into one?
Fixed edges: START→planner, planner→executor, executor→reflector. Conditional edge: reflector — routes back to executor (critique says “not done”, steps < N) or to END (done, or the max-iteration guard fires at N). The ReAct collapse: ReAct merges planner + executor into one looping “model” node that re-decides the next step every turn — you trade the reviewable up-front plan for adaptivity. Common miss: teams forget steps in the state — a stopping condition that isn't stored anywhere can't be checked.
A travel startup ships an itinerary agent: “3 cities in Italy, 7 days, total budget $2,500.” Two builds, two outcomes.
One big prompt, one answer. The model books Rome ($1,100 with a boutique hotel it “liked”), then Florence ($900)… and reaches Venice with $500 left against ~$800 of real costs. The itinerary reads beautifully — and busts the budget by ~$300, discovered by the customer.
First a plan node allocates the budget (roughly $833/city) — reviewable before anything is “booked.” An executor prices each city with tool calls; a checker node compares running total vs plan after every step. Rome comes back at $950 → the checker routes back to replan: downgrade the hotel, shift $100 from Florence. Final: $2,470, under budget, with a trace showing every correction.
Five questions an agent-engineering interview would actually probe. Try answering out loud before revealing.
Microsoft — AI Agents for Beginners (MIT) ↗
LangChain Academy notebooks (MIT) ↗
Hugging Face Agents Course (Apache-2.0) ↗
DeepLearning.AI — AI Agents in LangGraph ↗
Reflexion (Shinn et al., 2023) ↗ ·
Tree of Thoughts (Yao et al., 2023) ↗ ·
Plan-and-Solve (Wang et al., 2023) ↗
Five multiple-choice questions, closed-book, in class. Everything comes from the readings listed above — scope: the Week 4 readings (Kaggle whitepaper · Intro to LangGraph · ReAct skim) + the Week 5 reading (Ponnambalam, LangGraph, LinkedIn Learning) — plus this week's core ideas. Try the samples before revealing; the real quiz is the same style and difficulty.
Same style and difficulty as the real thing.