Skip to main content

02. AI Agent Fundamentals

Types of AI Agents

AI agents come in classic types — simple reflex, model-based, goal-based, utility-based, and learning — plus modern LLM tool agents, assistants, and multi-agent systems. Know both taxonomies.

What you will learn

  • Name and define the five classic agent types
  • Map modern LLM agents onto the classic taxonomy
  • Choose an agent type for a given environment
  • Contrast reactive vs goal-seeking vs learning behavior
  • Answer interview questions with short, solid answers
Classic types of AI agents from simple reflex to learning agents
Interview staple: list these five types and one property of each.

Definition

Types of AI agents classify how an agent decides what to do next — from hard-wired reflexes to goal search, utility trade-offs, and learning from feedback.

The classic taxonomy (often taught from Russell & Norvig) is still the interview gold standard. Modern Agentic AI products are usually goal-based / tool-using agents powered by LLMs, sometimes with learning and multi-agent variants.

Typing agents prevents vague answers like “smart bot.” You can say what decision machinery you need for the environment.

Introduction

This lesson (#2 in AI Agent Fundamentals) follows Agent Architecture. Architecture is the wiring; types describe the decision style inside the brain/policy.

Later lessons deepen reflex agents and goal/utility/learning agents. This page gives the full map first.

Why types matter

  • Match complexity to the problem — do not build a learner for a thermostat rule
  • Shared vocabulary for academia and industry interviews
  • Helps explain LLM agents without pretending they are magic
  • Guides evaluation: reflex agents need different tests than goal agents

1. Simple reflex agents

Select actions using a condition–action rule based on the current percept only. Fast and transparent; fail when the world needs memory or planning.

  • Decision — if condition then action
  • Needs — mostly fully observable, simple environments
  • Example — spam rule “if score > T then quarantine”, basic chatbot intents
  • Limit — no history; poor when percepts are incomplete

2. Model-based reflex agents

Keep an internal state (world model) that updates from percepts, then apply rules. They handle partial observability better than simple reflex agents.

  • Decision — rules over current state estimate, not raw percept alone
  • Needs — a model of how the world evolves and how actions change it
  • Example — robot vacuum tracking cleaned cells; ticket bot remembering prior answers in-session
  • Limit — still not explicitly planning long goal sequences

3. Goal-based agents

Choose actions that help reach a goal state. They search, plan, or reason about future outcomes. Most modern tool-using LLM agents sit here.

  • Decision — prefer actions that advance toward the goal
  • Needs — goal representation + ability to evaluate outcomes
  • Example — coding agent aiming for “tests pass”; navigation to a destination
  • Limit — many goals may be reachable; does not rank preferences among them

4. Utility-based agents

When multiple paths or goals are possible, a utility function scores how good an outcome is. The agent maximizes expected utility, not only “goal reached / not.”

  • Decision — pick action with best expected utility
  • Needs — preferences over speed, cost, risk, quality, etc.
  • Example — travel agent trading price vs time; support agent balancing CSAT vs cost
  • Limit — designing a good utility function is hard

5. Learning agents

Improve performance from experience. Classic structure: performance element, critic, learning element, problem generator. Modern agents may learn via feedback, fine-tuning, or memory updates.

  • Decision — policy that updates with feedback
  • Needs — signals of success/failure and a learning mechanism
  • Example — recommender improving clicks; agent that stores successful tool patterns
  • Limit — bad feedback teaches bad behavior; needs monitoring

Modern LLM-era product types

Industry names differ. Map them back to the classic types so you stay precise.

Modern LLM agent product types: tool-using, conversational, multi-agent, domain specialists
Most “AI agents” in products are goal-based tool-using LLM agents.
  • Tool-using LLM agent — goal-based (+ model state); ReAct-style loops
  • Conversational assistant — often agent-lite; user-driven turns, optional tools
  • Multi-agent system — several agents with roles/handoffs (architecture pattern + types)
  • Domain specialists — coding, research, support, ops agents (same types, different tools)
  • Autonomous workflow agents — higher bounded autonomy with budgets

Other useful distinctions

  • Reactive vs proactive — wait for stimuli vs pursue goals without constant prompts
  • Single-agent vs multi-agent — one loop vs coordinated roles
  • Software vs embodied — APIs/files vs robots/sensors
  • Deterministic policy vs stochastic model decisions (LLMs are stochastic)

How to choose a type

Let the environment and success metric drive the choice.

Decision guide for choosing among reflex, model-based, goal-based, utility-based, and learning agents
Start as simple as possible; add goals, utility, and learning only when needed.
  • Fixed mapping, fully observable → simple reflex / rules
  • Need memory of hidden state → model-based
  • Need multi-step success state → goal-based (common for Agentic AI)
  • Need trade-offs among good outcomes → utility-based
  • Need improvement from feedback at scale → learning element

Mapping to Agentic AI systems

A production coding agent is typically goal-based (tests green), model-based (repo/state/memory), tool-using, sometimes utility-aware (cost/latency), and optionally learning from past runs. Saying only “LLM agent” is weaker than this mapping.

  • Orchestrator implements the loop for goal-based behavior
  • Memory store provides model-based state
  • Tool runtime provides actuators
  • Evals + fine-tunes / memory updates add learning

Program / implementation notes

Do not over-implement types as class hierarchies on day one. Implement the behavior you need: rules table, state object, goal check, optional scorer, optional feedback store.

  • Encode goals and done checks explicitly for goal-based agents
  • Keep reflex shortcuts for safe fast-paths (policy denials, rate limits)
  • Log which decision mode fired (rule vs model plan)
  • Next lessons deepen reflex agents and goal/utility/learning agents

Advantages of knowing the taxonomy

  • Advantage: crisp interview answers
  • Advantage: right-sized designs
  • Advantage: clearer eval strategy per type
  • Limitation: real systems are hybrids — say so
  • Limitation: vendor labels rarely match textbook names

Key points

  • Classic types: simple reflex, model-based reflex, goal-based, utility-based, learning.
  • Modern LLM agents are usually goal-based tool users with state (model-based).
  • Choose type from observability, need for goals, trade-offs, and learning.
  • Reactive vs proactive and single vs multi-agent are useful extra axes.
  • Hybrid systems are normal — name the dominant decision style.
  • Taxonomy beats buzzwords in interviews and design reviews.

FAQs

Are chatbots a type of AI agent?

Some are. Scripted bots are often simple reflex. GenAI chat without tools is weakly agentic. Tool-using goal-driven assistants qualify more clearly as agents.

Is an LLM agent goal-based or learning?

Primarily goal-based / tool-using. It becomes a learning agent only if it systematically improves from feedback (memory curation, fine-tunes, RLHF-style loops, etc.).

Do I need utility-based agents for Agentic AI?

Not always. Many products are goal-based with hard constraints. Add utility when you must trade cost, latency, quality, or risk explicitly.

Where do multi-agent systems fit in the taxonomy?

Multi-agent is mainly an organization pattern. Each member is still one of the classic types (often goal-based specialists).

Interview questions

  1. What are the main types of AI agents?

    Answer Simple reflex, model-based reflex, goal-based, utility-based, and learning agents — plus modern variants like tool-using LLM agents and multi-agent systems.

  2. Difference between simple reflex and model-based agents?

    Answer Simple reflex maps the current percept to an action. Model-based agents maintain internal state to handle partial observability before choosing an action.

  3. What is a goal-based agent?

    Answer An agent that selects actions to reach a desired goal state, often by planning or reasoning about future outcomes — common for coding and research agents.

  4. When do you need a utility-based agent?

    Answer When multiple outcomes satisfy the goal and you must trade off preferences such as cost, time, risk, or quality.

  5. How do learning agents differ?

    Answer They improve their performance element using feedback from a critic, rather than only executing a fixed policy.

  6. Where do modern LLM tool agents fit?

    Answer Usually as goal-based, model-based (state/memory) agents that use an LLM to propose tool actions in a loop.

  7. How would you choose an agent type for a problem?

    Answer Inspect observability and whether you need history, explicit goals, trade-offs, or online improvement — then pick the simplest type that fits.

Related topics

Practice task

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

  1. Write one sentence for each of the five classic types.
  2. Classify three products you use into a classic type + modern label.
  3. For “make CI green,” argue why goal-based beats simple reflex.
  4. Sketch the choose-a-type flowchart from memory.
  5. Answer interview questions 1, 3, and 6 in two sentences each.