Writing

Essays and posts on technology, AI, engineering leadership, and building better systems.

Posts

Shorter articles and tactical insights

7 posts
postNovember 28, 2024

How to Debug a Failing RAG Pipeline

Your RAG system is returning bad answers. Here's a systematic approach to find out why and fix it.

RAGDebuggingTutorial
6 min read
postNovember 10, 2024

Prompt Engineering Patterns That Actually Work

After writing thousands of prompts, these are the patterns that consistently improve results. No magic tricks—just engineering principles.

Prompt EngineeringLLMBest Practices
7 min read
postOctober 15, 2024

Building Your First LLM Agent with Tool Use

A practical tutorial on building an LLM agent that can use tools. We'll build a simple research agent that can search the web and summarize information.

AI AgentsTutorialLLM
7 min read
postSeptember 30, 2024

Five Mistakes I Made Building AI Chatbots

I've shipped chatbots that worked great and chatbots that embarrassed me. Here are the mistakes I've made so you don't have to.

AIChatbotsLessons Learned
7 min read
postSeptember 10, 2024

Testing AI Systems Beyond Vibes

Looks good to me is not a testing strategy. Here is how to build a real evaluation framework for AI systems that actually catches problems.

TestingAI EngineeringBest Practices
7 min read
postAugust 25, 2024

When to Use RAG vs Fine-Tuning

Two approaches to customizing LLMs for your use case. Here's a practical decision framework for choosing between RAG and fine-tuning.

RAGFine-TuningLLMArchitecture
7 min read
postAugust 22, 2024

Five Principles for Scaling Engineering Teams

Lessons learned from scaling teams from 5 to 50+ engineers while maintaining productivity and culture.

LeadershipTeam BuildingEngineering Culture
3 min read