Notes from the field.
On distributed systems, the maths underneath them, and the leadership work that turns design into shipped software.
This blog is written from production, not from documentation: AI decisioning systems in regulated businesses, agent architectures that survive audits, queueing and capacity maths, and the trade-offs behind cloud and event-driven designs. Every post is anchored to a system I have built or reviewed, with the numbers I can defend. Longer pieces are cross-published on Coding Layman, where the same ideas are rewritten in plain language for readers earlier in the journey. If you want the short version of any article, each one opens with a TL;DR built for skimming.
You can't predict when quantum breaks your encryption. You can be ready for it.
A practical plan for a financial-services CTO: why post-quantum work starts now, what breaks in production when you migrate, what SEBI's CSCRF expects you to show, how to phase the cost, and what to do in the first 90 days. · 12 min readYou Already Have OCR. So Why Is Nothing Getting Faster?
Your document tool reads the page but never says when it is unsure. That gap is why the headcount never dropped, and it is the difference between OCR and KIE. · 11 min readHermes vs OpenClaw: Why I Split My AI Agents Into a Delivery Plane and an Execution Plane
One agent that schedules, executes and messages you is one you cannot debug. Split agents by capability and the symptom names the broken part. · 9 min readEight of my agents wrote to the wrong folder
One request became 24 agent contracts. Eight agents wrote outside their scope, all were caught before merge, and the fix was showing each agent its contract. · 4 min readA Stranger on Telegram Got My AI Agent to Install a Backdoor
My self-hosted AI agent refused to scan my disk for crypto keys, then installed a remote-control tool for the same stranger. Luck stopped it. A one-line allowlist stops it now. · 5 min readYour agent needs a ledger, not a better prompt
My scheduled job published the same item twice. The model was wrong about state, not language. The fix is an ontology, checked as a ledger before side effects. · 14 min readThree things my agent guard could not see
My coordinator stopped parallel coding agents colliding. Then I read what it missed: a check grading a fiction, a write to an unseen repo, a dead lease. · 7 min readTwo agents, two repositories, one refused collision
Two coding agents ran in parallel under declared write scope. One collision was refused before spawn, one scope escape was caught at exit. · 7 min readApprove and Deny Are the Easy Part: Loan Decisioning With a Human in the Loop
Approve and deny are the easy majority of loan volume. The architecture lives in the exceptions: classify, route, human review, re-entry, audit. · 13 min readEasy to Demo, Hard to Operate: Why AI Pilots Stall in Month Two
AI pilots rarely fail on the model. They stall on memory, security, monitoring and cost. One platform built inside hard limits shows what that takes. · 14 min readProduction RAG for a Tier-1 Bank: An Architecture Walkthrough
Bank RAG projects die at second-line risk review, not at the model. The retrieval architecture that survives an audit, and why it was chosen. · 32 min readYour coding agents do not need better merges, they need to declare
Isolation then merge checks for collisions after the work is paid for. Claim-before-spawn checks before the process starts, so refusing costs nothing. · 8 min readI built a supervisor for my coding agents, measured it, and deleted it
I built a supervisor loop for my coding agents, measured it against no supervisor, and removed it: identical success, two percent worse cost. · 7 min readThe Agent Trio: How I Run Three AI Agents on One Shared Memory
Three agent planes, one shared memory, zero self-modification: the shape that keeps a multi-agent system debuggable as it grows. · 7 min readWhy Architects Can't Ignore Knowledge Distillation of Black-Box LLMs
Proprietary LLM costs explode at scale. Here's how to compress frontier models into deployable, cost-effective alternatives you actually control. · 7 min readMasking Sensitive IDs Across 600 Million Documents: A Batch Architecture That Scales
How to design a production batch pipeline to mask the first 8 digits of an ID number across 600 million documents, focused on processing time, cost, components, and compliance. · 7 min readWhy Numbers Are Not Enough: Scalars vs Vectors
Most people believe mathematics starts with numbers. That belief works-until it doesn't. · 4 min readToken-Based vs Session-Based Security: An Architect's Perspective
A practical breakdown of session vs token security, when to use which, and modern best practices. · 3 min readThe Insight That Unlocks Linear Algebra for Engineers
Discover why matrices are not just tables of numbers, but functions in disguise. A paradigm shift that transforms how engineers think about systems, transformations, and architecture. · 3 min readNew essays, straight to your inbox.
Occasional, in-depth writing on distributed systems, AI agent architecture, and engineering leadership. No spam, unsubscribe anytime.
You’re in. Check your inbox to confirm the subscription.