This article is a companion to From Copilot to Governed Operator, CloudNala's seven-part series on agents that act in production. That series built the controls one at a time. This piece answers a question that sits across all seven parts: where should the guardrails and evaluations actually live?
The platform team wants every rule in a shared AI gateway, enforced once. The product team wants controls inside the agent, close to the task. The risk team wants an independent control point that neither owns. Each is partly right, and each is incomplete on its own.
Centralise the rules every agent must obey, keep task-specific controls close to the agent, govern consequential actions in the business workflow, and test the complete service independently: guardrails and evaluations belong in four control rings, not in one place.
The model is not the production system
A demonstration asks whether the model can call the tool and complete the workflow once. Production asks who may use the agent, what it can reach, who approves an action that affects a customer or citizen, whether the last change made it better or worse, and what it did, under whose authority and at what cost. The model answers none of those. The system around it does: the agent loop and its limits, the tool and data connections, the gateway, the evaluations, the guardrails, the telemetry and the people who own the outcome. Models will change. The organisation stays accountable for everything around them.
Standard connections make that surrounding system easier to build, but they do not make it trustworthy. The Model Context Protocol specification (version 2026-07-28, checked on 24 November 2026) defines how servers offer tools, resources and prompts to AI applications, and states that MCP itself cannot enforce its security principles at the protocol level. MCP is one option among several, and support varies by product and version. Each connection still needs an identity, permission, a data boundary, validation, rate limits, audit evidence and an owner, as The MCP security review sets out.
Why one control layer fails
Gateway-only control cannot understand business meaning. A gateway can detect a pattern that looks like a South African identity number and stop it leaving. It cannot tell whether a translated answer kept its meaning, or whether a recommended claims decision was fair. The model gateway is not the AI platform makes the same point about platforms in general.
Agent-only control creates inconsistent policy. If every team writes its own rules into its own agent, the organisation ends up with twenty versions of "do not send personal information to unapproved providers", each tested differently, or not at all.
Workflow-only control reacts too late. An approval step before a payment is valuable. It does nothing about a prompt that has already sent a policyholder's medical history to an unapproved model.
The four control rings
Ring 1: the gateway controls access. Its question is who or what may reach which model, service or provider. It holds authentication, model and provider allowlists, regional routing, data-classification checks, quotas, cost attribution, common logging fields and failover. It is evaluated on routing correctness, policy-block accuracy, latency, cost and fallback. The AI or cloud platform team owns it. AI gateways, model routing and integration covers how to build one.
Ring 2: the harness controls behaviour. Its question is how this specific agent may reason, retrieve, use tools and recover. It holds instructions, retrieval scope, the tool allowlist with argument validation, memory rules, step, time and cost limits, output schemas, recovery and task-specific escalation. It is evaluated on task success, retrieval faithfulness, tool selection, unsupported claims and regression after any prompt, model or tool change. The agent or product engineering team owns it.
Ring 3: the workflow controls consequences. Its question is what may happen to a person, account, system or organisation because of the agent's output. It holds action risk tiers, approval thresholds, separation of duties, transaction limits, reversible execution, validation against the authoritative system and an appeal path. It is evaluated on end-to-end completion, false approvals and rejections, harm severity, human overrides and whether people understood what happened. The business process or service owner owns it. Approval is a system, not a button designs the approval part of this ring.
Ring 4: assurance controls trust. Its question is whether an independent reviewer can establish that the service remains safe, compliant and worthwhile. It holds security, privacy and legal review, red teaming, release approval, change management for models and prompts, access reviews, the incident and forensic process, supplier assurance and an exit plan. It is evaluated on red-team results, fairness and accessibility, evidence quality, drift and realised value. An independent risk, security, privacy or internal audit function owns it.
Running through all four is observability and evidence: identity, versions, steps, approvals, cost and outcome. Without it, each ring's evidence cannot be joined to the others. Observability for AI sets out the minimum action event, and keeps metadata separate from content.
Where each control belongs
The decision tool for this article is a placement table. Use it when a team proposes a new guardrail: decide which ring it belongs to before deciding how to build it.
| Location | Put here | Do not rely on it for |
|---|---|---|
| Shared gateway | Universal access, provider, rate, regional, data and cost policies | Domain meaning or complete business outcomes |
| Agent harness | Task instructions, context, tools, memory, output checks and agent regression tests | Independent assurance or enterprise-wide consistency |
| Business workflow | Approvals, authority, transaction controls, appeals and outcome evaluation | Low-level model routing or token controls |
| Independent assurance | Red team, privacy, fairness, security, compliance and value review | Real-time workflow execution |
The architecture principle is federated control with central policy and independent evidence. A rule that every agent must obey belongs at the gateway, written once. A rule that only makes sense for one task belongs in that agent's harness. A rule about what may happen to a person belongs in the workflow, owned by the person who answers for that outcome. And no ring marks its own homework.
Put evaluations where the agent has power
Evaluate an agent where it has power: access at the gateway, behaviour in the harness, consequences in the workflow and institutional trust through assurance. Can it connect safely? Does it behave correctly? Did the process produce the right outcome? Can someone independent show it?
Two cautions apply at every level. First, input and output filters reduce risk but do not reliably catch prompt injection, jailbreaks or every leak of personal information. Assume a crafted input will sometimes get through, and make sure identity and workflow controls still refuse the consequential action. Guardrails are a stack, not a switch works through what each layer cannot do. Second, a language model used as a judge is one evaluation method with limits: it can share the blind spots of the model it grades and shift when its own model changes. Combine it with deterministic checks, domain rubrics, specialist review and outcome measures, especially for high-impact decisions. Build the evaluation system before the agent covers the design.
Cost belongs in the same picture. Prices and caching discounts differ by provider, model, contract and date, so no single discount figure is a planning basis. Measure cost per completed and accepted business outcome, including retries, tool calls, telemetry and human review.
Four illustrative South African examples
The examples below are illustrative compositions, not descriptions of any live service or organisation.
| Example | Gateway | Harness | Workflow | Assurance |
|---|---|---|---|---|
| Medical pre-authorisation (illustrative) | Protects health information; restricts approved models | Retrieves scheme rules; produces traceable recommendations | A qualified person approves consequential clinical and funding outcomes | Clinical, legal, privacy and fairness reviews of outcomes |
| Provincial service complaint (illustrative) | Controls identity, rate and approved channels | Classifies, enriches and routes the complaint | A responsible unit owns resolution and escalation | Checks whether vulnerable communities receive equitable service |
| Production SRE agent (illustrative) | Controls approved models, tools and cost | Limits infrastructure commands; gathers evidence | Production changes need authorised approval and rollback | Security and operations review of identity, access, incidents and change evidence |
| Language interpretation (illustrative) | Approves providers, regions and data classes | Controls language routes, glossary and protected terms | Requires the person's confirmation and a human interpreter for defined risks | Bilingual specialists test meaning preservation and critical errors |
The interpretation row follows the shape of NalaTolika, a CloudNala concept and reference architecture for language interpretation. NalaTolika has no customers, deployments, pilots or results.
A minimum production checklist
Access
- Every user, workload and agent has an identity.
- Approved models, regions and providers are explicit.
- Data classification and retention rules are enforced.
- Quotas and cost attribution are configured.
Agent
- Tools are allowlisted and their arguments validated.
- Retrieval sources and memory boundaries are explicit.
- Step, time and cost limits exist.
- Failure, retry and escalation paths are tested.
- Prompt, model, tool and policy versions are recorded.
Workflow
- Consequential actions are classified.
- Required approvers have authority and context.
- Actions are reversible where possible.
- Appeals, corrections and exceptions are supported.
- A named person owns the process outcome.
Assurance
- Regression evaluations run before release.
- Domain specialists review high-impact quality.
- Security and privacy tests cover real data flows.
- Red-team and incident exercises are scheduled.
- Cost and outcome measures are reported together.
The series goes deeper on each group: identity and boundaries, approval, observability, cross-agent connections and the pre-production anti-pattern review. For the wider platform view, see The Enterprise AI Control Plane and From AI Prototype to Production.
Sources and limits: this article is CloudNala analysis. The four control rings are an original CloudNala framework. The MCP statement comes from the specification at modelcontextprotocol.io, version 2026-07-28, checked on 24 November 2026; protocol versions and product support change. No provider pricing or caching figures are given. The South African examples are illustrative, and NalaTolika is a concept with no deployments. Nothing here is legal advice.
How CloudNala can help
CloudNala maps production agents against the four control rings. We place each existing guardrail and evaluation in its ring, find the gaps and duplicates, name an owner per ring, connect the evidence so one request can be followed from gateway to outcome, and give your risk committee a short decision record on what must close before the agent acts.
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 Agent Accountability and Forensic Readiness Assessment or write to us at consult@cloudnala.co.za