> writing
Writing
Notes on agents, production systems, security, and building things that last.
Introducing Ouroboros: a runtime for AI coding agents
Why I built Ouroboros with Elixir, Rust and WebAssembly, and how durable sessions, bounded self-repair and auditable tools fit together.
Durable agent execution is a state and authority problem
A prompt loop can choose the next action. A durable agent runtime must also know what happened, who may act, and what to do when neither answer is certain.
How to build workflows for AI video ad generation
Generating a video ad is not one AI call. It is a durable workflow involving scenes, providers, money, callbacks, retries and a final render. Here is how I built one for real usage.
How to build a model testbed inside an AI agent
A model benchmark is only useful if it runs your real agent, exercises believable user situations, and measures what your product actually needs. Let's build one from a production testbed.
Demystifying Agents
What's an AI agent? Is this some sort of superentity or just a simple program? Let's find out! In this article, we'll explore the concept of AI agents and how they can be implemented in TypeScript.
An introduction to web backends in Rust - Part 2
Let's implement the second part of our webserver, we'll see how to handle JSON and a simple pattern to organise routes and handlers.
An introduction to web backends in Rust - Part 1
Rust is a system language mainly developped at Mozilla, it's designed to limit errors leading to security issues and it aims to be as fast as possible while maintaining a good devXP.