AI Agents

What are AI Agents?

AI agents are software systems that use AI models to pursue goals on a user's or organization's behalf, planning steps, using tools and data and taking actions with some degree of autonomy.

Updated November 2026 · 2 min read


An AI agent is a program that takes a goal rather than a single instruction and works toward it on its own: it decides the next step, uses tools and data to carry it out, checks the result and keeps going until the job is done or it needs a person. The idea of an "agent" that perceives its environment and acts on it is old in computer science. What changed in the mid-2020s is that large language models made it practical to build agents that understand open-ended instructions and operate ordinary business software.

How do AI agents work?

Most agents follow a loop:

  1. Receive a goal and the relevant context.
  2. Reason about the next step, using a language model.
  3. Act, by calling a tool: a search, an API, a database query or another agent.
  4. Observe the result.
  5. Repeat until done, or escalate to a person.

This reason-act-observe pattern was formalized in the 2022 ReAct research paper by Shunyu Yao and colleagues, and remains the basis of most agent designs.

Components of an AI agent

  • Model: the language model that does the reasoning.
  • Instructions: the role, goals, rules and limits it works within.
  • Tools: the actions it can take, often connected through the Model Context Protocol.
  • Context and memory: the information it is given and what it remembers. See context engineering.
  • Guardrails: limits on what it can do and checks on its output. See AI guardrails.
  • Identity and permissions: which systems and data it can access.

AI agents vs. workflows

In late 2024, Anthropic published guidance distinguishing workflows, in which models and tools follow predefined code paths, from agents, in which the model decides its own steps. Its advice was to use the simplest design that works: many business problems are better served by a defined workflow with AI at certain steps than by a fully open-ended agent. See agentic workflows.

AI agent example

Consider a hypothetical procurement team that deploys an agent to handle new supplier requests. The agent reads the request, checks whether an approved supplier already offers the item, pulls the requester's budget, runs a sanctions and risk screen on the new supplier and prepares the onboarding form. It has read access to the supplier and budget systems but cannot approve or pay. A procurement specialist reviews its package and approves. Processing time drops from about eight days to two, mostly because the agent assembles information that people used to chase by email.

Common pitfalls

  • Too many permissions, so mistakes have large consequences.
  • No evaluation, so nobody knows how often the agent is right. See AI evaluation.
  • Agents for tasks that a simple rule would handle.
  • No owner accountable for each agent's behavior.

AI agents are the building blocks of agentic AI, and organizations increasingly track them as part of a digital workforce.

Frequently asked questions

What loop do AI agents follow to complete a task?

Most AI agents repeat a reason, act and observe cycle. Given a goal and context, the agent uses a language model to decide the next step, takes it by calling a tool such as a search, API, database query or another agent, then checks the result. It repeats until the task is done or it needs to escalate to a person.

When should you use a workflow instead of an AI agent?

Use a defined workflow when the steps are known in advance and AI is needed only at certain points. Anthropic's late 2024 guidance recommended the simplest design that works, noting that many business problems are better served by agentic workflows than open-ended agents. Agents fit when the path genuinely varies and the model must choose its own steps.

What permissions should an AI agent have?

Only what its task needs. An agent with broad access can turn a single mistake into a large problem, so many deployments give agents read access to the data they need and leave approvals, payments and other consequential actions to people. Each AI agent should also have an accountable owner and regular evaluation of how often it gets things right.

Book a demo