From how LLMs work to production agent platforms: building, evaluating, pricing, and shipping AI in SaaS.
The Roadmap: From Web Developer to AI Product Engineer — What to read in what order: four stages from foundations to a capstone, an expert track on evals, product and economics, and how to tell you are ready for the next step. (9 min read)
How LLMs Work, for Web Developers — What happens when you call the API: next-token prediction, stateless requests, per-token cost, embeddings, the four ways to adapt a model, and what makes something an agent. (35 min read)
ML Basics for Anomaly Detection — The part that isn't an LLM: baselines, seasonality, z-scores, Isolation Forest and precision/recall, and why statistics detect while the LLM only explains. (36 min read)
Prerequisites and Setup — Everything to have working before week one: skills self-check, an API key with budget limits, Go, Python with uv, Docker, Postgres with pgvector and Claude tooling. (12 min read)
Phase 1: Foundations (Weeks 1–3) — The agent loop from first principles: workflow vs. agent, ReAct, the tool-use wire format byte by byte, raw API fluency, and a bare ReAct agent in Go with no framework. (33 min read)
Phase 2: Chat Agents, for Real (Weeks 4–9) — Everything around the loop that a real chat agent needs: a framework, streaming, MCP in both directions, memory that survives long conversations, and RAG with citations. (96 min read)
The Production AI Platform Underneath a SaaS — What a SaaS company builds once for every AI feature: an LLM gateway, multi-tenancy, permission-aware retrieval, privacy, observability, evals, rollout, cost and security. (29 min read)
AI in Observability — How monitoring went from a red graph to a root cause: statistics find the anomaly, an LLM explains it, and an AI SRE agent investigates the incident with ordinary tools. (27 min read)
AI in Security and Threat Detection — How SOC tools triage thousands of alerts a day with ML scoring, LLM explanations and evidence-gathering agents, and why a wrong all-clear costs far more than a false alarm. (25 min read)
AI in Productivity Suites: M365 Copilot and Friends — Copilots grounded in whatever the user can already see, and why permission-trimmed retrieval over messy sharing settings is both the spine and the main failure mode. (31 min read)
AI in Developer Tools — From autocomplete to agents that open pull requests: a coding agent is only as good as the test, build or lint loop it can run, and tools differ in context gathering and permissions. (33 min read)
AI in Customer Support and CRM — The first domain where agents were trusted to act, priced per resolved conversation, which forces vendors to build guardrails, escalation and evals into the product. (26 min read)
AI in Fraud, Data Analytics and Everything Else — Fraud scoring in under 100 ms stays classical ML while LLMs explain and agents investigate, then the same three-layer lens applied to data, e-commerce, HR, legal, marketing and finance. (28 min read)
Capstone: Build a Mini AI SRE Agent — One eight-milestone project that uses every stage: statistical detection, MCP tools, an investigator agent, guardrails against log injection, evals with known answers and cost tracking. (14 min read)
Evals 1: Why, Error Analysis, Datasets — An eval is a measurement instrument: start from error analysis on real traces, turn the failure taxonomy into an eval plan, and build datasets that each have one job. (39 min read)
Evals 3: Evaluating RAG and Agents — Score retrieval and generation separately, remember that faithfulness is not truth, grade agents on end state, and report pass^k because customer-facing agents must work every time. (20 min read)
Evals 4: Evals in Production: Online, CI/CD, Safety — Behavioural signals as free labels, judging sampled production traffic, A/B tests, three CI gates at three speeds, and attacks measured as two numbers. (32 min read)
Evals 5: Leading with Evals, and the Capstone Harness — Make evals change decisions: the launch scorecard, model migrations without guessing, who owns datasets and the platform, then build the whole harness with a CI gate. (29 min read)
AI Product 1: Probabilistic Products and Choosing Problems — An AI feature promises a distribution, not an output: score candidates as a task at an autonomy level, apply hard gates, and write a behavior contract with a failure budget. (42 min read)
AI Product 2: UX, Autonomy, and Trust — Make checking cheaper than redoing: citations, uncertainty bands and undo, an autonomy ladder with automatic step-downs, and trust measured by behaviour rather than surveys. (43 min read)
AI Economics 2: Routing, Build vs Buy, and Lock-in — When model routing actually pays, build versus buy versus partner on total cost, and what an abstraction layer really buys you against lock-in and model retirements. (44 min read)
AI Economics 3: Pricing, Strategy, and the Business Case — Seats, usage, credits or outcomes: choosing a price metric that survives the AI working, where durable moats lie as models get cheaper, and a cost model and business case. (36 min read)