Autonomous agents, defined by who chooses the next step
The term carries two live meanings, has a neighbour it gets confused with daily, and four tests that decide whether your system actually qualifies.
- Autonomous agent
- An autonomous agent is a software system that pursues a goal by choosing its own next action — which tool to call, and when to stop — without a human approving each step.
Where the word came from, and when
"Agent" is old. In Artificial Intelligence: A Modern Approach, Russell and Norvig define an agent as anything that perceives its environment through sensors and acts on that environment through actuators — a formulation that covers a thermostat, a robot arm, and a chess program equally well. "Autonomous" was the qualifier that meant it acted on its own behaviour rules rather than waiting for instruction.
The current usage dates to March 2023, when AutoGPT shipped on GitHub: a loop that fed a goal to GPT-4, let the model pick a command, ran the command, fed the result back, and repeated. That is the whole idea. Everything since has been about making the loop survive contact with production.
Two things matter after that. November 2024: Anthropic published the Model Context Protocol, an open standard for how a model reaches tools and data, which turned "wire up a tool" into a server contract rather than bespoke glue. And the arrival of per-framework step limits — the OpenAI Agents SDK takes a max_turns argument and raises MaxTurnsExceeded when it trips — which is the industry admitting that the loop's defining feature is also its defining failure.
Two things people mean by it, labelled
Both senses are in active use. They are not the same claim, and conflating them is how procurement conversations go sideways.
| Sense 1 — the research sense | Sense 2 — the 2023-onward sense | |
|---|---|---|
| What it denotes | Any system that perceives and acts in an environment to pursue goals | An LLM in a loop, calling tools, deciding its own sequence |
| Typical examples | Thermostats, RL policies, warehouse robots, NPCs | A triage agent on Stripe disputes, a coding agent in a repo |
| "Autonomous" means | No direct human intervention during operation | No human approving each individual step |
| Where it shows up | Textbooks, robotics papers, control theory | Vendor pages, your board deck, your logs |
In vendor material, product announcements and deployment write-ups, "autonomous agents" almost always denotes sense 2. In the research literature it denotes sense 1, and the thing being described often contains no language model at all.
What it is not: an agentic workflow
Anthropic draws the line in their engineering write-up: workflows are systems where LLMs and tools are orchestrated through predefined code paths; agents are systems where the model directs its own process and tool use.
So a nightly job that calls the model to classify a ticket, then routes it with an if statement, then calls the model again to draft a reply is an agentic workflow. You wrote the order. The model fills in slots. It can be excellent, it is cheaper, it is far easier to debug, and it is not an autonomous agent.
It is also not a copilot. If a human reviews each action before it lands, you have a suggestion engine with good manners. And it is not RPA: RPA replays a recorded click path and breaks when the DOM changes; an agent re-plans when the page changes, which is both the upgrade and the new class of bug.
A worked example with the specifics filled in
Cron fires at 02:00 UTC. The goal, stated in the system prompt: every Stripe dispute opened in the last 24 hours either has evidence submitted or a Slack message in #billing-ops saying why it does not. Four tools, no more — Stripe GET /v1/disputes, POST /v1/disputes/:id for evidence, a read-only Postgres query against the orders table, and one Slack write.
The model decides order and depth. A duplicate charge needs the order lookup before anything else. "Product not received" needs the shipment record. A dispute already past its evidence deadline gets a Slack note and nothing more. Nobody encoded that branching; it falls out of the loop.
What the model does not decide is scope. No refund endpoint, no spend authority, and a max_turns of 12 raising MaxTurnsExceeded — enforced by the SDK, not by an instruction asking the model to please stop.
Cost, as arithmetic off list price: at Claude Sonnet's $3 per million input tokens and $15 per million output, 12 turns at roughly 15,000 input and 1,500 output tokens each is 180,000 input tokens ($0.54) and 18,000 output ($0.27) — about $0.81 per run, or $24 a month on a nightly schedule, before prompt caching and before retries. Track that number. Cost per loop is the metric that decides whether an agent is a product or a hobby.
Four tests for whether yours qualifies
- Who ordered the steps? If a DAG, an
ifblock, or a human did, it is a workflow. If the sequence differs between two runs on different inputs, it is an agent. - Can it stop itself? A termination condition the system evaluates — "evidence submitted or reason posted" — not a fixed number of iterations you happened to pick.
- Does it act, or only emit? An agent writes to a system of record: a database, an API, a repo, a payment rail. Text output alone is a model call.
- Does it run with nobody in the approval path? Logged and auditable afterwards, yes. Gated per action, no — that is a copilot.
Fail one of those and you have something useful with a different name. Pass all four and the engineering problem changes shape entirely, because now you own a loop whose behaviour you can bound but not enumerate. Start with one bounded worker. Keep dollar authority out of the agent's hands until the read-only version has been boring for a month. Giving an agent a card is a separate decision from giving it a goal — make it separately.
Sources
- Artificial Intelligence: A Modern Approach (Russell & Norvig) — companion site — The textbook definition of an agent as something that perceives an environment and acts on it; predates LLMs by decades.
- Anthropic — Building effective agents — Primary source for the workflow-vs-agent distinction: workflows orchestrate via predefined code paths, agents direct their own process and tool use.
- AutoGPT repository — Origin of the popular 2023 usage of 'autonomous agent' for an LLM looping over tools toward a goal.
- Anthropic — Introducing the Model Context Protocol — November 2024 announcement of MCP, the open standard for connecting models to tools and data.
- Model Context Protocol documentation — Specification and docs for the tool-interface standard referenced in the worked example.
- OpenAI Agents SDK — Running agents — Documents max_turns and the MaxTurnsExceeded exception — a step cap enforced outside the model.
- Anthropic — Pricing — List prices used in the per-run cost arithmetic ($3 / $15 per million tokens for Claude Sonnet).
- Stripe API — Disputes — The dispute list and evidence-submission endpoints named in the worked example.