Solution Architecture13 October 20268 min read

Forward Deployed AI — Part 3 of 8

Where should intelligence live?

The most important forward deployed decision is not which model to use, but where probabilistic intelligence belongs in the process. Part 3 covers the five execution modes, a plain-language decision test, the autonomy ladder applied step by step, designing human review that is more than an approve button, architecture by responsibility, model choice, and the design record.

#Forward Deployed Engineering#Solution Architecture#AI Agents#Enterprise Architecture#Production Readiness

The most important decision a forward deployed team makes is not which model to use. It is where probabilistic intelligence belongs in the process, and where it does not.

"Use an agent" is not a design. A real workflow is a sequence of steps with different characteristics: some follow exact rules, some route work between people, some interpret messy documents, some carry legal or financial accountability. Each step deserves the execution mode that suits it. The result is almost always a mixture, and the AI part is usually smaller than the first slide suggested.

Five execution modes

Execution modeBest suited toExample
Deterministic codeStable rules and exact calculationsVAT calculation, schema validation
Workflow automationPredictable sequences and routingCreate a task once a request is approved
Machine learningPattern prediction from structured evidenceA fraud propensity score
Generative AILanguage, unstructured content and bounded judgementDraft a case summary from documents
Human decisionAccountability, ambiguity and high-impact exceptionsApprove an exceptional payment

The right architecture often uses all five. The mistake is to reach for the fourth row because it is new, when the first row would be cheaper, faster, exact and explainable.

A plain-language decision test

For every proposed AI step, ask:

  1. Can ordinary rules solve this reliably?
  2. Does the task need language, images or ambiguous context to be interpreted?
  3. Can the output be checked before it causes harm?
  4. What happens when the model is uncertain or wrong?
  5. Does a person have to remain legally or operationally accountable?
  6. Is there enough evidence to evaluate performance?
  7. Does the benefit justify the cost and the new failure modes?

The first three questions do most of the sorting:

Which execution mode does this step need?Workflow stepStable, exact rule?yesDeterministic codethree-way match, tolerancenoInterprets language or ambiguity?noRedesign, or a personinformal WhatsApp approvalyesCheckable before it causes harm?yesnoBounded AI with checksinvoice extraction, exception draftsPerson decides, AI advisespayment release
Ask the questions in order. Most steps in a real workflow end on the right-hand or left-hand side; generative AI earns the middle only when the output can be checked before it causes harm. Grey notes show where Sandveld's invoice steps landed.

Sandveld, step by step

Sandveld Foods and Ironbark Digital are fictional, and their systems and figures are illustrative.

With the operating map from Part 2 in hand, Ironbark's pod worked through Sandveld's invoice workflow one step at a time with the AP manager and the senior clerk.

  • Reading the invoice. Invoices arrive as PDFs, scans and phone photos in dozens of layouts. That is interpretation of unstructured content, so it is a job for AI, but the output is checked deterministically before anything else uses it: the supplier must exist, totals must add up, VAT must reconcile, dates must be plausible.
  • Matching the invoice to the order and the delivery. The three-way match between invoice, purchase order and goods-received note is an exact rule. Deterministic code.
  • The fresh-produce weight tolerance. Once written down, the clerks' 2% rule became an ordinary rule with an owner. Deterministic code. It did not need AI at all; it needed someone to notice it.
  • Explaining an exception. When an invoice does not match, a clerk needs to know why and what to do. Drafting that explanation from the invoice, the order, the delivery and the supplier's history is a good use of generative AI, because a clerk checks it before acting.
  • Releasing payment. Always a person. Accountability for paying suppliers sits with named staff under Sandveld's financial controls.
  • A change to a supplier's bank details. Never AI. This is the classic route for invoice fraud. The agent's only job here is to stop and hand over to the existing verification process, where a person phones the supplier on a number already on record.
  • Informal approvals on WhatsApp. Neither AI nor automation. That was a process problem, and the fix was a proper approval step in the workbench.

The final design used AI in two places. The original vendor's design had used it everywhere, which is part of why it failed.

The autonomy ladder

Autonomy should grow with evidence, not with enthusiasm.

LevelAgent responsibilityHuman responsibilitySuitable stage
0. ObserveAnalyse historical work without affecting itPerform the normal processDiscovery
1. AssistRetrieve, summarise or draftDecide and actEarly pilot
2. RecommendPropose a decision with evidenceApprove or rejectControlled production
3. Act with confirmationPrepare an action and request approvalConfirm material actionsMature workflow
4. Act within policyExecute bounded, reversible actionsReview exceptions and samplesProven low-risk scope
5. Autonomous domainCoordinate several steps within strict controlsOwn policy and incident responseRare, well-evidenced cases

The critical point is that different steps in the same workflow sit at different levels.

One workflow, several levels of autonomyLEVEL 0ObserveLEVEL 1AssistLEVEL 2RecommendLEVEL 3Act withconfirmationLEVEL 4Act withinpolicyLEVEL 5AutonomousdomainBank details:agent never actsExceptionrecommendationClean-matchpostingIntakeclassification
Autonomy is set per step, not per agent. In Sandveld's invoice workflow, intake classification and clean-match posting reached Level 4 once the evidence supported it; exception handling stays at Level 2, where the agent recommends and a clerk decides; and the agent never touches supplier bank details. Level 5 is not used.

At Sandveld, intake classification and the posting of clean matches reached Level 4 once the evidence from Part 4 supported it. Exception recommendations stay at Level 2: the agent proposes, a clerk decides. On supplier bank details, the agent is not even at Level 1. It does nothing except stop. Asking "how autonomous is the agent?" is the wrong question; ask how autonomous each step is.

Human in the loop needs design

An "approve" button does not create meaningful control. The reviewer needs:

  • the proposed decision or action;
  • the evidence used;
  • missing or conflicting evidence;
  • the policy and threshold applied;
  • model confidence, but only where it is calibrated;
  • alternatives and consequences;
  • a way to correct the record;
  • enough time and skill to review.

If reviewers approve hundreds of low-value cases a day, they will rubber-stamp the queue. Automation bias and review fatigue become system risks. Sandveld's design addressed this directly: clean matches no longer reach a clerk at all, so the clerks' queue holds only the cases that genuinely need judgement, each with an evidence pack showing the invoice, the order, the delivery note, the variance and the agent's draft explanation. Our article on human oversight that shows its work goes further into what makes review meaningful.

Architecture by responsibility

The architecture follows the same split. A workflow orchestrator routes each step to the service that owns it: rules and deterministic services, an AI reasoning service, or a human decision workbench. All three write to the systems of record, and all three emit evidence into one evidence and evaluation layer.

The system of record stays authoritative. The AI service must not quietly create a second truth inside prompts, memory or a vector store. At Sandveld, the ERP remains the record of what was invoiced, matched, approved and paid; the AI never holds an approval the ERP does not know about. Part 5 covers how that was achieved with an ERP that had no API for posting invoices.

Model choice follows task design

An FDE may start with one ecosystem to build depth, but the architecture should stay able to evaluate alternatives. Choose models on:

  • task quality on representative data;
  • latency and throughput;
  • input and output cost;
  • context, tool and modality requirements;
  • regional availability and where data is processed;
  • security, contractual and regulatory constraints;
  • operational maturity and support;
  • portability and switching cost.

At Sandveld, the extraction step needed strong handling of phone photos of handwritten and printed invoices; the explanation step needed concise, grounded writing. Those were evaluated separately, on Sandveld's own invoices, and did not have to be the same model.

Model agnosticism is not achieved by putting a generic interface in front of prompts, tool schemas and behaviour that are tightly coupled to one provider. Portability needs evaluation assets, abstraction at sensible boundaries and a tested migration path.

The design record

For every AI-enabled decision, record:

decision:
  business_purpose: "Explain why an invoice did not match, and recommend an action"
  current_owner: "AP clerks"
  proposed_execution: hybrid
  source_evidence: [invoice, purchase_order, goods_received_note, supplier_history]
  permitted_actions: [draft_explanation, recommend_action]
  prohibited_actions: [approve_exception, release_payment, change_supplier_details]
  evaluation_method: "Golden set from six-week sample; clerk agreement rate"
  human_checkpoint: "Clerk accepts, edits or rejects every recommendation"
  failure_path: "No draft; case shown to clerk with raw documents"
  rollback_or_correction: "Clerk correction recorded against the case"
  accountable_owner: "AP manager"

This makes the architecture reviewable. It also stops "use an agent" from standing in for an actual design decision. For the broader question of how much authority an AI system should hold, see AI may assist, but not inherit authority.

The short version

Assign every step an execution mode. Deterministic code first; AI where interpretation is genuinely needed; people where accountability lives.

Test before you reach for AI. Exact rule? Interpretation needed? Checkable before harm?

Set autonomy per step. One workflow can run Level 4 in one place and Level 0 in another.

Design the review, not the button. Give reviewers evidence, time and authority, and keep trivial cases out of their queue.

Keep one truth. The system of record stays authoritative.

Previous: Part 2, the process map is usually fiction. Next: Part 4, the demo is the beginning. See every part on the series page.

How CloudNala can help

We help teams decide where AI belongs in a workflow before anyone builds an agent: working step by step through the operating map with the people who own the work, assigning each step to rules, automation, AI or a person, setting autonomy per step, designing review queues that people can actually use, and writing design records your risk and audit teams can follow.


Work with CloudNala

CloudNala helps organisations move from technology ambition to practical execution across cloud, AI, data, platform engineering and digital services.

Whether you are exploring AI, modernising your cloud environment, building a public-sector digital service, or turning an idea into a working MVP, we can help you shape the roadmap and deliver the next step.

Book an AI Opportunity Sprint or write to us at consult@cloudnala.co.za