Agents and automation
What an AI agent is, when a simple automation is better, and the guardrails that keep agents safe. 6 min
Read
Automation versus agent
An automation follows fixed steps you design: when a form is submitted, add a row and send an email. Tools like Zapier, Make and n8n do this well, and AI can be one step inside them.
An agent is given a goal and decides its own steps, using tools, checking results and trying again. Claude Code is an agent: you say fix the failing test and it works out how.
Use an automation when the steps never change. Use an agent when the path depends on what it finds.
Lesson notes: Agents and automation
Everything in this lesson as text, for revision or to read without the interactive steps. By the end you will be able to: You can choose between an automation, an agent and doing it yourself.
Step 1 of 4 · Read
Automation versus agent
An automation follows fixed steps you design: when a form is submitted, add a row and send an email. Tools like Zapier, Make and n8n do this well, and AI can be one step inside them.
An agent is given a goal and decides its own steps, using tools, checking results and trying again. Claude Code is an agent: you say fix the failing test and it works out how.
Use an automation when the steps never change. Use an agent when the path depends on what it finds.
Step 2 of 4 · Sort
Automation or agent?
Which fits each job best?
- Post every new blog article to a Slack channel
- Investigate why last night's build failed and propose a fix
- Copy new invoices from email into a spreadsheet
- Research five competitors and write a comparison
Show the answers
- Post every new blog article to a Slack channel: Automation. Same steps every time.
- Investigate why last night's build failed and propose a fix: Agent. The steps depend on what it finds.
- Copy new invoices from email into a spreadsheet: Automation. Predictable. An AI step can read the invoice inside the automation.
- Research five competitors and write a comparison: Agent. Open-ended searching and judgement.
Step 3 of 4 · Read
Guardrails
Give an agent the least access that does the job. Let it read before it can write. Ask for approval before anything that sends, pays, deletes or publishes. Keep a log of what it did.
Step 4 of 4 · Quiz
Check your understanding
An agent will tidy your shared drive. What is the safest first setup?
- Full access so it can finish in one go.
- Read-only access, and a written plan of moves for you to approve.
- Let it run overnight and check in the morning.
Show the answer
Read-only access, and a written plan of moves for you to approve. You see the plan before anything changes. Grant write access once you trust it.