← All explainers
Explainer

AI Agent: Software That Chooses How to Carry Out a Task

4 min read Reviewed
A machine tagged 'AI agent' writes 'Check the walk' on a card with a pen in its arm. Its earlier cards, 'Search trains' and 'Read calendar', lie in a row beside it, near a stack of blank cards and a ticket reading 'Train to Lyon, Friday'.

Key takeaways

  • An AI agent is software that uses an AI model to work through a task on someone's behalf. The model chooses the next steps, uses tools to find information and take actions, and adjusts to what it finds.
  • Each result goes back to the model, which picks the next step from what it has found. In a fully predefined workflow, a developer wrote the steps in advance instead.
  • How far an agent acts on its own is set around it: which tools need a person's OK, limits on steps or spending, and what its accounts can do. Its report that a task is done can be wrong.
  • Our recommendation: assess each action and what the actions allow together. Set approval requirements, limits and account permissions, and name who checks the results.

Give it the goal, and it picks the steps

An AI agent is software that uses an AI model to work through a task on someone’s behalf. The model chooses the next steps, uses tools to find information and take actions, and adjusts to what it finds.

Here, we focus on agents built around language models, the kind of AI model behind chat assistants, that work through tasks using software tools. A tool is an operation the software can run, such as searching the web, reading a calendar or sending an email. The model requests it, and the software returns the result. Some tools reach other systems through MCP, a standard for connecting AI apps to them, and an agent can follow a skill, a reusable set of instructions. A person sets the goal, and the work can start with a request, a schedule or an event, such as an incoming email.

A train to Lyon, worked out step by step

Lea is at her office, a 15-minute walk from the station. She asks her AI assistant: “Find a train to Lyon on Friday morning that fits my calendar, and add it.” The assistant has three tools: a train search, her calendar and a maps service. Nobody has told it which to use, or in what order.

The model starts with the train search: 7:10, 9:40 and 10:05. It reads her calendar and finds an office meeting from 7:00 to 9:30. It then chooses to check the walk to the station, which takes 15 minutes. The 7:10 clashes with the meeting, she can’t reach the 9:40 in time, and the 10:05 fits.

It asks to add the 10:05 to her calendar. Lea’s settings say calendar changes need her OK, so the run, this one attempt at the task, waits until she approves. The calendar tool adds the trip. In this example, the model then replies “Added: the 10:05 to Lyon, Friday.” without requesting another tool, so the run ends.

An AI agent chooses how to carry out a task for you. Illustrative example of one run, with the steps in the order the model chose them. Lea, at the office, asks for a train to Lyon on Friday morning that fits her calendar, added to it. Inside a frame labelled Agent, five steps. Step 1: the model chooses to search trains, the software runs the train search, and the result, 7:10, 9:40 and 10:05, goes back to the model. Step 2: the model chooses to read the calendar, the software runs the calendar, and the result, an office meeting from 7:00 to 9:30, goes back to the model. Step 3, marked in orange: the model chooses an additional check, the walk to the station, the software runs the maps service, and the result, a 15-minute walk, goes back to the model. Step 4: the model picks the 10:05, because the 7:10 clashes and she can't reach the 9:40 in time, and asks to add it. Lea's setting says calendar changes need her OK, so the run is paused until she approves. She does, the software runs the calendar, and the result, trip added, goes back to the model. Step 5: the model replies with no tool request. Its reply to Lea reads Added: the 10:05 to Lyon, Friday, and the run ends. A note says the model chose which tools to request and when, and the software ran them and applied Lea's approval setting. A run can also pause, hit a limit or fail. An AI agent chooses how to carry out a task for you. Illustrative. One run, steps in the order chosen. Orange: the model chooses an additional check. Lea, at the office: a train to Lyon on Friday morning that fits my calendar. Add it. Agent 1. Model chooses: search trains Software runs the train search Result: 7:10, 9:40, 10:05 Back to the model 2. Model chooses: read calendar Software runs the calendar Result: office meeting, 7:00 to 9:30 Back to the model 3. Model chooses: check the walk Software runs the maps service Result: 15-minute walk to the station Back to the model 4. Model picks the 10:05 7:10 clashes. Can't reach the 9:40 in time Asks to add it. Lea's setting: OK needed Paused until Lea approves Lea: OK. Software runs the calendar Result: trip added Back to the model 5. Model replies, no tool request Reply to Lea "Added: the 10:05 to Lyon, Friday." Run ends The model chose which tools to request and when. The software ran them and applied Lea's approval setting. A run can also pause, hit a limit or fail.
In this example, each result goes back to the model before it picks the next step, and Lea's setting pauses the calendar change until she approves.

A run doesn’t always end with an answer. It can pause for input, stop at a limit on steps or spending, or stop on an error, and stopping doesn’t by itself mean the task worked.

It’s a bit like handing an errand to a runner. You give the outcome, and they pick the next stop by what they found at the last one.

What the video shows. The video presents this text in motion, with music and sound effects and no speech.

The video opens on "An AI agent chooses how to carry out a task for you." A card appears with "Lea, at the office:" and her request, "Find a train to Lyon on Friday morning that fits my calendar, and add it.", as the caption reads "Lea asks her AI assistant:". "An AI agent is software that uses an AI model to work through a task on someone's behalf." Beside Lea's card, a frame labelled "AI agent" draws, with an empty box inside it labelled "AI model". "A tool is an operation the software can run. The model requests it, and the software returns the result." A column headed "Tools" enters inside the frame with three cards, "Train search", "Maps service" and "Calendar". "Here, nobody has told it which to use, or in what order." A heading, "Chosen by the model", enters with nothing under it.

"The model requests the train search. The software runs it." The outline of the AI model box pulses, and a step card types in under the heading: "1. Search trains". An arrow runs from the AI model to Train search, whose outline thickens. A second arrow runs back from Train search to the model, and a result card, "7:10, 9:40, 10:05", appears in the model box under the label "Results from tools". "Each result goes back to the model, which picks the next step from what it has found." The second step card types in: "2. Read calendar". "It reads her calendar." The same request, run and return bring a second result card, "Meeting, 7:00 to 9:30". "With a meeting at the office, it chooses an additional check: the walk to the station." The meeting card's outline thickens, and the third step card types in with an orange edge: "3. Check the walk". The maps service runs, and a third result card reads "15-minute walk".

"The 7:10 clashes with the meeting, she can't reach the 9:40 in time, and the 10:05 fits." In the first result card, "7:10" is struck through as the meeting card's outline thickens, then "9:40" as the walk card's outline thickens, and "10:05" gains an outline. The fourth step card types in: "4. Pick the 10:05". "It asks to add the 10:05. Lea's settings say calendar changes need her OK, so the run, this one attempt at the task, waits until she approves." A dashed card, "Changes need Lea's OK", appears under the tools, with a dashed bar in front of Calendar. An arrow from the model toward Calendar stops at the bar, and the dashed card adds "Paused until Lea approves".

"Lea approves, and the calendar tool adds the trip." An "Approve" button appears on Lea's side and is pressed. The bar and the paused line fade, the arrow reaches Calendar, the calendar tool runs, and a fourth result card reads "Trip added". "In this example, the model then replies without requesting another tool, so the run ends." The fifth step card types in: "5. Reply". A small marker leaves the model box and travels to Lea's side, where a card reads "Reply to Lea" and "Added: the 10:05 to Lyon, Friday." Then "Run ends" appears under the last step card.

"A run can also pause, hit a limit or fail." "The model chose which tools to request and when. The software ran them and applied Lea's approval setting." The outline of the AI model box thickens, then the outlines of the tool cards and of the dashed card. "An approval step doesn't make it any less an agent." "A fully predefined workflow can use AI, too." Everything fades except the agent's steps, their heading and "Run ends". Beside them, a second column enters all at once, headed "Fully predefined workflow" and "Steps set by a developer", with five step cards and no orange edge: "1. Search trains", "2. Read calendar", "3. Check the walk", "4. Pick what fits" and "5. Reply". The video ends on the opening line and the A-Eye Level logo.

Agent, workflow or chat assistant

A booking program with fully predefined steps could also read the calendar and skip the trains that clash, and it would check the walk if that step was in its programmed path. That’s a workflow: a developer sets the steps, even when one of them calls an AI model. In an agent, the model chooses which tools to request and when, though it can still follow set rules, and a system can combine both. A chat assistant set up only to reply isn’t an agent either. Companies draw that line in different places, and this explainer goes by what the software is set up to do.

How far an agent acts on its own is set around it. The model chooses how to proceed, but what runs without a person’s OK depends on settings: tools that need approval every time or above an amount, limits on steps or spending, and the access its accounts have. An approval step doesn’t make it any less an agent.

Its report isn’t proof. A mistake in one step can feed the next, and an agent can take a wrong action or say a task is done when it isn’t. Text it reads, in an email or a web page, can try to override its instructions. It doesn’t learn from every task by being an agent: what it remembers depends on what the product stores. More steps can also mean more cost and time, and a plain program may do the job.

The runner picture stops there. The software has no person’s experience, understanding or responsibility, and accountability stays with the people who set it up.

Repair requests, sorted action by action

In a hypothetical 150-person property-management company, an AI agent handles tenants’ emailed repair requests. It reads each request, looks up the unit’s history, books a contractor and drafts a reply. Nobody wrote the steps for each kind of request.

The company decides action by action. The agent reads maintenance records through an account that can see nothing else, because a tenant’s email can carry text meant to steer it. It books contractors without asking up to €300 a job (an example figure), and the maintenance manager reads the bookings log daily. Above that, the booking tool waits for the manager’s OK. And because it reads outside emails, sees records and sends messages, a person checks each reply’s content and recipient before it goes out.

The booking system checks the actual job price and holds any booking over €300 made through this tool until the manager approves, whatever an email asks. It won’t stop a wrong booking under €300, or many small ones adding up, which is what the log is for. And the booking account can’t pay invoices, though each booking still commits the company.

Choosing what runs without a person

Our recommendation: assess each action, and then what the actions allow together. For each action, ask what it touches, what’s at stake, whether it can be undone and who would notice a mistake.

Then check the combinations. An agent that reads outside text, sees private records and sends messages can be tricked into leaking those records. Limit which records it can see, and have a person check the actual content and recipient before sensitive information leaves.

Write the result down as a list of permitted actions, each with its review: a log, a limit or a person’s OK. Enforce it in the tools’ approval settings and the accounts’ permissions, not only in the instructions, and name who checks the results. It’s the same idea as building the stop outside the agent.

Taking stock of your agents

  1. Which of our AI tools work as agents, choosing the steps of a task rather than just replying?
  2. Which of their actions run without a person’s OK, and where is that set?
  3. What can the accounts behind its tools change, send or pay?
  4. How do we check that “done” is done, outside the agent’s own report?

Questions this explainer gets

Is a chat assistant an AI agent?

It depends on what it's set up to do. One set up only to reply isn't. When it can be handed a task and choose and carry out the steps with tools, it's working as an agent. Companies draw that line in different places.

Does an AI agent need approval for everything it does?

No. Which actions need a person's OK is a setting. A tool can need approval every time, above an amount, or never, and the accounts the agent uses limit what it can do in any case.