Hi, I'm Riddam.
Staff engineer in Amsterdam, working in cloud and application architecture. I build systems that hold up in production, read books worth remembering, and think about how to lead engineers well — and I write it all down here.
Latest
Writing the Agent Loop Yourself
Sixty lines, no framework: a loop with a step budget, an approval gate before anything irreversible, and its reasoning printed each turn. Then the ways it actually went wrong at step four, and which of them the budget and the gate caught.
More writing
-
Tests where the assertion is not equality but good enough. A twenty-case eval harness that fails the build on a real regression, why retrieval and generation have to be scored separately, and where a model judging a model quietly lies.
-
A real fine-tune on a small local model, with the same ten prompts before and after. Why it teaches a manner rather than facts, what the attempt to teach it a fact actually produced, and the local-versus-API decision on privacy and cost.
-
An ordinary service with one non-deterministic dependency. Streaming and perceived latency, the two cost levers that actually matter, retries and logging, a cost ceiling that trips, prompt injection against a service rather than an editor, and what you may legally send to an API.
-
What to measure if you want to know whether an agent is helping: time to a reviewable change, rework rate, token spend, and the kinds of task where it reliably costs more than it saves. A two-week method, and the reason the best-funded attempt at this question could not keep its control group.
-
Which settings belong to the repository and which to the person, who maintains the shared skills once the person who wrote them moves on, how to onboard someone in an afternoon, and why most adoption failures are social rather than technical.
-
An AI coding tool is a loop around a model that can only produce text. What gets assembled and sent, what comes back, who runs the tools, and why the whole thing goes round again — shown in about forty lines of code you can run yourself, against a real repository.
-
The model never runs anything. It emits a structured request, your harness decides whether to honour it, and the result comes back as more text. What a tool definition really is, why a vague description produces wrong calls, and what happens when a tool fails.
-
What the Model Context Protocol actually is, in plain words: the problem it solves, what a server offers, which side your editor is on, what local and remote transports really change, and what crosses the wire — shown on a real handshake.
Explore
- Engineering Deep dives and write-ups from real work — cloud and application architecture, and the reasoning behind the decisions.
- Book Notes What I took away from books worth remembering, in my own words.
- Leadership On leading teams, growing engineers, and doing the work well.
- Playbooks In-depth references and blueprints I've built for certifications, architecture, and core topics — the material I share with the engineers I work with.