Sources โ public references
The ideas on this site are not new; they are assembled. Below are the public documents the chapters lean on, grouped by theme, with one line on why each matters here. Every link is public and free to read.
Serving and scaling at consumer scale
- Optimizing AI Inference at Character.AI↗ โ a consumer chat product describing the caching and batching decisions that make serving tens of thousands of turns per second affordable; the concrete backdrop for prefix caching and "the bill is tokens".
- Efficient Memory Management for LLM Serving with PagedAttention↗ โ the paper behind modern inference servers; explains why memory, not compute, bounds how many concurrent users one model replica can hold.
- Prompt caching (provider documentation)↗ โ a worked description of prefix caching from a model provider: what is cacheable, how prompts should be ordered, and the price difference.
- Building effective agents↗ โ a plain-spoken taxonomy of agent patterns; the source for the "model decides, code executes" framing used in the tools chapter.
- Effective context engineering for AI agents↗ โ why a curated, budgeted context beats a stuffed one; the argument behind the context pack.
Retrieval and memory
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks↗ โ the original RAG paper: retrieve first, then generate, so answers are grounded in fetched material rather than model weights.
- Retrieval-Augmented Generation for Large Language Models: A Survey↗ โ a map of the RAG design space (query rewriting, re-ranking, fusion) that the nine-stage turn draws from.
- Generative Agents: Interactive Simulacra of Human Behavior↗ โ the memory stream scored by recency ร importance ร relevance; the direct ancestor of temporal decay in personal memory.
- Lost in the Middle: How Language Models Use Long Contexts↗ โ evidence that models under-use material buried mid-prompt; the reason a bigger context window is not the same as a better answer.
Control planes and autoscaling
- Kubernetes: Horizontal Pod Autoscaling↗ โ the reference description of the HPA: target metric, desired-replica arithmetic, cool-downs, scaling in both directions.
- Kubernetes: Controllers↗ โ the desired-state / actual-state control loop stated in its simplest form; the pattern the reconcile loop chapter teaches from first principles.
- Cloud Run: About instance autoscaling↗ โ a managed autoscaler's actual rules (concurrency, CPU, min/max instances, scale to zero); the production counterpart of the hand-built loop.
- Cloud Run: Rollouts, rollbacks, and traffic migration↗ โ revision-level traffic splitting, which is how a canary is expressed on a managed platform.
- Google SRE Book: Service Level Objectives↗ โ where SLOs and error budgets come from, and why they belong in the quality chapter rather than a contract.
Tools and the Model Context Protocol
- Model Context Protocol โ Specification↗ โ the normative text: initialize, tools/list, tools/call, and the error model; the basis for the NรM โ N+M argument in tools.
Evaluation
- Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena↗ โ the paper that made "a model grades the model" a respectable eval method, and measured where it agrees with people; the basis for the two-score eval gate.
- Your AI Product Needs Evals↗ โ a practitioner's account of building golden sets from real failures and gating releases on them; the everyday version of the golden set discipline.
Vector search at scale
- Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs↗ โ the HNSW index most vector stores use; explains the recall-vs-speed trade that makes vector search feasible at millions of vectors.
- pgvector↗ โ a vector index inside a relational store; the reason per-user memory can live next to the profile it belongs to, without a second system.
- Vertex AI Vector Search overview↗ โ what a dedicated, managed vector service looks like when an unscoped corpus outgrows an in-database index.