An AI model is a learned computational component that maps inputs to outputs. An AI agent is a system that uses a model, tools, and a control process to pursue a goal. A model may generate the next proposed action; the surrounding software decides what can actually run.
Many assistants use a large language model (LLM) to generate text and proposed actions. Read that introduction for how language models learn, use context, and produce responses.
The terms are sometimes used loosely. For practical design, ask a concrete question: who chooses the next step—the application code, the model, or a person?
Compare three systems
| System | Example | Who determines the next step? |
|---|---|---|
| Model call | Summarize supplied notes | The application makes one request |
| Fixed workflow | Extract actions, validate fields, create a draft | Predefined code controls the sequence |
| Agent | Investigate a missing record using several tools | The model chooses among permitted next actions |
An assistant is a user-facing role or experience. It can contain a single model call, a fixed workflow, or an agent. A chat interface alone does not establish that a system is agentic.
What surrounds the model
Consider an assistant investigating why a fictional delivery is late. It needs a goal, access to relevant records, tools with defined inputs, a place to retain task state, and a rule for stopping or escalating. It may inspect a record, discover a missing reference, perform another lookup, then draft an explanation.
This pattern of using observations to inform later actions is central to research such as ReAct. It is different from producing a plausible narrative about actions that never happened. ReAct research paper
A useful trace should show the requested lookup, the actual tool result, and the final answer. If a tool failed, the assistant should not report successful completion.
Tool calls are proposals to execute code
A model can output a function name and arguments, such as a request to fetch a booking. Application software validates those arguments, checks authorization, calls the relevant system, and supplies the result back to the model. The model does not acquire permission merely by naming a tool.
MCP can standardize the connection between an application and a tool provider, but an agent can also use ordinary APIs. The protocol and the agent’s control logic solve different problems. MCP architecture
Choose the amount of autonomy
For an initial room-booking assistant, allow it to read availability and prepare a booking request. Require a person to confirm the room and time before any reservation is made. Include a maximum number of searches and a clear response when availability cannot be established.
Before adding autonomy, compare performance with a simple workflow. Does choosing its own search order help with cases the fixed workflow cannot handle? Does it increase cost or make errors harder to investigate? Measure those effects on representative tasks.
Persistent state can help an agent resume work, but it can also retain outdated assumptions. Store task facts with their source and time, and recheck changeable information before acting.
Check your understanding
A model returns book_room("A", "10:00") as text. Has a room been booked?
See the explanation
No. A booking exists only if an authorized application executes the request successfully and verifies the result. Generated tool-call text is not evidence of a completed action.