Loading learning content…
Loading learning content…
Understand agents conceptually — how they differ from chatbots and why they matter.
Read through the lesson, mark it complete when the concept is clear, then move to the next lesson in the sequence or jump back to the module map.
A chatbot responds to messages. An agent pursues goals.
The key difference: agents take actions in the world — browsing the web, writing files, calling APIs, running code, sending messages. They don't just generate text; they do things.
An AI agent has three components:
Agents exist on a spectrum from assistive to autonomous:
| Level | Description | Example |
|---|---|---|
| L0 | Responds only | FAQ chatbot |
| L1 | Makes suggestions | Code completion |
| L2 | Takes single actions | Email drafting |
| L3 | Multi-step tasks | Research + summary |
| L4 | Goal-directed | Software engineer |
| L5 | Fully autonomous | Runs a business function |
Most production agents today operate at L2–L4. L5 remains aspirational.
Tool use — agents extend their capabilities through tools: web search, code execution, API calls, file operations, database queries.
Memory — agents that remember past interactions and context can build on prior work rather than starting fresh every session.
Planning — sophisticated agents break goals into steps, monitor progress, and adapt when plans fail.
Use an agent when: the task requires multiple steps, requires real-world actions, or benefits from persistent context.
Use a simple prompt when: a single LLM call with good prompting is sufficient. Agents add complexity and cost — only justify them when necessary.