Types of AI agents
Goal-based, reflex, and utility-based agents—at a glance.
Types of AI agents
Goal-based, reflex, and utility-based agents—at a glance.
Lesson outline
Overview
Agents can be classified by how they decide what to do. The main types are goal-based, reflex (simple or model-based), and utility-based. Each suits different problems.
Goal-based agents
They have a clear goal and choose actions that move them toward it. They can plan ahead and consider sequences of actions. Best when the task has a well-defined end state (e.g. "book a flight and hotel for these dates").
Simple reflex agents
They react to the current situation only—no memory, no long-term plan. "If I see X, do Y." Fast and predictable. Good for narrow, repetitive tasks (e.g. rule-based routing).
Model-based reflex agents
Like simple reflex, but they keep an internal model of the world (or recent history). So they can handle partially observable environments and short-term context.
Utility-based agents
They choose actions that maximize a utility (score). Useful when there are many ways to reach a goal and you care about trade-offs (cost, speed, quality).
Ready to see how this works in the cloud?
Switch to Career Paths for structured paths (e.g. Developer, DevOps) and provider-specific lessons.
View role-based pathsSign in to track your progress and mark lessons complete.
Discussion
Questions? Discuss in the community or start a thread below.
Join DiscordIn-app Q&A
Sign in to start or join a thread.