AI develop

Posts in this category.

All Architecture AI develop Backend DevOps System Design Career Learning

Structured Outputs and Prompts as Code

Free text is great for humans but terrible for code. In this post I show how I get reliable JSON from LLMs with schemas and validation, and why I treat prompts like code: versioned, reviewed and tested.

8 min read

How to Integrate an LLM into Your Backend

Calling an LLM API is easy. Running it in production is not. These are the backend patterns I use to make AI features reliable, cheap and safe: timeouts, retries, queues, caching and good boundaries.

9 min read

RAG Explained: How to Chat with Your Blog Posts

Every post on this blog has a small chat. You ask a question and the AI answers using the article. In this post I explain how it works: chunks, embeddings, vector search and a good prompt. This technique is called RAG.

8 min read

How to Build a Supervised Harness for AI Development

AI writes code fast, but your attention is the real limit. Here is how I designed a simple harness with files, git and exit codes, so every task arrives with proof that it works — and I can run two or three tasks at the same time without losing control.

11 min read

Testing AI Features with Evals

Unit tests expect the same output every time. LLMs don't work like that. Evals are the answer: a set of examples, a way to score the results, and a number you can compare. Here is how I build them.

8 min read