AI Strategy18 November 20269 min read

The Enterprise AI Control Plane — Part 2 of 8

The model proposes. The harness decides what happens next.

A model on its own is not an agent system. The harness around it builds context, checks authority, runs tools, verifies results and stops. Part 2 of The Enterprise AI Control Plane sets out the twelve components of an enterprise agent harness and the distinctions that keep it governable.

#AI Agents#Agentic AI#AI Engineering#AI Governance#Enterprise Architecture
A single cyan request path passing through four glass control boundaries to a solid block, where a yellow signal marks the final check, over a faint map of southern Africa.

Highveld Mutual's claims pilot used a capable model, and in the demonstration it was impressive. Given a hail-damage claim, it read the assessor's report, checked the policy wording and drafted a settlement recommendation in plain language. Then the claims manager asked what it would do if the policy schedule was missing, if the assessor's report contradicted the photographs, or if the recommended amount was above the handler's authority. The answer was "whatever the model decides". That is not an answer an insurer can give its regulator or its customers.

A model proposes. Something else has to decide what happens next: which context the model sees, whether its proposed step is allowed, which tool runs, how the result is checked, when a person must approve and when the run stops. That something is the agent harness. It is ordinary software, owned and tested by the organisation, and it is where an agent becomes an enterprise system.

Part 1 placed the harness between the application and the AI gateway. This part opens the box. CloudNala has already covered the runtime controls inside the loop in You do not control the agent until you control the loop: budgets, hooks, cancellation, interrupts and stop reasons. Read that for the mechanics. This part gives the reference architecture those mechanics belong to.

Start with the task contract, not the prompt

Before any loop runs, write down what the agent is for. A task contract is a short, structured statement that the harness can enforce and the business can sign off. For Highveld Mutual's settlement assistant:

FieldSettlement recommendation (fictional)
GoalDraft a settlement recommendation for one motor or household claim
InputsClaim record, policy schedule, assessor report, photographs, prior claims summary
Allowed toolsRead claim, read policy, read assessor report, calculate excess, draft recommendation
Forbidden actionsApprove payment, change claim status, contact the customer, read unrelated claims
BudgetsEight model calls, ten tool calls, three minutes
SuccessRecommendation cites the policy clause and assessor finding for each amount
Escalate whenDocuments conflict, amount exceeds the handler's authority, fraud indicators present
OutputStructured recommendation for a claims handler to accept, change or reject

The contract does three jobs. It tells the context builder what to load. It gives the policy gate a list to enforce. And it gives evaluation, covered in Part 3, a definition of success to test against. A system prompt can carry some of the guidance, but the contract lives in code and configuration where it can be versioned and checked.

The loop

The enterprise agent harness, from user goal to accepted resultPLAN AND PROPOSEGoal andtask contractBuild boundedcontextModel proposesthe next stepCheck policyand authorityACT AND VERIFYExecute tool orretrieve dataVerify result,update stateGoal met orlimit reached?Return resultor ask for helpallowedyesno: next stepDenied or risky:escalate or waitfor approvalEvidence from every step: task, context references, model version,tool calls, policy decisions, approvals, cost, time and result
The model appears in one box. Everything else is software the organisation owns and tests. A step is only executed after the policy and authority check, and every pass round the loop ends in an explicit decision: carry on, stop because the goal is met, or stop because a limit was reached. A denied or high-risk step leaves the loop for a person instead of being retried.

Every agent harness, however it is built, runs some version of this loop. The model appears once. Every other step is a responsibility someone must own:

  1. Build bounded context. Assemble the smallest set of information the next step needs, not the whole conversation and every document.
  2. Propose the next step. The model suggests a tool call, a retrieval or a final answer, in a structured format.
  3. Check policy and authority. The harness checks the proposal against the task contract, the user's permissions and the budgets before anything runs.
  4. Execute. The tool runtime calls the tool with scoped credentials, or retrieves data with the user's permissions applied.
  5. Verify and update state. The harness checks the result against a schema or rule, records it and updates task state.
  6. Decide. Carry on, stop because the goal is met, or stop because a limit was reached. A denied or high-risk step leaves the loop for a person.

Twelve components of an enterprise harness

The loop is the behaviour. These are the parts that produce it. Use the table as a reference architecture and a gap list: for each row, name the component in your system, or write "missing".

ComponentWhat it doesEvidence it produces
Goal and task contractStates purpose, inputs, tools, limits and successVersioned contract per agent
Context builderSelects the minimum context for each stepReferences to what was loaded, not copies
Model interfaceRequests a capability through the AI gateway, with structured outputModel, version and parameters per call
Structured inputs and outputsSchemas for every tool call and final resultValidation pass or fail
Tool registry and runtimeLists approved tools, runs them with scoped credentialsTool, arguments, result, duration
Permissions and policy gatesAllow, deny, rewrite or interrupt each proposed stepPolicy decision with reason
Task state and durable memoryHolds working state; writes durable memory only by ruleState changes and memory writes
RetrievalFetches enterprise knowledge with source permissionsSources returned and filtered
Loop limits, timeouts and budgetsStops runaway workStop reason
Result verificationChecks results against rules, schemas or a second checkVerification outcome
Human approval and handoffPauses for a decision and resumes, or hands overApprover, decision, time
Traces, metrics and auditRecords the run for operations, evaluation and auditThe trace itself

Retrieval gets one row here and a whole part later. Part 4 explains why it is a data system in its own right. Traces and metrics get one row and Part 5 turns them into an operating model.

Five distinctions that keep the harness honest

Model reasoning is not application authority

The model may conclude that the claim should be paid. That conclusion is an input. The authority to pay sits in the claims system's delegation rules, which the policy gate checks and the application enforces. CloudNala's article Agent capability is not agent authority develops this in full.

Memory is not the system of record

The harness may remember that a broker prefers summaries in a particular format. It must not become the place where the claim amount, the policy status or the customer's banking details live. Those belong to systems with owners, retention rules and audit trails. The series Memory Is an Architecture Decision covers memory types and write policies.

A tool call is a proposal until the application executes it

When the model asks to "update claim status to recommended", the harness checks policy, then calls an application capability that checks again with the user's identity and the claim's current state. Two checks is not duplication. The harness enforces the task contract. The application enforces the business.

A trace is evidence of execution, not proof of correctness

A complete trace shows what happened. It does not show that the recommendation was right. That is an evaluation question, as a trace is not an evaluation explains.

Multi-agent is an option, not a maturity target

Splitting work across several agents can help when parts of a task are genuinely independent, such as researching many sources in parallel. It also multiplies cost and coordination problems. Anthropic's account of its multi-agent research system (13 June 2025) reports that in its usage, agents used about four times the tokens of a chat interaction and multi-agent systems about fifteen times. It also noted that tasks where agents must share a lot of context or depend tightly on each other are a poor fit. Cognition's Don't Build Multi-Agents (12 June 2025) argues the same from experience: shared context and the implicit decisions in each action are hard to keep consistent across agents. Prove one bounded agent first. Add a second only when you can measure the benefit.

What to avoid

Treating hidden reasoning as an audit trail. Model providers expose summaries of reasoning, not the raw chain of thought. OpenAI's reasoning guide states that it does not expose the raw reasoning tokens. Anthropic's documentation on thinking describes summarised thinking as a summary rather than the raw chain of thought, produced by a different model (both checked on 18 November 2026). A summary can be useful for debugging. Your audit evidence should be the things the harness controls and records: inputs, context references, proposals, policy decisions, tool results, approvals and outcomes.

Making autonomy the default. Start with the agent drafting and a person deciding. Widen authority one action at a time, on evidence.

Using an agent where a workflow will do. Anthropic's Building effective agents (19 December 2024) distinguishes workflows, where code follows predefined paths, from agents, where the model directs its own process and tool use, and advises finding the simplest solution possible. If the steps are known, write them as a workflow and use the model inside a step. CloudNala's use a workflow until the unknown forces an agent gives the test.

Why this matters in South Africa

Highveld Mutual's IT team is small, and the consultants who build its first agent will leave. A harness built from a framework's defaults, configured in a notebook and understood by one engineer is not something that team can operate at 02:00. The twelve components above are what the operations team will need to see, change and test after handover. Prefer boring, explicit code and configuration over clever orchestration. Name an owner for every row in the table before go-live.

The same discipline helps with cost. When model usage is priced in US dollars and the rand moves, a budget enforced by the harness per task is the difference between a predictable monthly bill and a surprise.

Harness readiness checklist

Before an agent touches a production system, confirm that:

  • the task contract is written, versioned and signed off by the business owner;
  • every tool maps to an application capability with its own permission check;
  • the policy gate can deny, rewrite or interrupt, and each outcome is tested;
  • budgets for model calls, tool calls, cost and time are set and enforced;
  • results are verified against a schema or rule before state changes;
  • the approval step records who approved what, and resumes safely;
  • the trace records context references, proposals, decisions and results without copying sensitive content unnecessarily;
  • a single-agent design has been tried, or the multi-agent case is measured.

Next: Part 3, Build the evaluation system before the agent. Previous: Part 1, Who owns which control in an enterprise AI request. All parts are on the series page.

How CloudNala can help

CloudNala reviews agent designs against this reference architecture before they are built, and agent runtimes before they take production traffic. We write the task contract with your business owner, map each of the twelve components to your code or framework, and test the policy gates, budgets and approval paths with deliberate failure cases. You leave with a completed component map, a signed task contract and a ranked list of gaps.


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 Harness Review or write to us at consult@cloudnala.co.za

Found this useful?

Share