AI guide
# Scalable AI Systems: Architecting from Prototype to Production-Ready AI
## 【One-Line Pitch】
A practical field guide for engineers and technical leaders who need to move AI systems from prototype to production by treating the entire system—not just the model—as the unit of engineering. If you're building LLM applications, RAG systems, or agentic workflows and want a unified framework for architecture, evaluation, governance, and operations, this book gives you the mental model and checklists to do it right.
## 【Book Arc】
- **Opening (~0%–6%)**: Establishes the core thesis—production AI failures usually happen outside the model, in the surrounding system layers. Introduces the "AI System Anatomy" with five layers: model, context, control, observability, and people.
- **Early (~6%–19%)**: Presents the eight-phase AI system lifecycle (Frame, Source Data, Design, Build, Evaluate, Release, Operate, Evolve) as a cyclical wheel rather than a linear pipeline, emphasizing that phases overlap and multiple micro-lifecycles run concurrently.
- **Early (~19%–34%)**: Explores roles and stakeholders across the lifecycle, highlighting handoff points where problems concentrate, then introduces the five cross-cutting concerns: security, governance, fairness, cost, and assurance—each threading through every phase.
- **Middle (~34%–47%)**: Distinguishes lifecycle variants by system type (predictive ML, LLM applications, agentic systems), then grounds everything in the recurring AskFirst customer-support example, mapping artifacts produced at each phase and explaining why they matter for compliance and institutional knowledge.
- **Middle (~47%–53%+)**: Transitions into metrics and measurement, contrasting deterministic software testing with probabilistic generative systems where passing tests are probabilities that shift as retrieval indexes, tool catalogs, and reasoning models change.
## 【Key Takeaways】
- **The model is the smallest part of an AI system** (Opening): Production failures typically originate in the context layer (instructions, retrieval, tools), control layer (safety checks, policies), or observability layer—not the model itself. Engineering effort should concentrate where bugs actually live.
- **The lifecycle is a wheel, not a line** (Early): The eight phases (Frame through Evolve) cycle continuously, overlap in practice, and run at different speeds for different components. Skipping a phase doesn't eliminate it—it just makes someone else's problem later.
- **AI systems break the org chart before they break in production** (Early): Unlike traditional software with a single owner, AI systems require different roles (data engineer, AI engineer, platform, SRE, compliance) at different phases. The three critical handoffs—data to AI engineering, release to operations, and compliance involvement—are where most problems emerge.
- **Assurance is a property, not a phase** (Early): Security, governance, fairness, and cost must be built into every lifecycle stage, not checked at the end. The biggest fairness mistake is treating it as a release-time concern rather than a design-time one.
- **Different AI system types concentrate effort differently** (Middle): Predictive ML focuses on data and training with straightforward holdout evaluation; LLM applications shift effort to design and evaluation since outputs are open-ended; agentic systems add complexity in control and observability. The lifecycle structure stays constant—the stress points don't.
- **Core artifacts are cumulative, serve as compliance evidence, and preserve institutional knowledge** (Middle): The deliverables produced at each phase build on each other, provide audit trails, and outlive the people who created them—critical for governance and team continuity.
- **Generative systems fail probabilistically, not deterministically** (Middle): A passing test is a probability that changes when retrieval indexes re-embed, tool catalogs update, or reasoning models alter their compute budgets. Metrics and evaluation must account for this fundamental shift from deterministic software.
## 【Reading Tips】
- **Deep-read Chapter 1** (~0%–47%): This is the conceptual foundation of the entire book. The five-layer anatomy, eight-phase lifecycle, role handoffs, and cross-cutting concerns form the framework referenced throughout. Don't skim the AskFirst example—it's the recurring case study that makes abstract concepts concrete.
- **Pay special attention to the lifecycle variants section** (~38%–44%): If you're building LLM applications or agentic systems, this section tells you where your effort should concentrate versus traditional ML. It's the most immediately actionable part of the opening material.
- **Skim the early-release front matter** (~0%–6%): The copyright, revision history, and early-release notes are boilerplate. Jump straight to the AI System Anatomy when you hit Chapter 1.
- **Watch for the book map** (~44%–47%): The chapter-to-lifecycle mapping helps you navigate the rest of the book strategically. Use it to decide which subsequent chapters matter most for your current project stage.
- **Note the chapter numbering discrepancy**: The early-release note indicates Chapter 2 was originally planned as Chapter 7 in the final book—expect reorganization in the published edition.
## 【Coverage Limits】
This guide covers the opening conceptual framework (Chapters 1–2 of the early release), including the system anatomy, lifecycle model, roles, concerns, variants, and the beginning of metrics and measurement. The excerpts do not cover the later chapters on data foundations, bias and fairness, regulatory readiness, assurance, or the detailed case studies—these are referenced but not yet available in the source material.
##
Passage locations
Excerpt 1
eilly logo is a registered trademark of O’Reilly Media, Inc. Scalable AI Systems , the cover image, and related trade dress are trademarks of O’Reilly Media,...
View in text
Excerpt 2
assessment. Source Data: Get, clean, label and govern data. For language model applications this includes documents, examples and human feedback. Finding and...
View in text
Excerpt 3
where the question’s whether the data is good enough to use. The second one is from AI engineering to platform, where the question’s whether the system is re...
View in text
Excerpt 4
e wheel is the picture you can keep in mind. One last thing. This chapter isn’t a checklist. The lifecycle is a model. It’s useful when it helps you see some...
View in text