A basics-to-advanced curriculum, written from running agentic systems commercially and from four production ML systems at delivery-network scale. Every number is traced to a primary source; where a claim is contested or vendor-reported, the lesson says so at the point it is made. Every lesson is calibrated to company stage, because the control set a seed team should skip is not the one a bank can.
Where this came from, and what you are choosing between.
The mechanism. Write it once and no framework is mysterious.
The shapes that recur, and the ones that stopped paying off.
Five workflow patterns, one agent loop, and a research catalogue where half the famous papers no longer hold up.
Most agent quality problems are tool design problems wearing a costume.
Seven real servers measured by asking them. One tool can cost four times another one tool, and you are the supply chain now.
The most common opening question in an agent interview, and the place where most production failures actually live.
Three worth knowing, one trap that costs an afternoon, and a defensible case for using none.
Five measurements you can take in an afternoon, run live against seven real repositories — because the README is marketing and the git history is not.
Everything in an agent except the model. The hard part is knowing what to take out.
Five shipping agents measured: 14 words to 1,526, and nothing appears in all of them. Most prompting advice was written for chat.
Context is a budget, not a container. A large window is a capacity spec, not a performance guarantee.
Four are from the cognitive-architecture literature, three are engineering. Confusing them is why most memory systems disappoint.
Measuring, breaking, hardening and shipping the thing.
You are grading a trajectory, not a response — and grading it k times, because consistency is the product.
Not because the model is not smart enough. Because of loop control, verification, and arithmetic.
Durable execution, idempotency, circuit breakers and cost engineering. None of it is about AI.
You cannot debug an agent from a log line. The unit of observation is the whole run.
Prefill, decode and the KV cache. Two models both called 7B, same card, 2.3x the concurrent users — measured from their own configs.
When one card is not enough: sharding, why ordinary load balancers are wrong for this traffic, and what cache-aware routing buys.
Seven levers in a fixed order. Four are free, and the cheap model is the last one.
A third of observed failures are agents talking past each other. Here is the narrow band where it still pays.
An LLM cannot reliably tell instructions from data. Everything else follows from that one sentence.
The same incident-triage agent with no framework, then CrewAI, then LangGraph. The comparison is the lesson.
The decisions that are yours alone, and how to defend them.
The decision written down before you start, plus how to read a vendor and how to run technical due diligence.
Who you hire first, what the org looks like at each stage, and why the ML-team shape is the wrong default.
Cost per transaction, gross margin under inference load, and pricing a product whose COGS moves with usage.
The autonomy ladder, explaining risk upward, and writing the kill criteria before you need them.