How Anthropic Defines Agents and Agentic Systems
Anthropic's guide draws a line between workflows and agents. Here are its building blocks, its workflow patterns, and its advice on when an agent earns its keep.
- published
Anthropic agents come with a lot of noise around them. Anthropic's own engineering guide cuts through it. It defines what an agent is, separates it from a workflow, and tells you when the extra power is worth it. If you build client automations without code, that guide gives you a way to judge a project before you build anything. For a side-by-side look, see agents vs workflows.
What Anthropic means by an agent
The guide starts with a split. It says workflows are systems where LLMs and tools run through predefined code paths. Agents, in its words, are systems where LLMs direct their own processes and tool usage as they go.
Anthropic calls all of these agentic systems. Still, it draws a line between workflows and agents, and that line matters. With a workflow, you lay out the route ahead of time. With an agent, the model chooses the route.
The building block
Underneath every agentic system sits the same thing. The guide says the basic building block is an LLM enhanced with retrieval, tools, and memory.
When a client project feels vague, ask which of those three the job actually needs.
The workflow patterns Anthropic describes
The guide names five patterns for workflows. You can go deeper on these in agentic workflow patterns.
With prompt chaining, you break a task into steps. Each LLM call in the chain takes what the last one made and works on it. Checks can also sit between the steps, run by the workflow rather than the model. The guide says prompt chaining is ideal when a task splits cleanly into fixed subtasks.
Routing classifies an input and sends it to a specialized follow-up task. The guide gives customer service queries going to different downstream processes as an example. It works when a task has distinct categories that are better handled separately.
Parallelization comes in two forms. One is sectioning. The other is voting. The guide says one model can answer a query while another checks it for bad content. This pattern helps when subtasks can run together to save time. It also helps when you want more than one attempt.
In the orchestrator-workers pattern, a central LLM breaks down tasks and delegates them to worker LLMs. The guide says orchestrator-workers fits hard jobs where the pieces are not known ahead of time. That sets it apart from parallelization. The split gets decided on the spot, and by the model in the middle.
In evaluator-optimizer, one LLM call writes a response. Another gives feedback on it. This runs in a loop. The guide says evaluator-optimizer works best with clear evaluation criteria and when iterative refinement adds value.
What makes an agent different
The guide says agents begin with a command from, or a discussion with, the human user. From there, the agent runs in a loop. It says an agent is usually just an LLM that uses tools and reads what comes back.
That loop needs fuel. The guide says agents need ground truth from the environment at each step, such as tool call results. The model looks at what came back and decides what to do next.
The guide says agents can pause for human feedback at checkpoints or when they hit blockers. It also says they often use stopping rules, like a cap on rounds, to stay in control.
So an agent suits open-ended problems where you cannot predict the number of steps or hardcode a path. A workflow suits the rest. The guide says workflows work well for clear, set tasks. They run the same way each time. Agents are the better pick when the model must make its own calls.
The trade-offs
The extra freedom is not free. The guide says agentic systems often trade latency and cost for better task performance. It also says an agent's freedom brings higher costs. Errors can also pile up, one on top of the next.
An agent that picks its own path can pick a wrong one, then build on the mistake. The guide says you must have some level of trust in an agent's decision-making. It says to test agents a lot in safe, closed-off spaces. It also says to put firm limits around what the agent may do.
Anthropic's advice on tools
The guide spends real time on tools, and for good reason. It says to think about tool definitions as carefully as you think about your overall prompts. It says to build the agent-computer interface with full tool docs and lots of testing.
A good tool definition, the guide says, shows example usage and edge cases. It also shows the input format and where one tool ends and another begins. Then test how the model uses your tools and iterate on the mistakes. The guide even says to change tool arguments so that mistakes are harder to make.
For more on this, see agentic workflow tools.
Start simple
The guide's advice runs one way throughout. Start with the plainest fix that works. Build more only when it clearly helps the result. It says one LLM call, with retrieval and examples, is often enough for many jobs. Add multi-step agentic systems only when a simpler fix falls short.
Be open about what the agent is doing, the guide adds. Let users see its planning steps. And it says a person should still check the work, even when automated tests pass.
The guide names customer support as a job that suits agents. It needs talk, plus outside facts and actions. When a fixed path will do, build the workflow. When it will not, read how to build an agentic workflow before you start.