The label “AI agent” shows up on a lot of product pages now. Some of those products are three prompts chained together in a fixed order. Others look like a plain chatbot until you notice the model choosing tools and looping on its own. The word is doing very different work in each case.
Here are two guides written from real customer deployments: Anthropic’s “Building effective agents” and OpenAI’s “A practical guide to building agents”. Both are written for teams shipping this stuff, so neither is loose with definitions. Put side by side, the boundary turns out to be sharper than the marketing suggests. Let’s build it from the smallest piece upward.
One model call, plus a few attachments
The floor is a single call: you send a prompt, you get an answer. Anthropic calls the upgraded version an augmented LLM, meaning a model with retrieval, tools and memory attached, and treats it as the basic building block of any agentic system. The doc points at two things worth getting right there: tailoring those capabilities to your use case, and giving the model an interface that is easy to use and well documented.
Plenty of products should stop at this floor. Anthropic notes that for many applications, optimizing a single LLM call with retrieval and in-context examples is usually enough. OpenAI draws its baseline at a similar height: simple chatbots, single-turn LLM calls and sentiment classifiers are not agents, because the LLM isn’t controlling workflow execution.
When code owns the sequence, you have a workflow
One step up is the workflow, which Anthropic defines as systems “where LLMs and tools are orchestrated through predefined code paths”. The next move is written in code somewhere, not decided at runtime.
The same document sorts this level into five shapes.
| Shape | What the code fixes | Where the doc says it fits |
|---|---|---|
| Prompt chaining | The step order and any checkpoints | Tasks that split cleanly into fixed subtasks, trading latency for accuracy |
| Routing | The classification and the branches | Distinct categories that are easy to classify; easy questions can go to a smaller model |
| Parallelization | Which pieces run at once | Subtasks that can run side by side, or repeated attempts you vote on |
| Orchestrator-workers | The frame of one central call plus worker calls | Tasks where you can’t predict how many subtasks you’ll need |
| Evaluator-optimizer | The generate-and-critique loop | Clear evaluation criteria, where another pass measurably helps |
The examples are more familiar than the table. Routing is a support inbox sorted into general questions, refund requests and technical issues, each sent to its own prompt and tools. Parallelization is one model handling the user’s message while another screens that message. Evaluator-optimizer is a translation written once, critiqued, then rewritten.
One row deserves a footnote. Orchestrator-workers is not a pure workflow, because the code only fixes the frame: the central model decides how many subtasks to create and what they are. Anthropic flags exactly that difference from parallelization, where subtasks are not pre-defined. So the boundary isn’t a clean shelf at the top. It cuts through the middle of the ladder.
When the model owns it, you have an agent
The top level is a system where the model directs execution itself. Anthropic’s definition: systems “where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks”.
Running that looks like this. A human gives a command, or works out the task in conversation. The agent plans and moves on its own, coming back to the human for information or judgment when it hits a wall. At each step it pulls ground truth from the environment, such as a tool result or a code run, to check its own progress. The task often ends when the work is done, but it’s also common to add a stopping condition, like a maximum number of iterations, to keep control.
OpenAI’s wording lands in the same place: agents are “systems that independently accomplish tasks on your behalf”. The guide lists what that requires. The LLM manages workflow execution and makes decisions, it recognizes when the work is finished and can correct itself, it halts and hands control back to the user on failure, and it picks tools based on the current state within guardrails.
Both docs name the bill. Anthropic says agentic systems “often trade latency and cost for better task performance”, and warns that autonomy raises cost and lets errors compound, so you want sandboxed testing and guardrails. OpenAI asks you to plan human intervention up front, with two triggers: exceeding a failure or retry threshold, and high-risk actions such as cancelling orders, approving large refunds or making payments.
Same line, different widths
Read the definitions together and something useful shows up. Both companies test the same thing: who decides the next step. Code decides, it’s a workflow. The model decides, it’s an agent.
What differs is how wide they stretch the word. Anthropic gathers everything under “agentic systems” and then splits that into workflows and agents, keeping “agent” for the autonomous end. OpenAI’s guide doesn’t split it that way: it defines a workflow as a sequence of steps toward a goal, then settles agent-or-not on one test, whether the LLM controls execution. Structurally, the shape Anthropic files as a workflow, orchestrator-workers, resembles OpenAI’s manager pattern for coordinating multiple agents. Neither guide links the two, so that’s my read, and OpenAI’s manager coordinates agents rather than the worker LLM calls Anthropic describes. OpenAI still draws a clear line of its own, saying simple chatbots and sentiment classifiers are not agents.
That matters in a planning meeting. Two people can use the same word in the same sentence and mean different things, because the two guides stretch it to different widths. Checking which one you each mean is the cheapest five minutes you’ll spend that day.
Sorting your own backlog
OpenAI’s guide lists the work that justifies an agent: nuanced decisions with exceptions, rulesets that have grown too unwieldy to maintain, and tasks that lean on unstructured data. Its examples are refund approval, vendor security reviews and home insurance claims. If your case doesn’t clear that bar, “a deterministic solution may suffice”.
Anthropic’s test is phrased around prediction instead of categories: use an agent for open-ended problems where you can’t foresee how many steps are needed and can’t hard-code a fixed path, and only when you trust the model’s judgment enough to let it run. Put the two together and you get a practical rule. If you can write the steps down, build the workflow. If you wrote them down and exceptions keep leaking through the seams, that’s the moment to look at an agent.
There’s one number worth keeping when you scale up. OpenAI argues the problem isn’t just tool count, it’s also overlap, noting that some implementations handle more than 15 well-defined, distinct tools while others struggle with fewer than 10 that overlap. When prompts fill up with conditionals or the model keeps picking the wrong tool, splitting into multiple agents is the guide’s suggestion, not the starting point.
The ideas held; the plumbing moved
The first thing I noticed reading Anthropic’s post is the note at the top. It was published in December 2024, and it now says much of the tooling landscape it describes has changed, with a link to the current approach.
Follow that link and you get a managed option: instead of building your own agent loop, tool execution and runtime, you get a fully managed environment where the model can read files, run commands, browse and run code. The docs walk through agents, environments, sessions and events, and the whole thing is still in beta.
What changed is the plumbing, not the reasoning. Whether code splits the work or the model does, and where a human gets called back in, sit in the same place in the 2024 essay and in the current docs. The tools became a product.
That’s why one question still sorts most of what you’ll read next. In the thing you’re building, who picks the next step: the code or the model?