Agentic AI AcademyAgentic AI Academy

The Nesting Hierarchy: AI, ML, GenAI, LLMs, Agents

Five terms leaders confuse — and why it matters

Beginner 13 minDecision-maker
What you'll be able to do
  • Be able to place any of the five core terms — AI, ML, GenAI, LLM, agent — correctly inside the nesting hierarchy and explain how each layer relates to the next
  • Be able to explain why an agent is a step-change from a chatbot, and how an agent often calls a GenAI model as just one of its tools
  • Be able to articulate why machine learning makes data quality the raw material of AI value — and why 'garbage in, garbage out' is literal, not a slogan
  • Be able to apply the 'be conversant' test to any AI term: place it, name its business use, name its main risk
  • Be able to recognise the two most common executive errors — treating AI as one monolithic capability, and conflating 'we use Copilot' with 'we have an AI strategy'
At a glance

AI, machine learning, generative AI, large language models, and agents are not synonyms — they nest inside one another like Russian dolls. This lesson gives you the single most useful mental model in the course: a way to place any AI term in context, say what business problem it solves, and name the risk it carries. Get this nesting wrong and you will mistake a Copilot rollout for a strategy, over-trust a polished demo, or govern a chatbot and a loan-approval agent with the same light touch.

  1. 1Why one mental model beats a glossary
  2. 2The five nesting dolls
  3. 3Why ML makes data the raw material
  4. 4The LLM: a brilliant intern who never says 'I don't know'
  5. 5Agents: from AI that talks to AI that acts
  6. 6The 'be conversant' test

Why one mental model beats a glossary

You do not need to know how AI works under the hood to lead it well. You need one durable mental model that lets you place any new term, product, or vendor claim in context — and that model is a set of nesting dolls, not a list of synonyms.

Most executives have absorbed a dozen AI words — AI, machine learning, generative AI, LLM, agent, Copilot, model — as if they were interchangeable. They are not. They sit inside one another. Treat them as synonyms and you will make three predictable, expensive mistakes:

  • You treat 'AI' as one monolithic capability — assuming that because the technology is brilliant at one task, it is reliable at the next. (The next lesson on the jagged frontier shows exactly how this burns people.)
  • You assume a polished demo means production-ready. Roughly 80% of the real work — data, integration, governance, workflow redesign — is invisible in a demo.
  • You conflate 'we use Copilot' with 'we have an AI strategy.' Buying a tool is not a strategy; it is one tactic, often a shallow one.

The fix is not a bigger glossary. It is one picture you can draw on a whiteboard. The rest of this lesson builds it, layer by layer, and then hands you a 30-second test to check your own fluency — and your team's.

Key insight

The reframe

AI terms are not a flat list of competing buzzwords. They nest: each one is a more specific kind of the one above it. Once you see the nesting, the jargon stops being noise and becomes a map.

Watch out

Where leaders get it wrong

The single most common executive error is treating 'AI' as one undifferentiated thing — 'are we doing AI or not?' That question has no useful answer. The useful question is always: which layer, for which problem, carrying which risk?

The five nesting dolls

Here is the whole model. Each term is a more specific kind of the one before it. Open the biggest doll and you find the next inside it.

LayerPlain-language definitionThe business problem it addresses
Artificial Intelligence (AI)The umbrella: software doing tasks we associate with human intelligence — recognising images, understanding language, making predictions.A category, not a product. 'Are we doing AI?' is the wrong question.
Machine Learning (ML)The dominant approach inside AI: software that learns patterns from data and examples instead of following hand-written rules.Problems too messy for explicit rules — fraud scoring, demand forecasting, recommendations.
Generative AI (GenAI)A type of ML that creates new content — text, images, audio, video, code — in response to a prompt, rather than only classifying or predicting.Drafting, summarising, ideation, content at scale. ChatGPT, Claude, Gemini, Copilot.
Large Language Models (LLMs)The text engine under most GenAI. Trained to predict 'what plausibly comes next,' which is why they are fluent and why they can be confidently wrong.The reading/writing brain inside most GenAI products.
Agentic AI / agentsGenAI that doesn't just answer but takes multi-step action toward a goal — using tools, with limited supervision. The 2025–2026 frontier of enterprise interest.End-to-end workflows: resolve a ticket, reconcile an invoice, run a research task.

Read it top to bottom and the logic is clean: all GenAI is ML; all ML is AI; but not all AI is ML, and not all ML is generative. A fraud-detection model is ML but not GenAI — it predicts a number, it doesn't write you a paragraph. A spam filter is AI but arguably old-school rules plus ML. The nesting is what lets you say precisely which kind of AI a vendor is selling you.

Example

Placing a real product

Microsoft Copilot: it is a GenAI product, powered by an LLM, sold as a copilot (human-in-the-loop assistant). Salesforce Agentforce: GenAI-powered, but positioned as an agent — it acts on your systems. Same family, different layer, very different governance. Naming the layer is the first move.

Why ML makes data the raw material

The second doll — machine learning — carries the most underrated executive lesson in the whole stack, so it deserves its own beat.

Traditional software follows rules a developer writes by hand: if the order is over £500, flag it. Machine learning flips that. Instead of being told the rules, the system is shown thousands of examples and learns the patterns itself. A leader-friendly way to say it: it is software that programs itself by studying examples, rather than software a developer writes line by line.

That single fact has a hard consequence: the examples — your data — are the raw material. If the data is biased, stale, incomplete, or messy, the system learns biased, stale, incomplete, messy patterns. There is no clever model that rescues bad data. This is why 'garbage in, garbage out' is literal here, not a slogan — the data quite literally is the program.

This is also the most common reason ambitious AI projects stall. As of 2025, roughly eight in ten organisations cite data limitations as the gate on scaling AI, and industry analyses repeatedly land on the same headline: about 80% of the real AI work is data, governance, and workflow integration — not the model. A memorable framing from the field: 'AI agents cannot query what they cannot find.' Siloed, ungoverned data is not a neutral starting point; it is an active liability.

The board-level takeaway is short: your data estate is your AI strategy's foundation. Before you fund a flagship model, ask whether the data that would feed it is clean, governed, and reachable. If it isn't, that — not the model — is your first investment.

Tip

The leadership move

When a team pitches an AI initiative, your first question is not 'which model?' but 'what data feeds it, and is that data clean, governed, and accessible?' If they can't answer crisply, the project isn't ready — the data work comes first.

The LLM: a brilliant intern who never says 'I don't know'

Inside GenAI sits the large language model — the text engine of products like ChatGPT and Claude. You do not need the mathematics. You need one analogy and one consequence.

The analogy that lands: a GenAI model is a brilliant, fast, eager intern who has read almost everything — but has no judgment, no memory of your company, never says 'I don't know,' and occasionally invents things with total confidence. You delegate to it freely; you check its work religiously.

Why this is true and not just a metaphor: an LLM is, at its core, autocomplete on steroids — a machine that predicts the next plausible word, not a database of verified facts. That one mechanism explains both of its defining traits:

  • It is astonishingly fluent, because predicting plausible language is exactly what it was built to do.
  • It hallucinates — produces confident, fluent output that is invented or wrong — for the very same reason. Hallucination is an inherent property of how LLMs work, not a bug a vendor will someday patch out. It is the number-one reliability risk in the entire stack.

Two enterprise techniques tame this without retraining the model:

  • RAG (Retrieval-Augmented Generation): connect the model to your approved, current documents so it answers grounded in your data. The main enterprise mitigation for hallucination — and more traceable than the alternative for most knowledge tasks.
  • Fine-tuning: further-train a model to change its style or behaviour. More expensive and more static than RAG; for most knowledge use cases, RAG is preferred because it stays current and auditable.

You will meet both again. For now, the durable point: the intern is a gift, but you never let it sign the cheque unsupervised.

Watch out

Where leaders get it wrong

Treating fluent output as accurate output. The model's confidence is a feature of its design, not evidence of correctness. The right reflex when output is load-bearing — legal, medical, financial, safety — is: what human check sits between this answer and any consequence?

Agents: from AI that talks to AI that acts

The innermost, newest doll — and the one drawing the most enterprise money and the most governance anxiety — is the agent.

The leap is simple to state: a chatbot answers a prompt; an agent pursues a goal. Given an objective, an agent plans steps, uses tools, observes the results, and iterates until it is done or hits a policy boundary. It is the move from AI that talks to AI that does.

Here is the part that closes the nesting loop, and it surprises people: an agent often calls a GenAI model as just one of its tools. Picture a delayed-shipment ticket. The agent is the doer — it checks the tracking system, decides the customer should be notified, and closes the ticket. To write the empathetic apology email, it calls an LLM. The agent plans and acts; the GenAI model is one instrument in its kit. That is why agents sit inside the GenAI doll yet feel categorically different: they wrap a content-generator in planning, tools, and the authority to act.

Anthropic's clean building-block definition is worth memorising: an agent = Model + Tools + Memory + Planning — and each of those four is both a capability and an oversight point. There is also a useful anti-hype test. With so much 'agent washing' in the market (Gartner notes only a small fraction of self-styled 'agentic' vendors are genuine), insist a real agent shows three things: autonomous reasoning, tool orchestration, and persistent context. If a 'agent' is really just a chatbot with a new label, those three will be missing.

The strategic dial is autonomy — how much the system decides and does without a human. That single dial sets the value (acting end-to-end is a step change over merely suggesting), the risk (it now does things in your systems), and the governance required. The next lesson group goes deep on this; for now, fix the idea that an agent is governed differently from a chatbot precisely because it acts.

Key insight

The reframe that matters most

Don't ask 'is it AI?' Ask 'who is steering?' A chatbot steers a conversation; a copilot helps a person steer their work; an agent steers the workflow itself. The amount of autonomy you grant is the amount of governance you must supply.

Example

Anti-agent-washing in practice

A vendor calls its FAQ bot an 'AI agent.' You apply the three-part test: does it reason autonomously, orchestrate tools, and hold persistent context? It does none — it retrieves canned answers. It's a chatbot. Naming the layer correctly just saved you from buying — and governing — the wrong thing.

The 'be conversant' test

You are AI-literate enough to lead — without being technical — when, for any AI term someone puts in front of you, you can do three things in under a minute:

  1. Place it in the nesting hierarchy (which doll is it?).
  2. Name the business problem it addresses (what is it for?).
  3. Name the main risk it carries (where could it bite us?).

That's it. Knowing the mathematics is not required. Here is the test run across the five core terms, so you can see the shape of a good answer:

Term(1) Place it(2) Business use(3) Main risk
MLThe learn-from-data layer of AIPrediction, scoring, classificationBad/biased data → bad model (garbage in, garbage out)
GenAIA type of ML that creates contentDrafting, summarising, content at scaleHallucination; confident, fluent error
LLMThe text engine inside GenAIThe reading/writing 'intern'Never says 'I don't know'; invents facts
RAGA technique bolted onto an LLMGrounding answers in your documentsRetrieval misses; only as good as the source docs
AgentGenAI that acts toward a goalEnd-to-end workflowsIt does things — needs autonomy governance, halt/rollback

Use this as a hiring and meeting tool, not just a self-check. In your next vendor pitch or internal proposal, ask the presenter to run any term through the three questions. If they can place it, state its use, and name its risk, they understand it. If they can only recite the brochure, you have learned something important about the proposal.

Tip

The leadership move

Make the three-question test the house standard. When anyone — vendor, team, board colleague — uses an AI term, the room expects: place it, name its use, name its risk. It quietly raises the whole organisation's fluency and kills jargon-as-cover.

Try it: Draw the hierarchy and pressure-test your own AI vocabulary

Goal: turn the nesting model into a tool you'll actually use in your next meeting — no technical work required. 1) Draw it from memory. On a single page or whiteboard, sketch the five nesting dolls — AI, ML, GenAI, LLM, agent — and write one plain sentence under each saying what it is. Don't peek; the point is to find the gaps. 2) Place your real tools. List the three to five AI tools or vendors your organisation currently uses or is being pitched (e.g. a Copilot seat, a customer-service bot, a forecasting model, an 'agent' platform). For each, mark which layer it actually sits in — and flag any that are labelled 'agent' but are really chatbots. 3) Run the 'be conversant' test on each. For every tool, write three lines: (a) which doll is it, (b) what business problem does it solve, (c) what is its single biggest risk. If you can't fill all three for a tool, that tool needs a real conversation before it gets more budget. 4) Find your data gap. Pick the one initiative you most want to scale and answer honestly: is the data that would feed it clean, governed, and accessible? If not, write the first data investment that has to come before the model. 5) Write the one-line correction. Draft a single sentence you will use the next time someone in your organisation says 'we use Copilot, so we have an AI strategy.' Keep it short and reusable. Deliverable: a one-page AI vocabulary map plus a short 'gaps' list you can take into your next leadership or vendor meeting.

Key takeaways

  1. 1AI terms nest like Russian dolls, not synonyms: AI ⊃ ML ⊃ GenAI ⊃ LLMs, with agents as the action layer. All GenAI is ML; all ML is AI; but not all AI is generative.
  2. 2Machine learning learns patterns from data, which makes your data the literal raw material — 'garbage in, garbage out' is not a slogan, and roughly 80% of real AI work is data, governance, and integration.
  3. 3An LLM is 'autocomplete on steroids' — a brilliant intern that is fluent for the same reason it hallucinates and never says 'I don't know.' Hallucination is inherent, not a bug awaiting a patch.
  4. 4An agent pursues a goal rather than answering a prompt, and often calls a GenAI model as just one of its tools (Model + Tools + Memory + Planning). The strategic dial is autonomy: more autonomy means more value, more risk, and more governance.
  5. 5Use the 'be conversant' test for any term: place it in the hierarchy, name the business problem it solves, name the main risk it carries. Knowing the math is not required.
  6. 6The two costly executive errors this model prevents: treating 'AI' as one monolithic capability, and conflating 'we use Copilot' with 'we have an AI strategy.'

Quiz

Lock in what you learned

Check your understanding

0 / 4 answered

1.A vendor pitches you a 'generative AI' product. Where does it sit in the nesting hierarchy, and what does that tell you?

2.Your data science team says a planned model is sound but the project keeps stalling. Based on the lesson, what is the most likely root cause to probe first?

3.Why does the lesson describe an LLM as both 'astonishingly fluent' and 'confidently wrong' — and call hallucination inherent rather than a bug?

4.A team labels its FAQ retrieval bot an 'AI agent.' Which test best determines whether that label is accurate?

Go deeper

Hand-picked sources to keep learning