AI Base

Course 10 of 10

Agents

Systems that perceive, decide and act using everything before them: planning, tool use, memory, multi-agent coordination, evaluation and safety.

11 chapters · 56 lessons · builds on RAG · About this course

01Foundations of Agentic Systems5 lessons
02Workflow Patterns Before Autonomy5 lessons
03Planning and Task Decomposition5 lessons

A genuinely open-ended goal can't be handled by a fixed workflow written in advance — nobody knows the steps until the agent starts looking at the specific situation. Chapter overview

  1. 1Goal Decomposition into Subtasks 5 min
  2. 2Plan-and-Execute Agents 5 min
  3. 3Re-Planning on Failure 5 min
  4. 4Hierarchical Task Planning 5 min
  5. 5When Planning Hurts More Than It Helps 5 min
04Tool Use and Function Calling6 lessons
05Memory and State Management5 lessons

An agent running for hundreds of steps can't keep everything it's ever seen in its context window — and some of what it learns along the way needs to survive past the current run entirely. Chapter overview

  1. 1Short-Term vs. Long-Term Agent Memory 5 min
  2. 2Episodic Memory and Experience Logs 5 min
  3. 3Memory Retrieval as Agent-Time RAG 5 min
  4. 4Memory Compression and Forgetting 5 min
  5. 5Shared State Across a Multi-Step Task 5 min
06Multi-Agent Systems6 lessons
07Reflection and Self-Improvement4 lessons
08Agent Environments and Action Spaces6 lessons

What an agent can actually do depends entirely on what it's acting inside — clicking around a web page needs a different action space than running shell commands in a terminal. Chapter overview

  1. 1Web-Browsing Agents 5 min
  2. 2Computer-Use Agents and GUI Grounding 5 min
  3. 3Code-Execution Agents 4 min
  4. 4Hybrid Code-and-GUI Action Spaces 5 min
  5. 5Simulated and Game Environments 5 min
  6. 6Action-Space Design and Its Failure Modes 5 min
09Evaluating Agents5 lessons

Scoring a single generated answer is one problem; scoring a hundred-step trajectory of actions, any one of which could be the reason the whole task failed, is a different and harder one. Chapter overview

  1. 1Agent Benchmarks and Task Suites 5 min
  2. 2Success-Rate Metrics and Their Blind Spots 5 min
  3. 3Trajectory-Level Evaluation 5 min
  4. 4LLM-as-Judge for Agent Trajectories 5 min
  5. 5Cost and Reliability as Joint Metrics 4 min
10Agent Safety and Governance5 lessons

An agent that can act on the real world — sending money, deleting files, emailing someone — needs more than good intentions to be safe to run unsupervised. Chapter overview

  1. 1Autonomy Levels and Human Oversight Tiers 5 min
  2. 2Sandboxing and Isolation 5 min
  3. 3Excessive Agency and Scope Limits 5 min
  4. 4Guardrails for Agent Actions 5 min
  5. 5Prompt Injection in Agent Contexts 5 min
11Agents in Practice4 lessons
Agents glossaryEvery key term from this course in one alphabetical list.