Automate your work with AI, from the first rule to the complete workflow
Your progress
0 lesson completed out of 50

A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.

Your progress is saved in this browser. Log in to your client area to pick it up on your other devices.

Video transcript

Lesson 22, module 6: AI agents What an AI agent changes in a flow, and when to do without one Do you need an AI agent, or a flow that calls an AI once?

An agent runs in a loop: read, choose a tool, act, observe. [Diagram: An agent's loop] 1. Read the goal 2. Choose a tool 3. Act 4. Observe Each turn is a call to the model, so tokens. The loop stops on an answer or on a limit. A flow follows your plan. An agent makes its own for each request. Flow: a fixed path, a known cost Agent: a path that varies, and so does the cost Four questions before building an agent. [Diagram: Do you need an agent?] 1. Do requests vary so much that no fixed sequence covers most cases? 2. Does the task need several tools, in an order that depends on the case? 3. Can every action that leaves the company be approved by a person? 4. Does the gain cover several model calls per request? Yes to all: An agent is justified: start with read-only tools. The model only knows your tools by their description. Request: Tool chercher_commande: finds an order by number or by the customer's e-mail address. Changes nothing. Returns status, shipping date, carrier. Reply: The agent calls the tool with the customer's address when the number is missing, then writes: "Your order left on Tuesday with the carrier, here's the tracking." An agent costs several calls per request. Zapier: 75 tasks per run by default n8n: 10 turns at most by default Make: credits for each tool called An agent reads texts that may try to hijack it. Read-only tools first Human approval on whatever acts No deletion tools In the exercise, you decide whether the joinery firm needs an agent, and what for. Your turn: Decide where the joinery firm needs an agent The written lesson, the corrected exercise and the quiz are below the video.

Lesson 22 of 50 · module 6, ai agents

What an AI agent changes in a workflow, and when to do without one

An AI agent doesn't follow a path written in advance: it is given a goal and tools, and decides for itself, call after call, what to do until it reaches the result. It is useful when requests vary too much for rules. Elsewhere, a workflow with an AI step does the same job, more cheaply, more predictably and more easily controlled.

  • 25 min of reading
  • 1 min 50 of video
  • 8 diagrams
  • 1 demande to copy
  • 3 exemples pratiques
  • 4 exercices answerss
  • 5 questions
  • 1 ressource

By the end of this lesson, you will know how to

  • Tell a workflow with an AI step apart from an agent that chooses its own tools
  • Use four questions to decide whether a task justifies an agent
  • Estimate the cost and risks of an agent before building it

What’s covered

  1. A workflow follows a plan, an agent makes one
  2. What an agent is made of
  3. Does this task need an agent?
  4. What an agent costs and what it risks
  5. 3 worked examples, followed from start to finish
  6. Exercise with answers · Decide where the joinery business needs an agent
  7. 3 practice exercises, from guided to demanding cases
  8. The quiz

Key points

  • An agent chooses its own tools, turn after turn; a workflow follows the path you have written.
  • Most SME tasks are better done with a workflow and an AI step: cheaper and more predictable.
  • An agent is justified when requests vary too much and it needs to search in several places depending on the case.
  • The model knows your tools only through their descriptions: these must say what they do, expect and return.
  • Read-only tools first, human approval for anything that takes action, iteration and budget limits.