zelts

4 min read

Quiet parts first

Agent pilots demo well, then stall at risk review. Build the audit trail, permissions, and tests first; the agent is the easy part.

The demo went well. The agent read the documents, made the call, and wrote a tidy summary. Then someone from risk asked three questions. Which rule did it apply? Who signed that rule off? What happens when it is wrong?

Nobody had an answer, so the pilot stalled.

We have seen this pattern enough to name it. The agent is the easy part. What decides whether it ships is everything underneath it: data that stays correct, an audit trail, permissions, and tests. We call these the quiet parts, and we build them first.

The agent is the easy part.

We have built five platforms end to end:

Different industries, same lesson. Here is what the quiet parts look like in practice.

1. Data that stays correct

An agent that reads wrong data makes wrong decisions with total confidence. So the data has to be correct before any model touches it.

In Ledgerly, the ledger is double-entry and independent of any bank. We never edit a posted entry. A correction is a new entry that reverses the old one. The history stays complete, so every balance can be explained.

Griddd converts every trade from MT5, MT4, and cTrader to USD at live rates, into one model. Without that, exposure across three platforms does not add up. An AI answer built on it is wrong before it starts.

2. An audit trail

If a decision cannot be explained, it cannot be defended. So every decision records where it came from.

In Ledgerly, the agent approves, escalates, or blocks every card payment at authorisation. Each decision stores the rules it checked and the policy clause behind each rule. When finance asks why a payment was blocked, the answer is a link to a sentence in their own policy.

SpinStack keeps each market's advertising rules as rules. The AI checks every campaign before it goes out, and again when a rule changes.

Ledgerly: the decision record From Ledgerly's policy engine. Every card payment, with the rules it checked and the clause behind each one.

Card payments Today · Acme Retail

Lufthansa Lena Fischer · Sales · 09:12 €412.60

Approved in 29 ms

Economy flight, inside the policy.

  1. Authorisation received+0 ms

    LUFTHANSA 2201749933 FRA · MCC 3008
  2. Classified as Flights+9 ms

    From the merchant code and name, 99% confident

  3. Checked 1 rule+22 ms

    R-04 Business class needs the CFO Passed

  4. Approved+29 ms

    €412.60 settles on the EUR account. Nobody had to sign it off. Lena is asked for the receipt.

3. Permissions

An agent should never see more than the person it works for.

Ledgerly's assistant answers employees about policy and their own spend. It cannot see a colleague's expenses. In the backoffice, the AI prepares each KYB and KYC review, but only staff with the right role can decide.

Ledgerly: the employee assistant From Ledgerly's assistant. Marco asks about a colleague's spend, and the assistant declines.

4. Tests, and things you can test

Agents are hard to test when their output is free text. So we give them structure.

In Griddd, every widget has a typed schema. A model can build a dashboard from a sentence like "Morning risk check before NFP", but what it produces is a grid of typed tiles, not prose. A schema is a contract. You can check it, and the model's answers can cite the tiles they came from.

Then the agents

With the quiet parts in place, the agent's job gets narrow and checkable. The pattern we use wherever the stakes are high:

  1. The agent drafts.
  2. A person approves.
  3. The system runs it.
  4. The system logs every step.

In Ledgerly, the AI reads the policy documents legal already wrote, in PDF or Word. It drafts one rule per clause, linked to that clause. Nothing runs until finance publishes it.

In SpinStack, the AI writes and translates a page for every game, category, and league. One person approves.

A person stays in the loop when the stakes call for one. That is a design decision, not a fallback.

Where we keep AI out

There is no model in MarketBet's settlement path. A round is a set of segments, and the last second of each one stays locked. Settlement runs on one shared, sampled price feed, timed in microseconds by an async Rust engine. That part has to be deterministic, so it is plain code.

Knowing where AI does not pay off is part of the job. The ones that only demo well don't ship.

Four questions before you build an agent

  1. Is the data it reads correct, and can you prove it?
  2. When it decides, what does it record, and can someone outside engineering read that record?
  3. What can it see and do, and is that less than or equal to the person it works for?
  4. Where does a person approve, and where should AI stay out entirely?

If you can answer all four, the agent is the easy part.

If you are stuck on one of them, tell us what you're building and where it's stuck.