PFP Labs · Learning library

Learning series

Go beyond a single article. Build your understanding, one practical chapter at a time.

Cover artwork from An Agent Is a System, Not a Prompt

3 reading paths · 26 chapters

From agent fundamentals to production.

Start with the theoretical field guide. Put the patterns into practice with the systems playbook, or build and debug a chatbot in the runnable lab.

Choose your reading path

Independent editorial guides by Chris Eberl

Series cover: Building Production-Grade AI Agents
OpenAI

Theory · Agent foundations

Building Production-Grade AI Agents

A 15-part field guide from the agent loop to evals and observability.

15 chapters86 min total
Chapter outline 15 chapters
  1. 01An Agent Is a System, Not a Prompt6 min read
  2. 02Tools: Where Reasoning Meets the Real World5 min read
  3. 03MCP: A Shared Capability Layer for Agents8 min read
  4. 04Context Engineering: Give the Model Less, but Better6 min read
  5. 05RAG vs Live Tools: Knowledge Is Not State5 min read
  6. 06Deterministic vs Probabilistic Orchestration5 min read
  7. 07Reliability: Idempotency, Retries, and Partial Failure6 min read
  8. 08Security: Identity, ACLs, Prompt Injection, and Blast Radius6 min read
  9. 09Human Confirmation Without Confirmation Fatigue4 min read
  10. 10Scaling Agent Systems: Backpressure, Quotas, and Workload Isolation6 min read
  11. 11Tool Sprawl, Routers, and Specialist Agents5 min read
  12. 12Evals: The Test Harness Around a Stochastic Application6 min read
  13. 13Ablation, Variance, and Adaptive Sampling5 min read
  14. 14Production Observability: From Traces to Better Agents6 min read
  15. 15The Production Agent Vocabulary Sheet7 min read
Teal conversation bubbles connect through a layered glass memory core to evaluation checksOpenAI
OpenAI

Practice · Runnable chatbot lab

Building an OpenAI Chatbot

Build and debug a small support chatbot in six chapters: retrieval, the Responses API, evals, traces, and explicit state. Follow the existing TypeScript and Python companion lab.

6 chapters40 min total
Chapter outline 6 chapters
  1. 01Start with a Failing Chatbot6 min read
  2. 02Fix Retrieval and Conversation History5 min read
  3. 03Connect the Responses API7 min read
  4. 04Debug with Evals and Local Traces6 min read
  5. 05Make Conversation State Explicit9 min read
  6. 06Read Results Honestly and Extend the Lab7 min read

OpenAI and Databricks identify editorial topics. PFP Labs is not affiliated with or endorsed by either company.