Lesson 2 of 4
How Do AI Agents Work?
10 min
The Agent Cycle:
- Understand the Goal: You give the agent a task or objective
- Plan: The agent thinks about what steps it needs to take
- Act: The agent takes action (searches, sends emails, creates files, etc.)
- Observe: The agent sees the results of its action
- Learn and Repeat: Based on what happened, it adjusts and tries again
This cycle repeats until the agent completes the goal or realizes it can't.
The Key Difference:
Agents can use tools — things like Google Search, email, spreadsheets, and more. ChatGPT can't actually use these tools; it just gives you information about them. Agents can actually use them!