What is an agentic workflow?
An agentic workflow uses an AI model in a loop of steps, such as plan, act, check and revise, instead of asking it for a finished answer in one go. Andrew Ng laid out the idea in a series of letters in The Batch, DeepLearning.AI's newsletter, in spring 2024. In the second letter (March 27, 2024) he wrote: "Instead of having an LLM generate its final output directly, an agentic workflow prompts the LLM multiple times, giving it opportunities to build step by step to higher-quality output."
His first letter (March 20, 2024) made the case with numbers his team pulled from published research on the HumanEval coding benchmark: GPT-3.5 answering in one pass was 48.1% correct and GPT-4 was 67.0%, while GPT-3.5 "wrapped in an agent loop" reached up to 95.1%. The same letter named four design patterns:
- Reflection. "The LLM examines its own work to come up with ways to improve it."
- Tool use. The model gets tools "such as web search, code execution, or any other function" to gather information, take action or process data.
- Planning. The model "comes up with, and executes, a multistep plan to achieve a goal".
- Multi-agent collaboration. "More than one AI agent work together, splitting up tasks and discussing and debating ideas."
These are the ingredients. Anthropic's engineering post Building effective agents (December 19, 2024) describes the patterns teams build from them. A note on that page says "Much of the tooling landscape described in this post has changed since December 2024." The patterns are not tied to any tool, so they still apply.
What is the difference between a workflow and an agent?
The difference is who decides the steps: your code or the model. Anthropic groups both under "agentic systems" and draws the line like this:
- "Workflows are systems where LLMs and tools are orchestrated through predefined code paths."
- "Agents, on the other hand, are systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks."
| Point | Workflow | Agent |
|---|---|---|
| Who decides the next step | Your code | The model, from what it sees after each step |
| Best for | Well-defined tasks you can split in advance | Open-ended tasks where you can't predict the steps |
| Strength | "predictability and consistency" | Flexibility and "model-driven decision-making" |
| Main risk | A fixed path that doesn't fit the input | "higher costs, and the potential for compounding errors" |
| Typical example | Write marketing copy, then translate it | A coding agent resolving an issue that touches many files |
In everyday use, "agentic workflow" covers both, and so does this post. The split still matters when you design one: it shows where the decisions happen, and so where a person should look.
What are the five agentic workflow patterns?
Anthropic describes five workflow patterns, then the fully autonomous agent, and says it will "progressively increase complexity, from simple compositional workflows to autonomous agents." Each one starts from what the post calls the augmented LLM, a model with retrieval, tools and memory. The descriptions below are quoted or summarized from the post, and the examples are the post's own.
| Pattern | How it works | Use it when | Example |
|---|---|---|---|
| Prompt chaining | "decomposes a task into a sequence of steps, where each LLM call processes the output of the previous one" | The task splits cleanly into fixed subtasks | Write an outline, check it against criteria, then write the document |
| Routing | "classifies an input and directs it to a specialized followup task" | There are distinct categories and classification is accurate | Send refunds, technical support and general questions to different processes |
| Parallelization | Splits a task into independent parts run at once (sectioning), or runs the same task several times (voting) | You need speed, or several attempts for more confidence | Several prompts review the same code for vulnerabilities |
| Orchestrator-workers | "a central LLM dynamically breaks down tasks, delegates them to worker LLMs, and synthesizes their results" | You can't predict the subtasks in advance | A coding change whose files depend on the task |
| Evaluator-optimizer | "one LLM call generates a response while another provides evaluation and feedback in a loop" | There are clear evaluation criteria and revising measurably helps | A translation improved by an evaluator's critiques |
Past these five sits the agent itself, which Anthropic describes as "typically just LLMs using tools based on environmental feedback in a loop." The post's advice is to combine patterns only when it pays off: "you should consider adding complexity only when it demonstrably improves outcomes."
Ng's four patterns line up with these roughly. This mapping is ours, not from either source: reflection is the evaluator-optimizer loop with the model as its own critic, tool use is the augmented LLM, planning is what the orchestrator and the agent do, and multi-agent collaboration covers parallelization and orchestrator-workers. For how frameworks and Claude Code decide which agent works on what, see agent orchestration.
Where should a person check the work in each pattern?
Put the check where the pattern makes its riskiest decision. Anthropic says agents should get "ground truth" from the environment at each step and "can then pause for human feedback at checkpoints or when encountering blockers." Its appendix adds, about coding agents, that "human review remains crucial for ensuring solutions align with broader system requirements." For each pattern, the riskiest decision sits in a different place:
| Pattern | How it looks on a board | Where a person checks |
|---|---|---|
| Prompt chaining | One column per step, with cards moving left to right | The gate between steps is a check the agent runs before moving the card on. A person reviews at the last step. |
| Routing | An inbox column. The router sets priority and moves each card to the right column. | Spot-check the sorting. A misrouted card is this pattern's failure, and nothing downstream will catch it. |
| Parallelization | One card per agent, several in progress at once | Before the parts are combined. For voting, a person reads the reviewers' comments and decides. |
| Orchestrator-workers | A planning card, and the cards the planner creates from it | After planning and before any worker starts. Ng wrote that planning "is a less mature technology" and that he finds it hard to predict what it will do. |
| Evaluator-optimizer | A card moving through Ready, In Progress and Needs review, with review comments | When the loop ends: after the evaluator passes it, or after a set number of rounds. |
| Agent | One card, picked up, worked and handed back | Before Done, and before anything that can't be undone |
The general checkpoints (before an agent starts, when it is unsure, before Done, before anything irreversible) are covered in our guide to human-in-the-loop for AI agents. The table above is the pattern-specific layer on top: the extra check each pattern needs because of how it fails.
How do you run agentic workflow patterns on a Flux board?
Give each role its rules in the agent's instruction file, and let the board carry the state between steps. Agents connect through the Flux MCP server or the REST API. Each step maps to a few tool calls: get_card reads a card and its comments, update_card sets priority, move_card hands the card on, create_card saves a planner's output and add_comment records results and review notes. Here is one set of rules that combines orchestrator-workers with an evaluator loop:
## Board rules for agents (Flux) Workers - Take the highest-priority card in Ready. Move it to In Progress first. - Read the card and its comments with get_card before you start. - Do only what the card describes. Run every check under "Done when". - Comment what you changed and how to check it. Sign the comment "- worker". Move the card to Needs review. Never move it to Done. Reviewer (the evaluator) - Take a card in Needs review. Read it and its comments with get_card. - Skip a card whose latest comment is signed "- reviewer". - Count the earlier comments that start with "Review round". If there are 3 or more, comment "Needs a person - reviewer" and stop. - Run the checks yourself. If one fails, comment "Review round N: changes requested", name the failing check, sign "- reviewer", and move the card back to Ready. - If every check passes, comment "Review passed - reviewer" and leave the card in Needs review. A person moves it to Done. Planner (the orchestrator) - For a card in Planning, create one card per step in Backlog with create_card. Start each description with "Parent: <the planning card's humanId>". - Never move the cards you created to Ready. A person does that after reading the plan.
The round cap is the kind of stopping condition Anthropic describes, "such as a maximum number of iterations". The signatures matter because get_card returns comments without author names, and anything an agent writes appears under the name of the person who created its API key. Workers that start at the same time can pick the same card; our post on coordinating multiple AI coding agents covers the claim convention and one git worktree per agent.
Four things to know about Flux when you build this, as of October 2026:
- The gates are rules, not locks. Flux does not enforce column order. An agent whose key has the Write scope, and whose owner has at least the member role, can move a card to any column on its board, including Done. The rule that only a person moves cards to Done lives in the instructions.
- Planners can create cards over MCP but cannot link them. That is why the rules put "Parent:" in each description. Parent and child links need the REST API; see our work breakdown structure guide for the requests.
- Routing to people can be automatic. On Pro and Expert, with the Automation extension turned on for the board, a rule can assign chosen members to every new card created in a column. It runs when you add a card in the app or create one through the REST API. It does not run for cards created over MCP, duplicated or imported, or moved into the column.
- Pick the API by whether you need a record. Cards created and moved through the REST API are recorded in the activity log. Changes made over MCP are not. For a scripted chain where you want each step on record, use REST.
For a complete board layout with a review column, see the kanban board for AI agents guide. For the project side, where agents take tasks and people set priorities and review, see AI project management.
When should you not use an agentic workflow?
Skip it when a single, well-prompted model call does the job. Anthropic recommends "finding the simplest solution possible, and only increasing complexity when needed", warns that "agentic systems often trade latency and cost for better task performance", and says that for many applications, "optimizing single LLM calls with retrieval and in-context examples is usually enough." Ng makes a similar point in his letter on planning (April 10, 2024): "many agentic workflows do not need planning."
A good test: if you can't say what the extra steps catch that one call would miss, you don't need them yet. If you can, put that answer on the board as the check, and put a person at the point where the check could be wrong.