
Most business automation does not fail because the rules are wrong. It fails when the real world stops fitting the rules.
The short answer: keep deterministic software for the predictable work. Add agentic reasoning where the workflow becomes ambiguous. Validate the result with rules wherever possible. Send unresolved uncertainty to a person. The useful measure is not how autonomous the agent becomes, it is how much more of the workflow completes correctly, safely and auditably.
A document contains an unusual description. A record does not map cleanly to the expected taxonomy. Two pieces of evidence conflict. A classification looks plausible, but the downstream totals no longer reconcile.
Traditional automation is excellent at predictable work. The difficulty begins at the exceptions, the places where somebody has to inspect context, form a judgement, test that judgement and decide whether the workflow can continue.
That is where AI agents become particularly useful in business: not as replacements for every rule, calculation or workflow, but as a bounded reasoning layer around the parts of a process that require investigation. This article is part of our Agents at Work series, where we publish the patterns behind our agentic deployments.
Consider a procurement document-processing workflow. A tender or bill of quantities may contain hundreds of line items that need to be extracted, normalised, classified into a customer taxonomy and loaded into a cost model.
Most of that work can be deterministic: read fields, parse tables, map known descriptions, calculate quantities and totals, and populate a structured model.
But real documents contain the awkward cases: composite line items, unfamiliar terminology, missing values, descriptions that span multiple rows, or items that could reasonably belong to more than one category.
A conventional pipeline usually needs another rule for each new exception, or it stops and sends the record to a person.
An agentic harness creates a third option. The deterministic pipeline completes as much as it can. The agent then receives the workflow state, the unresolved exceptions and a restricted set of tools. It investigates only what needs judgement, proposes corrections, runs validation checks and escalates anything it still cannot justify.
For a decision-maker, the useful question is not how autonomous the agent can become. It is whether the business can automate more of a workflow without losing control over correctness.
That is the operating model worth building towards: agents as bounded judgement inside a larger engineered process. It is the same principle behind our agentic AI practice, where the engineering effort goes into the surrounding workflow rather than into the prompt.
Look for processes where software already performs most of the work but people repeatedly step in to investigate the last 5 to 20 percent: classification exceptions, mismatched records, missing evidence, unusual documents, failed reconciliations or ambiguous cases.
Show us the workflow. We separate the deterministic work, the judgement-heavy exceptions, the validation rules and the human approval points, then identify the smallest useful agentic pilot. Assess an agentic workflow.
An agentic harness is the software environment around a language model that gives it the context, tools, state, objectives, limits and validation mechanisms required to perform a defined job.
The model is only one component. The harness determines what the agent can see, what it can do, what counts as success, what must be checked, when it should retry and when it must stop and ask for help.
The LLM is the reasoning engine. It should not be the security boundary, the source of truth or the final judge of whether a business result is valid.
Where several agents and workflows need to run under one set of controls, that harness becomes a platform concern rather than a per-project one. It is the problem Orchestrik, our agent orchestration platform, exists to solve.
| Layer | Best suited to | Why |
|---|---|---|
| Deterministic workflow | Known rules, repeatable transformations, calculations, schema validation, fixed approvals | Predictability, speed, testability |
| Agentic reasoning | Ambiguous classification, investigation, context gathering, choosing the next diagnostic step | Flexible judgement across messy inputs |
| Human review | High-impact decisions, unresolved ambiguity, policy exceptions, weak evidence | Accountability and domain judgement |
A strong implementation does not force one technology to do all three jobs. It composes them.
1. Business input: document, record, transaction or system event 2. Deterministic pipeline: extract, transform, classify, calculate 3. Validation layer: identify gaps, contradictions and failed rules 4. Agent receives only the relevant workflow context 5. Agent investigates using a restricted toolset 6. Agent proposes a correction, classification or next action 7. Deterministic rules independently re-check the result 8. Validated result continues; unresolved uncertainty goes to human review 9. Decision, evidence, tool calls and outcome are logged
To make the architecture concrete without relying on confidential customer material, consider the public bidding document for Government of West Bengal contract WBIW/NHP/IFB-03/2020-21. The tender is public and is used here as a reference test case, not as a customer case study.
The BOQ contains a line item for the supply, installation, testing and commissioning of a real-time water-quality monitoring and transmission unit, including salinity, water-level and water-temperature sensors, housing, battery and antenna. It then lists separate annual-maintenance charges for three years.
| Source item | A naive classification risk | Safe agentic behaviour |
|---|---|---|
| Supply, installation, testing and commissioning in one composite line | Force the item into "equipment" or split the value across equipment and services without source evidence | Recognise it as a composite item. Preserve the combined category, or flag for review if the target taxonomy requires a split the document cannot support. |
| Salinity, water-level and water-temperature sensors listed inside one system item | Create separate cost records for each sensor even though separate prices are not provided | Treat sensors as components of the composite system unless another source provides line-level values. |
| AMC charges for year 1, year 2 and year 3 | Map maintenance to the same equipment-acquisition category because the description references the supplied instruments | Classify the AMC lines as maintenance or support while retaining their relationship to the underlying equipment. |
The point is not that a language model can read the word "AMC". A rules engine can do that. The value appears when the taxonomy, document structure and available evidence do not line up perfectly, and the system has to decide what can be corrected automatically, what requires another lookup and what cannot be justified from the source.
A safe agent should be able to say: "I cannot support that split from the evidence available." Refusal to invent missing structure is a feature, not a failure.
Language models are useful precisely because they can reason through ambiguity. That also means their conclusions are probabilistic.
Where the business domain provides objective invariants, the system should use them. The agent may decide how to investigate a mismatch, but it should not be allowed to declare the mismatch solved merely because its explanation sounds plausible.
| Workflow | Examples of deterministic checks |
|---|---|
| Procurement | Quantity multiplied by rate equals line total; line totals equal section total; required fields present |
| Finance | Assets equal liabilities plus equity; opening cash plus net movement equals closing cash |
| Data migration | Record counts, referential integrity, control totals, duplicate constraints |
| Inventory | Opening stock plus receipts minus issues equals closing stock |
| Workflow approvals | Policy thresholds, mandatory approvers, allowed state transitions |
NIST frames trustworthy AI as a lifecycle risk-management problem rather than a model-only problem. In practice, that supports an architecture where evaluation, controls and monitoring surround the model throughout the workflow.
The agent should have enough capability to perform its job, but not broad authority simply because the underlying model can reason about many things.
"Fix every problem in this workflow" is a weak agent specification. "Investigate failed classifications after extraction, using these sources and these validation rules" is much easier to control and evaluate.
The agent should not automatically inherit every API or credential available to the surrounding application. Tools should expose only the actions needed for the job, with read and write capabilities separated where appropriate.
Human review should be triggered by risk and uncertainty, not added indiscriminately to every step. OWASP guidance on excessive agency recommends minimising permissions and requiring user approval for high-impact actions.
A useful enterprise agent needs a legitimate "I do not know" path. If evidence is weak, sources conflict or a proposed action cannot be validated, the workflow should route the item to a person with the relevant context attached.
The system should retain the workflow state, tool calls, proposed changes, validation outcomes and human decisions required to reconstruct what happened. Auditability is a property of the surrounding system, not a promise from the prompt.
| Traditional workflow automation | Agentic workflow |
|---|---|
| Follows predefined branches | Can choose the next investigation step from context |
| Works best when inputs are predictable | Useful when inputs and exceptions vary |
| New exception often needs new code or a new rule | Can reason over evidence using existing tools and constraints |
| Correctness comes from programmed logic | Reasoning may be probabilistic; outcomes still need validation |
| Escalates when a branch is not defined | Can investigate first, then escalate if uncertainty remains |
This does not make agentic automation inherently better. If a rule can solve a problem reliably and cheaply, use the rule. Agentic reasoning earns its place where the variability of the problem makes exhaustive rule-writing brittle or expensive.
Deterministic mappings handle known fields. An agent investigates unmapped values, semantic mismatches and unusual records. Control totals and referential-integrity checks validate the result.
Rules ingest quotes and check mandatory fields. An agent investigates non-standard descriptions, cross-references attachments and resolves ambiguous category mappings. Policy and arithmetic checks remain deterministic.
A workflow collects required evidence and applies known controls. An agent investigates missing or contradictory evidence and prepares a reasoned exception for review rather than silently passing the control.
Extraction identifies clauses, dates and structured fields. An agent follows cross-references, reconciles amendments and flags conflicting language. High-impact interpretations remain subject to legal or business review.
Rules validate schemas, required fields and known mappings. An agent investigates orphan records, duplicate candidates or unusual values before proposing a correction. This is usually the point where an agentic layer meets the enterprise applications already running the process.
Monitoring and runbooks perform known checks. An agent explores abnormal combinations, queries approved diagnostic tools and proposes the next step. Risky remediation can remain behind approval gates.
Rules handle routine routing and known intents. An agent investigates incomplete context, conflicting account data or policy exceptions and escalates only where judgement is still required.
An adjacent case is retrieval itself. An agent reasoning over enterprise content is only as good as what it can find, which is why we treat enterprise search quality as part of the agent architecture rather than a separate user-interface problem.
The strongest candidates are usually not completely unstructured. They already have a process, systems, rules and an expected outcome, but a recurring set of exceptions still consumes human judgement.
Where the sequencing question is broader than one workflow, it belongs in an AI strategy discussion rather than in a single build decision.
| Failure mode | Better pattern |
|---|---|
| Replacing a reliable deterministic step with an LLM | Use agents where judgement is required, not where code already provides stronger guarantees. |
| Giving the agent an oversized goal | Break the job into a narrow workflow with explicit success and stop conditions. |
| Letting the model validate its own work | Use independent calculations, schemas, policies or system checks wherever possible. |
| Giving broad credentials for convenience | Expose scoped tools and minimum permissions rather than raw production access. |
| Treating every low-confidence answer as a retry problem | Some ambiguity is real. Escalation is part of the architecture. |
| Launching without a real evaluation set | Test on representative exceptions and regression cases, not only happy-path demos. |
An AI agent is a software component that can reason about a goal, use approved tools and choose actions within a workflow. In enterprise use, it should operate inside defined permissions, validation rules and human-review boundaries rather than as an unrestricted autonomous system.
An agentic harness is the runtime layer around the model that supplies context, tools, state, constraints, validation and escalation behaviour. It turns a general-purpose model into a component that can perform a specific business job.
Usually no. Deterministic automation remains better for predictable rules, calculations and state transitions. Agents are most useful where a workflow encounters ambiguity, investigation or judgement that is difficult to encode exhaustively.
Use narrow objectives, least-privilege tools, independent validation, approval gates for consequential actions, explicit uncertainty handling and complete execution logs. The model should not be treated as the security boundary.
Escalate when evidence is insufficient, sources conflict, validation continues to fail, confidence is below the workflow threshold, or the proposed action is too consequential for autonomous execution.
Use representative real-world cases and measure task correctness, failed validations, exception-resolution rate, unnecessary escalations, tool errors and human overrides. Evaluation should test the whole workflow, not only the quality of generated text.
Yes, when those systems expose appropriate APIs, connectors or controlled tools. The design question is not only connectivity but what permissions the agent receives and what actions require validation or approval.
No. MCP is one way to standardise how models discover and invoke tools, but agentic workflows can also use conventional APIs, queues, internal services or other integration patterns. We wrote separately about what MCP changes for a business.
ITMTB maps the deterministic steps, the judgement-heavy exceptions, the available tools, the validation rules and the human approval points in a workflow you already run, then scopes the smallest useful agentic pilot. Show us the process and we will tell you where an agent earns its place and where it does not.