The Roadmap: From Web Developer to AI Product Engineer

Start here. This page is the roadmap: what to read, in what order, and how you know you're ready for the next step.

The map

Stage 1, foundations, about 2 weeks: how LLMs work, and ML for anomaly detection. Outcome: I understand it. Stage 2, builder track, about 14 weeks: build an agent by hand; streaming, MCP, memory, RAG; multi-agent, guardrails, evals; production AI platform. Outcome: I can build it. Stage 3, AI in SaaS, about 7 weeks: patterns catalog, observability, security, productivity (M365), developer tools, support and CRM, fraud, data and more. Outcome: I can design it. Stage 4, capstone, about 4 to 6 weeks: build a mini AI SRE agent that detects, investigates, guards and evaluates. Outcome: I can prove it works.
The map · Four stages, about 6–7 months. Read it as: each stage builds on the one before. The quote under each column is what you should be able to say when you finish it.

Stage 1 — Foundations (about 2 weeks)

Learn the two kinds of AI you'll combine throughout the guide.

# Read You'll learn Time
1 How LLMs work Tokens, context, cost, embeddings, when to prompt vs. RAG vs. fine-tune, what an agent is 1 week
2 ML basics for anomaly detection The non-LLM part: baselines, seasonality, z-scores, Isolation Forest, precision and recall 1 week

You're ready for Stage 2 when you can:

  • ☐ Estimate what an LLM feature will cost per day from token counts.
  • ☐ Explain why "99% accurate" can still mean most alerts are false alarms.
  • ☐ Say why an LLM should not be the thing that scans raw metrics for anomalies.

Not comfortable in Python or Go yet? The Python primer and Go primer are here for that. Do them as needed, not up front.

Stage 2 — Builder track (about 14 weeks)

Build agents yourself, from the raw API up. This is where "I understand it" becomes "I can build it". The main project is in Go; the production chapter uses Python.

# Read You'll build Time
0 Setup API key, budget limits, local tools 1 evening
1 Phase 1 — Foundations An agent loop by hand, no framework. The most important project in the guide. 3 weeks
2 Phase 2 — Chat agents Streaming, your own MCP server, memory, RAG with citations 6 weeks
3 Phase 3 — Multi-agent and guardrails Orchestrator/workers, structured output, prompt-injection defense, evals 4 weeks
4 Production AI platform What a SaaS company builds around its AI features: gateway, tenancy, permissions, observability, cost 1–2 weeks

The week-by-week plan is in Builder Track Study Plan: Chat and Voice Agents in Production. Its Phase 4 (voice agents) is optional. Do it only if you want to work on voice products.

You're ready for Stage 3 when you can:

  • ☐ Explain what happens on the wire between "the model wants a tool" and "the model sees the result".
  • ☐ Show a test where a prompt injection inside a retrieved document fails to trigger a tool call.
  • ☐ Run an eval suite in one command and name one regression it caught.
  • ☐ Explain how a multi-tenant SaaS keeps one customer's data out of another customer's AI answers.

Stage 3 — AI in SaaS (about 7 weeks)

This is AI system design: how real companies put AI into their products, industry by industry. Every domain chapter has the same structure, so after the first one you'll know where everything is:

1. The job before AI        who the user is, where their time goes
2. The three layers         statistics/ML  |  LLM features  |  agents
3. Reference architecture   one diagram, box by box
4. Product teardowns        3-4 real products: published facts vs. informed guesses
5. Patterns you'll reuse
6. What goes wrong
7. How you'd measure it
8. Build it yourself        a weekend-sized project
# Read Products covered Time
0 Patterns catalog — skim first, reread at the end 16 patterns shared across all domains 2 hrs + 2 hrs
1 Observability Datadog, Dynatrace, Grafana, New Relic, AI SRE startups 1 week
2 Security and threat detection Microsoft Security Copilot, CrowdStrike Charlotte AI, Google SecOps, Palo Alto, SentinelOne 1 week
3 Productivity copilots Microsoft 365 Copilot, Glean, Google Workspace, Notion, Slack 1 week
4 Developer tools GitHub Copilot, Cursor, Claude Code, AI code review 1 week
5 Customer support and CRM Intercom Fin, Salesforce Agentforce, Zendesk, Sierra 1 week
6 Fraud, data analytics and more Stripe Radar, text-to-SQL, e-commerce, HR, legal, finance 1 week

How to study a chapter: read it, do its "Build it yourself" project (keep it small), then answer its "Check yourself" questions out loud without looking. Then explain one product from the chapter to a friend, or to a blank page, in 10 minutes using the seven steps in Patterns Catalog: Using the catalog in a design interview.

You're ready for Stage 4 when you can:

  • ☐ For any product, split its AI into the three layers and say why each part belongs where it does.
  • ☐ Name the four patterns that appear in almost every domain (P1, P13, P14, P15 in the catalog).
  • ☐ Explain one real prompt-injection incident and the design choice that would have limited it.

Stage 4 — Capstone (about 4–6 weeks)

Read You'll build
Capstone: a mini AI SRE agent A system that detects incidents with statistics, investigates with an agent over MCP tools, resists log injection, keeps a human in charge of actions, and is scored by an eval suite with known answers

Milestones 1–4 are the core. Milestones 5–8 make it portfolio-ready. Capstone: How to talk about this project shows how to write it up.

Stage 5 — Expert track

Stages 1–4 make you able to build and design AI features. Stage 5 is for leading them: one deep guide per skill, each at the level where you can own the decision in a review. The first guide is evals engineering, because every other decision (model choice, prompt change, launch) depends on it. It runs over five pages, about 3–4 weeks.

Read You'll be able to
Evals 1 — Why, error analysis, datasets Turn 100 real traces into a failure taxonomy and an eval plan, and build datasets with different jobs
Evals 2 — Graders, judges, statistics Pick the cheapest grader that sees a failure, validate an LLM judge (TPR/TNR), and put error bars on every score
Evals 3 — RAG and agents Score retrieval and generation separately, grade agents on end state, and report pass^k
Evals 4 — Online, CI/CD, safety Run judges on production traffic, design A/B tests and CI gates, and measure attacks as two numbers
Evals 5 — Leading with evals + build it Write a launch scorecard, run a model migration, and build a working eval harness with a CI gate

The second guide is AI product management: deciding what to build, how it should behave when the model is wrong, and how to show it pays off. Three pages, about 2 weeks.

Read You'll be able to
Product 1 — Choosing problems, specs Score candidate features with an AI-fit scorecard and hard gates, and write a behavior contract with a failure budget
Product 2 — UX, autonomy, trust Design citations, uncertainty bands and undo, set autonomy levels with step-down rules, and measure trust by behavior
Product 3 — Metrics, flywheel, roadmap Build a metric tree from evals to cost per ticket, make feedback improve the system, and set kill criteria before launch

The third guide is AI economics and strategy: what a feature costs and earns per task, the sourcing decisions that set your margin, and how to price AI features. Three pages, about 2 weeks.

Read You'll be able to
Economics 1 — Cost, value, levers Work out the full cost and value of one task, see when saved time becomes money, and pull cost levers in order of payoff
Economics 2 — Routing, sourcing, lock-in Decide when model routing pays, compare build, buy and partner on total cost, and plan for model retirements
Economics 3 — Pricing, strategy, build it Choose a price metric that protects margin, place long-term bets, and build a cost model and one-page business case

More expert guides are planned in this stage: retrieval in depth, inference and serving internals, AI governance, AI security and red-teaming, fine-tuning, and leading AI in a company.

Beginner to expert: how to tell where you are

Level You can... Where in this guide
Beginner Explain tokens, context, embeddings, RAG and what makes something an agent. Call the API. Stage 1
Practitioner Build a tool-using agent with streaming, RAG, MCP, guardrails and evals, and state its cost. Stage 2
Advanced Design an AI feature for a real SaaS domain: layers, grounding, permissions, threats, metrics. Critique real products. Stage 3
Expert Make trade-offs with measurements. Show a model swap, a guardrail or a design change moving your eval numbers. Explain failures and how you fixed them. Stage 4, then Stage 5

Expertise after this is mostly reps and staying current. The next section covers that.

Staying current (ongoing, ~1 hour a week)

This field changes monthly. While this guide was being researched (September 2026), several product names had already changed. Datadog's "Bits AI SRE" is now marketed as Bits Investigation, GitHub's "coding agent" is now the "Copilot cloud agent", and "Microsoft 365 Copilot" is now "Microsoft Copilot". Treat product names in any guide, this one included, as a snapshot.

A simple routine:

  • Weekly: read the engineering blog of one company from Stage 3, and look for the three layers and the patterns.
  • Monthly: check the release notes of the model provider and the agent framework you use.
  • Quarterly: redo one "Build it yourself" project with whatever changed, and rerun its evals.
  • Always: when a vendor quotes a number ("saves 40 hours a week"), ask who measured it and how. The chapters mark vendor-reported numbers for this reason.

Short on time? The 8-week fast path

If you need to be useful quickly, for example before an interview loop or a new role:

Week 1    How LLMs Work, for Web Developers
Week 2    ML Basics for Anomaly Detection (skip Production realities and Build it yourself)
Week 3-4  Phase 1: Foundations (Weeks 1–3)  (build the agent loop by hand - don't skip)
Week 5    The Patterns Catalog: What Every AI SaaS Product Has in Common + AI in Observability
Week 6    AI in Security and Threat Detection
Week 7-8  Capstone: Build a Mini AI SRE Agent, milestones 1-4 and 6

Then go back and fill in the builder track (Phases 2–3) and the remaining domain chapters.