General1 min read

AI Engineering from zero to production

Each stage has a question, a set of notes, and a small exercise. Do not skip the exercises: agent engineering is learned by observing loops and failure modes, not only...

Status
evergreen
Updated
Topics
ai-engineering · curriculum · learning-path

AI Engineering from zero to production

The gist This curriculum teaches AI engineering as a hands-on craft. It starts with model fundamentals and moves through agents, safety, and production systems. Each unit pairs reading with a practical exercise, because real skill comes from building. You need basic Python and an API key. No ML background required.


Unit 1 — Models, inference, and hardware (~8–10h)#

Read What is an LLM?, Context windows and inference, Local AI hardware and inference, and Structured outputs and tool calling.

Exercise: estimate the memory needs of a 14B and 32B model at two quantizations, then compare free-text output with a strict JSON schema.

Skip if: You already know VRAM math and quantization trade-offs well; jump to Unit 2.

Unit 2 — Inference engineering and serving (~8–10h)#

Read Inference Engines and Serving, KV Cache and Long-Context Costs, Test-Time Compute and Reasoning Models, and revisit Local AI hardware and inference.

Exercise: size the KV cache for a 70B model at 128K context and for a quantized 8B model at 32K on a 12 GB GPU. Then run one prompt through a local engine (llama.cpp or Ollama) and one hosted API; record time to first token, tokens per second, and cost per 100K tokens. Add an easy and a hard question and route them to different effort levels.

Skip if: You only consume hosted APIs and never serve models; revisit when you pick a serving stack or budget long-context costs.

Unit 3 — Instructions and capabilities (~10–12h)#

Read Prompting for agents, Project initialization and instruction files, Behavior and communication controls, Skills, tools, and capability management, and Model Context Protocol (MCP). Use Agent task template.

Exercise: initialize a small project with a PRD, repository instruction file, and behavior/style profile; then design one typed read-only tool and one skill that teaches when to use it, stating permissions, effort level, output contract, and stop conditions.

Unit 4 — Context, retrieval, and memory (~10–12h)#

Read Context engineering, Large project navigation and context scaling, Retrieval-augmented generation (RAG), and Memory and Skills. Use Context checklist and RAG design worksheet.

Exercise: build a one-page project map and targeted context packet, then create a tiny retrieval set, inspect source coverage and a wrong chunk, and decide whether each durable item belongs in RAG, memory, or a skill.

Unit 5 — Agents and execution (~10–12h)#

Read What is an agent?, Agent harness, Planning, state, and persistence, Sandboxing infrastructure, and Computer-use and browser agents.

Exercise: implement or diagram observe → decide → act → observe around a read-only calculator, then add an approval gate and a disposable execution boundary.

Unit 6 — Multimodality (~8–10h)#

Read Voice and audio agents and Vision and multimodal input engineering.

Exercise: map a voice or screenshot task into capture, interpretation, verification, and action; mark where noisy input must become a confirmation.

Skip if: Your agents are text-only and will remain so; voice and vision can be deferred.

Unit 7 — Workflows and agent teams (~10–12h)#

Read Workflow patterns, Workflows and orchestration, Multi-agent systems, and Agent democracies and societies. Use Mode and topology selector.

Exercise: express one task as a deterministic workflow, one bounded agent loop, and a supervisor-plus-specialists team; explain why the simplest adequate version wins.

Unit 8 — Protocols and ecosystem (~8–10h)#

Read Agent protocol family and Agent tool landscape — 2026 snapshot.

Exercise: classify an integration as model, tool, skill, MCP server, agent, client, protocol, or orchestration runtime; identify the identity and permission boundary.

Skip if: You are building a single-agent system without external tool servers; revisit when adding integrations.

Unit 9 — Resource engineering (~8–10h)#

Read Local models, subscriptions, APIs, and hybrid designs and Latency and cost engineering.

Exercise: give an agent a token, tool-call, runtime, subagent, and dollar budget; make a routing rule that sends easy work to cheaper execution.

Skip if: You are prototyping on a single API key with no cost concerns yet; return before going to production.

Unit 10 — Evaluation, operations, and governance (~10–12h)#

Read Evaluation engineering, Observability, Deployment and AgentOps, Security, jailbreaks, and prompt injection, and Human oversight and trust engineering.

Exercise: create five trajectory tests, one prompt-injection test, a trace schema, a staged rollout, and a human approval policy for one consequential action.

Unit 11 — Long-horizon tasks and reliability (~10–12h)#

Read Long-Horizon Tasks and Failure Modes, Long-Horizon Evaluation and Benchmarks, Planning, state, and persistence, Workflows and orchestration, and Long-Horizon Task Review.

Exercise: plan a 20-step task with a written goal, success criteria, checkpoint state, and a compaction schedule. Run it with verification gates, grade the trajectory rather than only the final answer, and attribute any failure to planning, memory, tooling, or environment.

Unit 12 — Adaptation and capstone (~12–15h)#

Read Fine-tuning decision framework, then use Staged learning projects, Agent pattern catalog, and AI Engineering template library.

Build a bounded research or automation agent with evidence, structured outputs, capability scoping, a disposable sandbox, approvals, traces, evaluation cases, cost limits, and a written rollback/incident response plan. Use the template library to document each artifact.



← AI_Home · Home · Full Table of Contents →

From my vault

AI-Engineering/00 Start Here/AI Engineering Curriculum