Agents: LLMs That Take Action
An agent is an LLM that can decide which tools to use and in what order to accomplish a task.
Chains vs Agents
| Chains | Agents |
|---|---|
| Fixed sequence of steps | Dynamic, decides at runtime |
| Predictable flow | Adapts to situation |
| Simpler to debug | More powerful but complex |