Skip to content
Rutger Hemrika
Menu
← Blog

Design notes · 5/7

An agent may be improved. It may not edit itself

Rutger Hemrika4 min read

Design notes, five of a series. One rule from Tessera, the governed AI-agent platform I build, and the reasoning behind it.

The situation

Every run of an agent in Tessera leaves a record: what it was asked, what it did, what was refused, what a reviewer corrected, what someone overrode. After a while that is a large pile of evidence about how the agent could be better.

The obvious next step is to let the system use it. The research on agents that rewrite their own harness is moving quickly, and the question I got was a fair one: how does a governed platform improve itself, and keep its governance while doing so?

The obvious next step is also the dangerous one. The fastest way for an agent to score better is to stop asking for approval.

The rule

The platform may improve an agent from the evidence of its own runs, and no agent changes itself. A separate improver reads the records and drafts a candidate version, with the change and its reason. Six rules bind it.

  1. The output is a proposal, never a live change. A candidate goes through the same two-person admission as a version a human wrote, with its proof attached.
  2. The editable surface is declared in advance. Instructions, skills and context handling may change. Policy, approval rules, tool scopes, autonomy grade and data classification may not.
  3. A candidate that scores better by escalating or refusing less is a finding, not an improvement.
  4. Recorded runs and lessons are untrusted input. A run can contain text written by an attacker. And the improver cannot write the evidence it is judged on.
  5. There is a budget per tenant, a stop, and a version to roll back to.
  6. Lessons do not travel between tenants, except through a signed update.

Odysseus had himself tied to the mast before the sirens started singing. Rule two is the same manoeuvre: decide what may change while you can still think clearly.

The proof has three parts. The candidate is replayed against recorded runs in a sandbox, with no live side effects, and the two traces are laid side by side. It is scored on a declared sample of real runs, deterministic checks first and a judge model only where that judge has itself been qualified. And it is put through an adversarial scan. A sampled score never counts as certification, and a person can turn any run into a permanent evaluation case.

What I rejected, and why

An agent that edits its own running version. It is where much of the published work points, and it removes the one property I cannot give up: that somebody other than the subject decided the change.

Fine-tuning a model on the runs. It moves the improvement into weights nobody can read, and it mixes one municipality’s data into a model another one uses.

Letting the improver choose its own measure. Then it will find the measure it can move.

What it costs

Every improvement costs a replay, a scoring run, a scan and two people’s attention, so improvement is slower than the demos suggest. Recorded runs contain personal data, and replaying them or turning them into test cases is processing that needs its own basis and retention. Lessons have to be stored, reviewed and expired. And the improver is one more component with read access to everything, which makes it a target.

What this does not claim

This is a design with its rules, not a measured result: I have no number for how much better a governed loop makes an agent, and I will not guess one. Three questions are open. How tool results are replayed without side effects. What counts as the same step in two traces. And how the evidence the improver may read is separated from the evidence it must never write.

If you take one thing

Before any system of yours is allowed to tune itself, write down the list of things it may never change, and check whether refusing less would improve its score. If it would, you have built a machine that learns to stop asking.

An agent that reports progress because it refuses less is the Black Knight. “’Tis but a scratch.”

References

The sources and allusions in this piece, with their origin:

  • Homer, Odyssey, book 12: Odysseus is bound to the mast before the ship passes the sirens.
  • Charles Goodhart (1975), as paraphrased by Marilyn Strathern: a measure that becomes a target stops being a good measure. Rule three is that law with a refusal attached.
  • Monty Python and the Holy Grail (1975): the Black Knight.

Rutger Hemrika

AI strategy and governance for mission-critical software. Writes from building, not from slides; every claim carries an evidence grade.

Full experience · About