Skip to content
Back to course

11.2 AI Agents

An AI agent is a system where the AI model itself decides what to do next to reach a goal. Unlike a fixed workflow, an agent can choose tools, take several steps, check the result, and try again until the task is done.

promptAI
An agent is built on an LLM that reasons and chooses actions.

Imagine asking an agent to 'plan a delivery route in Addis for these 8 orders'. It might call a maps tool, sort the stops by distance, check traffic, and return a final ordered list — making decisions along the way without you scripting each one.

Scenario

A task is simple and always the same three steps. Should you use an agent or a fixed workflow?

Check your understanding

1/4 · 40 XP

What makes an AI agent different from a fixed workflow?