Tech, ExplainedNetworking, infrastructure and security
Concept

AI agents

Software given tools, acting on its own.

HOW IT WORKSA person gives theagent a goalThe language modeldecides the next stepThe agent uses a tool:it looks up, fills inor sends somethingIt reads the resultand decides againIt reaches thegoal, or hands thetask to a personAn agent acts, not only answers, so what it is allowed to touch decides what it can break.HOW IT WORKSA persongives theagent a goalThe languagemodel decidesthe next stepThe agentuses a tool:it looks up,fills in orsendssomethingIt reads theresult anddecides againIt reachesthe goal,or handsthe taskto a personAn agent acts, not only answers, so what it is allowed to touch decides what it can break.HOW IT WORKSA person gives the agent a goal↓The language model decides the next step↓The agent uses a tool: it looks up, fillsin or sends something↓It reads the result and decides again↓It reaches the goal, or hands the task toa personAn agent acts, not only answers, so what it is allowed totouch decides what it can break.
An agent is given a goal and tools, and it repeats a loop of deciding the next step, using a tool and reading the result until the goal is reached.
opens a page inside this one a page in the same scene a page in another scene a concept page a label only, with no page

An AI agent is AI software that is given tools and access, and acts on its own to reach a goal. A chatbot only answers questions. An agent also does things: it logs in to systems, looks up records, fills in forms and makes payments.

Here is how an agent works. A person or a company gives the agent a goal. The agent runs on a language model, the kind of AI model behind chatbots, which decides each next step. The agent then uses one of its tools, for example to look up a record or send an email. It reads the result and decides the next step again. It repeats this until the goal is reached, or it hands the task to a person. Developers build agents with an AI agent framework.

Agents are used in many industries, and each kind has its own page. AI customer service agents answer customers by chat or phone. Agentic commerce means an agent that searches, books and pays for someone.

Take, for example, a software team with a bug to fix. An AI coding agent writes a fix, runs the tests and changes the code again until the tests pass.

Consider an accounts team that receives hundreds of supplier invoices a week. With agentic automation, an agent reads each invoice, checks it against the purchase order and writes to the supplier when something does not match, work that office staff used to do by hand.

Imagine a warehouse. With physical AI, an agent decides which robot picks which shelf, and in what order.

An agent is only as safe as the access it is given. If it can send refunds, a trick message could make it send a refund that was never owed. AI agent guardrails explains how companies limit what an agent can do. Like an employee, an agent also needs its own login, which is a kind of non-human identity.

How is an AI agent different from a chatbot? Both may run on the same language model. A chatbot gives an answer and stops, and a person must then act on it. An agent takes the action itself, so what it is allowed to touch matters much more.

Appears in

Tech, Explained is a part of ingrid.fyi. Every page explains one piece of technology in plain words.