Skip to content

AI vs ML vs generative AI vs agentic AI

How AI, machine learning, deep learning, generative AI and agentic AI relate, what each one does, and how to tell them apart in a use case.

7 min readBy AI Guru AcademyFacts last checked

By AI Guru Academy

In short

Artificial intelligence (AI) is the broad field of machines doing human-like problem-solving. Machine learning (ML) is one branch of AI in which models learn patterns from data. Deep learning is a kind of ML that uses neural networks. Generative AI uses large deep learning models, called foundation models, to create new content such as text, images and audio. Agentic AI uses models, usually generative ones, to act on their own towards a goal: they plan steps, call tools and remember context. Each term is a narrower or more specific idea than the one before, not a replacement for it.

What is artificial intelligence?

AI is the umbrella term. AWS describes it as technology that enables machines to perform human-like problem-solving tasks, such as recognising images, understanding language or making predictions.

Not all AI learns from data. AWS states it directly: while machine learning is AI, not all AI activities are machine learning. A route planner that searches for the shortest path with a fixed algorithm, for example, solves a problem intelligently without learning from examples.

What is machine learning, and how is it different from AI?

Machine learning is the part of AI where a model learns from examples instead of being given explicit rules. AWS describes ML as the science of developing algorithms and statistical models that computer systems use to perform complex tasks without explicit instructions, and calls it one among many branches of AI.

ML is usually split into three learning types:

  • Supervised learning uses labelled examples, such as past transactions marked "fraud" or "not fraud".
  • Unsupervised learning uses unlabelled data to find patterns, such as groups of similar customers.
  • Reinforcement learning learns by trial and error to maximise a long-term reward.

Traditional ML models are usually built for one narrow task: predicting a number (regression), choosing a category (classification) or grouping items (clustering). AWS notes that ML is best for identifying patterns in large sets of data to solve specific problems.

Example (fictional): Harbour Bank trains a classification model on two years of labelled card transactions. It scores each new transaction for fraud risk. The model does one job, its output is a score, and the bank can measure its accuracy on held-out data.

Where does deep learning fit?

Deep learning is a subset of ML that uses layered neural networks. AWS explains that deep learning models use neural networks that work together to learn and process information. Deep learning powers computer vision, which extracts information from images and video, and much of natural language processing (NLP), which interprets meaning from text.

Deep learning matters here because generative AI is built on it. Large language models (LLMs) are very large deep learning models pre-trained on vast amounts of data.

What makes generative AI different?

Generative AI creates new content rather than only labelling or scoring existing data. AWS describes it as AI systems that create new content and artifacts such as images, videos, text and audio.

AWS draws the contrast with traditional ML neatly: traditional models mostly predict a label given some features, while generative models try to predict features given a certain label. A fraud model outputs "fraud: yes or no". A generative model writes the email explaining the decision.

Generative AI runs on foundation models (FMs). AWS describes these as large generative AI models trained on a broad spectrum of data, and LLMs as the subset focused on language tasks. Because they are trained broadly, one FM can summarise, translate, answer questions and write code without being retrained for each task. That flexibility comes with known limits: outputs can be inaccurate or invented (hallucinations), they can vary between runs, and the models are hard to explain.

Example (fictional): Harbour Bank adds an assistant on Amazon Bedrock that drafts plain-language replies to customers whose card was blocked. The fraud score still comes from the ML model. The assistant only writes the message, and a staff member reviews it.

What is agentic AI?

Agentic AI is AI that acts towards a goal with some independence, rather than only answering one prompt. AWS defines it as an autonomous AI system that can act independently to achieve pre-determined goals, and names modular components such as reasoning engines, memory, cognitive skills and tools.

In practice, an AI agent uses a foundation model to decide what to do next. It breaks a request into steps, calls tools such as APIs or databases, looks at the results and decides whether it is finished. In Amazon Bedrock tool use, the model does not run the tool itself: it says which tool it needs and with what input, and the application or service runs it and returns the result.

Key ideas the AIF-C01 exam guide lists for agentic AI include:

  • Tool use: the agent calls functions or APIs to read data or take actions.
  • Memory: short-term memory within a session and long-term memory across sessions. Amazon Bedrock AgentCore Memory provides both.
  • Model Context Protocol (MCP): an open protocol for connecting LLM applications to external data sources and tools.
  • Multi-agent patterns: several agents with distinct roles that share information, or a coordinator that directs worker agents.
  • Orchestration: the loop that decides which step happens next.

AWS points new agent builders to Amazon Bedrock AgentCore, a platform to build, deploy and operate agents using any framework and model. The older Amazon Bedrock Agents feature is now called Agents Classic and is closed to new customers.

Example (fictional): Harbour Bank pilots an agent for blocked-card cases. It reads the customer's message, checks the fraud score through an API, looks up recent transactions, drafts a reply and, if the score is below the bank's threshold, opens an unblock request for a staff member to approve. The agent chooses the order of these steps itself; the approval step and the threshold are written rules.

How do the four compare side by side?

The quickest way to tell them apart is to ask what the system produces.

How do the four compare side by side?
TermWhat it isTypical outputExample
AIThe whole field of machines doing human-like problem-solvingAny intelligent behaviour, rule-based or learnedA route planner, a spam filter
Machine learningAI that learns patterns from dataA prediction, score, category or clusterFraud score, demand forecast
Deep learningML using layered neural networksPredictions from images, speech or textImage recognition, speech to text
Generative AIDeep learning foundation models that create contentNew text, images, audio, video or codeDrafting a reply, summarising a report
Agentic AISystems that pursue a goal by planning, using tools and memoryCompleted tasks and actionsHandling a support case end to end

They also stack. An agentic system usually uses a generative model to reason, which is a deep learning model, which is a kind of ML, which is a kind of AI. A real solution often mixes them: a traditional ML model for the score, generative AI for the language, and an agent to tie the steps together.

How do you pick the right one for a use case?

Pick the simplest approach that meets the need. Three questions help:

  1. Is the output a number or a category from structured data? Traditional ML is usually enough, and it is easier to measure and explain. AWS's Machine Learning Lens advises starting with a model that is simple to interpret.
  2. Is the output new language, images or code? Generative AI fits, with review where errors matter.
  3. Does the task need several steps, tools and decisions in sequence? Consider an agent, and put limits and human approval on any action that is hard to reverse.

Sometimes the answer is none of them: if the rules are fixed and must be applied identically every time, ordinary code is the better tool.

Key takeaways

  • AI is the umbrella; ML is a branch of AI; not all AI is ML.
  • Deep learning is ML with neural networks, and it underpins generative AI.
  • Generative AI creates new content using foundation models; traditional ML predicts labels or values.
  • Agentic AI pursues a goal by planning, calling tools and using memory, usually with a generative model at its core.
  • AgentCore is AWS's current agent platform; Bedrock Agents is now Agents Classic, closed to new customers.
  • Choose the simplest approach that meets the need, and add human checks to agent actions.

FAQ

Is generative AI a type of machine learning?

Yes. Generative AI uses foundation models, which are large deep learning models, and deep learning is a subset of machine learning. What sets it apart is that it creates new content instead of predicting a label or value.

Is every AI system a machine learning system?

No. AWS states that while machine learning is AI, not all AI activities are machine learning. Rule-based systems can count as AI without learning from data.

What is the difference between generative AI and agentic AI?

Generative AI produces content in response to a prompt. Agentic AI uses a model to pursue a goal across several steps, calling tools, keeping memory and deciding what to do next. Most agents use a generative model to reason.

Is an LLM the same as a foundation model?

Not exactly. AWS describes LLMs as a type of foundation model focused on language tasks. Other foundation models handle images, or several types of input and output.

Sources

Last checked 2026-11-22.

AI Guru Academy is an independent training provider and is not affiliated with or endorsed by Amazon Web Services. AWS service names are trademarks of Amazon.com, Inc. or its affiliates.

Next step: see the AIF-C01 course at /courses/aif-c01-exam-prep.

AI vs ML vs generative AI vs agentic AI | AI Guru Academy