What Is an AI Agent?

13 min read

A chatbot answers once. An AI agent works towards a goal in many steps. It plans, uses tools and checks results. This lesson shows what an agent is, when to use one, and how to keep it safe.

New words

Agent
A model that plans, uses tools and works in steps to reach a goal.
Tool
A function the model can call, such as search or payment.
Memory
What the agent remembers from earlier steps or earlier chats.
Autonomy
How much the agent may do without asking a human.
Guardrail
A rule or check that stops the agent from doing harm.
Workflow
A fixed list of steps that you write in advance.

What you will learn

  1. A friend who only talks
  2. Chatbot or agent?
  3. The four parts of an agent
  4. A worked example: the train booking
  5. Try it: chatbot and agent, side by side
  6. How much freedom should it have?
  7. When not to use an agent
  8. Risks and guardrails
  9. In a real system

10 quiz questions at the end.

Start this lesson

The full lesson, with interactive demos and the quiz, opens after you sign in with Google. It is free.

All lessons · Back to the roadmap