AI Engineering — full table of contents
Fast path: The Gist of It collects every content note's plain-English gist in this exact order.
Unit 1 — Models, inference, and local hardware (~8–10h)
Question: What can a model do, and what determines whether it can run well?
- LLMs and the model/application boundary
- Tokens, context windows, decoding, and inference
- Local AI hardware: VRAM, unified memory, bandwidth, quantization, and model fit
- Structured outputs and function calling
Outcome: estimate whether a workload fits a machine, and turn uncertain model output into validated program input.
Unit 2 — Inference engineering and long-context serving (~8–10h)
Question: What happens between your request and a model's tokens, and what does long context actually cost?
- Serving engines: prefill, decode, batching, and paged attention
- KV cache and long-context memory economics
- Test-time compute and reasoning models
- Hardware and inference constraints
Outcome: size memory for a serving workload, explain where latency goes, and route easy work to cheap/fast models and hard work to high-effort reasoning.
Unit 3 — Instructions and capabilities (~10–12h)
Question: How does a model receive a task and gain controlled ways to act?
- Prompting for agents
- Prompt template
- Project initialization: PRDs, repository instructions, and project context files
- Effort levels, writing style, and response contracts
- Tool calling
- Skills, tool discovery, and capability management
- Model Context Protocol
- ACP, A2A, AG-UI, and A2UI
Outcome: design a minimal, typed, permission-aware capability surface rather than a giant prompt with every tool preloaded.
Unit 4 — Knowledge, retrieval, memory, and context (~10–12h)
Question: What should the system know now, remember later, or retrieve on demand?
- Context engineering
- Large-project navigation and context scaling
- Context checklist
- RAG and retrieval
- RAG design worksheet
- Memory types and safeguards
Outcome: distinguish current facts (retrieval), durable facts (memory), and procedures (skills), while defending against stale or unsafe context.
Unit 5 — Single agents and safe execution (~10–12h)
Question: What turns a model call into a bounded, recoverable agent?
- Agent loops and stopping conditions
- Harness design
- Planning, checkpoints, and durable state
- Execution planes and sandboxing
- Process, container, gVisor, microVM, and VM trade-offs
- Computer-use and browser agents
Outcome: build an agent that can observe, act, recover, and stop without granting it ambient authority.
Unit 6 — Voice and multimodal agents (~8–10h)
Question: How do audio, images, and interfaces change the agent architecture?
Outcome: separate capture, interpretation, interaction, and action; select the right confirmation and isolation boundary for each.
Unit 7 — Workflows, orchestration, and teams (~10–12h)
Question: When should work be deterministic, agentic, parallel, or delegated?
- Workflow patterns
- Orchestration and durable control flow
- Multi-agent systems
- Debate, voting, reputation, and governance
- Agent pattern catalog
- Mode and topology selector
Outcome: choose the simplest topology that has measurable upside over one well-instrumented agent.
Unit 8 — Resource engineering (~8–10h)
Question: How do you make an agent responsive and economically bounded?
- Local, subscription, API, and hybrid deployment
- Latency, caching, routing, and cost budgets
- Hardware and inference constraints
Outcome: reason from a task’s quality target to model tier, tokens, calls, cacheable context, and resource budget.
Unit 9 — Evaluation, observability, and AgentOps (~10–12h)
Question: How do you prove an agent works, diagnose failures, and ship safer changes?
- Reliability foundations
- Evaluation engineering
- Logs, metrics, traces, and replay
- Deployment and AgentOps
- Evaluation and security review
Outcome: version the agent’s model, prompt, skills, tools, retrieval, policy, and tests; measure trajectories as well as final answers.
Unit 10 — Security, oversight, and adaptation (~10–12h)
Question: Who has authority, what can fail, and when should the model itself be adapted?
- Security and jailbreak resistance
- AI fingerprints and generated-text detection
- Defensive red-team labs
- Autonomy, approvals, and trust calibration
- Prompting vs RAG vs tools vs fine-tuning
Outcome: place approvals where errors are consequential and choose fine-tuning only for stable behavioral gaps.
Unit 11 — Long-horizon tasks and reliability (~10–12h)
Question: Why do agents fall apart on long tasks, and how do you keep a 50-step run honest?
- Long-horizon failure modes: compounding error, planning, and forgetting
- Long-horizon evaluation and benchmarks
- Planning, checkpoints, and durable state
- Long-horizon task review playbook
Outcome: run a long task with checkpoints, compaction, trajectory evals, and a release gate; diagnose failures by category.
Unit 12 — Capstone and continuing reference (~12–15h)
- Learning projects and capstone
- Tool landscape
- Glossary · Sources · Tool comparison index
- AI Engineering Atlas
- Template library
Outcome: deliver a bounded research or automation agent with evidence, sandboxing, structured outputs, approvals, traces, evals, and a rollback story.
Templates
The AI Engineering template library collects copyable templates for PRDs, repository instructions, plans, handoffs, style profiles, prompts, context packets, skills, tools, agents, workflows, evaluations, security reviews, operations, and adaptation decisions.