
RAG for Real Users
Building a support assistant on Postgres, from an empty folder to production
A support assistant on Postgres and pgvector, from an empty folder to production.
Each book builds one real system, from an empty folder to the end, and every output in it comes from a real run. 2,813 pages, free to download.

Building a support assistant on Postgres, from an empty folder to production
A support assistant on Postgres and pgvector, from an empty folder to production.

Guiding Claude Code, Codex and Cursor with project files
The project files, skills, hooks and sandboxes that keep coding agents on a team's decisions.

Monitoring, evaluating and improving AI workflows in Python
Traces, cost tracking, judges and evaluations for an AI workflow that triages support tickets.

Running AI models on your own hardware, explained for developers
A ticket helper moved from a cloud API to models on the company's own machine.

Knowledge graphs from first principles to a working learning platform
Pathwise, a small learning website whose lessons, learners and knowledge live in one graph.

Machine learning from the inside
A salary estimator on the real Stack Overflow Developer Survey, with every algorithm written by hand first.