Agents & workflows System note
Putting the agents back, behind an MCP server
When agents sit behind a guardrail, a false block costs a paragraph and a false pass can reach a broker. Make the expensive mistake impossible, then measure the cheap one.
• On a public run, my guardrail withheld an agent's paragraph about a Thames Water director. When I checked, most of it was true: the judge had called claims unsupported that were in its own evidence.
• One detail really wasn't in the evidence, an exact appointment date, so withholding was defensible. But the rewrite returned identical text, and the judge gave different reasons each time.
• The agents work through an MCP server that can't set the route. A wrongly withheld paragraph can't change a decision, though a missing explanation can still sway the reader. That's the trade I chose.
Part of a series on the UK Company Pre-Screen, a tool that checks a UK company's public record before an underwriter quotes. Version 1 was a research agent that decided the risk itself; version 2 lets written rules decide (Version 1 let an AI agent decide. Version 2 lets written rules decide. compares them). This post is about the agents that sit on top of version 2, and the fence around them.
The paragraph nobody saw

Version 2 decides with written rules. On top of it sit three AI agents that explain a case to an underwriter: one on directors' other companies, one on the news, and one that drafts an email to the broker. On Thames Water's public example, run on 26 Oct, the directors' section never appeared. The guardrail blocked it, asked for one rewrite, blocked it again and withheld it.
The draft was about a director linked to two companies that became insolvent, BPL Realisations and BGHL Realisations. The judge (a model that checks each draft against the evidence) said the evidence had nothing about BGHL Realisations. When I checked, the case summary it was given named it: insolvent, dissolved in November 2024, with the director in post when it began. One detail really was missing: an exact appointment date.
Two things went wrong. The rewrite was word for word the draft, so the rewrite step did nothing. And the judge, a second call to the same model reading the same text and evidence, gave different reasons each time, mostly wrong. Code can catch part of this: a rewrite identical to the draft, or a company name the judge calls absent that is plainly in the evidence. Whether a claim is actually supported still needs a careful reader.
The outcome was still defensible, and that's the fence working. A withheld section shows its reasons, the rules' own finding about the same director stays on the case, and the route doesn't move.
Agents on top, fenced in

Version 2 started without agents, because a model deciding the risk was version 1's core failure. They came back on top because an underwriter still wants the story behind a finding, and models tell stories well. They came back on terms:
- They read through MCP (Model Context Protocol, a standard way to give a model tools). The server has 9 tools: seven only read, and two save something (a new pre-screen report, a watch on a company). None records a decision or sets a route.
- Code decides who runs. The supervisor can drop an eligible agent with a reason, but can't add one.
- Each has a tool allowlist and a step limit. A call outside the allowlist is refused before it reaches the server.
- Everything is checked: code rules first (calling a gap clear, changing the route, sanctions detail to a broker, invented numbers), then the judge. If the judge is switched off or fails, the code rules alone decide, and the page doesn't yet say so.
Nine public runs

Across the nine public examples, every route stayed as the rules set it. The agents wrote 17 sections; 3 were rewritten and 1 was withheld. The whole set cost about $0.027, and the median run took about 17 seconds. The code rules didn't fire once: every block came from the judge. (Getting the MCP server deployed had its own four failures, from a renamed SDK class to a host check that refused every request; they're in the build journal.)
On the page, this means: read the Analysis tab as an explanation, not a verdict, and treat a withheld section as "look yourself", not "nothing here".
Limits
- The judge isn't consistent, as above. A blocked section needs spot checks, and a passed one isn't proof.
- The same model name was served by 13 different hosts across the nine runs, so runs aren't strictly repeatable.
- The compliance hold, which stops broker emails on a possible sanctions match, is tested in code but hasn't happened live.
- Nine runs is a small sample for a judge's error rate.
The decision behind it
- Decision: agents work through MCP tools that can't record a decision or set a route; a guardrail withholds what it can't pass.
- Alternative rejected: agents in the decision path, which is how version 1 went wrong.
- What it cost: about 3 cents for nine cases, a judge that takes a third of it, and an occasional true paragraph withheld.
- When to revisit: if false withholds become common enough that underwriters stop reading the Analysis tab.
Code: the agent layer · the MCP server · the build journal (MIT)
Demo: Thames Water's Analysis tab, read-only, no sign-up
System: how the Pre-Screen works, and what it can't do yet
Related: Version 1 let an AI agent decide. Version 2 lets written rules decide. · One report, three coverage counts, three different answers · My agent had the right company number and reported on the wrong company
Free: the AI Workflow Readiness Checklist
When your guardrail blocks something, how do you find out whether it was right?
First published 22 Nov 2026.
Get the next note by email
One short email when something ships or breaks. Free.