What is an Agent?
An Agent consists of three main components:- The Model: The LLM that acts as the core reasoning engine.
- Tools: Functions or APIs that the agent can choose to execute (e.g. search engines, calculator, database retrievers).
- The Agent Loop: The prompt-based loop (commonly ReAct: Reason and Action) that coordinates reasoning steps, tool calling, and parsing results.