Definition
In AI, an agent is an entity that acts on behalf of a user or system to complete tasks. Unlike passive models that only respond to prompts, agents can plan, use tools, and iterate on their actions. They often employ loops of thought, action, and observation. Agents can interact with external APIs, browse the web, or execute code. This paradigm shifts AI from a conversational interface to an active participant in complex workflows, enabling automation of multi-step processes.
Summary
An AI system capable of perceiving its environment, reasoning, and taking actions to achieve specific goals autonomously.
Key Concepts
- Autonomy
- Tool use
- Planning
- Reactive loop
Use Cases
- Automated research assistants
- Self-coding bots
- Smart home controllers
Code Example
| |