AI glossary

What is AI Agent?

Definition

An AI agent is software that uses a large language model to decide which actions to take, carries them out with tools, observes the results and repeats until it reaches a goal.

Unlike a chatbot, which only replies to messages, an AI agent acts. Given a goal such as “resolve this support ticket”, it chooses steps on its own: searching documentation, looking up the customer, issuing a credit and sending a reply.

How it works

Most agents run a simple loop:

  1. Think: the model reads the goal, context and available tools.
  2. Act: it calls a tool (an API, database query, email…).
  3. Observe: it reads the tool’s result.
  4. Repeat until the task is complete, then reports back.

Example

A sales agent receives a new lead, looks up the company, scores it against the ideal customer profile, drafts a personalised email and books a meeting in the CRM. It does all of this without a developer scripting each step.

Why it matters

Agents can take over multi-step work that needs judgment, not just fixed rules. They also need guardrails: limited permissions, validation and human approval for risky actions.

Learn more in our guide What Are AI Agents? or build one with our Python agent tutorial.

Free newsletter

The Agent Brief

One practical email a week on AI agents, RAG and generative AI, for builders and business owners. No hype, no spam.