GLODY FIGUEIREDO

← all writing

2026-06-14 · 1 min read · #architecture #ai #judgement

Deciding where AI belongs (and where it doesn't)

The most important architectural decision in an AI product is not which model to use. It is drawing the line between what should be deterministic and what should be probabilistic.

Every AI product I have built or seen fail had the same fault line running through it: the boundary between deterministic software and model-driven behavior was drawn in the wrong place — or worse, never drawn at all.

My working rule after two years of building Kielis: if the output can be checked by a machine, it should be produced by a machine — a deterministic one. Portfolio math, permission checks, tenant boundaries, schema validation: no model belongs in that path, ever. Models earn their place where the input is human language and the output is a draft that a human will judge.

This sounds obvious written down. It is not obvious at 11pm when the model has just produced a perfect-looking answer and the deterministic version would take three more days to build. The perfect-looking answer is the trap: it is right until the one time it is wrong, and in finance that one time is the only one anyone remembers.

So the question I ask for every capability is no longer "can the model do this?" It nearly always can, impressively, most of the time. The question is: when it fails, who notices, how fast, and what does it cost them? The answer draws the line for me.

Linked from