Lesson 1322 of 1455
Agent vs workflow: when to use which
Not every AI task needs an autonomous agent — sometimes a fixed pipeline is smarter.
Builders · Agentic AI · ~4 min read
The big idea
An agent decides its own next step. A workflow follows fixed steps you wrote. Workflows are cheaper, faster, and easier to debug.
Some examples
- If you do the same task the same way every time → workflow.
- If the task needs judgment about what to do next → agent.
- If you don't know which → start with a workflow and upgrade later.
Try it!
Take a task you do weekly (e.g., summarizing news). Decide: agent or workflow? Build the simpler one.
Understanding "Agent vs workflow: when to use which" in practice: AI agents don't just answer questions — they can do things, like looking things up, writing files, or talking to apps. Not every AI task needs an autonomous agent — sometimes a fixed pipeline is smarter — and knowing how to apply this gives you a concrete advantage.
- Design clear agent goals before adding tools
- Define permissions and scope before deploying any agent
- Build in human-approval checkpoints for high-stakes actions
- Understand when to use an agent vs. a simple chat prompt
- 1Design an agent spec: goal, tools, permissions, stop condition
- 2Run a simple web-search agent in a sandbox environment
- 3Instrument an existing workflow to identify where an agent could save time
End-of-lesson quiz
Check what stuck
8 questions · Score saves to your progress.
Lesson help
Questions are best handled with a grown-up here.
For this age range, Tendril keeps freeform AI chat paused until parent/guardian consent and child-safe moderation are fully verified. Use the quiz, notes, and related lessons below, or ask a parent, guardian, teacher, or librarian to work through the question with you.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Creators · 75 min
Capstone: Build and Ship a Real Agent
Everything comes together. Design, code, test, secure, and ship a production-quality agent with open-source code you can fork today.
Creators · 20 min
Skills as Procedural Memory
Show how skill files turn repeated work into reusable agent procedures students can inspect and improve.
Builders · 28 min
Chat AI vs. Agent AI: The Real Difference
A chatbot answers. An agent does. Learn the line between a model that talks and a model that acts — and why crossing it changes everything about how you work with AI.
