Engineering

Things that broke in systems we run, written up with the exact error, the measured number and the diagnosis. Every article here comes out of production rather than out of a tutorial.

2 series · 160 chapters

Tutorial series

AI agents against your own company's data

Build an assistant that answers from your company's documents, queries your own database, takes real actions, and respects who is asking. One worked example, from a blank repository to something people trust.

150 chapters · 12 sections

Foundations · The data layer · Ingestion · Retrieval · The model layer · Tools and actions · Agent loops and control · Memory and state · Evaluation · Guardrails and security · Production · Interface and adoption

Open the series →

Multi-tenant SaaS with Stripe Connect, end to end

Build a platform that many separate companies use without ever seeing each other's data, and that takes payments on their behalf without the money passing through you. One worked example, from an empty schema to a system you can put a support team behind.

10 chapters · 1 sections

Foundations

Open the series →