Architecting Generative & Agentic AI Systems at Scale
45 core pages · 10 advanced chapters · six modules
Follow model representations, retrieval, bounded agents, multi-agent coordination, serving and enterprise operation through a complete sequential course.
Trace a permitted question from model input through retrieved evidence, bounded actions and serving capacity. Use the final capstone to explain failure recovery, acceptance evidence and what would change your design.
Choose a guided path
Start with GenAI Foundations or its placement check. Each path includes the course prerequisites for its selected chapters. Paths share chapters, so completed reading counts wherever it belongs.
0 of 55 chapters complete; 0 of 4 assessments reviewed
Progress is saved in this browser when storage is available. It does not sync across devices.
Application engineer24 chapters
Choose a model boundary, define supported outputs and evaluate an application release.
~9 h 4 min including chapter practice. Estimates sum the chapter estimates; actual study time varies.
Write a decision before opening the explanation. These are hypothetical design exercises with self-reported progress, not graded examinations or certification.
Design a supported multimodal assistant
Hypothetical scenario. Northwind wants supplier recommendations from policy documents and voice notes. The assistant drafts a recommendation but cannot place an order. A missing spoken identifier must remain an unresolved evidence issue.
Define accepted, clarified and refused outcomes, including source support and the action boundary.
Choose text, visual and audio transformations while preserving the original evidence identity.
Fit the complete request allowance and explain what changes when another evidence field is added.
Choose an 8,000-token allowance: 800 instruction + 200 question + 4,200 evidence + 1,000 history + 1,800 output = 8,000. Adding 200 tokens of source metadata gives 8,200, exceeding the allowance by 200.
Compare your design with the explanation
Keep original source regions and audio intervals so a reviewer can investigate extraction or transcription errors. A model-delivery choice does not establish that the resulting recommendation is supported.
Reduce or restructure 200 tokens of optional context, or choose a different permitted allowance. Do not silently drop required authority, evidence conditions or the output bound. Recheck whether the reduced evidence still supports the recommendation.
Compare the complete application on independent cases, including missing identifiers and unsupported recommendations. The executor must retain the no-order boundary even if a model proposes an order.
Hypothetical scenario. Northwind approves a specific document revision. The document changes before execution, and a later write attempt times out without a recorded result. An asynchronous completion then arrives after cancellation.
Bind approval to the proposal and current resource revision.
Distinguish a proposed, submitted, confirmed and unresolved effect.
Decide how a late event affects task state and account for nested retries.
Choose three branches with two application attempts and two transport attempts each: 3 × 2 × 2 = 12 possible attempts. Reserve four reconciliation operations: 12 + 4 = 16. From a 40-operation task allowance, 40 − 16 = 24 remain; this accounting does not authorize any of them.
Compare your design with the explanation
The changed revision invalidates an approval that covered only the earlier proposal. Obtain the required fresh decision rather than treating a saved approval as permanent authority.
Reconcile the original operation using its identity and the target service contract before issuing another effect. A checkpoint of intent and a timeout do not establish that the write was absent.
Record the late completion as evidence without automatically reviving a canceled workflow. Apply the current state-transition and compensation policy. Keep one task-level retry budget instead of letting layers multiply work invisibly.
Hypothetical scenario. Northwind trains an adapter on reviewed demonstrations. Overall accepted outcomes rise, but rare escalation cases regress. The same release also changes the embedding encoder while retaining the previous passage index.
Decide whether the failure belongs to data, objective, representation compatibility or runtime authority.
Compare the rare-category denominator with the overall result.
Account for a selected low-rank update without treating its size as proof of quality.
Choose 1,000 cases: baseline accepted 800/1,000 = 80%; candidate 850/1,000 = 85%. In 20 rare cases, baseline accepts 18/20 = 90% and candidate 12/20 = 60%. A selected 1,024 × 1,024 matrix has 1,048,576 entries; rank-four factors have 2 × 4 × 1,024 = 8,192, or 0.78125% of that matrix.
Compare your design with the explanation
Inspect paired rare-case outcomes: the accepted count falls by six even though the overall count rises. Keep those task consequences visible, repair supervision or the intervention where evidence supports it, and preserve an independent final comparison.
Evaluate a compatible query/document representation and build a versioned index when needed. Equal vector dimensions do not justify mixing arbitrary encoder versions.
The parameter calculation describes one adapted matrix, not complete training memory or application competence. Validate the effective base/adapter/runtime combination and retain authorization outside learned tool proposals.
Hypothetical scenario. Northwind loses its primary model-serving group. A secondary is healthy but already busy. The fallback exceeds the remaining deadline, and a semantic cache candidate depends on a withdrawn policy. Approval evidence names an older application release.
Compute spare capacity and the remaining deadline before dispatching work.
Decide whether cached or disconnected evidence satisfies authority and freshness.
Name the effective release and evidence that must be refreshed before restoring the capability.
Choose secondary capacity 130 requests/s with 90 already in use: 130 − 90 = 40 spare. Absorbing 100 requests/s leaves 100 − 40 = 60 requests/s without capacity. A 5,000 ms deadline minus 1,000 queue, 800 evidence and 2,200 primary work leaves 1,000 ms; a 1,300 ms fallback does not fit.
Compare your design with the explanation
Admit only work the complete ready serving group can accept within the task contract; reject, defer or use an explicit degraded outcome for the remaining demand. A healthy region does not create spare capacity.
Reject the known-stale cache candidate and preserve source and caller checks. A snapshot-based service can answer only within its declared accepted evidence and freshness scope.
Bind the decision to model, prompt, evidence, tools and policy identities. Refresh the affected evaluations and authority evidence, inspect attempt and accepted-task economics, and record unresolved conditions rather than issuing a blanket compliance assurance.
The released course is the starting point. These 7 subject areas connect it to deeper study. Every module links to reviewed chapters, including shared explanations where topics overlap.
Choose a subject to see its modules. Existing chapters keep their place in the core sequence, and can also support several learning goals.
Model foundations and intelligent applications
Explain model behavior and define an application contract before choosing an architecture.
Complete the core checkpoints before attempting an advanced subject. Evaluation, authority and cost remain part of each design decision; their dedicated modules provide deeper treatment.
Concept prerequisite reference
Requests, context, and output contracts
Explain the difference between a prompt, a context window, and a response.
Choose an output contract and describe how invalid output is handled.
Model mechanics and inference
Trace how token representations become attention outputs.
Distinguish model weights, attention work, and cached state when reasoning about memory.
Evaluation and experimental reasoning
Define a task-specific success criterion and a baseline.
Explain what a benchmark result does and does not establish.
Permissions, threats, and data boundaries
Trace which identity authorizes each retrieval and tool action.
Identify a threat, a control, and the residual risk that remains.
Retrieval and knowledge systems
Trace ingestion, retrieval, ranking, and answer generation separately.
Diagnose whether missing evidence or answer generation caused a failure.
Tools, state, and bounded autonomy
Decide whether a fixed workflow or an agent loop fits a task.
Define a stopping condition, approval boundary, and recovery strategy.
Reliable operation and cost
Build a request budget that includes latency, retries, and cost.
Explain how an overloaded or unavailable dependency changes system behavior.
Adaptation, training, and research
Compare retrieval, prompting, and parameter adaptation for a stated constraint.
Identify the baseline, data assumptions, and limits of a training experiment.