Notes from the forge.
How we design, build and debug AI systems, written by engineers who ship them. New articles every week.
All articles
RAG
Ten RAG strategies, and when each one earns its place
From hybrid search and reranking to HyDE, small-to-big retrieval, knowledge graphs and agentic loops: what each RAG strategy fixes, what it costs, and how to choose without over-engineering.
LLMs
Temperature, top-k and top-p: tuning an LLM's settings for agents
What sampling parameters actually do to a model's next-token probabilities, worked through with real numbers, plus the settings we use for extraction, RAG, code, chat and every role inside an agent.
Prompting
How to write a system prompt that holds up in production
A system prompt is a job description, not a magic spell. The anatomy of a strong one, the principles that make models follow it, the anti-patterns that quietly break it, and how to test prompts like code.
Agents
How multi-agent systems actually work
Agents are loops, not magic. What happens inside a single agent, why teams split work across several, the five architectures worth knowing, and the failure modes that sink most multi-agent projects.
RAG
Designing a RAG strategy that survives production
Most RAG systems fail before a single token is generated. A field guide to the decisions that actually matter: question types, chunking, hybrid retrieval, reranking, context assembly and evaluation.