Agent
A program that does more than just respond with text; it calls tools and performs multi-step tasks.
What Sets It Apart from a Regular Chat
| Chat | Agent | |
|---|---|---|
| Actions | Text only | Calls tools |
| Memory | Limited | Remembers context |
| Tasks | Single-step | Multi-step |
What an Agent Needs
- Tools — search, calculator, API, code execution;
- Memory — remembers what has already been done;
- Right to stop — knows when to give a final answer;
- Limits — step limit to avoid looping.
Types of Agents
- ReAct — think-do-look cycle;
- AutoGPT — autonomous goal-oriented work;
- Hermes Agent — an agent that learns from tasks.
Risks
An agent may loop, call the wrong tool, accumulate errors. Therefore, agent safety is important (agent safety).