Agent Loop
- Models are stateless. They process one request, produce a completion, and forget.
- They can’t take action, access live data, or coordinate multi-step workflows alone.
- Agents solve this by wrapping a model in a runtime system that gives it tools, memory, and a reasoning loop.
- Definition: Software program that can interact with its environment, collect data, and use that data to perform self-directed tasks that meet predetermined goals. Humans set goals, but an AI agent independently chooses the best actions, it needs to perform, to achieve those goals.