AI agents and MCP

Stage 1 of 10 · 6 lessons · ~2 weeks

How agents work

Understand what makes a program an agent, the loop every agent runs, how agents differ from fixed workflows, and how to decide whether a task needs an agent at all.

Start: What an agent is

Lessons· one lesson for each topic, in this order

  1. 1What an agent is
  2. 2Workflows versus agents
  3. 3The agent loop
  4. 4Ground truth from the environment
  5. 5When not to build an agent
  6. 6The parts of an agent system

Do this

  • Read an overview of agents versus workflows from a model provider.
  • Sketch the same problem as a workflow and as an agent, and compare their cost and risk.
  • Write the agent loop in pseudocode, including a step limit.
  • List the tools your first agent needs and the ground truth each returns.
  • Mark every irreversible action and decide how it will be approved.
  • Write the one-page design note for your agent.

Start with· follow one of these

  • CoursePaid
    Grokking Modern AI Fundamentals

    Design Gurus · Beginner · $72 one-time

    Chapter 8, Agentic AI, covers reasoning, planning and memory in agents and ends with a small agent project

  • CourseFree
    Hugging Face AI Agents Course

    Hugging Face · Beginner

    Free: Unit 1 explains the thought, action, observation cycle and builds a first agent step by step

Practise

Keep handy

  • The clearest description of workflows versus agents and the common patterns; reread it at every stage

  • A one-page map of agent topics, useful to see where each stage of this roadmap fits

Also worth your time

Before moving on: A one-page design note for an agent you want to build: why it needs an agent rather than a workflow, its tools, what ground truth each step returns, which actions are irreversible and what limits it will have.

Tauseef's advice
Most agent tutorials start with a framework and a demo. Start with the question of whether you need an agent at all, and with the loop itself. If you already built tool calling in the AI engineering roadmap, skim this stage, but still write the design note: it will save you weeks later.

Mark this stage as not done?