Key takeaways
A deterministic workflow follows predefined execution rules; an AI agent can choose its next step according to the task and available evidence.
Adding a language model to a fixed workflow does not automatically make that workflow an agent.
Use conventional automation for well-defined calculations, eligibility rules and controlled transactions.
Give agents flexibility where the route to a valid outcome varies, but keep permissions, spending limits and consequential approvals outside the model.
Compare architectures using cost per correctly completed task, exception resolution, turnaround time and critical errors, not the number of automated steps.
Introduce autonomy progressively, starting with read-only investigation or recommendations before allowing narrowly authorised actions.
Does your business need an agent or just better automation?
Imagine two customers contacting an online retailer. The first asks where an order is. The second explains that a replacement item arrived damaged after a partial delivery and wants to know what happens next.
The first request can be resolved by verifying the customer's identity, looking up the order and returning the latest delivery status. The second may require checking several orders, reading previous conversations, understanding the returns policy and gathering evidence before recommending a resolution.
Both tasks could appear in the same AI-powered customer service application. Yet they do not necessarily deserve the same technical architecture. Giving an AI agent unrestricted responsibility for both may increase cost and introduce unnecessary uncertainty. Using fixed rules for every possible combination of the second request may create a system that is difficult to maintain.
The difference between AI agents and deterministic workflows is therefore more than a technology choice. It is a decision about where a business benefits from flexibility, where it requires consistency and how much discretion it can safely delegate to software.
The real difference is who decides what happens next
A deterministic workflow follows rules defined in advance. It can contain branches, loops, timeouts, scheduled jobs and exception queues. Given the same relevant inputs, system state and rule version, its decision logic selects the same path.
An AI agent is a system in which a model helps determine the next action towards a specified objective. It can inspect the information returned by a tool, decide that more evidence is needed, select another permitted tool and determine whether to stop or request assistance.
Anthropic's engineering guidance distinguishes these two patterns according to whether the execution path is controlled by predefined software or selected dynamically by the model.[1] OpenAI's practical guide also emphasises model-driven task execution and dynamic tool selection.[2] Terminology varies across suppliers, so assess the actual behaviour of a system rather than relying on its marketing description.
A fixed workflow can still contain an AI model. For instance, it can instruct a model to extract fields from an invoice, pass those fields to a validator and send an exception to an employee when required. Although the extraction may vary between runs, the orchestration remains predefined. A workflow containing an AI step is not necessarily deterministic in all its outputs.
Conversely, an agent can call a deterministic function to calculate a refund or retrieve a verified record. What makes it agentic is the delegated choice of the next permitted step, not whether every component uses AI.
Three approaches to the same business problem
Conventional deterministic workflow: The software checks the information, applies explicit rules and executes a known route. This works well for a defined eligibility calculation or scheduled reconciliation. Its weakness appears when novel exceptions fall outside the rules.
Fixed workflow with AI: The software uses a model at a designated stage, for example to classify a support email or extract information from a document. It validates the result and follows predefined branches. This is useful when the input requires interpretation but the subsequent business process is stable.
Bounded AI agent: The model selects which approved information sources to consult and in what order, based on what it discovers. This is useful when the information required varies substantially between cases. Its behaviour is less predictable, so it needs stronger execution controls and evaluation.
These are not three competing products that a company must buy. They are architectural patterns that can coexist within the same application. A fixed workflow may invoke an agent as a narrowly scoped exception handler and resume the standard process after receiving its findings.
Where predictable automation should remain in charge
Consider payroll calculations, duplicate invoice checks, statutory report aggregation and transaction limits. Each has explicit requirements that can be expressed as calculations, checks or controlled state transitions. A language model should not reinterpret a rule every time a transaction is processed.
Deterministic business logic makes it easier to reproduce a decision, write comprehensive tests and explain why a particular action was permitted. It can also avoid model inference costs altogether. These advantages depend on accurate inputs, correct implementation and well-managed policy changes; fixed rules do not eliminate errors.
Even in a complex business process, many individual steps are predictable. A customer service operation can use existing software to calculate the eligible refund amount, check whether a refund has already been issued and confirm the current state of an order. Those checks do not become more valuable simply because an AI agent performs them.
Before introducing an agent, identify whether an apparently complex process is difficult because the evidence is unstructured, the decision path genuinely varies, or the organisation has not agreed on the underlying business rules. The last problem requires process design and ownership, not greater autonomy.
Where an agent earns its place
Agents become useful when an objective is clear but the information needed to reach it cannot be identified reliably in advance. A procurement investigation may require reviewing a supplier contract, examining a purchase order and checking a correspondence thread. A different case may instead require a delivery record or an approved exception.
A bounded research agent could select relevant sources, retrieve authorised records, identify inconsistencies and produce a recommendation with supporting evidence. The benefit is not that the agent can ignore the process, but that it can adapt its investigation to the available facts.
Insurance claims triage offers another example. A model may interpret a customer's description, identify missing documents and select appropriate read-only policy and claim queries. A fixed workflow can then apply documented eligibility checks and route unresolved or consequential cases to an authorised reviewer.
The flexibility is worth considering only when the improvement in case resolution outweighs the additional model calls, integration work and oversight. OpenAI's guidance identifies ambiguous inputs and hard-to-maintain decision rules as situations in which agents merit consideration, rather than requiring an agent for every automated task.[2]
A practical hybrid: let AI investigate, let policy decide
Return to the damaged replacement order. A well-designed service starts with an authenticated request and a fixed check of the order's current status. Routine requests stay on that standard path. Cases involving unclear histories or conflicting information can be sent to a bounded agent.
Within that exception path, the agent may query the relevant order record, retrieve the approved returns policy and review permitted case notes. It can choose the order of these reads, but it cannot grant itself new permissions or change the policy.
The agent returns a structured recommendation containing the relevant order identifier, proposed resolution, supporting evidence and unresolved uncertainties. Independent software checks the recommendation against the current policy and transaction limits. If the case requires human approval, the workflow shows the reviewer the evidence and exact proposed action.
Only an authorised transaction service performs the approved refund or replacement. It rechecks the current order state and uses a unique operation identifier to avoid duplicate execution. A timeout or failed confirmation triggers reconciliation before any retry.
This separation is valuable because an error in interpreting a complaint should not automatically become an unauthorised financial transaction. It also gives operations teams a predictable place to manage approvals, even when the earlier investigation is adaptive.
Autonomy needs boundaries that software can enforce
A tool is a capability exposed to an agent, such as looking up a customer record or creating a service ticket. A tool description explains its purpose to the model, but a separate authorisation layer must determine whether the requested action is permitted.
Start with the minimum necessary data access and narrowly scoped tools. For a read-only investigation, do not grant the agent a general-purpose write interface. If it needs to create a ticket, restrict the fields, records and operations it can affect.
Treat emails, documents and retrieved web content as untrusted data. Instructions embedded in them must not override the agent's original task or grant additional access. OWASP's agentic application guidance identifies misuse of legitimate tools as a security risk and recommends limiting their privileges and enforcing checks before execution.[3]
Set maximum tool calls, elapsed time, expenditure and retry counts. If the system cannot establish an acceptable result within those boundaries, it should stop and provide a clear handover rather than pursue the objective indefinitely.
Keep approval decisions outside the model, especially for irreversible or high-impact actions. Capture the approved action and its parameters, then invalidate that approval if the proposed action materially changes. Maintain access-controlled records of tool requests, policy checks, authorisations and outcomes without unnecessarily retaining confidential content.
Measure the value of autonomy, not the volume of activity
An agent that completes many tool calls may look sophisticated in a demonstration. That does not establish whether it has completed the business task correctly. An agent might spend several minutes reviewing records when a direct query would have produced the same result.
Compare three alternatives where relevant: the existing process, a fixed AI-assisted workflow and a bounded agent. Evaluate them on the same representative mix of routine and exceptional cases, using the same acceptance criteria. Include cases involving missing information, conflicting records, unauthorised requests and unavailable systems.
Measure correctly resolved cases as a proportion of all assigned cases, separately identifying authorised human transfers, unresolved cases and incorrect completions. Track turnaround time, avoidable escalations, critical errors, unauthorised action attempts and review effort. Evaluate end-to-end outcomes and important case categories rather than relying on an average model score.
Cost per accepted task equals total attributable processing, infrastructure, review, retry and remediation costs divided by the number of tasks that meet independently defined acceptance criteria. Include the costs of failed attempts. If no task meets the criteria, report the metric as undefined rather than claiming zero cost.
Autonomy may be economically justified for investigations that otherwise require significant staff time. For high-volume, predictable transactions, conventional automation may deliver a better result at lower complexity. The decision should follow evidence from the organisation's own work rather than assumed industry-wide savings.
A sensible path from pilot to production
Begin with a process map and a named business owner. Identify the required outcomes, established rules, sources of evidence and the small subset of decisions for which a fixed path is genuinely inadequate.
Build a baseline using conventional rules and, if necessary, a fixed AI step. Record its performance. Only then test an agent against the cases the baseline struggles to resolve.
Start with read-only access in a controlled environment. Test whether the agent can gather the right evidence, stop when it lacks information and handle attempts to exceed its permissions. Use held-out cases that were not used to develop the prompts and tools.
Introduce human-reviewed recommendations before allowing consequential actions. Where autonomous execution is justified, permit only narrowly defined operations after risk review and end-to-end testing. Retain a controlled fallback and a mechanism to disable the agent's access.
Operational ownership continues after deployment. Version the model, prompts, tools, policy rules and evaluation criteria. Monitor changes in outcomes and repeat relevant tests after updates. The NIST Generative AI Profile provides voluntary risk-management guidance that can inform this broader lifecycle approach.[4]
Choose the least autonomy that solves the problem
In my view, the strongest case for an agent is not that it can perform a large number of tasks independently. It is that it can handle a particular class of uncertainty more effectively than a simpler approach, while respecting the organisation's controls.
Keep predictable operations predictable. Give an agent freedom to investigate only when that freedom has a meaningful purpose. Preserve human judgement where evidence is incomplete, the consequences are significant or business policy requires an accountable decision.
If your organisation is evaluating agentic AI, a practical starting point is to review one real process together: which steps require interpretation, which can be automated with rules, which must be approved, and how the result will be measured. That assessment can reveal whether an agent is worth building at all.
References and further reading
[1] Anthropic (19 December 2024). Building effective agents. Architectural patterns for workflows and agents. Source: https://www.anthropic.com/research/building-effective-agents
[2] OpenAI (15 January 2026). A practical guide to building agents. Guidance on use-case selection, orchestration and safeguards. Source: https://openai.com/business/guides-and-resources/a-practical-guide-to-building-ai-agents/
[3] OWASP GenAI Security Project. OWASP Top 10 for Agentic Applications 2026: ASI02 — Tool Misuse and Exploitation. Source: https://genai.owasp.org/agentic-applications-2026/asi02-tool-misuse-and-exploitation/
[4] National Institute of Standards and Technology (2024). Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile. NIST AI 600-1. Source: https://doi.org/10.6028/NIST.AI.600-1
Apply the approach
Consider a retailer handling delivery enquiries and complex refund disputes. The same service can use three distinct execution patterns depending on the case. The comparison below describes proposed design choices rather than measured customer results.
Authenticate the customer, retrieve the correct order and return its verified status. No model-driven tool selection is necessary.
Extract the customer's intent and order reference with AI, validate the fields and route the case through predefined rules.
Select permitted evidence sources, investigate discrepancies and propose a resolution; independent policy checks and required approvals control execution.
Put the approach into practice
- 01Map the current process and distinguish explicit policy rules from judgement-based investigation.
- 02Establish a conventional or fixed AI-assisted baseline and define acceptable task outcomes.
- 03Pilot a read-only agent for the exceptions where the next investigative step genuinely varies.
- 04Enforce permissions, budgets, validation and approval requirements independently of the model.
- 05Compare cost per accepted task, resolution time, critical errors and review effort before increasing autonomy.
Frequently asked questions
Is a deterministic workflow the same as robotic process automation?
No. Robotic process automation (RPA) is one way to automate repetitive tasks, often through existing user interfaces. Deterministic workflows can also use direct software integrations, databases, rules engines and scheduled services without RPA.
Does using an LLM make a workflow agentic?
Not necessarily. A large language model (LLM) that performs one predefined classification or extraction step is part of an AI-assisted workflow. Agentic behaviour arises when the model has delegated discretion over how to progress towards a goal.
Can an AI agent follow a deterministic business rule?
Yes. An agent can invoke a tested rule or calculation as a tool. The safer pattern for mandatory rules is to enforce them independently so that a model cannot bypass or reinterpret them.
Can an agent be cheaper than conventional automation?
Potentially, if it resolves enough costly exceptions or reduces the maintenance burden of complex decision paths. Compare full delivery and oversight costs at equivalent quality and risk levels. For stable, repetitive tasks, a fixed workflow is often simpler and more economical.
Do I need multiple agents to automate an entire process?
No. A single agent inside a conventional workflow may provide sufficient flexibility. Multiple agents add coordination, latency and failure modes, so introduce them only if testing demonstrates a worthwhile benefit from separate capabilities or responsibilities.