platform / 020

The agent is the easy part

published
16/09/2026
author
Luke Hennerley
read
9 min

Model, prompt and tools are enough for a demo. They are not enough for production.

A collections agent is easy to imagine.

Give a model access to the right customer data. Let it inspect overdue invoices. Connect it to email, CRM and ERP tools. Ask it to recommend the next best action.

In a demo, that can look remarkably complete.

An invoice is 30 days overdue. There is no dispute. The customer has not responded. The agent drafts a reminder, records the activity and moves on.

It feels like the difficult part has been solved.

It has not.

The difficult part begins when that same agent is expected to operate across thousands of real customer accounts, each with different histories, policies, risk levels, contractual relationships and human stakeholders.

That is where the agent harness starts to matter.

01

The demo version is deceptively simple

The mental model for an AI agent often looks something like this: customer data feeds the agent, the agent calls a tool, the tool produces an action.

That is enough to prove the model can reason, call tools and produce a useful result.

But enterprise collections is not a clean sequence of data, reasoning and action. It is a landscape of constraints.

01
Customer data

Feeds the agent what it needs to reason about the account.

02
Agent

Reasons about the account and decides what to do next.

03
Tool

Executes the decision: an email, a CRM update, a call.

04
Action

The outcome, recorded against the account.

02

Collections is full of exceptions

Consider a £75,000 invoice that is 45 days overdue.

At first glance, the next action seems obvious: contact the customer.

But what if the invoice is already in dispute? What if the dispute relates to a service failure, the account is strategically important, there is an active promise to pay, or the customer was contacted yesterday? What if the account manager has requested a temporary hold, the customer sits in a jurisdiction with different communication requirements, a payment plan can be offered but only within an approved threshold, or the ERP says the invoice is overdue while the CRM notes that payment is already in process?

The model can still reason about this. But the enterprise cannot rely on the model to invent the rules of engagement as it goes.

That is the distinction between an impressive agent and a production system.

03

The model is only one part of the system

The agent may decide what it thinks should happen next.

The surrounding system has to decide what the agent is allowed to know, what it is allowed to do, which policies apply, which process must be followed, whether a human needs to approve the action, what credentials can be used, what state needs to survive between interactions, how the decision is recorded, and how the behavior is evaluated later.

That surrounding architecture is what I mean by the agent harness.

The agent is inside the harness. It is not the harness.

What feeds the agent

  • Context: the account history, policies and playbooks it needs
  • Identity: who or what is acting, and on whose authority
  • Policy: the boundaries it must not cross

What the agent acts through

  • Tools: the ERP, CRM, email and payment systems it can call
  • State: what has to survive between interactions

What closes the loop

  • Observability: a record of what happened and why
  • Evaluation: whether the behavior was actually correct

The agent harness around a collections agent: context, identity and policy feed it; tools and state let it act; observability and evaluation close the loop.

04

Intelligence and control are different jobs

This distinction matters because enterprise agents are not supposed to make every decision probabilistically.

Some things benefit from judgment. Others should remain deterministic.

A collections agent might reasonably use AI to interpret a customer's reply, classify the reason for non-payment, summarize an account history, choose the most relevant playbook, recommend a next action, or adapt the tone of a communication.

But it should not be left to probabilistic judgment to decide whether a user is authorized to access an account, whether a £100,000 write-off is permitted, whether a mandatory compliance step can be skipped, whether a payment plan exceeds an agreed threshold, or whether a restricted field can be sent to an external recipient.

Enterprise agents are probabilistic systems operating inside deterministic boundaries.

05

A real collections flow looks more like this

A production flow looks less like a straight line and more like a sequence of checks:

01
Overdue account enters the queue

A record enters the process because a payment is late.

02
Assemble account context

Pull ERP, CRM, email and dispute history into one view.

03
Check for an open dispute

A different playbook applies if the invoice is disputed.

04
Select the collections playbook

Chosen either way, dispute or no dispute.

05
Check whether the action is permitted

A policy check runs before anything else does. If it fails, the run stops and gets recorded.

06
Agent recommends the next action

Only once the policy check has passed.

07
Check whether escalation is required

Some recommendations need a human before they execute.

08
Escalate, or execute via scoped tool access

Escalation suspends the run and resumes it once a human decides. Otherwise the agent executes through tools scoped to what it is allowed to touch.

09
Record state and the audit trail

What happened and why, written down.

10
Observe the outcome, then feed it back into evaluation

The scenario becomes a test case for the next version of the system.

06

Escalation is not a ticket queue

Notice how little of this is actually the model. The agent matters, but the reliability of the system comes from everything around it.

One step deserves a second look.

EscalationThe run itself pauses mid-task, with everything it has already worked out still intact, and resumes from that exact point once a human decides. There is no separate system to keep in sync, and no state to reconstruct after the fact.
07

Context is part of the harness

Even the apparently simple question of what the agent should know becomes architectural.

A collections agent may need context from the ERP, the CRM, recent email exchanges, call transcripts, payment history, dispute records, customer segmentation, promises to pay, account ownership, policies, SOPs, collections playbooks and workflow state.

Simply exposing all of that information to the model is not a strategy. The system needs to assemble the right context for the current decision.

Too little context and the agent makes a poor decision. Too much context and you create cost, latency, noise and potentially unnecessary data exposure.

This is why retrieval-augmented generation is only a small part of the enterprise context problem.

08

Policy is part of the harness

The collections function already has rules. The agent does not remove the need for them. If anything, greater autonomy makes them more important.

Some rules come from regulation. Some come from internal risk policy. Some come from customer segmentation. Some are encoded in an SOP. Others exist as playbooks designed to guide judgment rather than enforce a hard rule.

Those concepts are different, and the harness needs to understand that difference.

A policy

Payment plans above £50,000 require approval. Enforced by the runtime itself, deterministic, checked before the action executes.

An SOP

Verify the account, inspect open invoices, check disputes, review recent contact, then decide. Guidance the agent consults, not a rule the system enforces.

A playbook

For strategic customers with service-related disputes, prioritize resolution and account-team alignment before escalating. Judgment, not a rule.

09

Evaluation is part of the harness too

There is another uncomfortable question: how do we know the agent is actually good?

Not whether the email sounded convincing. Not whether the model produced a valid tool call. Whether the system behaved correctly.

For the £75,000 disputed invoice, we might want to evaluate whether the agent identified the active dispute, used the correct playbook, avoided an inappropriate collections escalation, involved the right stakeholder, respected the approval boundary and recorded the decision correctly.

Some of those are deterministic: did it respect the approval boundary, was the decision recorded. Those can be checked without ever calling a model again. Others are a judgment call: was it the right playbook, was the escalation appropriate. Those need a model, or a person, to grade them. Treating both as the same kind of test is how evaluation becomes theater.

Those are not model benchmark questions. They are business behavior questions.

And if the model, prompt, tool, knowledge source or policy changes tomorrow, we need to know whether that behavior has regressed.

This is why evaluation cannot be something added after the agent has been built. It is part of the architecture.

10

The shift is from agents to agent systems

The first generation of enterprise AI naturally focused on getting models to do useful things.

The next challenge is making those things safe, repeatable and operable at scale.

01
Agent

The model that reasons about what to do.

02
Specification

What the agent is actually supposed to do, written down and testable.

03
Evaluation

Whether the behavior was correct, checked before it ships and after.

04
Policy

The deterministic boundaries the agent cannot reason its way around.

05
Identity

Who or what is acting, and on whose authority.

06
Authorization

What that identity is actually allowed to do.

07
Context

The right information for the decision in front of it, no more.

08
Harness

All of it, working together, is what makes an agent usable in the enterprise.

The model is the visible part of the agent. The harness is what makes it usable in the enterprise.

Next: enterprise agents need specifications. Part 1 of 15
LH
written by