AI GLOSSARY · AGENTS AND AGENT TOOLING
AI workflow
Definition
An AI workflow is a fixed sequence of steps in which language model calls and tools are orchestrated through predefined code paths. Anthropic contrasts this with an agent, where the model decides its own steps.
Also called: AI workflows, agentic workflow, LLM workflow, AI automation workflow.
In plain language
An AI workflow is a recipe you write in advance. Step one might read an incoming email, step two asks an AI to classify it, step three files it in the right folder. The order is fixed by you, and the AI does a defined job at each step. That makes it more predictable and easier to test than an agent, which chooses its own steps. The limit is rigidity: if something arrives that your steps did not expect, the workflow cannot adapt. Each AI call also costs money, so long chains cost more. Check what data each step sends to the AI provider.
Technical definition
Anthropic's Building effective agents defines workflows as systems where LLMs and tools are orchestrated through predefined code paths, versus agents, where LLMs dynamically direct their own processes and tool usage. It describes five workflow patterns: prompt chaining (sequential calls, with checks between steps), routing (classify an input, then send it to a specialised step), parallelization (sectioning or voting), orchestrator-workers (a central LLM delegates subtasks decided at runtime) and evaluator-optimizer (one call generates, another gives feedback in a loop). It recommends finding the simplest solution possible.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
workflow-automation-builder 61/100 · grade CScored · Method v0.2 · How we score
- What you see
- The skill designs a no-code automation that does not fail silently and checks the design file with a validator.
- Why it exercises the concept
- A workflow is a predefined path, and a main risk is a step that fails without anyone noticing. This skill puts error handling into the design from the start.
Skill by Jesse Vincent · Illustrative, not executed
executing-plans 29/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- The skill works through a written implementation plan inline, step by step, with checkpoints.
- Why it exercises the concept
- A written plan followed in order, with checkpoints between steps, is a workflow run by a coding agent. The steps are set by the plan, not invented as it goes.
Guide · Illustrative, not executed
How to Build an AI Agent: A Minimal Tool Loop
- What you see
- The guide builds a minimal agent as a tool-use loop in Python and cites Anthropic's definition that agents direct their own process, unlike workflows that follow predefined code paths.
- Why it exercises the concept
- It is the other side of the distinction. Building the loop shows what the model controls in an agent and what your code controls in a workflow.
How it shows up when you use agents
In practice, a workflow is what you get when you fix the steps and let the model fill in each one. A Claude Code or Codex session that follows a written plan item by item, a script that calls a model to summarise a file and then runs a linter, and a no-code automation that routes email are all workflows. See AI agent and Tool calling.
What breaks when the distinction is missed: people build an agent when a workflow would do, and get less predictable behaviour and extra cost. Or they build a workflow for open-ended work and it fails the first time input differs from what the steps expect. Anthropic recommends finding the simplest solution possible and only increasing complexity when needed.
Your next action: write the steps down. If you can list them in advance, build a workflow, add a check after each model call, and log failures so nothing fails silently. If the steps depend on what turns up, consider an agent with limits. See Agentic AI.
Common confusions
- Workflow versus agent. In a workflow your code decides the path; in an agent the model does (Anthropic). Many real systems mix both.
- AI workflow versus plain automation. Ordinary automation runs fixed rules. An AI workflow has at least one step where a model interprets or generates language.
- Agentic workflow versus workflow. The phrase is used loosely. Some people mean a workflow with an agent step inside, others mean an agent. Ask which is meant.
- Myth. More steps do not make a workflow smarter. Anthropic says that for many applications optimizing single LLM calls is usually enough.
Related terms
Terms that mention AI workflow
7 terms mention this one
More in Agents and agent tooling
Sources
- Building effective agents, Anthropic (accessed 2026-11-23)
- Tool use with Claude, Anthropic (Claude Docs) (accessed 2026-11-23)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-23. Last verified .
This entry is still in review, so it is not listed in search engines yet.
Change log (2)
- : First version.
- : Verifier pass: restored source title and aligned two Anthropic paraphrases.