---
title: What Is an AI Agent? | Large Programs
description: An AI agent is a program that pursues a goal and takes steps on its own, often using a language model and tools. What that means, where the idea came from, and why people stay in charge.
canonical: https://www.largeprograms.com/what-is-an-ai-agent/
---

[Home](/) / [Start Here](/category/start-here/)

Start Here

# What Is an AI Agent?

An AI agent is a program that pursues a goal and takes steps on its own, often using a language model and tools. What that means, where the idea came from, and why people stay in charge.

27 November 2026 · 3 min read

A plain chatbot answers. An **AI agent** can also *do* things. Wikipedia defines an AI agent as an artificial intelligence program that can make decisions, pursue goals and take actions with little help from humans. It contrasts this with tool-like AI used for narrow tasks such as answering questions.

## What makes something an agent

Wikipedia notes there is no universally agreed definition, but the attributes most often mentioned are:

- **Goal-directed behaviour:** it works toward a goal you gave it.
- **Use of external tools:** such as searching the web, running code or filling in a form.
- **Interacting with an environment:** it can change things, not only describe them.
- **Doing several steps on its own.**

Their control flow is often driven by a large language model. Agent systems may also include memory, planning logic, ways to connect to tools, and software that coordinates the pieces.

![A loop: goal, plan a step, use a tool, check the result, repeat.](/img/agent-loop.svg)

*A simplified loop made for this site: goal, plan a step, use a tool, check the result, repeat.*

## How it works in simple steps

This is our simplified picture, not a technical specification:

1. You give it a goal.
2. It decides on a step.
3. It uses a tool and looks at the result.
4. It repeats until it is done or stuck.

Wikipedia calls the software around the language model that makes this possible an **agent harness**. It commonly manages prompts, tool use, memory, limits on what the agent may do, and the handling of results.

## Where the idea came from

The theory goes back to the mid-twentieth century. Oliver Selfridge's 1958 paper "Pandemonium: A Paradigm for Learning" was an important early contribution. Practical agents began to spread in the 1990s. Early agents tended to use simple "if this, then that" logic. Products such as Siri and Alexa, released by the early 2010s, were sometimes called agents but lacked the general reasoning of later language-model agents.

According to Wikipedia, academics began to study agents built on language models from 2018. Their use sped up in late 2023, after a "function-calling" feature was released that lets a model ask for a tool to be used, and again after the Model Context Protocol appeared in late 2024, a standard way for agents to reach tools. The word "agentic" only began to be used often in 2024.

## What can go wrong

Wikipedia's list of concerns includes data privacy, weaker human oversight, a lack of guaranteed repeatability (the same request may not give the same result), mistakes that add up over many steps, security weaknesses, and [hallucinations](/what-is-an-ai-hallucination/). Because an agent can act, a wrong guess can have effects in the real world, such as sending a message or spending money, that a wrong chat answer would not.

## Why care

Agents can take several steps on their own, so it is wise to have a person check before an agent does anything important. A good habit is to decide in advance what the agent may do alone, what needs your approval, and what it must never do.

## Try this

Think of a small job: "plan a Saturday picnic." Write the goal, three steps, which tool each step would use, and where a person should check before the next step. You have just designed the loop in the picture.

## Sources

- [https://en.wikipedia.org/wiki/AI_agent](https://en.wikipedia.org/wiki/AI_agent)
- [https://en.wikipedia.org/wiki/Intelligent_agent](https://en.wikipedia.org/wiki/Intelligent_agent)

[Read this page as Markdown (.md)](/what-is-an-ai-agent.md)

## Keep reading

[![](/img/hero/art-ai-glossary-llm-terms-for-adults.svg)](/ai-glossary-llm-terms-for-adults/)

Start Here

### [LLM Glossary for Beginners: 25 Terms Explained](/ai-glossary-llm-terms-for-adults/)

A plain-English glossary of terms such as parameter, token, embedding, inference, RLHF and more.

[![](/img/hero/art-ai-in-everyday-life.svg)](/ai-in-everyday-life/)

Start Here

### [AI in Everyday Life: Ten Places You Already See It](/ai-in-everyday-life/)

Maps, spam filters, photos, translation and more. A tour of everyday tools, many of which use AI or machine learning.

[![](/img/hero/art-ai-in-medicine-and-science.svg)](/ai-in-medicine-and-science/)

Start Here

### [AI in Science and Medicine: Helping, Not Replacing, Experts](/ai-in-medicine-and-science/)

AI helps scientists predict protein shapes, read scans and search data. Why human experts still lead.
