Writing.
Long-form essays and case-study series on applied AI engineering: agents, evaluation, production trade-offs, and lessons from building systems.

How this one question makes vibecoding fun againA game developer's "always be prototyping" habit, applied to vibecoding a bookmark app with Claude Code. Nine prototypes, one dropped forest, and the decision log that kept the rabbit holes in check.Read the post
All posts
- There's no such thing as a trace: what I learned tracing my first observability projectI understood spans and traces in theory. Then I opened Phoenix and understood nothing. Here's what finally made it click, plus the one extra step that keeps async LangGraph spans in the right trace.
- My coding agent knew Pydantic. I didn’t.A three-field interview question showed me I’d never actually learned Pydantic. Here’s what Optional really means, why `model_validate_json` matters, and how to turn bad LLM output into one clean error.
- Learning OOP through the design questions I already ask at workHow the idea behind OOP finally made sense, and how I think about it now
- Abstraction and polymorphism, built from three LLM adaptersLangGraph from Scratch, Phase 1: one base class, three providers, and the two OOP ideas hiding inside them.
- Encapsulation, built from an LLM message that can't be wrongLangGraph from Scratch, Phase 2: not hidden data, but checks you never have to write twice
- Strategy and a tool registry for LLM function calling in PythonLangGraph from Scratch, Phase 3: polymorphism again, except this time the model picks.
- Template Method and short-term memory for LLM chat in PythonLangGraph from Scratch, Phase 4: three ways to forget, one set of steps that never changes
- Composite and Decorator in a Python LLM pipelineLangGraph from Scratch, Phase 5: building Sequence, Branch, Parallel and Retry as steps.
- Dependency Injection and Interface Segregation in a Python RAG RetrieverLangGraph from Scratch, Phase 6: building the embedder, the vector store and the retriever as three separate pieces.
- The State and Observer Patterns in a Python Agent LoopLangGraph from Scratch, Phase 7: a loop that calls the model and runs tools until it answers, and a way to watch it run.