Free lesson · about 12 min read
What an AI agent is (and is not)
A plain-language definition of an AI agent, with a real-life example, a picture of how one works and the four parts every agent has.
What you will learn: by the end of this lesson you can explain, in your own words, what an AI agent is, what it is not, and the four parts almost every agent has. No coding needed.
You have probably chatted with an AI. You typed a question and it typed back an answer. That is useful, but it is only half of the story. This lesson is about the other half: AI that does not just talk about a job, it actually does the job.
Start with a simple story
Imagine you send this message to two different helpers:
"Find three flights to Kochi next Friday and put the cheapest one in my calendar."
The first helper is a chatbot. It replies with general tips, such as "try booking early". Helpful, but you still have to do all the work.
The second helper is an AI agent. It searches the flights, compares the prices, picks the cheapest and adds the event to your calendar. It does the steps, not just the talking.
Example: think of the difference between a friend who tells you how to make tea and a friend who makes the tea and brings it to you. The chatbot is the first friend. The agent is the second.
So what is an AI agent?
Working definition: an AI agent is software that uses an AI model to decide what to do next in order to reach a goal, and can use tools to take actions.
Read it once more slowly. Three ideas are hiding in that sentence:
- It has a goal. Someone told it what result they want.
- It decides the next step. You do not write every step in advance. The AI model works out the plan.
- It can take actions. It is connected to tools, so it can really change something, such as a calendar or a spreadsheet.
The four parts of an agent
Almost every agent, from a small home project to a big company system, is built from the same four parts.
| Part | Plain meaning | Example |
|---|---|---|
| Goal | What it is trying to achieve | "Book the cheapest flight" |
| Model | The AI "brain" that reads, thinks and decides | A large language model (LLM) |
| Tools | Things it can use to act in the real world | Search, calendar, email, spreadsheet |
| Loop | Repeat: think, act, check the result | Try, look at what happened, try again |
Remember: the model thinks, the tools act, the loop keeps it going until the goal is done. Take away any one part and it stops being an agent.
The loop: the secret ingredient
The loop is what makes an agent feel different from a chatbot. A chatbot answers once and stops. An agent keeps going round a small circle.
Example: you ask an agent to "find the phone number of a shop". It searches and finds two numbers. It checks: they do not match. It searches once more on the shop's own page, finds the correct one, checks again, and only then answers. A one-shot chatbot would have simply guessed.
This picture is a teaching picture. It shows the idea, not any specific product.
What an agent is NOT
It is just as important to know the limits. Many beginners get excited and expect magic.
- Not magic and not a person. It follows patterns it learned from data, and it can be confidently wrong.
- Not automatically reliable. Agents need limits, testing and a human who can step in.
- Not the same as every chatbot. A chatbot that only answers questions has no tools and no loop.
Warning: never give an agent more power than it needs. If it only has to read your calendar, do not let it delete things. You will learn how to set these limits later in the course.
Check yourself
Take a minute to think before you read the answers.
- Which of the four parts lets an agent do things outside the chat window?
- Why does the loop matter?
- Is a chatbot that only answers questions an agent? Why or why not?
Answers:
- Tools. They are the agent's hands: search, calendar, email, spreadsheet.
- The agent can look at what happened and adjust, instead of guessing everything in one go.
- No. It has no tools and no loop, so it only talks. It does not take actions toward a goal.
Next
In the next lesson you will compare LLMs, assistants and agents side by side, so you can tell them apart in one glance.
Questions about this lesson
- What is an AI agent in simple words?
- Software that uses an AI model to decide what to do next in order to reach a goal, and can use tools such as search, a calendar, email or a spreadsheet to take actions.
- What are the four parts of an AI agent?
- A goal (what it is trying to achieve), a model (the AI "brain" that reasons), tools (things it can use to act) and a loop (think, act, check the result, and try again).
- Is an AI agent the same as a chatbot?
- Not always. A chatbot that only answers questions has no tools or loop. An agent can actually do steps, such as searching, comparing and adding an event to a calendar. Agents can still be confidently wrong, so they need limits, testing and a human who can step in.
Written by MUHAMMED HISHAM K P | Last updated · About the author