The Roadmap

Twelve weeks,
one real product

The first five weeks cover tools, workflows, harnesses, and evals. In the next seven, you apply them to a coding agent. Start with the public exercises or follow the full build in the live mentorship.

Part I · Weeks 1–5

Foundations

The primitives of modern AI engineering: the agent loop, workflow patterns, a production harness, background agents, and evaluation. Five weeks that most courses never reach.

Week 1~5 hours, hands-on

Your First Agent

The loop that thinks

Build a general-purpose AI agent from scratch in nine parts — from a single tool call to a complete agent with evals, file, web and shell tools, context management and human approval. No frameworks.

The agent loop from scratchTool calling & function callsStructured outputsStreaming basicsSingle & multi-turn evals
🛠 You ship: A working agent that reasons and calls tools
Week 2~5 hours, hands-on

Agent Workflows

Pick the right pattern

Not every problem needs an agent. From one LLM call to many agents: prompt chaining, routing, parallelization, ReAct, plan-and-execute, reflection, CodeAct, and five multi-agent patterns — each one running, so you can see who decides the next step and what it costs.

Workflows vs agentsPrompt chaining · Routing · ParallelizationReAct · Plan & execute · Reflection · CodeActMulti-agent patternsEvaluating agents
🛠 You ship: 13 workflow patterns you can run, watch and compare
Week 3~6 hours, hands-on

Harness Engineering

Make it survive production

Build the layer that makes an agent survive production: durable execution that shrugs off crashes, a sandbox for model-written code, flat memory, least-privilege routing, parallel supervision, and human approval that can wait three days.

Durable execution & crash recoverySandboxed code executionFlat memoryRouting & handoffsParallel supervision
🛠 You ship: A runtime that runs any agent reliably
Week 4~4 hours, hands-on

Background Agents

Agents that work while you sleep

A chat agent stops when you close the tab. A background agent is started by an event, survives crashes, waits for the world, asks a person before the risky action, and never does the same thing twice. Built in six steps of plain Python on Inngest.

Event-driven agent runsDurable steps with InngestWaiting for eventsHuman approvalIdempotent retries
🛠 You ship: An incident agent you can leave running
Week 5~10 hours, hands-on

Evals & Engineering Discipline

Make it good, prove it

Build a diagram-design agent, put real evals around it, then make it measurably better — context engineering, sharper tools, RAG, richer output, human approval, and a data flywheel that turns every correction into a test.

Golden datasets & scorersContext engineeringRAG from scratchGenerative UIHuman-in-the-loop
🛠 You ship: An agent you can measure and improve
Part II · Weeks 6–12

Build the Clone

One subsystem per week. Each week your tool — mycode — gains a real capability, and by Week 12 it reads codebases, edits files, plans, remembers, previews its work, traces itself, and orchestrates a team of sub-agents.

Week 6~8 hours, hands-on

The Chat Interface & Tools

The product begins

The capstone begins. Build a streaming terminal REPL with slash commands, safe interrupts and a live cost meter, then give it the six tools that make a coding agent — read, write, edit, bash, glob, grep — and the permission system that makes it safe to live with.

Streaming terminal REPLSlash commands & safe interruptsA live cost meterRead · Write · Edit · Bash · Glob · GrepThe permission system
🛠 You ship: mycode v0.1 — a streaming coding agent that edits your files safely
Week 7~6 hours, hands-on

Context & Prompt Engineering

Own the context window

The highest-leverage week of the course. Assemble the system prompt, read project rules from an AGENTS.md the agent discovers itself, and survive long conversations by compacting without losing what matters.

Assembling the system promptAGENTS.md project memoryToken budgetsCompaction for long sessions
🛠 You ship: An agent that reads your project's rules
Week 8~6 hours, hands-on

RAG + Vector Databases

Give the agent a map

Grep finds exact strings; it cannot answer "where do we handle rate limiting?" when the code says throttle. Build a vector database from scratch — chunking, embeddings, cosine similarity, incremental re-indexing — and wire it in as a tool.

Chunking strategiesEmbeddingsA vector store from scratchIncremental indexingGrounded codebase Q&A
🛠 You ship: Semantic search over any codebase
Week 9~8 hours, hands-on

Planning & Memory

Think before you act, never lose your place

An agent with tools but no plan overreaches on some tasks and quits early on others, and forgets everything when the terminal closes. Add plan mode, a todo list the agent maintains, a harness-owned definition of done, resumable sessions, persistent memory and a clean handoff file.

Plan modeTodo lists the agent maintainsFeature lists & maker/checkerResumable sessionsPersistent memory & handoffs
🛠 You ship: An agent that plans, executes, and remembers across days
Week 10~6 hours, hands-on

Artifacts, Preview & Sandbox

See it run, safely

Add artifact rendering and a live-preview server so generated pages refresh as the agent edits them, a background-task runner for long jobs, and a real OS-enforced sandbox so model-written code cannot touch what it should not.

Artifact renderingA live-preview serverHardened secure sandboxBackground tasks
🛠 You ship: Live previews from a locked-down sandbox
Week 11~6 hours, hands-on

Evals, Tracing & Reliability

Trust, but verify

Add full request tracing, cost and latency observability, an eval suite for your own agent, and the reliability patterns that let it recover from its own mistakes.

Full request tracingCost & latency observabilityAn eval suite for your agentReliability & self-healing
🛠 You ship: An agent you can debug and trust
Week 12~6 hours, hands-on

Multi-Agent Orchestration

A team of agents

Sub-agents, parallel orchestration and small focused agents — then final capstone assembly. By Friday you have a complete AI coding agent you built yourself.

Sub-agents & the Task toolParallel orchestrationSmall focused agentsCapstone assembly & showcase
🛠 You ship: Your finished Claude Code clone — in your portfolio

By Friday of Week 12, you don't have notes. You have a tool.

A complete, working AI coding agent you built from scratch — and the deep understanding to explain every line of it.

See how live mentorship works →