Beginner level · Module 2 of 7 · 7 guided hours
Understanding AI Agents and Their Components
The building blocks of an agent (model, instructions, tools, memory and the control loop) and how they fit together, explored with a guided notebook agent.
Learning objectives
- Name and explain each component of an agent
- Trace an agent's loop step by step
- Explain how tools and memory change what an agent can do
Topics
- the model and its instructions
- tools: reading, searching and calculating
- memory: within a conversation and across sessions
- the observe–think–act loop
- stopping conditions
- logs and traces
Lessons
-
Lesson 1 Model, Instructions and Tools
Learners examine how instructions shape behaviour and how tools let an agent look things up or calculate instead of guessing.
system instructionstooltool descriptionread-only toolgrounding
-
Lesson 2 Memory and Context
Learners distinguish what an agent remembers within one conversation from what it stores across sessions, and see the privacy questions memory raises.
conversation historyshort-term memorylong-term memorycontext limitsprivacy
-
Lesson 3 The Agent Loop and Stopping Conditions
Learners trace the observe–think–act loop through a log, and see why every agent needs limits on steps, time and cost.
observe–think–act loopReAct patternstep limitcost limittrace log
Practical activity
Annotate a full trace of the guided agent answering three questions, and write the component specification (instructions, tools, memory policy, limits) for the level project assistant.
Expected outcomes
- Clear mental model of agent components
- Ability to read and use agent traces
Assessment
Trace annotation exercise (50%) and component specification (50%).
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.