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
| Level | What happens | Example |
|---|---|---|
| Assistant | You ask, it answers, once. You're in control of every step. | "Summarise this article." |
| Workflow | A 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. |
| Agent | The 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.
- Write a bot spec with: Job, Trigger, Inputs, Output, Never, Level.
- Choose the simplest level that works and say why.
- Click Check my prompt.
- 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
5. Quick quiz
Q1. What makes something an agent rather than a workflow?
- It runs on a schedule
- The AI decides its own steps and tools
- 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?
- Always build a full agent
- Find the simplest solution and add complexity only when needed
- 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?
- AI models are slow
- Models don't reliably separate instructions from the data they read
- It only affects coders
Show answer
Answer: B. Hidden instructions in emails or web pages can steer an AI that reads them.
Official sources
- Anthropic Engineering: Building effective AI agents (workflows vs agents)
- NCSC blog: Prompt injection is not SQL injection (it may be worse)
- OpenAI Help: ChatGPT agent (safety advice on prompt injection; the page now says agent mode has been replaced by ChatGPT Work)
- Gemini Apps Help: About the transition from Gems to skills
- OWASP Gen AI Security Project: Top 10 risks for LLM applications
Checked 1 November 2026. Lesson text is written in our own words. Menus, limits and settings change often, so check the current version on each site.
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