Model or agent: what is the difference?
A model answers once from what it is given; an agent puts a model in a loop where it can use tools, look at the results and keep working towards a goal.
Read first: What does a language model do?
On its own, a model takes text in and gives text out. It cannot look anything up, click anything or check its own answer against the world. Each answer is a single step.
An agent is a system built around a model. The model is asked what to do next; it can choose a tool, such as a search, a calculator, a database query or sending an email; the system runs that tool and hands the result back; and the model decides the next step. The loop continues until the goal is met or something stops it.
That loop is what makes agents useful and what makes them risky. The same agent that can book a meeting can book the wrong one, and a mistake in step two can be carried into every step after it. So agents need limits around them: which tools they may use, when a person must approve, and how their work is checked. This site calls that surrounding layer the harness.
An everyday example
Ask a chat model "what is the weather in Lisbon tomorrow?" and it can only guess from old training text. An agent with a weather tool calls the service, reads the forecast and answers with today's data, and it could go on to move your outdoor meeting if it had permission to use your calendar.
A common misconception
- What people think
- An agent is a smarter, more advanced model.
- What actually happens
- An agent usually runs on the same kind of model. What changes is the system around it: the tools, the loop and the rules that decide what it is allowed to do.
Check it yourself
In the Lab linked below, sort twelve real cases into model, agent or harness, and look closely at the ones you get wrong.