Free lesson · Module: Agent Foundations

What Is an Agent

The agent formula

An agent is an LLM that a program runs in a loop and equips with tools. A task: “If it rains tomorrow, remind me about my umbrella.” The model asks for the forecast, sees rain, and asks for a reminder. It picks each step itself. What piles up along the way is called state. The formula: model + loop + tools + state.

How an agent differs from a chatbot

A chatbot answers once and waits for you. Asked about the umbrella, it tells you to check the forecast. An agent checks it itself: call a tool, read the result, pick the next step. This act → observe → decide loop repeats until the task is done. That is why you can hand an agent the whole job.

More on Way of the Agent

Still in this lesson: 3 more cards, a quiz of 5 questions, XP and stars - in the course.

Continue the lesson on the Path