AI Engineering
4 essays on this topic.
Run AI Models on Your Own Laptop: A Practical Guide
How to run open AI models locally: the memory arithmetic, picking a size for your machine, GGUF and MLX, Ollama, llama.cpp, LM Studio, and Python.

RAG From Scratch: Let AI Answer From Your Own Documents
Build retrieval-augmented generation step by step in Python: chunking, local embeddings, search, hybrid BM25, re-ranking, cited prompts and evals.

How to Evaluate an AI Feature: Build Your First Eval Set
A practical guide to evals for AI features: build a case set from real usage, pick graders, read the statistics honestly, and gate changes in CI.

Build an MCP Server: Give Your AI Agent New Tools
What the Model Context Protocol is, how hosts, clients and servers fit together, and how to build, test and secure a small MCP server in Python.
