Deep Expertise Track · Lesson 1
The Agent Spectrum
5 levels of AI systems — from single LLM call to multi-agent orchestration
The Agent Spectrum: From Single LLM Call to Autonomous Agent
Lesson 1 of the Deep Expertise Track — understanding the 5 levels of agentic systems
- The 5 levels of AI system complexity (from direct call to multi-agent)
- Where your existing webapps sit on this spectrum (and why)
- The critical distinction between "workflows" and "agents" — the #1 thing hiring managers test for
- Why Anthropic says "start simple" and when NOT to use agents
The Big Picture: 5 Levels of AI Systems
Anthropic, the company behind Claude, spent a year working with dozens of teams building LLM agents across industries. Their conclusion? "The most successful implementations weren't using complex frameworks or specialized libraries. Instead, they were building with simple, composable patterns."
Source: Anthropic — Building Effective Agents (Dec 2024)
Before you can build agents, you need to know where agents sit in the broader landscape. Here's the full spectrum — from dumbest to smartest:
Where Your Webapps Sit Today
Your Stock Research Assistant and BA Assistant are at Level 1 or Level 2. Here's the proof:
The Critical Distinction: Workflows vs Agents
This is the #1 thing hiring managers test for. If you confuse these two, you'll fail the interview question "So what's the difference between an agent and a chatbot?"
Anthropic draws a clear line:
| Dimension | Workflow | Agent |
|---|---|---|
| Who decides the steps? | YOU (developer) | THE LLM |
| Execution model | Linear / branching | Loop (Think→Act→Observe) |
| Can deviate from plan? | No | Yes — LLM replans after each observation |
| Cost predictability | High (fixed # of calls) | Low (N calls, variable) |
| Best for | Predictable, repeatable tasks | Open-ended, unpredictable tasks |
| Example from your apps | Stock Research Assistant | stock-research-agent (scaffolded) |
Source: Anthropic — Building Effective Agents
When NOT to Use Agents
Here's what most people get wrong: they think everything should be an agent. Anthropic explicitly warns against this:
"When building applications with LLMs, we recommend finding the simplest solution possible, and only increasing complexity when needed. This might mean not building agentic systems at all."
"Agentic systems often trade latency and cost for better task performance. You should consider when this tradeoff makes sense."
The Microsoft Azure Architecture Center agrees. They define 3 levels of complexity and say: "Use the lowest level of complexity that reliably meets your requirements."
Source: Microsoft Azure — AI Agent Orchestration Patterns
| Level | When to use | Your example |
|---|---|---|
| 1. Direct model call | Classification, summarization, single-step | BA Assistant |
| 2. Single agent + tools | Varied queries needing dynamic tool use | ba-work-agent |
| 3. Multi-agent orchestration | Cross-domain, parallel specialists, security boundaries | (not yet built) |
The 5 Workflow Patterns (Preview)
Before you reach Level 4 (full agents), Anthropic defines 5 workflow patterns that are simpler and more predictable. These are the building blocks. You should know all 5:
Source: Anthropic — Building Effective Agents
We'll build each of these in upcoming lessons. But first, you need to understand Level 4 (agents) deeply — because that's where your scaffolded projects live.
The one-sentence summary
An agent is an LLM that runs in a loop, decides which tools to call, and keeps going until it achieves its goal — everything else (workflows, prompt chaining, routing) is just YOU pre-scripting the steps the LLM follows.
Practice Drill: Map Your Apps to the Spectrum
Open a terminal and go to each of your projects. For each one, answer: What level is this?
cd ~/Documents/Pythonproject/Touseef_Project_Work/ba-work-agent— Readmain.py. Find the line where the LLM decides which tool to call. What level is this?cd ~/Documents/Pythonproject/Touseef_Project_Work/stock-research-agent— Readmain.py. How many tools does the agent have? What level is this?- Think about your Stock Research Assistant webapp. Could you make it Level 3 (workflow) by adding 2 sequential LLM calls? What would they be?
Q1: Your BA Assistant takes a user's question, sends it to DeepSeek, and displays the response. What level is it?
Show answer
Level 1 (Direct Model Call). No tools, no retrieval, no loop. Just prompt in, text out. This is fine! Anthropic says this is the right solution for simple tasks. Don't over-engineer it.
Q2: Your ba-work-agent reads a JIRA CSV, counts priorities, and suggests top 5 — but the LLM decides which tool to call first. What level is it?
Show answer
Level 4 (Agent). The LLM runs in a loop, calls tools (read_jira, count_by_priority, suggest_priorities), observes results, and decides what to do next. You didn't script the order — the LLM chose it.
Q3: A hiring manager asks: "What's the difference between a workflow and an agent?" What do you say?
Show answer
"In a workflow, I as the developer pre-define the steps — call LLM with prompt A, then call with prompt B, then aggregate. The LLM can't deviate. In an agent, the LLM runs in a loop — it decides which tool to call, observes the result, and decides what to do next until it achieves the goal. Workflows are predictable and cheap. Agents are flexible but cost more and can compound errors. You use agents when you can't predict the steps needed in advance."
Where to Go Deeper
- Anthropic: Building Effective Agents — The foundational article. Read the full thing. It defines every pattern with diagrams.
- Microsoft Azure: AI Agent Orchestration Patterns — The 5 multi-agent patterns with real-world examples. Bookmark this.
- ReAct Paper (Yao et al., 2022) — The original paper that defined the Reason+Act pattern. Skim the abstract and intro.
Want to see these patterns in action?
Explore the live apps built with these agent architectures.
Explore the Lab →