Elsardel AI Academy

Academy / AI Agents and Scheduled Bots for Non-Coders / Lesson 1

Free sample lesson

Lesson 1: Assistants, workflows and agents: choose the simplest thing that works

About 35 minutes. 'Agent' is one of the most over-used words in AI. You'll learn the practical difference between an assistant, a workflow and an agent, and design your first bot on paper before touching any settings.

1. Three levels

LevelWhat happensExample
AssistantYou ask, it answers, once. You're in control of every step."Summarise this article."
WorkflowA fixed sequence of steps, set up in advance, that may include AI at some steps. Same path every time.Every Monday at 7am: collect the week's calendar, summarise it, send me the summary.
AgentThe AI decides its own steps and which tools to use, in a loop, until it thinks the job is done."Find three plumbers who can come this week, compare quotes and book the cheapest."

Anthropic's engineering guide, Building effective agents, draws the same line: workflows follow predefined code paths, while agents direct their own process. Its main advice is to find the simplest solution possible and add complexity only when it's needed, because agents trade extra cost and slower responses for flexibility, and their mistakes can compound.

2. Where agents go wrong

  • They act on bad information. An agent that reads web pages or emails can be tricked by hidden instructions inside them ("prompt injection"). The UK's National Cyber Security Centre warns that today's AI models don't reliably separate instructions from data.
  • Small errors add up. In a ten-step task, one wrong step early on can spoil everything after it.
  • Features change fast. OpenAI's help page for "ChatGPT agent" now says that feature has been replaced by a newer product; Google is replacing Gems with skills. Build habits, not dependencies on one feature.

3. Design on paper first

Before building anything, write a one-paragraph bot spec:

  • Job: what it does and for whom
  • Trigger: a time ("weekdays 7:30") or an event ("when a form is submitted")
  • Inputs: what it reads
  • Output: what it produces and where it goes
  • Never: things it must never do without you (send, buy, delete, change)
  • Level: assistant, workflow or agent, and why

4. Practice workspace

Your task

Scenario: Use your own idea, or this one: Marcus runs a two-person electrical business in Swansea. Every morning he wants to know the day's jobs, the weather (for outdoor work) and any customer messages he hasn't answered.

  1. Write a bot spec with: Job, Trigger, Inputs, Output, Never, Level.
  2. Choose the simplest level that works and say why.
  3. Click Check my prompt.
  4. Bonus: paste your spec into an AI and ask it to find gaps or risks.

1 Write your prompt

This check uses simple word-matching in your browser. It is not AI marking; it just looks for the key parts.

  • Job Say what the bot does and for whom.
  • Trigger A time (e.g. weekdays 7:30) or an event.
  • Inputs What it reads: calendar, weather, messages…
  • Output What it produces and where it goes.
  • Never list Say what it must never do without you (send, buy, delete…).
  • Level and reason Say workflow, assistant or agent, and why.

2 Try it in a free AI

Each button copies your prompt to the clipboard and opens the assistant in a new tab. If the prompt isn't filled in for you, paste it in.

3 Paste the AI's reply and review it

Self-review

5. Quick quiz

Q1. What makes something an agent rather than a workflow?

  1. It runs on a schedule
  2. The AI decides its own steps and tools
  3. It uses AI at any step
Show answer

Answer: B. Workflows follow a predefined path; agents direct their own process.

Q2. What does Anthropic's guide recommend first?

  1. Always build a full agent
  2. Find the simplest solution and add complexity only when needed
  3. Avoid AI entirely
Show answer

Answer: B. Agents cost more and are slower, so use them only when the flexibility is worth it.

Q3. Why does the NCSC see prompt injection as a serious risk?

  1. AI models are slow
  2. Models don't reliably separate instructions from the data they read
  3. It only affects coders
Show answer

Answer: B. Hidden instructions in emails or web pages can steer an AI that reads them.

Liked this lesson?

The rest of AI Agents and Scheduled Bots for Non-Coders builds on what you've just done. See what's in the other lessons on the course page.

Buy – £59 · opens soon