Part I · Foundations
Chapter 01
Environment and Ground Rules
Five decisions made in the first hour determine how expensive the next two years are — this chapter makes all five and builds the repository every later chapter extends.
Deliverable: The repository the whole book extends: compose stack, the four seams, secrets hygiene and cost guardrails.
What's inside
7 topics
- 1.1How This Book Works and What You Will Build
- 1.2Python Environment and Dependency Management
- 1.3Docker and Docker Compose Essentials for AI Workloads
- 1.4Project Repository Structure and Conventions
- 1.5API Keys, Secrets Hygiene and Cost Guardrails
- 1.6The Four Seams, and the Frame
- 1.7The Four Layers
Preparing PDF viewer…
A note on this content
The book and its chapters are my personal learning notes — compiled from online research and hands-on practice, with most of the content AI-generated from that research and learning. It is not a peer-reviewed publication, and I make no claim that it is 100% error-free. If you spot a mistake, I'd genuinely appreciate hearing about it — contact me.