Unit 1 of 10 · about 4 hours · explain
End-to-end architecture and ownership of every versioned artifact
The parts of agentlab now share one user workflow. Integration makes their contracts meet: an index, policy or prompt change can invalidate an otherwise correct component.
You'll be able to
- Trace one user task across the request path and the control plane, naming the state each component owns.
- Assign an owner, identity, promotion check, retention rule and reversal path to every versioned artifact.
- Explain why a code rollback alone cannot restore a compatible retrieval and workflow system.
Covers
Read
In this order, only the parts listed
0 of 3 done
- Checkpoint: ownership and designAI Engineering and Agentic Systems Checkpoint
Explain and design: all four clauses; Pass condition: the integrated modification and preserved boundaries
- Retrieval artifact identitiesEvidence-Grounded Retrieval System
Architecture constraints; Milestone B - Instrumentation; Correctness requirements
- Authoritative workflow stateDurable Tool-Using Workflow
Core requirements; Architecture constraints; Milestone B - Instrumentation
Audit your existing workflow against these clauses. Do not start either project again or adopt its original scale.
Focus on
- Separate request execution from changes to prompts, model checkpoints, indexes, schemas and policy. Mark where a request reads a control-plane decision.
- Inventory prompts, models, corpus and indexes, tool schemas, workflow state, memory, permissions, evaluations, traces and user data. An owner must also own compatibility and deletion.
- Bind the versions actually used to each task record. A mutable deployment label cannot identify a past result.
- The Systems unit on failure domains and safe rollout supplies the rollout discipline. Here, add the AI artifacts and persisted state that must remain compatible.
Common mistakes · 3
- Calling conversation context authoritative workflow state. A model summary can omit an approval or an already committed effect.
- Reverting code while retaining an incompatible schema or embedding index. Reversal needs a compatibility check, not just a previous commit.
- Restoring an old index and thereby restoring deleted or revoked evidence. Current deletion and authorization rules still apply.
Try it yourself
Closed-book, before checking anything
agentlab. Put every durable write and trust transition on the path. Build an artifact table with the owning component, immutable identity, readers, promotion test, deletion rule and safe rollback target. Walk a prompt-only rollback and an index rollback; explain which other versions and current permissions each must preserve. Index rollback is an addition to the retrieval project's requirements.Quiz yourself
Answer first, then mark it. Missed ones go to Review.
0 got · 0 missed
1.A prompt is versioned but its model alias moves. Can you identify the tested system?Answer
Not from those two labels. Retain the resolved model checkpoint, adapter settings, rendered context and the other artifact identities used by the run.
2.Is publishing a new policy a request-path operation?Answer
Publishing is a control-plane change. Checking the selected policy against a particular user, resource and action is on the request path. Record which policy was checked.
3.Why can a healthy old index be an unsafe rollback target?Answer
It may contain deleted documents, stale permissions or embeddings incompatible with the query encoder. Health does not establish those contracts.
You're done when
You can trace one complete task and reverse one artifact change without leaving an unnamed owner, durable write or compatibility assumption.
Only when you can do this without notes.
Leads to
Notes
Resources · 3 for this unit, 7 more in the section
- AI Engineering and Agentic Systems CheckpointRoadmap-Final · primary
Execute the complete checkpoint now: explain ownership, derive budgets and contracts, pass versioned evaluation, prove tenant isolation and replay safety, red-team the system, measure the joint frontier, then reconstruct and modify a production-like application.
- Evidence-Grounded Retrieval SystemRoadmap-Final · required
Close the deferred clauses: Milestones B (instrumentation), D (injected failure attribution), E (paired optimization) and F (blinded query and delete campaign with a clean rebuild), the correctness requirements and the rubric. Index rollback and an honest negative result are this track's additions, not project headings.
- Durable Tool-Using WorkflowRoadmap-Final · required
Close Milestones B, D, E and F and the correctness requirements: crash-window replay, approval bound to the exact effect, fencing, ambiguous outcomes surfaced instead of claimed exactly-once, the matched deterministic, routed and agentic comparison, and clean reproduction. Finish the existing system rather than rebuilding it; delegation stays optional.
Also in this section
- LLM (command-line tool and library), pinnedSimon Willison · required
At commit 2465dfc (version 0.36), trace the path from
llm.cli:clithrough the OpenAI-compatible adapter inllm/default_plugins/openai_models.pytollm/models.py,llm/logs.pyandllm/migrations.py. Runtests/test_openai_endpoint.py,test_migrate.py,test_pause_resume.pyandtest_tools.pyon CPU, pointllm openai endpointat your local server, then make one bounded, tested change such as versioned usage normalization or a tool-chain budget, with a migration and a secret-free replay fixture. - AI Product Architecture Case StudiesEngineering Handbook · support
Pick two of case studies 8.30 to 8.33 (ChatGPT, Enterprise RAG, Coding Agent, Perplexity Search; slugs
chatgpt-conversational-ai,enterprise-rag,coding-agent,perplexity-ai-search), reconstruct each decomposition, identify its hidden assumptions and compare it with yours. Recompute the capacity tables before trusting a number: several are wrong (8.31's per-tenant index cost, 8.33's daily query volume). - AI and ML System Design HandbookEngineering Handbook · reference
Part 9 chapters 0 to 8 are overview-depth architecture notes for serving, RAG, vector search, agents, evaluation, LLMOps, cost and safety. Use them as a checklist for omissions in the integrated design; serving (00, 02) belongs to the Inference track.
- Managing Incidents and Incident ResponseGoogle SRE · support
Read SRE book Chapter 14 (elements of incident management, when to declare an incident) and Workbook Chapter 9 Incident Response with its case studies. Write the incident procedure for the integrated system and run it once against an injected fault.
- AI Agents in Depth - Integration ReviewBojie Li · support
Use 5.1.4 harness engineering, 7.9 and 7.10 and Chapter 9 (9.3.2 safety boundaries for continual evolution, Experiment 9-6 canary and rollback) as a final review. The offline
chapter9/harness-safety-gatetests (no API key) show a release gate that rejects a seeded bad candidate. - The Hitchhiker's Guide to Agentic AI - ProductionHaggai Roitman · support
Use v3 Chapter 27 (27.5 testing, 27.6 observability, 27.7 deployment) and 28.7 human-in-the-loop UI to audit the integrated system. Verify claims against official documentation.
- AI Engineering Handbook - AI Product EngineeringHandbook Academy · support
Use Part 11 to connect evaluation and system evidence to product decisions, feedback and iteration. Finish with a decision memo that distinguishes model capability, orchestration, retrieval, tool, evaluator and user-experience effects.