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.
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 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:
- You give it a goal.
- It decides on a step.
- It uses a tool and looks at the result.
- 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.
Two primary sources
A 2022 research paper called ReAct (Yao and colleagues, https://arxiv.org/abs/2210.03629) shows the loop in action. It has a language model write out its reasoning and its actions in turns, so that the reasoning helps plan the actions and the actions fetch new information from outside sources. In the paper's tests the model looked things up through a simple Wikipedia interface, and the authors report it reduced two common problems of reasoning alone, made-up facts and errors that carry forward. They also report it was easier for people to follow.
On 25 November 2024 the company Anthropic announced the Model Context Protocol, which it describes as an open standard for connecting AI assistants to the systems where data lives, such as content repositories, business tools and development environments. That is the "standard way for agents to reach tools" mentioned above.
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. 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.