Skip to main content

01. Introduction to Agentic AI

What is Artificial Intelligence?

Artificial Intelligence (AI) is the field of building computer systems that can perform tasks that normally need human intelligence — sensing, learning, deciding, and acting.

What you will learn

  • Define Artificial Intelligence in one clear sentence and expand it with an example
  • Explain Sense → Learn → Decide → Act and map a real product onto it
  • Contrast rule-based AI with learning-based AI
  • Place AI, ML, Deep Learning, and Generative AI in the correct hierarchy
  • Distinguish Narrow AI, General AI, and Super AI without hype
  • Answer common interview questions with short, solid answers
Artificial Intelligence loop: Sense, Learn, Decide, Act
AI systems take inputs, learn patterns, decide, and produce useful actions.

Definition

Artificial Intelligence (AI) is the science and engineering of making machines behave intelligently — solving problems, recognizing patterns, understanding language, planning steps, or controlling actions without a human writing a separate rule for every case.

“Intelligent” here does not mean human consciousness. It means useful, goal-directed behavior under uncertainty: the system takes inputs from the world (or a user), computes, and produces an output or action that would often require human judgment.

In industry today, when people say “AI,” they usually mean software that learns from data (Machine Learning) or uses a trained model through an API — for example classification, ranking, speech recognition, or large language models that generate text and code.

Introduction

AI is the foundation of this Agentic AI track. Before agents, tools, memory, and frameworks, you need a clean mental model of what “intelligence” means in software — and what it does not mean.

This lesson (#1 in Introduction to Agentic AI) builds that shared vocabulary. Later lessons add Generative AI, AI agents, and Agentic workflows. If your definition of AI is fuzzy, every later comparison will be fuzzy too.

A useful habit: for any “AI product,” ask four questions — What does it sense? What did it learn (or which model does it use)? What decision does it make? What action does the user see?

A short history (enough for interviews)

The term Artificial Intelligence was popularized in the 1950s. Early work focused on search, logic, and symbolic rules — programs that manipulated symbols and if-then knowledge. That era is often called symbolic or classical AI.

From the 1980s–2000s, Machine Learning grew: systems that improve from examples. From the 2010s, Deep Learning (multi-layer neural networks) drove breakthroughs in vision, speech, and language. From the 2020s, Generative AI and large language models made AI widely visible in everyday tools.

You do not need dates memorized. You need the storyline: rules → learning from data → deep models → generative systems → agents that plan and use tools.

  • Symbolic AI — explicit rules, search, knowledge bases
  • Statistical / ML era — learn patterns from labeled or unlabeled data
  • Deep Learning era — neural nets for perception and language
  • Generative + Agentic era — create content and pursue multi-step goals with tools

Why is it required?

Without a precise AI definition, teams talk past each other: one person means a chatbot, another means automation, another means AGI science fiction. Clear theory saves time in product design and interviews.

  • Shared vocabulary for agents, LLMs, automation, and roadmaps
  • Correct nesting of AI / ML / DL / GenAI in campus and job interviews
  • Ability to judge when AI helps vs when a simple rule or database query is enough
  • Foundation for Agentic AI — agents apply AI; they do not replace the basics
  • Safer thinking about bias, errors, and human oversight

Architecture / mental model

Think of AI as a loop: Sense (inputs) → Learn (model or knowledge) → Decide (inference / planning) → Act (output or tool call). Most products are a specialized version of this loop.

Training (or “learning”) may happen offline on large datasets. At runtime you often only run inference: new input in, prediction or generation out. Agentic systems later add memory, tools, and multi-step goals on top of the same loop.

  • Sense — text, images, audio, sensors, logs, user goals, retrieved documents
  • Learn — rules, classical ML models, or deep neural networks (trained earlier or adapted)
  • Decide — classify, rank, generate, choose a next step or plan
  • Act — reply, recommend, write code, call an API, move a robot, open a ticket
  • Feedback (optional) — logs, ratings, human review, retraining, better prompts

How does it work?

At a high level, building or using an AI feature follows a pipeline. Details change by problem (vision vs language vs agents), but the shape stays similar.

  • Define the task and success metric (accuracy, latency, user satisfaction, safety)
  • Collect or stream data that represents real inputs and desired outputs
  • Train a model, fine-tune one, or choose a hosted model/API
  • At runtime, feed new inputs into the model (inference)
  • Use the result to answer, recommend, generate, or trigger an action
  • Evaluate on held-out data and real users; watch for bias and failure modes
  • Optionally log outcomes and improve with more data, better prompts, or retraining

Symbolic AI vs learning-based AI

Two classic styles still matter. Symbolic (rule-based) AI encodes knowledge as explicit logic: if X then Y. It is transparent and controllable, but brittle when the world has too many edge cases.

Learning-based AI (Machine Learning) fits patterns from examples. It handles messy real-world data better, but needs quality data, can be hard to explain, and may fail on new situations it never saw.

Modern systems often mix both: a learned model for perception or language, plus rules and guardrails for safety, business policy, and tool permissions — especially in Agentic AI.

  • Rules shine when policy must be exact and auditable (compliance, pricing floors)
  • Learning shines when patterns are complex (speech, images, natural language)
  • Hybrid designs: model proposes → rules / human approval constrain action

AI vs ML vs DL vs Generative AI

These terms nest. AI is the broad field of intelligent machine behavior. Machine Learning is AI that learns from data. Deep Learning is ML that uses multi-layer neural networks. Generative AI creates new content (text, code, images, audio) and often uses deep models such as large language models.

Not all AI is ML (a chess engine with handcrafted search can still be “AI”). Not all ML is deep learning (decision trees and linear models still matter). Not all deep learning is generative (an image classifier is discriminative, not generative).

Nested diagram of AI, Machine Learning, Deep Learning, and Generative AI
Interview line: “GenAI usually sits inside deep learning methods inside the larger AI field.”
  • AI — intelligent behavior in machines (rules, search, learning, planning, …)
  • ML — improve from examples instead of only hard-coding every rule
  • DL — neural networks with many layers (vision, speech, LLMs)
  • Generative AI — create new content; common base for chat and coding assistants
  • Agentic AI (later) — use models + tools + memory to pursue multi-step goals

Types of AI

Capability types help you stay precise. Almost every real product today is Narrow AI: excellent at a bounded task, weak outside that task. Claiming “this app is AGI” is almost always wrong.

Narrow AI, General AI, and Super AI compared
Be honest in interviews: AGI and Super AI are research or speculative — not what you ship this week.
  • Narrow AI (ANI) — one task or domain (spam filter, recommender, chatbot, lane assist)
  • General AI (AGI) — broad human-level skill across many domains (research goal)
  • Super AI (ASI) — beyond human capability (speculative; ethics and control debates)
  • Weak vs strong AI (philosophy) — “weak” mimics intelligent behavior; “strong” would have true mind-like understanding — products today are weak/narrow in practice

What AI can and cannot do (theory guardrails)

AI is powerful at pattern matching and scale. It is not magic. Models approximate the data they were trained on. They can be wrong, biased, outdated, or overconfident — especially generative models that invent fluent but false details (“hallucinations”).

  • Can: classify, rank, translate, summarize, generate drafts, detect patterns in large data
  • Can: assist planning when wrapped with tools and checks (agentic patterns)
  • Cannot reliably: guarantee truth without grounding, replace all human judgment, or “understand” like a person
  • Cannot: fix bad problem definitions — garbage goals produce garbage automation
  • Should not: run high-risk actions without permissions, logs, and human oversight

Real-world examples

Map each example to Sense → Learn → Decide → Act so the theory sticks.

  • Email spam filter — senses message features → decides spam/not spam → acts by folder or block
  • Fraud detection — senses transactions → scores risk → acts by challenge or hold
  • Voice assistant — senses audio → decides intent → acts with a reply or device command
  • Recommender — senses history → ranks items → acts by showing a feed
  • Vision QC in factories — senses images → detects defects → acts by alert or reject
  • Coding assistant / research agent — senses prompt + files → generates plan/code → acts via edits or tool calls

Program / implementation notes

You do not need to train a neural net from scratch to “use AI.” Many applications call an API (LLM, vision, speech) or load a trained model, then wrap it with prompts, validation, tools, and UI.

Good engineering still matters: clear input/output contracts, tests, logging, cost control, privacy, and fallbacks when the model fails.

  • Write the task contract first: inputs, outputs, constraints, success metric
  • Start with the simplest approach that works (rule or classical ML) before a large model
  • Log predictions and user feedback for debugging and evaluation
  • Separate offline training from online inference when you own the model
  • For agents later: add tools, memory, stop conditions, and human approval for risky steps

Advantages and limitations

  • Advantage: scales pattern recognition and automation beyond hand-written rules
  • Advantage: improves with better data, models, prompts, and feedback loops
  • Advantage: unlocks new interfaces (language, vision) that classic software struggled with
  • Limitation: needs quality, representative data; can encode bias from the past
  • Limitation: brittle out of distribution — unfamiliar inputs can break performance
  • Limitation: generative systems may hallucinate; agents may loop or misuse tools without guardrails
  • Limitation: cost, latency, and privacy must be designed, not assumed

Key points

  • AI = machines performing tasks that typically need human intelligence.
  • Core loop: Sense → Learn → Decide → Act (+ optional feedback).
  • Storyline: symbolic rules → ML → deep learning → generative AI → agents with tools.
  • Hierarchy: AI ⊃ ML ⊃ DL; Generative AI creates content (often with deep models).
  • Almost all shipped products are Narrow AI — not AGI.
  • Mix models with rules, evaluation, and human oversight for real systems.
  • Agentic AI later adds goals, tools, memory, and multi-step action on top of AI/GenAI.

FAQs

Is AI the same as Machine Learning?

No. ML is a major approach inside AI. AI also includes search, planning, and rule systems. Today most popular “AI products” use ML or deep models.

Is ChatGPT Artificial Intelligence?

Yes. It is Generative AI (usually deep learning / LLMs) that produces text. Agentic systems may wrap such models with tools, memory, and planning.

Do I need math before learning Agentic AI?

You need the concepts first. Deeper math helps for research and training models; building agents mainly needs clear goals, prompts, tools, evaluation, and safety.

If my app only calls an LLM API, is that still AI?

Yes. You are using an AI model at inference time. Your job is the surrounding system: prompts, tools, validation, UX, and monitoring.

Interview questions

  1. What is Artificial Intelligence?

    Answer AI is building computer systems that perform tasks needing human-like intelligence — sensing, learning, deciding, and acting — often by learning from data.

  2. How is AI different from Machine Learning?

    Answer AI is the broad field. Machine Learning is a subset where systems learn patterns from data instead of relying only on fixed rules.

  3. What are Narrow AI, AGI, and Super AI?

    Answer Narrow AI solves specific tasks (today’s products). AGI aims for broad human-level ability. Super AI is speculative systems beyond human capability.

  4. Give two real-world AI examples.

    Answer Spam detection that classifies email, and a recommender that ranks videos or products from user behavior.

  5. Where does Generative AI fit?

    Answer Generative AI creates new content (text, code, images). It usually sits under deep learning methods inside the larger AI field.

  6. How does this connect to Agentic AI?

    Answer Agentic AI uses AI models (often GenAI) plus planning, tools, and memory so the system can pursue multi-step goals, not only one reply.

  7. Symbolic AI vs Machine Learning — when would you use each?

    Answer Use rules when logic must be exact and auditable. Use ML when patterns are complex and data-rich. Many products combine both with guardrails.

Related topics

Practice task

Complete each numbered practice step in a notebook or doc before opening the next lesson.

  1. Write your own one-sentence definition of Artificial Intelligence, then expand it with one example.
  2. Sketch Sense → Learn → Decide → Act and label one real product on each box.
  3. Draw the nested boxes: AI → ML → DL → Generative AI, and write one sentence under each.
  4. List three Narrow AI examples from apps you use daily and name one failure mode for each.
  5. Answer interview questions 1, 2, 6, and 7 in two sentences each (time yourself: 90 seconds per answer).