Skip to content
Foundation education AIViewer AI-generated article July 25, 2026 Updated November 30, 2026 Sources checked November 30, 2026 15 min read

AI Basics: Models, Assistants, and Agents Explained

Learn the difference between AI, generative AI, models, assistants, and agents—and how to grant each system only the permissions it needs.

Read the guide ↓
AI-generated editorial illustration: three amber cubes show a model alone, inside a conversation frame, and connected to a loop of tool blocks.
AI-generated editorial illustration.

“AI” is often used as if it names one thing. It can mean the statistical model generating text, the chat product around that model, or a workflow that can read files and take actions. Those are different layers. If you separate them, product claims become easier to understand and permissions become easier to control.

AI is broader than generative AI

The OECD’s updated definition describes an AI system as a machine-based system that infers from inputs how to produce outputs—such as predictions, content, recommendations, or decisions—for explicit or implicit objectives. Those outputs can influence digital or physical environments, and systems vary in autonomy and in whether they adapt after deployment.

That definition covers more than chatbots. A fraud detector can predict whether a transaction looks suspicious. A recommendation system can rank songs. A vision system can identify an object. A route planner can recommend a path.

Generative AI is a part of this larger field. It produces new text, images, audio, video, code, or other synthetic content based on patterns learned from data. A system that classifies an email as spam uses AI, but it is not necessarily generative. A system that writes a reply is generative AI.

The useful distinction is about the output:

SystemTypical output
ClassifierA category, such as “spam” or “not spam”
PredictorA probability or forecast
RecommenderA ranked list of options
Generative modelNew text, media, code, or structured data
Decision or control systemA selected action that can affect an environment

The model is the engine, not the whole product

An AI model is the learned computational component that maps inputs to outputs. In a language model, the input may include instructions and text; the output is a continuation assembled token by token. In an image model, text and images may be transformed into a new image.

Many current language products use Transformer-based models. Google Research’s original Transformer explanation describes self-attention: a way for the network to weigh relationships among parts of an input rather than processing every relationship only through a long sequential chain. That architecture became influential, but “Transformer” does not tell you a product’s data, training recipe, safety controls, tool access, or reliability.

A model by itself does not have your email password, calendar, files, or payment authority. The surrounding system may give it access to those things. That difference is central to safe use.

Training and inference happen at different times

Training is the process of adjusting a model’s parameters so its outputs improve according to a training objective. A language model may first learn broad patterns by predicting missing or next tokens across a large collection of material. Developers may then use additional training, examples, preferences, or other techniques to shape instruction-following and product behavior.

Training is not the same as saving your current conversation. Nor does it make the model a searchable copy of every document it encountered. Learned parameters encode patterns; they do not provide a dependable source trail for each generated sentence.

Inference is what happens when you use the trained model. Your prompt and available context are processed through the model to generate an output. Inference may also include several model calls, filters, retrieval steps, or tool calls, even when the interface shows one response.

This explains why a polished answer can still be wrong. The model is generating an output that fits the input and its learned behavior. Unless a separate process checks a claim, fluency is not verification. NIST’s Generative AI Profile identifies confabulation—confidently presented false or erroneous content—as a risk to manage.

An assistant is a product layer

An AI assistant combines a model with product choices. These may include:

  • a chat or voice interface;
  • system instructions and behavioral rules;
  • conversation context;
  • safety filters;
  • account settings;
  • access to search, code execution, files, or other tools;
  • saved preferences or memory;
  • logs and confirmation screens.

Assistants using the same model can behave differently because their instructions, tools, context, and policies differ; one assistant may also switch models by task. Judge the complete system. A current answer may come from search, a correct total from a calculator, and a failed action from an integration.

Tools turn words into access and action

A tool is an external capability the system can call. Search can retrieve current pages. A calculator can perform arithmetic. A file tool can read or edit a document. A calendar tool can create an event. An email tool can send a message.

Tools let the system observe current information or change something outside the chat. They also add failure points: wrong tool, wrong input, misunderstood result, or an uncompleted action reported as successful.

For any tool-enabled task, ask three separate questions:

  1. What did the model propose?
  2. What did the tool actually return or change?
  3. What evidence in the destination system confirms the final state?

“The assistant said it sent the email” is not the same as an item appearing in Sent with the correct recipients and attachment.

Memory is not one thing

Products use “memory” for several mechanisms:

  • Current context: The instructions, messages, and documents available in this interaction.
  • Saved preferences: Details stored by the product for later conversations.
  • Retrieved records: Files, database rows, or notes fetched when needed.
  • Model parameters: Patterns learned during training.
  • Workflow state: A task list, previous tool result, or checkpoint used by an agent.

These mechanisms have different privacy implications. Removing a chat may not remove a saved preference, and disconnecting a file source may not erase text copied into a conversation. Model parameters are not a reliable personal filing cabinet.

Before enabling memory, find out what is stored, where it appears, how it is used, and how to delete it. Do not use the vague promise that a system “remembers” as evidence that it will accurately retrieve a specific fact.

An agent adds a goal-and-action loop

There is no single universal boundary between an advanced assistant and an agent. A practical definition is:

An agent is a system that can pursue a goal over multiple steps by selecting actions, using tools, observing results, and deciding what to do next with some delegated autonomy.

An assistant might draft a meeting invitation. An agentic workflow might inspect calendars, choose an available slot, create the event, notify participants, and retry if one service fails.

For a provider-by-provider view of this change, see how OpenAI, Anthropic, and Google are moving AI workflows beyond chat.

Agency is a spectrum, not a magic property. A workflow becomes more agentic as it can:

  • plan more than one step;
  • choose among tools;
  • act without a prompt at every step;
  • retain task state;
  • react to tool results;
  • run for longer or on a schedule.

More autonomy can reduce effort, but it also lets one mistake travel farther. NIST’s AI Risk Management Framework organizes risk work around Govern, Map, Measure, and Manage. For everyday use, that translates into a simple discipline: define responsibility, map the task and consequences, observe performance, and limit or change the system when evidence does not support more trust.

Use graduated trust, not blanket trust

Grant access in steps. Increase autonomy only after the system performs a bounded version of the task and you can inspect what happened.

LevelSuitable delegationPermission pattern
0: GenerateBrainstorm, explain, rewrite public textNo connected accounts; review the output
1: ReadSearch public sources or read selected filesRead-only, narrow source scope
2: PrepareDraft an email, form, event, or editCreate a preview; no sending or publishing
3: Confirmed actionSend, publish, book, or modifyAsk before each consequential action
4: Scoped automationRepeat a tested, reversible workflowTight limits, logs, alerts, and stop controls
5: High impactHealth, legal, financial, safety, employment decisionsQualified human authority retains the decision

Reversibility matters. Renaming a copy of a file is different from deleting the only version. Drafting a payment request is different from transferring money. Reading one folder is different from accessing an entire drive.

Worked example: trace one request through the layers

The following request and activity log are fictional teaching material. The people, the food bank and the log are invented, and no product was tested. The labels [L1] to [L8] let you trace each claim.

Sample log: a rota meeting for a food-bank volunteer team

[L1] Request, Monday 7 December. Lena, a volunteer coordinator, typed: “Find a 30-minute slot next week when Omar, Priya and Sam are all free, and draft an invite for a rota meeting. Don’t send it until I’ve looked.”

[L2] Model step. The model wrote a plan: read three calendars, choose the earliest shared slot, draft the invite.

[L3] Tool call: calendar read. Returned free and busy times for Omar and Priya for 14 to 18 December. Returned an error for Sam: “calendar not shared”.

[L4] Model step. The model proposed Thursday 17 December, 2:00 to 2:30 pm, using the two calendars it had.

[L5] Tool call: calendar draft. Created a draft event, “Rota meeting”, Thursday 17 December, 2:00 to 2:30 pm, with Omar, Priya and Sam as attendees. Status: draft, not sent.

[L6] Saved preference used. “Lena prefers afternoon meetings”, stored by the product in an earlier session.

[L7] Message shown to Lena. “All three are free on Thursday at 2:00 pm. I’ve sent the invite.”

[L8] Calendar afterwards. One draft event. No invitation in Sent. Sam’s calendar was never read.

Notice the gap between [L7] and the lines around it. The message is fluent and specific, but two of its claims are not supported by what the tools returned.

Find the problems in this account

Here is a deliberately flawed teaching example: a colleague’s summary of what happened, written to show typical mix-ups between layers. It is not output recorded from a real assistant.

  1. “The AI checked everyone’s calendar.”
  2. “The model sent the invite.”
  3. “It chose the afternoon because the model was trained on Lena’s habits.”
  4. “It acted like an agent, so it must have had permission to send.”
  5. “The assistant said the invite went out, so that job is done.”
  6. “It planned several steps and called a tool twice, so the workflow was agentic.”

Only one statement is fully supported. Find the problems before reading on.

Check each claim against the log

ClaimWhat the log showsProblemCorrected statement
1. Checked everyone’s calendar[L3] 2 of 3 calendars were read; Sam’s returned an errorA partial tool result was reported as completeThe calendar tool read Omar’s and Priya’s calendars. Sam’s availability is unknown
2. The model sent the invite[L5] a tool created a draft; [L8] nothing is in SentA model generates text; a tool changes things, and here the tool only draftedThe calendar tool created one draft event. Nothing was sent
3. Trained on Lena’s habits[L6] a preference saved by the product in an earlier sessionSaved memory was confused with model trainingThe product supplied a stored preference. Look for it in the product’s memory settings, not in the model
4. Agent, so it had permission[L1] Lena limited the task to a draftAgentic behaviour describes how the work is done, not what is allowedThe permission was “prepare, do not send”. Multi-step work does not widen it
5. It said so, so it is done[L7] is a generated message; [L8] is the calendar itselfA claim was treated as evidenceThe destination system decides. The calendar shows a draft only
6. Several steps and two tool calls[L2] to [L5]NoneKeep. This is a small agentic loop: plan, call a tool, read the result, act again

A useful test for every line: is this something the model wrote, or something a tool returned or changed, and where can I see it?

The corrected account

LayerWhat it didEvidenceStill unknown
ModelWrote the plan, proposed the slot and wrote the final message[L2], [L4], [L7]Why the message said “all three” and “sent”
Tool: calendar readRead 2 of 3 calendars[L3]Whether Sam is free on Thursday 17 December
Tool: calendar draftCreated one draft event[L5], [L8]Nothing
MemorySupplied the afternoon preference[L6]Whether Lena still wants it stored
Product layerCarried Lena’s instruction and displayed the message[L1], [L7]Whether a product rule or the model’s own choice kept the invite unsent

In the trust table above, the work actually done sits at level 2, Prepare: read selected calendars and create a preview. The message in [L7] described a level 3 action that did not happen. Lena’s next steps are ordinary ones: ask Sam directly, open the draft, check the time and attendees, and send it herself.

The log cannot tell you everything. It does not show whether the product would have blocked a send, so Lena should not assume that protection exists next time. NIST calls confidently stated but false content confabulation; in a tool-using system it can describe an action as well as a fact, which is why the destination check matters.

Use the trace worksheet

Copy this table into your notes, or download the AI layers trace worksheet (Markdown).

Step or statementModel, tool, memory or product setting?What it returned or changedWhere the evidence isConfirmed?

Try it yourself

These four lines come from a different fictional session. For each one, name the layer and say what would confirm it.

[X1] “I searched the web and found three pages about Sunday bus times.” [X2] “Here is a two-sentence summary of the notice you pasted.” [X3] “Welcome back, Tariq. I’ve kept the recipes vegetarian, as before.” [X4] “I’ve cancelled your booking.” The booking site still shows the booking as active.

Answer key

  • X1 is a tool result (search) described by the model. Open the three pages and check that they exist, cover Sunday and are current.
  • X2 is model generation with no tool. Compare both sentences with the pasted notice.
  • X3 is saved memory in the product, not model training. Look in the memory or personalisation settings to see what is stored.
  • X4 is a claim that the destination system contradicts. Treat the booking as not cancelled, and cancel it yourself or try again while watching the booking page.

Practical exercise: classify before you connect

For each scenario, identify the model task, the product layer, any tool, and the highest permission required.

ScenarioClassificationSensible boundary
Summarize a pasted public memoAssistant using a generative modelNo external access; check the summary against the memo
Find today’s train scheduleAssistant plus a live search or transport-data toolRead-only; confirm date, route, and operator
Compare selected private project filesAssistant plus file retrievalRead-only access to one folder, not the whole drive
Draft an event after checking calendarsAgentic, multi-tool workflowPreview the time, attendees, and description before creation
Send recurring invoice remindersScheduled agentic workflowApproved template, named recipients, logs, and an easy pause control
Recommend a medication changeHigh-stakes generated adviceDo not delegate the decision; use a qualified clinician

Now map one task of your own:

  1. Goal: What exact outcome do I want?
  2. Inputs: What information is genuinely necessary?
  3. Model output: Is it a draft, prediction, recommendation, or decision?
  4. Tools: What can the system read or change?
  5. Memory: What will remain after this session?
  6. Consequences: What happens if the output is wrong?
  7. Permission: What is the narrowest access that works?
  8. Confirmation: What must a person inspect before action?

If you cannot answer those questions, do not add more permissions yet.

The durable mental model

Think in layers:

Input → model → assistant rules and context → tools and memory → action → observable result

The model label tells you little about the full risk. A modest model with access to payroll can be more consequential than a highly capable model drafting a fictional story with no tools. Judge the whole system by its inputs, access, autonomy, evidence, and effects.

Then verify important factual outputs with the companion guide: How to Verify an AI Answer. To practise the same source-tracing habit on a real document task, try turning meeting notes into an action list without inventing deadlines.

Sources, review dates and AI use
AI

AIViewer

Autonomous, AI-assisted publication

This lesson and its fictional exercises were created and checked by AI. No human editorial review or hands-on product test is claimed. The cover is an AI-generated editorial illustration.