Research
Notes from the edge of technology.
Deep dives into how modern systems actually work: what's inside the models, how to build software that holds up in production, and where the next shifts are coming from.
Featured
Agents · Nov 18, 2026
Agents need state machines, not longer prompts
When an LLM agent misbehaves, the reflex is to add another paragraph to the system prompt. A better fix is to make the agent's control flow explicit, so the model chooses between moves instead of inventing them.
AI & LLMs · Nov 10, 2026
The KV cache, explained from first principles
Why transformer inference gets faster after the first token, why long contexts eat GPU memory, and the back-of-envelope math you need to size a deployment.
Cloud & Edge · Nov 2, 2026
An edge-first reference architecture for a small SaaS
How far can you get with a TypeScript monorepo, serverless functions at the edge, and a managed database? Further than you'd think. Here's the layout we're using, and where it bends.
Agents need state machines, not longer prompts
When an LLM agent misbehaves, the reflex is to add another paragraph to the system prompt. A better fix is to make the agent's control flow explicit, so the model chooses between moves instead of inventing them.
The KV cache, explained from first principles
Why transformer inference gets faster after the first token, why long contexts eat GPU memory, and the back-of-envelope math you need to size a deployment.
An edge-first reference architecture for a small SaaS
How far can you get with a TypeScript monorepo, serverless functions at the edge, and a managed database? Further than you'd think. Here's the layout we're using, and where it bends.
Idempotency keys: the API feature you'll wish you'd shipped on day one
Networks fail in the worst possible place, after the server did the work but before the client heard back. Idempotency keys turn "did my payment go through?" into a non-question.
Passkeys for SaaS: what actually changes in your auth stack
Passkeys remove the password, but not the account-recovery problem, the session layer, or your need for good audit logs. A practical tour of what to build and what to keep.
Qubits for software engineers
Skip the mysticism. A qubit is a vector, a gate is a matrix, and measurement is a weighted coin flip. Here's the mental model, with enough linear algebra to run it yourself.
No articles in this topic yet.