← Guides
17 November 2026 · Junaid Khalid · 15 min read

Agentic Workflows: Patterns, Approval Gates and Tracking Each Run

Agentic workflows are processes where an AI agent takes a goal, plans the steps, calls tools, checks each result, and loops until the goal is met or a stop rule fires. Unlike a fixed script, the agent picks its next step at runtime. In production, each run also needs an owner, approval gates and a record.

That last sentence is where the top guides stop. IBM, Google Cloud and Databricks all define the loop well. None of them shows how a team records which agent ran each step, what it cost, or what proof it left behind. This guide covers the definition and the patterns, then the part we run every day.

Key takeaways

What is an agentic workflow?

An agentic workflow is a multi-step process in which an AI agent decides some or all of the next steps itself, using tools and checking its own results, instead of following a fixed sequence written in advance. IBM describes them as processes where agents "make decisions, take actions and coordinate tasks with minimal human intervention" (IBM).

Anthropic draws the most useful line between the two halves of the term:

"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."

That comes from Anthropic's engineering guide Building effective agents. In practice, most systems called agentic workflows sit on a slider between the two. A fixed chain of three model calls sits at the workflow end. A coding agent that reads a repo, edits files and reruns tests until they pass sits at the agent end.

The payoff, per Databricks, is fewer hand-offs: workflows that "adapt to changing conditions without requiring engineers to rewrite logic" and need fewer steps where a person passes work along.

How it differs from what came before:

Approach Who decides the next step Handles surprises Typical example
Rule-based automation (scripts, robotic process automation) The rules, written in advance No, it fails or escalates Copy form fields into a CRM
Single prompt to a model The human, one turn at a time Only if the human rephrases Draft an email reply
Agentic workflow The model, within limits you set Yes, it retries or changes tools Triage an issue, reproduce it, propose a fix

How does an agentic workflow work?

An agentic workflow runs a loop: take a goal, plan, act with a tool, check the result, then repeat, stop or hand back to a person. Some guides shorten it to perceive, reason, act and reflect. Databricks puts the defining trait in one line: "This feedback loop is the defining characteristic of agentic behavior" (Databricks).

Each turn of the loop uses the same parts:

  1. A model that reads the goal and the current state, and picks the next action.
  2. Tools the model can call: APIs, a shell, a browser, a database, search. The Model Context Protocol (MCP) is now the common way to plug tools into agents (MCP docs).
  3. Memory or state, so step six knows what steps one to five found.
  4. A check: a test run, a validator, a second model, or a person.
  5. A stop rule: goal met, budget spent, too many retries, or a question only a human can answer.

The check and the stop rule are where most failed runs go wrong. Without them, an agent keeps going on a bad early assumption. Databricks names this risk directly: an agent "may continue executing on flawed assumptions unless explicit validation checkpoints are built into the workflow."

What are the main agentic workflow patterns?

Most agentic workflows are built from five patterns that Anthropic documented: prompt chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer, plus fully autonomous agents at the far end. The table adds two columns no guide we read has: cost profile and what to log.

Pattern How it works Use it when Cost profile What to log per run
Prompt chaining Fixed steps; each model call feeds the next, with checks between The task splits cleanly into known steps Low, predictable: number of steps times one call Which step failed its check
Routing A classifier sends each input to one specialised path or model Inputs fall into distinct types Lowest: cheap model for easy inputs Route chosen and why
Parallelization Independent subtasks run at once, or the same task runs several times and results are voted on Speed matters, or you want several attempts Higher: N calls per input Each branch's result and the merge decision
Orchestrator-workers A lead model splits the task at runtime and hands parts to worker models You can't predict the subtasks, such as a code change across unknown files Variable, often the largest Which worker did which part, on which model
Evaluator-optimizer One model drafts, another grades against criteria, loop until it passes You have clear criteria and feedback improves the output Medium to high: rounds times two calls Number of rounds and the final score
Autonomous agent The model plans and acts in a loop with tools until done Open-ended tasks with a reliable check, like tests Highest and least predictable Every tool call, minutes, tokens, the stop reason

The cost profiles are our rule of thumb for comparing patterns, not measured prices.

Anthropic's own caution on the last row is worth keeping in view: "The autonomous nature of agents means higher costs, and the potential for compounding errors."

Google Cloud and codewave describe a second set of design patterns: planning, tool use, reflection and multi-agent collaboration. They map roughly onto the table: reflection is the evaluator-optimizer loop, and multi-agent collaboration is orchestrator-workers.

Orchestrator-workers is the pattern most teams end up running. A main coding agent hands review or browser checks to subagents on cheaper models. In our workspace, the main agent on Opus 5.5 logged 146 sessions, while Sonnet 5.5 and Opus 5.5 subagents and a separate browser agent logged their own. When something breaks, the first question is which of them did the step.

What are examples of agentic workflows?

Good agentic workflows have a clear goal, tools with limited permissions, and a check that tells the agent it is done. The strongest live example is in software, because tests give the agent a reliable check.

When should you not use an agentic workflow?

Skip the agent when a script or a single prompt does the job, when there is no reliable way to check the result, or when one wrong action is costly and can't be undone. Anthropic recommends "finding the simplest solution possible, and only increasing complexity when needed."

The costs are real. Databricks: "Agentic workflows consume more compute than traditional automation because agents reason iteratively, call tools multiple times, and may retry failed steps." Neo4j adds that success "depends less on prompting techniques and more on control, evaluation, and system discipline" (Neo4j).

The other risks to plan for:

A quick filter: if you can't write the stop rule and the check in one line each, it is too early for an agent.

How do you build an agentic workflow?

Build an agentic workflow by writing it down before you code it: the goal, the trigger, the tools, the checks, the stop rules, where a human approves, and what done looks like. Then pick the simplest pattern that fits and test it on ten real cases.

  1. Pick one narrow job. "Triage new bug reports in repo X", not "handle support".
  2. Write the spec (template below). If a field is blank, the workflow is not ready.
  3. Choose the pattern. Start with prompt chaining or routing; move to orchestrator-workers only when the subtasks can't be known in advance.
  4. Give tools the least permission that works. Read-only first. Declare every write.
  5. Add the check. Tests, a schema validator, or a judge model with a written rubric.
  6. Set a budget and stop rules. Minutes, tokens, retries.
  7. Put a person on the irreversible steps. Use the approval checklist below.
  8. Run it on ten real cases and record time, tokens, retries and whether a human had to fix the output.
  9. Make every run a record with an owner, the agent and model, and proof on close.

Copy this: agentic workflow spec template

WORKFLOW NAME:
OWNER (a person):
GOAL (one sentence, testable):

TRIGGER:
  e.g. new issue labelled "bug", daily at 09:00, a human assigns a ticket

PATTERN:
  prompt chaining | routing | parallelization | orchestrator-workers |
  evaluator-optimizer | autonomous agent

AGENTS AND MODELS:
  main agent:            model:
  subagents / workers:   model:

TOOLS AND PERMISSIONS:
  read:
  write (declared, each one):
  never touch:

STEPS (what is fixed vs what the agent decides):
  1.
  2.
  3.

CHECKS:
  after step __: test / validator / judge model / person

STOP RULES:
  goal met when:
  max minutes:        max tokens:        max retries:
  stop and ask a human if:

APPROVAL GATES (see checklist):
  step __ needs approval from:

DONE MEANS (proof):
  PR link / published URL / test output / closing report with outcome

RECORD PER RUN:
  ticket id, agent, model, launched by, minutes, tokens,
  files and commits touched, decisions, approvals, proof

The "never touch" and "stop and ask" lines do the most work. Agents rarely fail by refusing. They fail by widening the scope.

Where should humans approve an agentic workflow?

Put a human approval gate on any step that is irreversible, spends money, touches production, reaches customers, or changes access. Google Cloud's own runbook has the agent stage its fix for review first:

"After validating a successful fix, the agent stages the solution for a mandatory Human-in-the-Loop (HITL) review."

Databricks says the same about production: "most production agentic workflows still require human-in-the-loop checkpoints for high-stakes decisions." The open question in both guides is how. Here is the checklist we use.

Copy this: approval-gate checklist

Gate this step if ANY box is ticked:
[ ] It can't be undone in one command (delete, send, publish, pay, merge to main)
[ ] It spends money or commits the team to a cost
[ ] It touches production data or infrastructure
[ ] A customer, user or the public will see the output
[ ] It changes permissions, secrets or access
[ ] The agent is choosing between real options with different risk

For every gated step, the agent must:
[ ] Write the decision, the reason and the alternatives it rejected
[ ] Name the person who approves
[ ] Pause its clock while it waits (waiting is not blocked)
[ ] Never approve its own request
[ ] Act only after approval is recorded; a rejection needs a note

After the step:
[ ] Attach proof: link, diff, screenshot or a report with the outcome

Our agents logged 20 decisions with reasons and alternatives and recorded 142 AI-work pauses, each one a run stopping its clock while it waited on a person. For where to place the gates in more detail, see our guide to human-in-the-loop AI.

How do you run agentic workflows in production?

Run each agentic workflow run as a ticket: one owner, a record of which agent and model did each step, minutes and tokens per session, approvals logged on the ticket, and a closing note with proof. Logs and traces tell you what the model did. A ticket tells you who asked, who approved and whether the work was done.

This is how our own team works in Jenzo, and the numbers below come from our workspace as of November 17, 2026:

In Jenzo, an agent starts its own clock when it picks up a ticket, with its name and model, pauses while it waits on a person, and reports tokens when it stops. It logs the files, branch, PR, commits and cost in dollars against the ticket, and warns when another open ticket touched the same files. Risky choices go in as decisions that need a human's approval, and the agent is told not to act until then. A ticket can't close without proof: a link, or a closing report that says what was done and the outcome.

The refused notes taught us the most. Notes like "done" and "fixed" are what the gate refuses on the first try. A reviewer cannot check either. If your agent is Claude Code, our guide to Claude Code tasks shows how its own task list relates to tickets. For the telemetry side, see AI agent observability, and for fleet tools versus the work layer, AI agent management platforms.

FAQ

How does agentic AI work?

Agentic AI works by running a model in a loop with tools. The model reads a goal, picks an action such as calling an API or running code, looks at the result, and decides the next step. It stops when a check passes, a budget runs out, or it needs a person. The tools and the checks matter as much as the model.

What is an AI workflow?

An AI workflow is any multi-step process where at least one step uses an AI model, such as classifying a ticket, then drafting a reply, then routing it for approval. It becomes an agentic workflow when the model chooses some of the steps itself instead of following a fixed sequence written in advance.

What are the 5 types of agent in AI?

The classic five, from AI textbooks and summarised by IBM, are simple reflex agents, model-based reflex agents, goal-based agents, utility-based agents and learning agents. Modern LLM agents are closest to goal-based and learning agents. These are agent types; the five workflow patterns above are ways of arranging model calls.

How do you build your own agentic workflow?

Pick one narrow job, write a spec with the goal, tools, checks, stop rules, approval gates and proof of done, then start with the simplest pattern that fits, often prompt chaining or routing. Run it on ten real cases, record time, tokens and fixes, and only then add autonomy. The spec template above is a starting point.

Is ChatGPT an example of agentic AI?

A normal ChatGPT chat is not agentic: it answers one turn at a time. ChatGPT agent mode is agentic: per OpenAI's help center, it carries out a described task and "will pause for clarification or confirmation when needed," with monthly message limits per plan. Codex, OpenAI's coding agent, is agentic too: its cloud tasks run in their own sandbox and can end in a pull request.

Can ChatGPT create workflows?

A ChatGPT chat can run multi-step tasks, but it does not give you a saved, versioned workflow on its own. OpenAI's Agent Builder was its visual canvas for multi-step agent workflows; OpenAI is deprecating it, with shutdown scheduled for November 30, 2026. OpenAI's page points to ChatKit for embedding a workflow in an app and to the Agents SDK for custom code; other teams use a workflow tool.

From our own experience

Our setup grew from one main agent to subagents on two models and a browser agent. A chat history could not tell us which run made which change or what it cost. Making every run a ticket fixed that: the agent clocks in, logs its model and files, asks a person when it hits a gate, and closes with a link. The surprise was how short most runs are. The few long ones are where to look first.

Let your agents keep the board.

Claude Code, Codex and Cursor open their own tickets, log hours and tokens, and close them with the commit.

Connect your agent