Consider an illustrative utility that launches a customer assistant on a messaging channel. Every message goes to a language model, which decides what the customer wants, calls a tool and writes a reply. It handles open questions well. It also handles "what is my balance?" the same way: the model reads the request, calls the billing service, receives an exact amount and then writes a sentence around it.
Most of the time the sentence is right. Occasionally the model rounds an amount, picks the wrong one of two accounts or describes an overdue balance as current. Each reply also costs a model call and a few seconds, for a question whose answer already existed, exactly, in a system the utility owns.
When an authoritative service already holds the answer, the request should reach that service as directly as possible, and a language model belongs in the path only where it adds interpretation that a form, a menu or a rule cannot.
A model in the path is a translation layer
Putting a model between a person and a service adds a translation in each direction. On the way in, free text becomes an intent and some parameters. On the way out, structured data becomes prose. Each translation is useful when the input really is free text or the output really needs explanation. Each one is also a place where meaning can change.
For a balance, an application status or an appointment time, the outbound translation adds risk and nothing else. The service returns a number, a status code or a date. A template can render it exactly, in the customer's language, with no chance of paraphrase. The inbound translation may still help, because customers do not always press buttons, but it should end in a direct, typed call and a templated answer.
CloudNala has covered the layers involved in API, function calling and MCP are different layers, and the full integration surface of one assistant in An HR service agent is an integration project. This part gives the routing decision that sits in front of both.
The Direct-Service vs AI Route Matrix
Ask four questions of each request type, in order.
- Can the intent be captured in structured form? A button, a menu option, a form field or a deep link from a notification.
- Does an authoritative service hold the answer or perform the action? A system of record, a rules service, a booking system.
- Does the answer need interpretation, or only presentation? A number and a status need presentation. "Why is my bill higher than last month?" needs interpretation.
- What does a wrong answer cost? A wrong opening hour is an annoyance. A wrong balance, a wrong eligibility statement or a fault logged at the wrong address has real consequences.
The answers point to one of five routes.
| Route | Use when | Model's job | Answer comes from |
|---|---|---|---|
| A. Direct service | Structured intent, authoritative answer, presentation only | None | Service response rendered by a template |
| B. Deterministic workflow | Several steps, but each defined by a rule (report a fault: address, category, photo) | None, or help filling one free-text field | Workflow engine and the services it calls |
| C. AI interprets, service answers | Free-text request, authoritative answer | Classify intent and extract parameters, with a confirmation step if confidence is low | Typed service call, rendered by a template, never paraphrased |
| D. AI explains from records | The person needs an explanation built from several facts | Draft an explanation from retrieved records, citing them; figures inserted from source | Records plus model text, with figures from the source |
| E. Person | Dispute, complaint, vulnerability or a consequential decision | Summarise the case for the person taking over | A named team |
For the illustrative utility, balances, due dates and payment confirmations move to route A, with buttons in every message and route C for customers who type instead. Fault reports move to route B. Billing explanations stay on route D, with the amounts inserted from the billing service rather than written by the model. Disputes go to route E. The model now handles fewer requests, and the ones it handles are the ones where it adds something.
The same logic applies inside agent designs. An agent that needs a customer's account status should call the service and use the typed result. It should not ask another agent, and it should not infer the status from an earlier message.
The work that remains on every route
Choosing route A does not remove integration work. Choosing route C does not hide it. Whichever route a request takes, the call to the authoritative service needs the same engineering, and this is where many AI projects under-plan. The model is the visible part; the integration is most of the build.
- Contracts. A documented schema for each operation, versioned, with a named owner who will tell consumers before it changes. Contract tests that run in the consumer's pipeline.
- Identity and authorisation. The call is made on behalf of a verified person, with only the scope that request needs. "The assistant's service account can read every account" is not an authorisation design.
- Error semantics. Not found, not permitted, temporarily unavailable and invalid input are different outcomes, and each needs a different reply. A model that receives an unexplained error will often write a confident answer around it.
- Timeouts and limits. Each call has a timeout shorter than the channel's patience and a known rate limit. Retries have one owner.
- Writes are idempotent. A fault report submitted twice because the channel resent a message should create one fault, not two. Part 6 covers this in detail.
- Observability. A correlation identifier follows the request from the channel through any model call to the service and back, so that a wrong reply can be traced to its cause.
- Test doubles. Realistic stand-ins for each service, so that the assistant can be tested without production data.
This is a discipline with its own skills, estimates and owners. A plan that lists "integrate with billing" as a single line next to several lines of prompt design has not yet estimated the project. Pricing that boundary honestly is the subject of Price the boundary, not only the build in The Commercial Architecture of Delivery.
Signs the model is in the wrong path
- The model's output contains numbers, dates or reference codes that it copied from a tool result.
- The same question gets slightly different wording, or different figures, on different days.
- Most model calls end in exactly one tool call whose result is restated.
- Response time is dominated by model latency for requests that need no interpretation.
- Errors from back-end services surface as polite, plausible answers rather than as clear failure messages.
Each one is a candidate for route A, B or C.
What this means for South Africa
Many South African service users reach organisations on messaging channels and on prepaid mobile data. Direct routes help them twice: buttons and templated answers are faster and lighter than a conversational exchange, and templates can be translated and approved once per language rather than generated each time. Where an organisation offers service in several official languages, rendering figures, dates and reference numbers from the source, inside an approved template, removes one way for a translation to change the meaning of an answer.
Next in the series: Architecture promises expire. Previous: Part 3, Keep deterministic authority deterministic. All parts are on the series page.
Sources and limits: this part is CloudNala analysis. The utility scenario is composite and illustrative; it does not describe any real organisation or product. The route matrix is an original CloudNala framework. Prepared on 24 November 2026.
How CloudNala can help
CloudNala reviews assistant and agent designs request type by request type. We apply the route matrix to your real traffic, move requests that an authoritative service can answer onto direct or deterministic routes, and specify the integration contracts, identity, error handling, idempotency and observability that each remaining service call needs, with an estimate that treats integration as the work it is.
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 Architecture Reality Review or write to us at consult@cloudnala.co.za