# Trustworthy AI Agents: Five Design Principles

> Published 2026-10-21T22:55:01.381Z on https://youblog.app/p/trustworthy-ai-agents-five-design-principles/
> Source video: https://www.youtube.com/watch?v=e9-br9hveRI

Trustworthy AI agents are built from five design principles, not from a better model: a shared domain, consistent code-based calculation, visible evidence, real accountability, and outside verification. Francesco Galletta and Felippe Felisola Caso of Monzo, a UK bank, walked through all five at AI Engineer while building a wedding-budget analyst harness.

## Trustworthy AI agents start with a shared domain

Trustworthy AI agents need a shared domain first: the user and the model must agree on the terms, constraints and numbers before any analysis begins. Francesco Galletta, a data practitioner at Monzo, a UK digital bank, said the bottleneck is no longer producing an answer. His opening claim at AI Engineer was that the gap sits in how an agent connects with a person's actual financial situation.

Monzo is a UK bank where both speakers work on data and internal AI tooling. Both said they were not presenting on Monzo's behalf. The example used throughout was Galletta's own wedding budget, which kept the workshop away from confidential customer data.

The harness asks questions until the plan is unambiguous. In the live section, Galletta described three wedding payments, a per-guest dinner cost of $150, $500 for flowers, a possible $5,000 contribution from a parent and no savings. The agent kept asking instead of accepting the first vague answer.

The design point is that your definition of a term and the model's definition are rarely identical. Galletta recommended forcing the agent to restate assumptions and flag anything it inferred from your wording.

Those annotations are the practical payoff. A plan node can be marked as a fact you supplied, an assumption the agent made, or an open decision you still need to take. Francesco Galletta called this the shared context principle, and it holds up only when the tags are visible rather than buried in prose.

## Consistency: why calculations belong in code

Consistency means deterministic calculations run in code, not in the model's token stream. Francesco Galletta put it plainly: if a step is arithmetic, it should be implemented as a function, tested with golden examples, and reused every time the question comes up.

The harness detects which plan nodes are calculations and offers to generate code plus tests for them. During the demo a step test suite passed on screen without the agent reading, reasoning or narrating. Galletta said that was the point: the tests run in your environment rather than being improvised by a language model.

The same rule applies to versions. When generated calculation code changes, the harness should surface that change and warn that earlier conclusions may no longer hold. Otherwise the inputs look identical while the logic underneath has quietly moved.

Both speakers tied this to a recurring personal failure. Felippe Felisola Caso described a monthly budget where categorisation and refund logic lived with the agent, and the numbers drifted between runs until the logic was moved into a script. The transcript includes the exact remedy they recommend: write the calculation once, then run it every time the same figure is needed.

## Evidence: receipts for every number

Evidence means every figure used in a recommendation can be traced back to the assumption, document or code that produced it. The Monzo harness labels chat text as an interpretation, agent memory as an assumption, and a submitted bank statement as a fact.

Galletta said not all information carries the same weight, and that a wrong guest count can invalidate a whole model. A bank statement is a fact; an estimate of how many guests a partner invited is not. The harness keeps those categories distinct.

Evidence also covers code. One anecdote involved a shared master file whose accepted value ranges had changed without the user noticing. Inputs were identical, the output was wrong, and nothing in the workflow recorded that the rule had moved.

Looking at how other financial analysts are implemented, Galletta described traceability reaching down to the dataset: which connector or data supplier reported a given stock price at a given time. That level of provenance is the benchmark he aims for in a personal harness.

The harness lets a user click a figure and walk back to its origin, including whether it came from a correction typed into chat. That click-through trail turns a confident number into a checkable one.

## Accountability needs a few high-signal gates

Accountability means a human stays responsible for the result, and the harness should place review gates at the decisions that matter. Francesco Galletta argued that approving every single change is not review; it is a queue of taps nobody reads.

Felippe Felisola Caso pointed out that publishing the output of an agent does not transfer the consequence. The analyst whose name is on the analysis still answers for it. The harness therefore needs a visible record of which decisions the human made, which the agent assumed, and which remain open.

The practical mechanism is a small number of gates with high signal. Reviewing tasks and functional test results carries more weight than inspecting every diff line. Felippe Felisola Caso noted that his team's internal context differs from the demo's, so the specific gate placement is an example rather than a policy.

Branches are where accountability becomes useful. A user can correct one input without collapsing the whole conversation, and the harness shows which downstream figures change. Galletta said he had previously lost entire analyses to one stray dictated sentence in a long chat.

## Verification: bring in an outside view

Verification means adding a reference point outside the agent's own reasoning, so the analysis is checked against something the plan did not generate. Ideally that includes the user's own experience of what a number should look like.

The harness spawns a separate reviewing agent on a branch, which inspects the plan and the assumptions, then rejoins the main line and changes the plan if it finds a problem. Galletta stressed that an LLM-as-judge with no return path improves nothing; the feedback has to be able to alter the decision.

Felisola Caso drew on his time as a BI analyst. He once presented a dashboard that looked correct, and a stakeholder from another team immediately said the number was wrong because sales that year could not have reached it. No query check had caught this. The outside context did.

Galletta also described expert behaviour he has seen in finance teams: scan a few familiar cells, then judge from experience whether the total makes sense. That gut check is cheap and catches errors that a full line-by-line audit would miss.

The speakers were careful about limits. They said the recipe suits financial use cases where trust is critical, and that not every use case needs the same weight on evidence and accountability. The harness is one implementation, not a product, and parts were deliberately overengineered for the workshop.

## How the five principles build on each other

The principles form a sequence, not a checklist: shared domain feeds consistent Claude Code produces evidence, evidence supports accountability, and accountability makes verification worth running.

Each stage makes the next one easier to check, which is why the sequence matters more than any single technique.

| Principle | What it controls | Practical mechanism |
| --- | --- | --- |
| Shared domain | What the terms mean | Questioning, assumption tags, decision tree |
| Consistency | Where numbers come from | Generated code, unit tests, version warnings |
| Evidence | How a figure is justified | Fact versus assumption labels, click-through trace |
| Accountability | Who owns the decision | Review gates on high-signal steps, branching |
| Verification | Which outside check applies | Reviewing agent, golden examples, external data |

Felippe Felisola Caso compared skills or prompt-based approaches to spec-driven development: the instructions are organised well, but distribution to many users introduces context nobody can fully predict. Harness code covers those cases deterministically.

Francesco Galletta said models will keep improving, but they still have to earn trust.

## FAQ about trustworthy AI agents

- **What are trustworthy AI agents?** Trustworthy AI agents are agents whose results a person can check, correct and stand behind. The Monzo workshop defined them through five principles: shared domain, consistency, evidence, accountability and verification, each handled by a specific part of the harness rather than by model choice alone.

- **Why should calculations run in code rather than in the model?** Language models generate text probabilistically, so the same question can produce slightly different arithmetic across sessions. Moving a calculation into tested code gives the same answer every time, and the harness can warn when that code changes.

- **Does the harness replace human judgement?** No. Francesco Galletta and Felippe Felisola Caso said the human stays accountable for the output. The harness adds review gates and outside checks so the human can exercise that responsibility on the decisions that matter, not on every low-value change.

- **Is this a Monzo product?** No. Both speakers work at Monzo but said they were not presenting on the bank's behalf, and the harness is a workshop implementation around a private wedding budget. They mentioned a separate breakout session on Monzo's internal agent tooling without describing that product in detail.

- **When is building a harness worth the effort?** The speakers framed it as a judgement call. A casual, non-critical task can stay in a general chat with a human watching. A process used by many people, or one feeding key company decisions, justifies a harness that fixes the repeated work in code and keeps the results reproducible.

## Turning a long talk into a usable article

A 111-minute workshop like this one carries a method, a live demo, a set of audience questions and several caveats, and most of that never gets written down. The money boundary is where the caution belongs: a harness can make a calculation reproducible and traceable, and it cannot make a model infallible or make an organisation compliant just by running locally.

The same transcript-to-article route suits anyone with technical material parked inside a video: interviews, walkthroughs, internal talks, recorded lessons from Gustavo Dev Doido, boot camps such as Bootcamp do Dev Doido, and course material like Crazystack Typescript, which you can find at [Crazystack](https://crazystack.com.br).

[YouBlog](https://youblog.app/) takes a YouTube URL, transcribes the video and generates a structured draft you can edit before publishing.

[Source video](https://www.youtube.com/watch?v=e9-br9hveRI)
