The Illustrated Guide to Local AI

Chapter 10

The Helpful Assistant

Imagine you are sitting in your favourite armchair. You have a cup of tea. You ask a friend, "What is the capital of France?" They answer, "Paris." That is a chat model. It is a talking head. It knows things. It shares them. It does not move. It does not fetch. It does not act. It stays in its chair.

Now imagine a different kind of friend. This one is a butler. You ask, "What is the capital of France?" The butler does not just say "Paris." The butler stands up. The butler walks to the library. The butler finds a map. The butler brings the map to you. The butler points to the spot on the map. This is an agent. It has a goal. It has tools. It has the ability to move. It does not just give you an answer. It does the work.

Think of your kitchen. You want a cup of tea. A chat model is like a recipe card. It tells you the steps. It says, "Boil water." It does not steep the leaves. It does not bring you the cup. An agent is the person who actually makes the tea. It checks the kettle. It finds the tea bags. It pours the water. This difference is simple, but it changes everything. A plain chat model is a voice. It answers questions. It writes sentences. It stops there. It cannot open a file. It cannot send an email. It cannot look up a price. It is stuck in the conversation. An agent is a pair of hands. It can reach out. It can touch things. It can move objects. It can change the world around you. This is what makes it useful. You do not have to do the work yourself. You give the instruction. The agent follows it. It breaks the job into small pieces. This is called planning. Think of a grocery list. You want dinner. The agent decides what is needed. It checks the pantry. It finds the eggs. It looks for the milk. It sees the flour is missing. It writes a note to buy more. This is not guessing. It is a step-by-step path. Each step is small. Each step is clear. The agent does not try to do everything at once. It does one thing. It checks if that thing is done. Then it moves to the next thing. This is called a loop. It is like walking around a kitchen table. You pick up the cup. You put it in the sink. You do not stop until the table is clear. The agent works like this. It does not guess the whole meal. It does not imagine the clean kitchen. It checks the result. It sees if the fork is in the sink. It does not assume the work is finished. It looks. It confirms. It checks the plan. It sees what is left to do. It picks up the napkin. It checks again. It sees the table is clear. It stops. It tells you the job is done. This is how an agent works. It does not just talk. It acts. It uses tools. A tool is a small helper. Think of a tool as a screwdriver. You cannot tighten a screw with your hand. You need the screwdriver. The agent needs tools to do work. It cannot open a file without a tool. It cannot send an email without a tool. It cannot search the web without a tool. These tools are like the keys in your pocket. You have a key for the front door. The agent has a key for each task. It picks the right key for the right job. It does not guess. It looks at the goal. It sees what is missing. It chooses the tool that fits. Imagine you want to know the weather. A plain chat model will say, "It is sunny." It talks. It guesses from memory. An agent walks to the window. It reports what it sees. This is the difference. One model talks about the world. The other model checks the world.

Let us look at how it plans. A plain chat model answers one question at a time. It does not remember the steps. It does not think ahead. An agent thinks ahead. It breaks the job into small pieces. Imagine you ask for a cup of tea.

If you remember only one thing

An agent does more than talk. It plans the steps to finish the job. It acts on your behalf, one tool at a time.

Cards from this chapter