# What is an AI agent?

Japanese: AIエージェント (エーアイエージェント)

**In one line:** An AI agent is an AI system that plans its own steps toward a given goal and carries out the work by itself, using tools such as search and app control.

An AI agent is an AI you give a goal to. Then it makes its own plan and does the work, using tools along the way. “Agent” means someone who acts for you. A normal chat AI answers your questions. An AI agent goes further. It searches the web, makes files and runs other apps. It can handle many steps in a row. It is handy. But people also need ways to check its work, so it doesn’t do the wrong thing. The best assistants report back often. The worst ones say “all done” and nothing else.

**Common mix-up:** It is not the same as an AI that only answers in chat. It actually does the work, like research and operating apps, for you.

**How does it work?**

The “brain” of an AI agent is usually a large language model (LLM). Given a goal, it first breaks the work into small steps. Then it calls tools such as search or file handling, works through the steps one by one, and looks at each result to decide what to do next. If something fails, it adjusts and tries again. This loop of plan, act and review lets it handle jobs with many steps.

**How is it different from a chatbot?**

A regular chatbot mainly answers based on the data it was trained on, so it can only answer within what it knows. An AI agent uses tools to fetch fresh information and breaks the work into steps it carries out itself. Put simply, a chatbot is a knowledgeable advisor, and an AI agent is an assistant who actually does the work.

**Things to watch out for**

Because an AI agent really takes actions, its mistakes have bigger effects. One attack, called prompt injection, hides instructions inside content such as a web page, and the AI may follow them as if they were real commands. So it is standard to have a person check before important actions such as payments or deleting data. The more you can hand to an assistant, the more the keys matter.

**How people use it**

- “The AI agent found travel options for my trip, and I just did the final booking myself.”
- “I checked the spreadsheet the AI agent made, and one number was off.”

**FAQ**

- Is an AI agent just a chat AI? — No. It goes beyond answering and actually carries out tasks, like research and operating apps.
- What can an AI agent do? — It can plan steps toward a goal and carry out multi-step work using tools such as search, file creation and app control.
- What are the risks? — One risk is prompt injection, where instructions hidden in a web page or other content are mistaken for real commands and carried out.
- How can it be used safely? — Have a person check before important actions such as payments or deletions, and limit what it can do and which tools it can use to what is needed.

Topic: Tech
Published: 2026-11-15
Source URL: https://eli5.net/en/w/ai-agent
日本語: https://eli5.net/w/ai-agent
