The research foundation for Venture Consulting: AI Foundations — seven parts spanning the history of programming, forward-deployed engineering, software architecture, AI systems, the methods of working with AI, the development of AI itself, and the question of whether SaaS survives the agent era. Compiled from five three-round recursive research programs; every chapter carries its sources and closes with implications for the course.
Where code came from, and where it is going: the sixty-year climb from machine code to agents, and every time someone declared programmers obsolete along the way.
Research compiled 2026-07-31. Method: 16 web searches across sub-eras; 14 substantive sources fetched and read, including primary accounts (Ritchie's C history, Alan Kay's Smalltalk HOPL paper, Rob Pike's Go design lecture, Guido van Rossum's Python timeline, Microsoft Research's LAMBDA announcement). Dates carrying weight were cross-checked across at least two sources.
The history of programming is a single repeating story told at ever-higher altitudes: humans keep buying productivity by paying with control, and the market keeps ruling that the trade was worth it.
In 1949 a programmer was a person who arranged binary machine instructions — or, on ENIAC, physically re-plugged cables. The first abstraction was almost embarrassingly small: David Wheeler's "Initial Orders" for Cambridge's EDSAC (1949) let programmers write mnemonic opcodes and decimal addresses instead of raw bits — a symbolic assembler and relocating loader in 41 instructions. Every era since has repeated that move at a larger scale: take something programmers do by hand, mechanize it, and accept that the machine's version of the low-level work will be slightly worse than an expert's — but available to vastly more people, at vastly higher speed.
The pattern crystallized with FORTRAN. When John Backus proposed a "formula translating system" to IBM in 1953, the objection was the one that recurs in every era, including ours: compiled code can never be as efficient as hand-crafted code. Backus's team answered it not with argument but with engineering — the first optimizing compiler (shipped April 1957 for the IBM 704) produced code "very nearly as fast as anything that could be crafted by hand." The priesthood objection collapsed, and scientists could suddenly write their own programs in something resembling algebra. Every rung of the ladder since has had to defeat the same efficiency objection the same way: LLM-generated code is currently living through its own 1955–57.
Within three years of FORTRAN, the two other great templates appeared. McCarthy's LISP (1958–60) established that a language could be built on a tiny mathematical core — and, almost by accident when Steve Russell hand-coded the eval function, that programs could be data, interpretable and manipulable by other programs. LISP also invented garbage collection, the idea that memory management is the machine's job, which took forty years to become mainstream orthodoxy. Grace Hopper's line of work (A-0 compiler, 1952; FLOW-MATIC, 1955–59; COBOL via CODASYL, 1959) established the third template: programming in English-like statements so that business people, not mathematicians, could read the code. Hopper was told "computers don't understand English." Her answer — that the point of notation is the human reader — is the direct intellectual ancestor of prompting an LLM.
The middle rungs of the ladder are about scale and structure. Dijkstra's 1968 "Go To Statement Considered Harmful" launched structured programming: deliberately removing expressive power (goto) to gain reliability — the first time the field accepted that a good abstraction is defined as much by what it forbids as what it allows. C (Ritchie, 1971–73, Bell Labs) found the enduring sweet spot: abstract enough to displace assembly, close enough to the metal to write an operating system — proven when the Unix kernel was rewritten in C in 1973, which made software portable across hardware for the first time at scale. Object orientation — born in Simula 67 (Dahl & Nygaard), radicalized in Kay's Smalltalk (1972) as "everything is an object, communicating by messages," then domesticated for the mainstream by C++ (1979/1983) and Java (1995) — was an abstraction over program organization rather than over the machine: a way for large teams to build large systems without drowning.
The 1990s added two rungs at once. Scripting languages (Perl 1987, Python 1991, JavaScript 1995) traded raw performance for developer speed, and the web made that trade irresistible — JavaScript, designed in ten days as glue, now runs on ~99% of websites. Managed runtimes (JVM 1995, .NET CLR 2002) moved memory management, safety checking, and even the final compilation step (JIT) into the platform, vindicating LISP's 1959 bet. Then the 2010s produced a correction wave — Go (2009, "language design in the service of software engineering," built because Google's C++ builds took 45 minutes), Rust (1.0 in 2015, memory safety without garbage collection via the borrow checker), TypeScript (2012, retrofitting types onto JavaScript at industrial scale). The lesson of the correction wave: the ladder is not a straight line up; mature eras re-import lower-level virtues (speed, safety, static checking) into high-level ergonomics.
And here is the part most curricula skip: the most successful programming model in history is not on the standard ladder at all. VisiCalc (Bricklin & Frankston, 1979) — a "magic blackboard" where changing one cell recalculates the sheet — was the killer app that turned the microcomputer into a business machine, sold ~a million copies, and provoked the IBM PC. Lotus 1-2-3 (1983) and then Excel (Mac 1985, Windows 1987) inherited the model. Spreadsheets are reactive, declarative, functional programming with instant feedback and no edit-compile-run loop — and Microsoft Research states flatly that Excel formulas are written by an order of magnitude more people than all C, C++, C#, Java, and Python programmers combined. In 2021, the LAMBDA function made Excel's formula language officially Turing-complete — Church's lambda calculus shipped to a billion desktops. No-code/low-code platforms (HyperCard 1987 → Visual Basic 1991 → Airtable/Bubble 2012 → "low-code" coined by Forrester 2014) are the same wager productized. LLM coding (Copilot 2021, ChatGPT 2022, agentic tools 2025) is the newest rung of the same wager: Karpathy's "the hottest new programming language is English" (2023) is Grace Hopper's claim, four abstraction layers later — and it faces exactly FORTRAN's 1955 objection (can generated code be trusted/efficient?) and exactly the spreadsheet's governance problem (what happens when everyone can program and no one reviews?). That framing — one ladder, one repeating trade, one recurring objection — is the teachable arc of this pillar.
Key people: John von Neumann, Maurice Wilkes, David Wheeler. Key artifacts: ENIAC (programmed by plugboard), the EDVAC report (stored-program concept), EDSAC (Cambridge, 1949).
Programming initially meant configuring hardware. The stored-program concept made instructions data in memory — the precondition for every abstraction that followed, because software could now manipulate software. On EDSAC, David Wheeler's Initial Orders (1949) let programs be punched in symbolic form with mnemonic opcodes and decimal addresses; Initial Orders 2 (Sept 1949) packed an assembler and relocating loader into 41 instructions (people.computing.clemson.edu/~mark/edsac.html; dcs.warwick.ac.uk/~edsac/Software/EdsacTG.pdf). Why it won: mnemonic symbols eliminated an entire class of transcription errors at essentially zero runtime cost. Traded away: nothing measurable — which is why it's the last "free" abstraction in the story; every later rung has a real bill.
Key people: David Wheeler, Roy Nutt, Alick Glennie, Grace Hopper. Key artifacts: SAP (Symbolic Assembly Program) for the IBM 704, written by Roy Nutt and distributed by the SHARE user group from 1956 (en.wikipedia.org/wiki/Symbolic_Assembly_Program); UK "autocodes" (from "automatic coding") as proto-high-level languages; Hopper's A-0 (1952), arguably the first compiler — she published the first compiler paper in 1952 and was initially disbelieved because "computers couldn't write their own programs" (cs.yale.edu/homes/tap/Files/hopper-story.html). Why it won: symbolic names, macros, and libraries let programs be shared between installations (SHARE is the first software community). Traded away: still one instruction per line of thought; the program is still a description of the machine, not of the problem.
FORTRAN (John Backus, IBM). Proposed 1953; language complete late 1954; compiler built 1955–56; shipped to IBM 704 customers April 1957 (obliquity.com/computer/fortran/history.html; thenewstack.io/how-john-backus-fortran-beat-the-machine-code-priesthood/). Backus: "We did not regard language design as a difficult problem, merely a simple prelude to the real problem: designing a compiler which could produce efficient programs." The first optimizing compiler defeated the hand-coder efficiency objection. FORTRAN 66 became the first language defined by a formal standard. Why it won: scientists could write algebra instead of assembly; the optimizer made the tax negligible. Traded away: direct control of registers and layout; and it was numeric-only — which is precisely the gap LISP and COBOL filled.
LISP (John McCarthy, MIT). Conceived after the 1956 Dartmouth AI workshop; developed from fall 1958; the 1960 paper "Recursive Functions of Symbolic Expressions..." presented it as both a language and a mathematical formalism (jmc.stanford.edu/articles/lisp/lisp.pdf; twobithistory.org/2018/10/14/lisp.html). Steve Russell hand-coded eval, unexpectedly producing the first interpreter; garbage collection was invented for LISP; S-expressions became permanent partly because the IBM 026 keypunch lacked bracket keys. Why it won (in its niche): code-as-data enabled programs that manipulate programs — the ancestral idea behind interpreters, macros, metaprogramming, and (arguably) LLMs emitting code. Traded away: machine efficiency so thoroughly that it eventually needed custom hardware (Lisp machines, ~$110k in 1983), a dependency that helped kill it commercially.
COBOL (CODASYL committee, 1959; Grace Hopper as technical adviser). Direct descendant of Hopper's FLOW-MATIC (1955–59), the first English-like data-processing language; a Short Range Committee member: "Without FLOW-MATIC we probably never would have had a COBOL" (en.wikipedia.org/wiki/FLOW-MATIC; cs.yale.edu/homes/tap/Files/hopper-story.html). Planned at a Pentagon meeting May 28–29, 1959 as a vendor-neutral business language (historyofinformation.com/detail.php?id=778). Why it won: readable by managers and auditors; portable across vendors; backed by the U.S. government's purchasing power. Traded away: concision and mathematical elegance — and it won anyway, a standing lesson that language adoption is institutional, not aesthetic. COBOL still runs a large share of transaction processing today.
ALGOL 60 completes the era: block structure, lexical scope, BNF notation, disciplined control flow — commercially marginal, intellectually the ancestor of nearly everything (grokipedia.com/page/ALGOL).
Key people: Edsger Dijkstra, Niklaus Wirth, Ken Thompson, Dennis Ritchie, Brian Kernighan. Dijkstra's 1968 letter "Go To Statement Considered Harmful" (retitled by editor Niklaus Wirth) catalyzed structured programming: replace goto with if/while/for — less expressive in theory, far more reliable in practice (cs.utexas.edu/users/EWD/transcriptions/EWD13xx/EWD1308.html). The same year, the NATO conference coined "software engineering" in response to the "software crisis."
C (Ritchie, Bell Labs). Lineage per Ritchie's own history: BCPL (Martin Richards, mid-1960s) → B (Thompson, 1969–70, typeless, on the PDP-7) → NB → C (1971–73; "the most creative period occurred during 1972"). B's typeless word-oriented model failed on the byte-addressed PDP-11 with floating point coming — types were added out of hardware necessity, not theory. In 1973 the Unix kernel was rewritten in C; portability work in 1977–79 (Interdata 8/32, VAX) proved an OS could move between architectures; K&R published 1978; ANSI standard 1989 (csapp.cs.cmu.edu/3e/docs/chistory.html — mirror of Ritchie's "The Development of the C Language"). Ritchie's verdict: "C is quirky, flawed, and an enormous success" — it "satisfied a need for a system implementation language efficient enough to displace assembly language, yet sufficiently abstract and fluent to describe algorithms." Why it won: it made software the portable asset and hardware the commodity. Traded away: safety — manual memory management and unchecked pointers, a debt the industry serviced for 50 years (and which Rust and managed runtimes were built to retire).
Simula 67 (Ole-Johan Dahl & Kristen Nygaard, Norwegian Computing Center) contributed classes, objects, and inheritance, born from simulation modeling (arxiv.org/pdf/1303.0427). Smalltalk (Alan Kay's Learning Research Group at Xerox PARC): Kay, influenced by Sketchpad and Simula and by a biological cells metaphor, coined "object-oriented" (~1966–67); Smalltalk-72 emerged in September 1972 from a bet that "the most powerful language in the world" could fit on one page; Dan Ingalls implemented it; Adele Goldberg built the pedagogy; Smalltalk-76 and Smalltalk-80 followed; the overlapping-window GUI shipped with it (worrydream.com/EarlyHistoryOfSmalltalk/ — Kay's own HOPL paper). Kay's core: everything is an object; objects communicate only by messages. C++ (Bjarne Stroustrup, Bell Labs): "C with Classes" preprocessor running by October 1979, renamed C++ in 1983 — Simula's model at C's price (stroustrup.com/hopl2.pdf). Java (James Gosling, Sun): began as Oak (early 1990s, set-top boxes), renamed and released 1995 with the JVM's "write once, run anywhere" pitch, riding the web via applets and then conquering the enterprise server (geeksforgeeks.org/java/the-complete-history-of-java-programming-language/). Why OO won: it is an abstraction over team scale — encapsulation lets thousands of programmers modify a system without global knowledge. Traded away: Kay's radical vision (C++/Java kept classes but dropped messaging-first dynamism — Kay later protested that "object-oriented" as practiced was not what he meant); plus real costs in indirection and ceremonial hierarchy that the 2010s languages (Go especially) rebelled against.
Perl (Larry Wall, 1987): text-processing "duct tape of the internet," dominant CGI language of the early web (hp.com/us-en/tech-takes/software/explainer/computer-history-programming-languages.html). Python (Guido van Rossum, CWI Amsterdam): implementation began December 1989, influenced by ABC; first public release 0.9.0 on 20 February 1991; 1.0 in January 1994; 2.0 in 2000; 3.0 in 2008 (python-history.blogspot.com/2009/01/brief-timeline-of-python.html — Guido's own timeline). Readability-first design made it the eventual lingua franca of data science and, later, of AI itself. JavaScript (Brendan Eich, Netscape): hired April 1995; prototype ("Mocha") in ~10 days in May 1995; shipped as LiveScript in the Netscape 2.0 beta (Sept 1995); renamed JavaScript in the December 1995 Netscape–Sun announcement — a marketing alliance, not a technical kinship; Scheme and Self under Java-ish syntax; ECMAScript standardized June 1997; Ajax named 2005; V8's JIT 2008; Node.js 2009; today ~99% of websites use it (en.wikipedia.org/wiki/JavaScript; cybercultural.com/p/1995-the-birth-of-javascript/). Why scripting won: developer time became more expensive than machine time, and the web rewarded shipping speed above all. Traded away: performance and static guarantees — the exact debts TypeScript and V8-class JITs were later invented to repay.
The JVM (1995) and .NET CLR (v1.0 shipped 13 February 2002) made the runtime platform the abstraction: bytecode as portable target, garbage collection as default memory model, JIT compilation recovering near-native speed by optimizing hot paths at runtime (grokipedia.com/page/Common_Language_Runtime; harness.io/blog/clr-vs-jvm). This is LISP's 1959 garbage-collection bet and Smalltalk's VM bet finally winning the mainstream, forty years on. The CLR generalized the idea to a multi-language runtime from day one. Why it won: at enterprise scale, memory-corruption bugs and platform ports cost more than GC pauses. Traded away: startup latency, memory footprint, and predictability — which is why systems niches stayed with C/C++ until Rust.
Go (Robert Griesemer, Rob Pike, Ken Thompson at Google; design began late 2007, open-sourced November 2009, Go 1.0 March 2012). Pike is explicit that Go is not language research: it was built because Google's C++ builds took 45 minutes and a 4.2 MB source set expanded to 8 GB of #include processing; Go made unused imports a compile error, chose CSP goroutines for concurrency, shipped gofmt to end style debates, and deliberately omitted exceptions, inheritance, and (initially) generics — "language design in the service of software engineering" (go.dev/talks/2012/splash.article — Pike's own account). Docker and Kubernetes made it cloud infrastructure's native tongue. Rust (Graydon Hoare, personal project from 2006; Mozilla sponsorship ~2009, announced at the 2010 Mozilla Summit; Rust 1.0 on 15 May 2015; Rust Foundation 2021): the borrow checker delivers memory safety without garbage collection — refusing the era's standard trade and paying instead with a steep learning curve (nick.groenen.me/notes/origins-of-rust/; technologyreview.com/2023/02/14/1067869/). Now in Windows, Android, and the Linux kernel. TypeScript (Anders Hejlsberg — also creator of Turbo Pascal and C# — Microsoft, released 1 October 2012): a gradual static type system compiled to JavaScript, an abstraction layered on an abstraction to make million-line web codebases tractable (en.wikipedia.org/wiki/TypeScript). The era's lesson: the ladder bends back — mature ecosystems re-import safety, speed, and tooling discipline without surrendering ergonomics. All three are also tooling-first languages, normalizing the idea that the language is inseparable from its formatter, package manager, and analyzer — the substrate agentic coding tools now rely on.
Thesis for the classroom: the widest rung of the abstraction ladder was never a "programming language" at all — and it must be taught as programming.
Spreadsheets. Dan Bricklin (Harvard MBA student) conceived VisiCalc in 1978 as a "visible calculator"; he and Bob Frankston built the prototype in fall 1978, incorporated Software Arts on 2 January 1979, and shipped for the Apple II in October 1979. It became the microcomputer's killer app — ~700,000 copies in six years, ~1 million lifetime — and is credited with dragging the Apple II into businesses and provoking the IBM PC (bricklin.com/visicalc.htm; dssresources.com/history/sshistory.html; alumni.hbs.edu — Lessons from the Rise and Fall of VisiCalc). Lotus 1-2-3 (Mitch Kapor, 1983) captured the IBM PC that VisiCalc's stakeholders were slow to serve, adding macros, ranges, and charting — $53M revenue in year one, $156M in year two. Excel took the Mac in 1985 and Windows in 1987, and the category with them. The programming-model claim is not rhetorical: a spreadsheet is a reactive dataflow program — pure functions over immutable inputs with automatic recomputation — i.e., declarative functional programming with a live REPL, which ordinary users learn without knowing its name. Microsoft Research (Andy Gordon and Simon Peyton Jones, the Haskell architect): "Excel formulas are written by an order of magnitude more users than all the C, C++, C#, Java, and Python programmers in the world combined." Their LAMBDA function (announced 25 January 2021) lets users define named, recursive, higher-order functions in the formula language, making it formally Turing-complete — "just as Alonzo Church defined it in the 1930s" (microsoft.com/en-us/research/blog/lambda-the-ultimatae-excel-worksheet-function/; arxiv.org/pdf/2309.00115). Teaching point: spreadsheets prove that when the feedback loop is instant and the state is visible, hundreds of millions of non-programmers will program.
No-code / low-code. The lineage: FileMaker (1985) and HyperCard (Apple, 1987 — stacks, cards, and HyperTalk scripts for non-programmers) → Visual Basic (1991, drag-and-drop RAD for Windows) → FrontPage/Dreamweaver/GeoCities (mid-90s web publishing) → WordPress (2003) → the 2010s SaaS wave: Zapier (2011), Bubble and Airtable (2012), Webflow and Notion (2013), Glide (2018) (nocodeandy.substack.com/p/a-brief-romp-through-no-code-history; smartsuite.com/blog/history-no-code-low-code-products). Gartner surfaced "citizen developer" in 2009; Forrester coined "low-code" in 2014. Why it wins: for a huge class of CRUD-and-workflow software, the abstraction fits perfectly and time-to-value collapses from months to hours. What it trades: ceilings (the platform's primitives bound what's expressible), lock-in, and ungoverned "shadow IT" — the spreadsheet-error problem at application scale.
LLMs and agentic coding — the newest rung. GitHub Copilot's technical preview launched 29 June 2021 on OpenAI Codex; GA June 2022; ChatGPT (November 2022) made conversational code generation universal; Copilot's "agent mode" arrived February 2025 and a cloud "coding agent" in May 2025, alongside Cursor, Claude Code, and Replit Agent (en.wikipedia.org/wiki/GitHub_Copilot). Andrej Karpathy supplied both era-naming quotes: "the hottest new programming language is English" (2023) and "vibe coding" (February 2025) — "fully give in to the vibes, embrace exponentials, and forget that the code even exists"; Collins made "vibe coding" its 2025 Word of the Year (en.wikipedia.org/wiki/Vibe_coding). The historical rhyme is exact and threefold: (1) the FORTRAN objection — skeptics say generated code can't be trusted; a December 2025 study found AI co-authored code carried ~1.7× more major issues than human-written code, while refactoring rates fell and duplication quadrupled between 2021–24 — this era's optimizing-compiler problem is not yet solved; (2) the Hopper claim — natural language as source code, with the same pushback she got in 1952; (3) the spreadsheet condition — a programming model spreads to everyone only when feedback is fast and errors are survivable, which is precisely what code review, tests, and sandboxing must supply for agentic coding. Crucially, unlike every prior rung, this abstraction is non-deterministic: the same "source" (prompt) can yield different programs. Whether the industry responds with new determinism layers (specs, evals, verification) is the open question a 2026 course should pose, not answer.
| Year | Milestone | Why it matters |
|---|---|---|
| 1949 | EDSAC runs; Wheeler's Initial Orders | Stored-program computing + first symbolic assembler |
| 1952 | Hopper's A-0; her first compiler paper | The machine can translate for the human — disbelieved at first |
| 1956 | SAP assembler via SHARE; Dartmouth AI workshop | First software-sharing community; AI agenda that births LISP |
| 1957 | FORTRAN ships (IBM 704, April) | First high-level language with an optimizing compiler — defeats the efficiency objection |
| 1958–60 | LISP created; 1960 McCarthy paper | Code as data; interpreter (eval); garbage collection invented |
| 1959 | CODASYL Pentagon meeting; COBOL specified | English-like, vendor-neutral business programming; institutional adoption playbook |
| 1960 | ALGOL 60 | Block structure, BNF; ancestor of nearly all modern syntax |
| 1968 | Dijkstra's "Go To" letter; NATO "software engineering" conference | Abstraction by restriction; software crisis named |
| 1969–73 | Unix; B → C (creative peak 1972); kernel in C 1973 | Portable systems software; hardware becomes commodity |
| 1972 | Smalltalk-72 at Xerox PARC | Pure OO: objects + messages; GUI born alongside |
| 1978 | K&R The C Programming Language | The de facto standard that spread C worldwide |
| 1979 | VisiCalc ships (Apple II, October); "C with Classes" running | The killer app; most-used programming model in history begins. OO heads mainstream |
| 1983 | C++ named; Lotus 1-2-3 ships | OO at C's price; spreadsheet conquers the IBM PC |
| 1985/1987 | Excel on Mac / on Windows; FileMaker; HyperCard (1987); Perl (1987) | The wrapper era's toolchain assembles |
| 1991 | Python 0.9.0 (February); Visual Basic; FORTRAN 90 | Readability-first scripting; drag-and-drop RAD |
| 1995 | Java released; JavaScript written in 10 days (May), named December | Managed runtime goes mainstream; the web gets its language |
| 1997 | ECMAScript standard | Language survival via standards body, again |
| 2002 | .NET CLR 1.0 (February 13) | Multi-language managed runtime as platform |
| 2008–09 | V8 JIT; Node.js; Go open-sourced (Nov 2009) | Scripting gets fast; cloud era languages begin |
| 2012 | Go 1.0 (March); TypeScript (October 1); Bubble/Airtable founded | Correction wave + no-code wave, simultaneously |
| 2014 | Forrester coins "low-code" | Citizen development becomes a market category |
| 2015 | Rust 1.0 (May 15) | Memory safety without GC — refusing the standard trade |
| 2021 | Excel LAMBDA (Jan 25) makes formulas Turing-complete; Copilot preview (June 29) | Spreadsheet formally joins the language family; LLM coding begins |
| 2022 | ChatGPT (November) | Natural-language programming reaches everyone |
| 2025 | Copilot agent mode (Feb); "vibe coding" coined (Feb); agentic tools (Claude Code, Cursor) mainstream | The agentic rung: prompt → autonomous multi-step coding |
Primary / participant accounts:
Histories and references:
Every fifteen years or so, the software industry announces that programmers are about to become unnecessary. The announcement is always sincere, always backed by a genuinely useful new abstraction, and always wrong in the same instructive way. In 1981 James Martin titled a bestselling book Application Development Without Programmers and argued that "the number of programmers available per computer is shrinking so fast that most computers in the future must be put to work at least in part without programmers." In January 2023, Matt Welsh told readers of Communications of the ACM that generative AI meant "the vast majority of classic computer science will become irrelevant" — an essay literally titled "The End of Programming." Between those two bookends sit the 4GL boom and bust, the CASE-tools bust, the no-code boom, and — crucially — the one end-user programming technology that actually conquered the world: the spreadsheet. The spreadsheet's success is the most honest data point in the whole debate, because we can now audit, forty years on, what happens when hundreds of millions of non-programmers really do program: roughly nine out of ten operational spreadsheets contain errors, and three of those errors — Reinhart–Rogoff, the London Whale, and Public Health England's lost COVID cases — helped misdirect austerity policy, lose $6 billion, and let an epidemic's contact tracing fail. The lesson is not that end-user programming fails. It is that it succeeds, and that its success moves the hard problem from writing code to specifying, testing, and governing it — which is exactly where the AI-codegen story stands today.
Fourth-generation languages grew out of 1970s report writers (Informatics' MARK-IV, 1967; Sperry's MAPPER, 1969) and were formalized as a category by James Martin's 1981 book, which coined the promise as well as the term: non-procedural, high-level specification languages that business users could wield directly (Wikipedia: Fourth-generation programming language). Martin's sales pitch was concrete — his "Engineer's Problem" (give 6% raises to engineers rated 7+) took "a dozen pages" of COBOL but "a page or two" of MARK-IV. The flagship products each had real merit: FOCUS (Information Builders, founded 1975) let mainframe end users query and report on data without COBOL (Wikipedia: FOCUS); dBase became the first mass-market microcomputer DBMS and one of the best-selling software products of the 1980s (eWeek retrospective); PowerBuilder (1991) rode the client-server wave with its DataWindow abstraction, and Powersoft sold to Sybase in 1995 for roughly $904 million (Wikipedia: PowerBuilder).
The partial failure came in three forms. First, product collapse: dBase IV (October 1988) shipped catastrophically buggy — data loss, crashes, wrong answers — and Ashton-Tate's market share fell from 63% to 43% in a single year; the company lost $40 million in its final year and was absorbed by Borland in October 1991 for $439 million (The Silicon Underground). Second, scope collapse: 4GLs worked brilliantly for database queries, reports, and forms, but "buckled under anything complex" — and their sophisticated users turned out to be developers who understood the underlying principles, not the business analysts of the marketing copy (Turkovic, "The Eternal Promise"). Third, expectations collapse: IT managers who had been promised programmer-free development felt burned when the tools lacked version control, testing, deployment, and documentation — the unglamorous machinery that makes software maintainable (Quickbase, low-code history).
Yet the 4GLs did not die; they retreated to the niches where their abstraction actually fit the task. FOCUS lives on as WebFOCUS (launched 1997) in enterprise BI. PowerBuilder is still maintained by Appeon — PowerBuilder 2025 shipped in May 2025 — because government, finance, and manufacturing back offices still run on DataWindows built decades ago. And the category itself was rebranded: today's low-code platforms (OutSystems, Appian, ServiceNow) are 4GLs with a web UI. The pattern to teach: the abstraction survives; the "no programmers" claim does not.
The academic field that grew up around these questions reached its canonical statement in Bonnie Nardi's A Small Matter of Programming: Perspectives on End User Computing (MIT Press, 1993) (MIT Press). Nardi's central question was why it had proven so hard to give end users programming power — and her answer, grounded in ethnographic studies of the two end-user systems that demonstrably worked (spreadsheets and CAD), was that success comes from task-specific languages, not from making programming "easier" in general or making it look like natural language. Spreadsheets succeed because the formula language expresses exactly the computations users of tabular quantitative data already think in; the grid is simultaneously the data model, the UI, and the debugger; and users get visible results in their first hour.
Her earlier study with Jim Miller, "Twinkling Lights and Nested Loops" (Int. J. Man-Machine Studies 34/2, 1991), added the social half of the explanation (Miramontes copy): spreadsheet "co-development is the rule, not the exception." The spreadsheet's two programming layers — simple formulas versus macros/advanced functions — let work distribute naturally across a spectrum of skill. Domain experts (their informant Betty, a non-programmer CFO) build and own the model; local developers — the office guru with no formal CS training — handle the trickier constructs; occasional real programmers contribute macros without taking ownership of the artifact. The tabular format itself mediates collaboration, "bypassing the common step of having to translate the user's requirements … into specific programming steps." This is the deep reason simplified general-purpose languages (COBOL's readable English, 4GL "natural" syntax) keep failing where spreadsheets succeed: they lower the syntax barrier while leaving the abstraction mismatched to any particular task, whereas the spreadsheet raises the abstraction to fit one task family perfectly — and quietly recruits a social support system around itself.
Nardi's framework predicts both the triumph and the pathology documented in the next section: end users will program when the language fits their task, and the resulting artifacts will escape every software-engineering control, because their authors do not think of themselves as programmers at all.
Ray Panko's research program (University of Hawaii; long associated with the European Spreadsheet Risks Interest Group, EuSpRIG) established the base rates: audits of operational spreadsheets find errors in roughly 86–94% of them, with cell error rates in the 1–5% range — consistent with the human error rate for complex cognitive work (~5%) that software engineering counters with inspection and testing, disciplines spreadsheet culture never adopted (Panko, "What We Know About Spreadsheet Errors"; Panko 2016, arXiv:1602.02601). Three cases turned those base rates into governance case studies:
Reinhart–Rogoff (2010/2013). The Harvard economists' "Growth in a Time of Debt" reported that growth turns negative (−0.1%) once public debt exceeds 90% of GDP — a threshold cited by Paul Ryan's 2013 budget and austerity advocates across Europe. In 2013 UMass graduate student Thomas Herndon, with Michael Ash and Robert Pollin, obtained the actual spreadsheet and found an Excel range that omitted the first five countries alphabetically (Australia through Denmark), alongside selective data exclusions and unusual weighting; corrected, the >90%-debt growth figure became +2.2% (The Conversation; Bloomberg FAQ). Governance lesson: a policy-shaping model lived in an unreviewed, unreleased workbook for three years; replication only happened when the file was shared.
JPMorgan's London Whale (2012). The bank's ~$6 billion Synthetic Credit Portfolio loss was enabled by a new Value-at-Risk model "operated through a series of Excel spreadsheets, which had to be completed manually, by … copying and pasting data from one spreadsheet to another." The bank's own Task Force report records that "after subtracting the old rate from the new rate, the spreadsheet divided by their sum instead of their average," understating volatility and halving reported VaR — which let traders double down inside a broken risk limit (Dear Analyst breakdown of the Task Force report; Full Stack Modeller). Governance lesson: a mission-critical model was "end-user computing" in regulatory jargon — rushed validation, no automated pipeline, no independent testing.
Public Health England (2020). Between 25 September and 2 October 2020, 15,841 positive COVID tests vanished from England's reporting because lab CSVs were ingested through a legacy .xls template capped at 65,536 rows — with multiple rows per case, about 1,400 cases per file — and overflow rows were dropped silently (The Register; BBC). Roughly 48,000 exposed contacts were not traced promptly; Thiemo Fetzer's Warwick analysis associates the failure with on the order of 125,000 additional infections and 1,500 additional deaths (Fetzer, Warwick working paper 1314). Governance lesson: silent truncation is a format failure mode no human reviewer would catch — only pipeline validation would.
The through-line: none of these are "Excel is bad" stories. They are stories about consequential computation performed outside the institutions of software engineering — no tests, no reviews, no monitoring, no error surfacing — precisely because the tool was accessible enough that no one thought of it as software.
Today's claims replay the structure almost verbatim. No-code platforms (Bubble, Airtable, Zapier) genuinely succeed for simple applications and workflow glue — and their proliferation has coincided with rising, not falling, developer demand, because every successful abstraction expands the population of things people want built (Turkovic; It's a Delivery Thing, "Another Silver Bullet?"). AI codegen is the strongest version of the claim yet — Welsh's CACM piece predicts programs "generated, not written" (CACM, Jan 2023; The New Stack interview) — and unlike 4GLs it is not task-specific, which makes it both more powerful and more exposed to Nardi's critique: natural language is a poor specification language precisely because it is not task-specific and not precise. The history predicts where the value migrates: to specification, verification, and governance. The spreadsheet catastrophes are the preview — when generation is free and authorship is diffuse, error rates follow human base rates unless institutions (testing, review, lineage, validation) are rebuilt around the new medium. LLMs even inherit the spreadsheet's signature failure mode: output that is confidently, silently, plausibly wrong.
Twice before the AI era, the industry built tools that let millions of non-programmers ship real software — and both times it worked. HyperCard (1987) and Visual Basic (1991) each began with an improbable origin story, each spawned an ecosystem its creators never predicted (Myst and the wiki on one side; two-thirds of all Windows business software on the other), and each was killed not by users but by its own corporate parent. Their success — where a decade of "4GL" products promising "programming without programmers" failed — is the clearest empirical evidence we have for what end-user programming theory calls the gentle slope: concrete, visible objects first, code later, and only as much as the task demands. Every tool a Connect.AI student hands a small-business partner — an Airtable base, a GPT wrapper, a Retool dashboard, a vibe-coded app — sits in the direct line of descent from these two products, and inherits both their promise and their failure modes.
Bill Atkinson — already the author of QuickDraw and MacPaint — conceived HyperCard after the failure of his "Magic Slate" tablet concept, during a 1985 night on a park bench in Los Gatos under the influence of a medium dose of LSD; he later told the story himself to Leo Laporte (Mondo 2000, Boing Boing). The product he built was "programming for the rest of us": stacks of cards holding buttons, fields, and pictures, with an English-like scripting language (HyperTalk) available only if and when you wanted it. Atkinson insisted Apple bundle it free with every Mac, and it shipped in August 1987 (History of Information, Wikipedia).
The radical design decision was erasing the boundary between using and creating: there was no separate developer mode — browsing, editing, and programming happened in one interface (The F Rant). Millions of stacks followed: teachers' courseware, small-business databases, art projects — and two landmarks. Cyan built The Manhole and then Myst, the best-selling PC game of the 1990s, with HyperCard as its engine (Slashdot). And Ward Cunningham, shown a pre-release HyperCard by Kent Beck and "blown away," built a stack for browsing software patterns; when he wanted a multi-user web equivalent, the result was WikiWikiWeb (1995) — the first wiki, hence ultimately Wikipedia (artima interview, Wikiquote).
Why Apple killed it: HyperCard never had a revenue story (it was free), never fit a product category, and was orphaned into the QuickTime group, where a promised HyperCard 3.0 was demoed but never shipped. Steve Jobs effectively ended development by edict around 1998, and it was withdrawn from sale in March 2004 (Daring Fireball, Slashdot). The web absorbed its linking ideas while discarding its authoring soul — browsers let everyone read; HyperCard had let everyone write.
Alan Cooper's story checks out in the detail. After seeing a Xerox Star demo, he built Tripod, a drag-and-drop "shell construction set" for Windows — a palette of widgets users could assemble into their own shells. Demoed to Bill Gates in spring 1988, it "blew his mind"; Gates asked his own teams, "Why can't we do stuff like this?" Microsoft bought it, renamed it Ruby (Tripod had been shown around too much), and intended it for Windows 3.0 — which then shipped without it (Retool's history, Computer History Museum, Socket 3). Instead, under codename Thunder, Microsoft bolted its Embedded BASIC engine onto Ruby's forms engine and released Visual Basic 1.0 in May 1991. Stewart Alsop called it "the perfect programming environment for the 1990s" (Wikibooks).
He was right. Gates personally insisted VB keep support for loadable custom controls, creating the VBX third-party component industry — arguably the first mass software-component market. By VB6 (1998), Microsoft's surveys showed roughly two-thirds of all business application programming on Windows was done in VB, with ~3.5 million developers — more than ten times the C++ population (Retool, DevTopics). Even Linus Torvalds later said VB "did more for programming than object-oriented languages did."
The rupture. VB.NET (2002) was a ground-up rewrite that traded VB's forgiving, form-first ethos for full object orientation and C# semantics. The community experienced it as betrayal: MVPs organized the classicvb.org petition demanding Microsoft keep developing classic VB6; Microsoft answered with an open letter refusing (Microsoft archive, ADTmag). VB-family usage fell ~35% between 2006 and 2007. .NET instructor David Platt's diagnosis is the canonical epitaph: Microsoft listened to "the 3 percent of Visual Basic 6 bus drivers who actively wished to become fighter pilots" and ignored the contented majority (Retool). Tellingly, Microsoft still ships the VB6 runtime in Windows — the apps never went away; only the tool did.
Fourth-generation languages (FOCUS, RAMIS, PowerBuilder-era report generators) promised English-like "programming without programmers" but stayed abstract: you still described computation in text, up front, inside an enterprise-priced tool aimed at IT departments. Research on end-user programming explains the difference. Bonnie Nardi's A Small Matter of Programming (MIT Press, 1993) found that successful end-user systems (spreadsheets, CAD) are task-specific: users manipulate the artifact itself, not a general-purpose abstraction of it (MIT Press). Ink & Switch's modern synthesis identifies three properties both tools nailed: embodiment (buttons and forms are visible, draggable things, not declarations), a living system (no edit-compile-run gulf — HyperCard stacks ran as you built them; VB's form was the running window), and an in-place toolchain (creation happens inside the thing you already use) (Ink & Switch). Both also offered a gentle slope: you could get real value with zero code, add one five-line event handler behind one button, and never face a cliff until — as VB.NET proved — the vendor built one.
The lineage never broke. Excel/VBA is the direct descendant and still plausibly the world's most-used programming environment — spreadsheet "programmers" outnumber professionals by an order of magnitude (Codecademy overview). The 2010s no-code wave — Airtable, Notion, Zapier, Retool — re-implemented the pattern as SaaS; Retool explicitly frames itself as VB's successor and commissioned the definitive VB history (Retool). The current generation is AI-native: Lovable, Bolt, Replit Agent, and chat-based artifact builders, where the natural-language prompt is the new gentle slope. Gartner named AI-native development platforms a top-2026 strategic trend, and roughly 63% of users of these builders are non-developers (Lovable guide, MindStudio). The open question is the old one: HyperCard and VB6 both show that citizen-developer ecosystems die from vendor decisions, not user abandonment.
Twice in living memory, artificial intelligence went from "the future of everything" to a phrase researchers were embarrassed to put on grant applications. The first winter (roughly 1974–1980) was a funding collapse triggered by reports and evaluations that exposed the gap between demos and deployable systems. The second (roughly 1987–1993) was a market collapse: an entire hardware industry — purpose-built computers that existed to run one programming language — was wiped out in about a year when commodity machines caught up. The pattern in both: real technical progress, extrapolated into promises the technology could not keep on the promised timeline, funded by parties (governments, then corporations) who eventually audited the returns. The recovery each time came not from the hyped approach being vindicated, but from quieter, less glamorous methods — statistical machine learning after the second winter — that solved narrow problems economically. The current boom rhymes with the 1980s in its specialized-hardware gold rush and its maintenance-cost blind spot, but differs in one crucial respect: today's AI generates consumer-scale revenue and rides the commodity compute curve instead of fighting it.
The pre-history matters. In 1966 the ALPAC report concluded that machine translation — after $20 million of US government spending — was slower, less accurate, and more expensive than human translators; the National Research Council ended all support (Wikipedia: AI winter). The 1969 Mansfield Amendment then forced DARPA to fund mission-oriented rather than basic undirected research, closing the era of no-questions-asked AI money.
The famous blow came in 1973. Sir James Lighthill, Lucasian Professor at Cambridge, was commissioned by the British Science Research Council to survey the field. His report argued AI worked only on toy problems and that the combinatorial explosion — the exponential blowup of choices in real-world domains — made the grand claims intractable on the machines of the day (DataCamp: AI Winter). The consequence was the near-complete dismantling of AI research in the UK, surviving at only a few universities (Edinburgh, Essex, Sussex), and the report armed skeptics internationally (Wikipedia). In 1974 DARPA cancelled its ~$3M/year Speech Understanding Research contract at Carnegie Mellon after the delivered system could recognize speech only if words were spoken in a particular order (Holloway: The First AI Winter). By mid-decade, AI funding was "hard to find" everywhere. (A dissenting note worth teaching: some historians argue the "first winter" label overstates the discontinuity — see CACM: There Was No 'First AI Winter' — a useful reminder that hype-cycle narratives are themselves narratives.)
What thawed the field was expert systems: narrow, commercially scoped rule-based programs encoding human expertise. The poster child was XCON (R1), built by John McDermott of CMU starting in 1978 to configure DEC's VAX orders. It cut order-fulfillment from 10–15 weeks to 2–3 days and by 1986 was credited with saving DEC roughly $25M a year (Open Reasoning: The AI that saved $25M; Wikipedia's figure is $40M over six years). By 1985, US corporations were spending over $1 billion annually on AI, mostly on in-house AI groups (Wikipedia); Japan's MITI launched the Fifth Generation Computer Systems project in 1982, and the Reagan administration answered with the billion-dollar Strategic Computing Initiative in 1983 (Fifth Generation Computer Systems).
The strangest artifact of the boom: an entire hardware industry built around Lisp, the language of symbolic AI. Lisp's runtime demands — garbage collection, dynamic typing, tagged data — ran poorly on stock hardware, so MIT AI Lab hackers built machines with Lisp semantics in the microcode. The lab famously split into two companies in 1980–81: Richard Greenblatt's Lisp Machines Inc. (LMI), which refused venture capital, and Russ Noftsker's VC-backed Symbolics, which took most of the lab's hackers with it — the schism that radicalized Richard Stallman into founding the free-software movement (Dan Luu: History of Symbolics Lisp machines; Wikipedia: Lisp Machines). Symbolics' 3600 series ran Genera, an OS written entirely in Lisp, and pioneered features later standard everywhere: bitmapped displays, windowing systems, advanced GC (JR DeLaney: Lisp Machines deep dive). On March 15, 1985, symbolics.com became the first .com domain ever registered (CNN: the world's oldest dot-com). Revenue rose steadily through 1986.
Then the commodity curve arrived. Sun and Apollo Unix workstations, riding ever-faster, ever-cheaper Motorola and Intel CPUs, plus new Lisp compilers that ran acceptably on stock hardware, erased the Lisp machines' advantage — and brought a huge portable Unix software ecosystem the proprietary machines lacked (Dan Luu). In 1987 "an entire industry worth half a billion dollars was replaced in a single year" (Wikipedia; AIWS: the specialized AI hardware collapse). LMI went bankrupt in 1987; Symbolics posted losses from 1987 to 1989 and filed Chapter 11 in January 1993 (MIT OCW: Symbolics, a failure of heterogeneous engineering).
The software side rotted simultaneously. Expert systems proved brittle and ruinously expensive to maintain: XCON's rulebase ballooned from 750 rules toward 10,000, where a single new rule could silently break unrelated behavior; the knowledge-engineering staff couldn't keep pace with DEC's own product line (Open Reasoning). Corporations discovered maintenance costs exceeding delivered value (Holloway: The Second AI Winter). In 1987 Jack Schwarz took over DARPA's IPTO, dismissed expert systems as "clever programming," and cut AI funding "deeply and brutally" (Wikipedia). Japan's Fifth Generation project ended in June 1992 having spent roughly $400–850M (sources vary) without commercial results — its logic-programming hardware, like the Lisp machines, was steamrolled by the desktop revolution (Wikipedia: FGCS). Fittingly, the term "AI winter" had been coined in advance, at the 1984 AAAI meeting, by Roger Schank and Marvin Minsky — veterans of the first winter warning the bubble would burst (Wikipedia).
Recovery was slow and came from the unhyped flank. Through the 1990s researchers abandoned hand-coded symbolic rules for statistical, data-driven methods — support vector machines, decision trees, probabilistic models — often rebranding the work "machine learning," "data mining," or "informatics" to dodge the AI stigma (Teachfloor: AI Winter; DataCamp). These methods shipped inside products (spam filters, recommendations, handwriting recognition) without ever being sold as "AI." The winter's true end is usually dated to 2012, when AlexNet's ImageNet win — neural networks plus GPUs plus web-scale data — restarted large-scale investment (Wikipedia). Note the irony: the revival ran on commodity gaming hardware, the exact force that killed the Lisp machines.
Parallels: a specialized-hardware gold rush (GPUs/TPUs as the new Lisp machines — the open question being whether smaller, cheaper models strand today's datacenter buildout the way Sun workstations stranded Symbolics, per Fortune's AI-winter retrospective); maintenance-cost blindness (XCON's rule rot maps to prompt/eval/agent upkeep); and expectation inflation policed by the same dynamic — funders eventually audit returns. Differences: today's leaders ride the commodity curve rather than fight it; the revenue base is hundreds of millions of consumers and working deployed products, not a thin layer of corporate pilot projects; and the core capability (learned from data) generalizes in ways hand-coded rules never did (Chris Hood: The AI Winter Road). The honest summary for students: winters killed business models and hardware bets, not the underlying research — which continued, renamed, and won.
Every technology that made code cheaper to write was predicted to eliminate the people who write it, and for sixty-five years the opposite happened: cheaper code meant more code, and more code meant more programmers. That is the base rate, and it is a strong one — COBOL, 4GLs, CASE tools, offshoring, and no-code all "ended" programming while U.S. programmer employment grew from tens of thousands to roughly two million. But the honest 2024–2026 picture is more uncomfortable than the base rate suggests: for the first time, there is credible payroll-level evidence (Stanford's "Canaries in the Coal Mine" study) that AI is specifically suppressing entry-level developer hiring while senior employment holds steady. The credible forecast range now runs from Acemoglu's "modest, overhyped" (~5% of tasks automatable this decade) through BLS's +15% developer growth to 2034, to Amodei's "half of entry-level white-collar jobs in one to five years." The historically-grounded synthesis: the occupation is very unlikely to disappear, but the bottom rung of the ladder is genuinely contested, and the job is being repriced around judgment, verification, and business context rather than typing.
Herbert Simon — later a Nobel laureate and Turing Award winner, not a crank — wrote that "machines will be capable, within twenty years, of doing any work a man can do." The line appeared in The New Science of Management Decision (1960) and was reprinted in The Shape of Automation (1965) (Quote Investigator). Sixty years on it remains false, which is the canonical caution against confident timelines from brilliant insiders.
Programming-specific versions recur roughly once a decade (Ivan Turkovic's history; Caimito, "Why We've Tried to Replace Developers Every Decade"):
Each wave automated the current definition of programming, and the profession redefined itself one level of abstraction up — assembly → compilers → frameworks → and now, plausibly, prompt-and-review (O'Reilly, "The End of Programming as We Know It").
The BLS numbers encode this redefinition today: software developers (design-heavy title) are projected to grow +15% from 2024–2034, ~129,200 openings/year, explicitly driven by AI/IoT/automation demand (BLS OOH), while the narrower computer programmer title (code-to-spec) is projected to decline 6%, with BLS naming AI as a cause (BLS OOH). The routine title shrinks; the judgment title grows. That split is the story.
The economic case for "more programmers, not fewer" is Jevons' paradox: when efficiency makes a resource cheaper, total consumption rises. Every organization has an effectively unbounded backlog of software it wants but can't afford; drop the cost of code and the backlog converts to demand (InfoWorld; Jim Rutt).
Two precedents carry the argument:
The honest caveats: Jevons only holds while demand is elastic — and it isn't forever. Teller employment eventually did collapse once smartphones removed the reason to visit branches at all (David Oks). And the clerk/accountant story is really "the routine tier shrank while the judgment tier grew" — good news only for people who climb. Skeptics also note firms are constrained by ideas and coordination, not typing speed, so efficiency gains can outrun demand growth (AmazingCTO counter-argument).
The strongest evidence is Stanford Digital Economy Lab's "Canaries in the Coal Mine" (Brynjolfsson, Chandar, Chen), using ADP payroll data on millions of workers: since late 2022, workers aged 22–25 in AI-exposed occupations — software developers prominently — saw roughly a 13–16% relative employment decline, controlling for firm-level shocks, while experienced workers in the same occupations were stable or growing. The mechanism is a hiring freeze at the bottom, not layoffs. Brynjolfsson's summary: "what younger workers know overlaps with what LLMs can replace" (SIEPR brief; Fortune follow-up). Consistent signals: entry-level SWE postings down on the order of 60% from their 2022 peak on hiring platforms, and recent-graduate unemployment running above the national rate for the first time since tracking began in 1980 (NY Fed / Oxford Economics, via Fortune).
Necessary confounds: the 2022–2024 declines coincide with the end of zero interest rates, post-pandemic over-hiring corrections, and U.S. tax changes (Section 174) that made engineer salaries costlier — some of the drop predates capable coding models. And there are countersignals: by spring 2026 Salesforce was publicly raising new-grad hiring ~6% year-over-year (Caimito).
Anyone claiming certainty at either pole is outside the evidence.
How to talk to students honestly:
The role this program trains for: its origin at Palantir, its mechanics and economics, its spread across the AI industry, and the honest questions about its future. Closing chapters: the founder's dossier — the market, economics, and mechanics of starting an FDE firm for the middle market.
Research compiled 2026-07-31. Method: 15 web searches, 11+ substantive sources fetched and read (Palantir-adjacent primary accounts, S-1 economics as reported, job postings, VC analysis, critical takes). Load-bearing claims cross-checked across two or more sources; conflicts flagged inline.
Every technology wave produces one company whose weird internal structure later becomes everyone else's org chart. For the AI deployment era, that company is Palantir, and the structure is the forward-deployed engineer — the FDE.
The story starts with a problem no product manager could solve. Palantir, founded in 2003, sold intelligence-analysis software (Gotham) to the CIA, the US Army, and allied agencies. These customers could not tell Palantir what they needed: the data was classified, the schemas were undocumented, and the workflows were tradecraft no headquarters engineer would ever be shown (fde.academy). Traditional vendors had two answers — a consultant who couldn't write production code, or a solutions engineer who couldn't change the product — and both failed. Palantir's answer was to send the engineers themselves into the customer's environment. Shyam Sankar, who joined in 2006 as roughly employee #13 and is now Palantir's CTO, is credited as the first forward-deployed engineer and with coining the term; he worked from tents and forward operating bases during the war on terror, and his line became the model's creed: "The good ideas don't come when eating strawberries in Palo Alto. They come on the fire cells of Djibouti and the factory floors of Detroit" (Podcast Notes, Shawn Ryan Show #190; kbssidhu.substack.com).
Internally the model crystallized into a two-role embedded unit named from the NATO alphabet: the Delta (Forward Deployed Software Engineer — owns the technical build) and the Echo (Deployment Strategist — owns the mission understanding, stakeholders, and organizational navigation) (LinkedIn: Understanding Palantir's Echo and Delta Roles; Palantir blog: Dev versus Delta). Palantir's own formula for the split with the core product org: a Dev's focus is "one capability, many customers"; a Delta's is "one customer, many capabilities" (Pragmatic Engineer).
Nabeel Qureshi, an FDE for eight years, describes the day-to-day: onsite 3–4 days a week in teams of 4–5, negotiating access to enterprise data, cleaning it, building software against the customer's actual pain rather than a requirements document — "you capture the tacit knowledge of how they work, not just the flattened 'list of requirements' model." His flagship engagement, Airbus in Toulouse (2015–16), produced what he calls "Asana, but for building planes," credited with helping 4x the A350 production ramp (Reflections on Palantir).
The genius of the system was the flywheel between field and factory: FDE teams shipped fast, hacky, customer-specific code; the product organization mined those deployments for patterns and generalized them into platform. That flywheel is literally where Foundry came from (launched 2016) — and until about 2016 Palantir employed more FDEs than conventional software engineers (Pragmatic Engineer). Wall Street hated it anyway. Through the late 2010s, Palantir was dismissed as "a consulting company masquerading as software"; its 2020 S-1 revealed why skeptics sneered — the "Acquire" phase of new customers generated $0.6M of revenue against a –$65.4M contribution loss in 2019, with profit arriving only at the "Scale" phase (55% contribution margin) (Nasdaq S-1 analysis; 17000credits). The bet paid: Foundry now drives 50%+ of revenue at ~80% gross margins — software margins, versus Accenture's ~32% (Qureshi).
Then LLMs arrived, and the whole industry rediscovered Palantir's problem: a powerful general capability that fails at the last mile — the messy data, legacy systems, compliance constraints, and undocumented workflows inside real organizations. A widely-cited 2025 MIT study found ~95% of generative-AI pilots fail to deliver business value (Forbes). The response was a hiring stampede: OpenAI stood up an FDE team in early 2025 (two engineers under Colin Jarvis, 10+ across eight cities within the year), Ramp built a ~15-FDE org, Anthropic hired FDEs into its Applied AI team, Anduril fields FDEs with military units, and a16z declared FDE "the hottest job in startups" as postings grew ~800–1,165% year-over-year (Pragmatic Engineer; a16z). By May 2026 the model got institutionalized at billion-dollar scale: Anthropic announced a ~$1.5B enterprise-services joint venture with Blackstone, Hellman & Friedman, and Goldman Sachs (May 4), and OpenAI answered a week later with the TPG-led, ~$4B OpenAI Deployment Company, acquiring the consultancy Tomoro and its ~150 FDEs (May 11) (TechCrunch; OpenAI).
The critics never went away — Thomas Otter calls FDEs "technical consultants rebranded with military terminology" and warns about ARR accounting games; Marty Cagan warns that FDEs alone produce "thousands of large, bespoke solutions" — but the teachable arc is clear. The FDE model is a product-development strategy that looks like services from the outside: embed to capture tacit knowledge, ship bespoke to earn trust, generalize to build the product, and accept ugly early margins in exchange for a moat. That arc — Palantir 2006 → Foundry 2016 → the AI industry 2024–26 — is the story of this pillar.
Founding context. Palantir Technologies was founded in 2003 (Thiel, Karp, Cohen, Lonsdale), initially selling intelligence-analysis software (later named Gotham) to the US intelligence community and military. The defining constraint: customers who "could not openly share what they needed" — classified data, undocumented schemas, tradecraft invisible to any HQ engineer (fde.academy; Perspective AI).
The first FDE. Shyam Sankar joined in 2006 as one of the earliest (~#13) employees and became the first forward-deployed engineer, embedding with intelligence agencies and military units — including working overseas "in tents" during the war on terror — and is credited with coining the term and turning the practice into a repeatable model (kbssidhu.substack.com; Podcast Notes SRS #190). Palantir's technology spread bottom-up: end users in combat zones advocated for the software because it worked for the mission, not because of top-down procurement.
> Conflicting accounts — origin date. Secondary sources split between "around 2006" (tied to Sankar) and "invented in the early 2010s" (e.g., fde.academy, Pragmatic Engineer). Best reconciliation: the practice began mid-2000s with Sankar's embeds; the formalized role, name, and team structure ("Delta"/"Echo," FDSE job req) crystallized in the early 2010s.
Delta and Echo. Palantir's embedded unit pairs two roles, named from the NATO alphabet (a relic of early business-development team naming):
Together they operate as "a mini startup within each client environment" — Echo finds the right problem, Delta builds the solution fast (aiverticaladvantage). (Some secondary write-ups describe Echoes as "embedded analysts"; Palantir's own materials and ex-employee accounts make clear Echo = Deployment Strategist. Same role, different gloss.)
The Dev/Delta split and the product flywheel. Palantir's engineering org divides into Devs ("one capability, many customers") and Deltas ("one customer, many capabilities") (Pragmatic Engineer). Qureshi: "Customer teams… operated fast and autonomously; there were many of them, all learning fast, and the core product team's job was to take those learnings and build the main platform" (Reflections on Palantir). FDEs accepted technical debt and "hacky workarounds" to ship fast; PD engineers generalized the wins into platform primitives. Until ~2016 FDEs outnumbered conventional engineers; Foundry's 2016 launch shifted weight back toward core product (Pragmatic Engineer — note: the "more FDEs than devs" claim traces primarily to this one outlet, echoed by others citing it).
Cadence and unit. Classic Palantir pattern: onsite at the customer 3–4 days/week, teams of 4–5, engagements lasting months to a year+ (Qureshi spent ~a year in Toulouse for Airbus) (Reflections on Palantir). Modern AI-lab pattern: 25–50% travel, embedded "pods" (Anthropic FDE posting via Menlo/Accel boards; Deloitte GPS posting).
The actual work, per first-hand accounts:
FDE vs adjacent roles. OpenAI's Head of FDE Colin Jarvis, distinguishing from solutions architects: "FDEs are much more hands-on: they write code directly on customer infrastructure… FDEs need to work with more ambiguity than traditional cloud solution architects," and "often what the customer describes in scoping doesn't match the data/system reality on the ground" (Pragmatic Engineer). One Palantir FDE on the rhythm: "Some weeks, I spend most of my time developing… like a typical software engineer. Other weeks, I spend most of my time scoping the future of a project with a client" (ibid.).
Selection effects. The role demands production-grade engineering plus social intelligence plus pain tolerance (travel, ambiguity, sometimes sub-market pay at old Palantir). It became a founder factory: "There are usually more ex-Palantir founders than there are ex-Googlers in each YC batch, despite there being ~50x more Google employees" (Qureshi; see also Lenny's Podcast interview).
Compensation (AI era). OpenAI FDE base $160K–$280K SF mid-level; $350K–$550K total comp mid-senior (Paraform; MarkTechPost). Google Cloud FDE base $127K–$183K + equity (MarkTechPost). Experience bar varies: Palantir accepts ~1 year post-college; Ramp prefers 5+ for senior FDEs but hires exceptional new grads (Pragmatic Engineer).
The S-1 numbers that defined the debate. Palantir's 2020 S-1 disclosed a three-phase customer model — Acquire, Expand, Scale — with brutal early-phase economics (FY2019, total revenue $742.6M):
| Phase | 2019 revenue | Contribution margin |
|---|---|---|
| Acquire | $0.6M | deeply negative (–$65.4M contribution) |
| Expand | $176.3M | –43% (improving to ~35% by 1H20) |
| Scale | $565.7M | +55% (near 87% for top customers) |
(Nasdaq; 17000credits; primary: Palantir S-1/A, SEC)
Palantir deliberately absorbs pilot costs (Acquire), co-develops at a loss (Expand), then harvests software-like margins (Scale). Through 2016–2020 this earned it labels like "consulting company masquerading as software" and "sophisticated talent arbitrage" from VCs and observers (Qureshi). The vindication case: Foundry — distilled from FDE deployments — now drives 50%+ of revenue at ~80% gross margins vs Accenture's ~32% (ibid.).
The bull case (a16z, "Trading Margin for Moat," June 2025). Joe Schmidt's argument: enterprise AI buyers "are like your grandma getting an iPhone: they want to use it, but they need you to set it up." Optimize total gross profit and lock-in, not year-one margin percentage. Precedents: ServiceNow IPO'd at 63.2% gross margin, Workday at 54.1% — both reached 75–79% by 2024; Salesforce burned $52M to make its first $22M. Prescriptions include pricing services at cost, building common libraries, and hard feedback loops to product (a16z).
The critiques and failure modes:
Why AI resurrected the model: the last-mile problem. Most enterprise AI failures are not model failures; they happen when capable systems meet messy workflows, fragmented data, legacy infrastructure, and regulatory constraints (TBR; Medium/Vaidya). The MIT finding that ~95% of GenAI pilots deliver no business value (Forbes) is the demand signal. Self-serve onboarding, docs, and remote support demonstrably did not solve it — "the last mile is mostly not a coding problem… the role is dominated by judgment, translation, and trust" (Wonderful.ai; TSIA).
What changed vs classic Palantir FDE work. The AI-era FDE skill stack: RAG pipeline design, eval frameworks, agent development, production observability, security/compliance, prompt architecture (MarkTechPost); at Anthropic specifically: MCP servers, sub-agents, agent skills shipped into customer production (job posting). A second novelty: at frontier labs the feedback loop reaches all the way to the model — OpenAI's FDE team took call-center performance data "back to OpenAI's research department… and worked on improving the model's performance" (Pragmatic Engineer).
Strategic logic for the labs. As foundation models commoditize, owning the application layer and the "system of work" is the moat; FDEs are how model vendors reach it (a16z). The 2026 JVs (Anthropic × Blackstone/H&F/Goldman; OpenAI Deployment Company) move FDE capacity off the labs' P&L into dedicated vehicles — an explicit shot at the consulting industry's AI-implementation revenue (Fortune; TechCrunch) — while consultancies simultaneously absorb the FDE label themselves (Deloitte, Tredence, TCS). The open question, unresolved in the sources: whether AI-era copiers will run Palantir's full loop (embed → generalize → productize) or stall at high-touch services — Otter's and Cagan's failure modes.
| Year | Milestone |
|---|---|
| 2003 | Palantir founded; early intelligence-community focus (Gotham) |
| 2005 | In-Q-Tel (CIA venture arm) invests; agency pilots begin |
| 2006 | Shyam Sankar joins (~employee #13); becomes the first "forward deployed engineer," embedding with intel/military customers |
| ~2010–2013 | Model formalized: FDSE "Delta" + Deployment Strategist "Echo" embedded pairs; "one customer, many capabilities" |
| 2015–2016 | Flagship commercial embeds (e.g., Qureshi at Airbus Toulouse; A350 ramp 4x) |
| 2016 | Foundry launches — FDE learnings productized; FDE headcount had exceeded product engineers until this point |
| 2016–2020 | Investor skepticism era: "consulting company masquerading as software" |
| Sep 30, 2020 | Direct listing (NYSE: PLTR); S-1 discloses Acquire/Expand/Scale economics (Acquire: $0.6M rev, –$65.4M contribution, 2019) |
| 2023 | Palantir launches AIP; commercial acceleration (commercial now ~46% of revenue, ~$2.1B by 2026) |
| Late 2024 | OpenAI begins FDE hiring; Ramp creates FDE function (~Nov 2024) |
| Early 2025 | OpenAI FDE team formalized under Colin Jarvis (2 FDEs → 10+ across 8 cities) |
| Apr 2025 | Thomas Otter's skeptical "WTF is a forward-deployed engineer?" |
| Jun 4, 2025 | a16z's "Trading Margin for Moat" — FDE "the hottest job in startups"; postings up ~800–1,165% through 2025 |
| Sep 2025 | Marty Cagan's SVPG essay: FDE as discovery accelerant, bespoke-trap warning |
| 2025 | Anthropic Applied AI FDE hiring; Anduril, Salesforce, Google Cloud, Commure, Gecko Robotics, Decagon adopt FDE-type roles; Deloitte builds Anthropic-FDE pods |
| May 4, 2026 | Anthropic ~$1.5B enterprise-services JV (Blackstone, Hellman & Friedman, Goldman Sachs et al.) |
| May 11, 2026 | OpenAI Deployment Company (~$4B, TPG-led, 19 partners); acquires Tomoro (~150 FDEs) |
| Jul 2026 | Mainstream debate matures (Forbes: lock-in and governance critiques vs Palantir's defense) |
Primary / first-hand
Job postings (role-in-practice evidence)
Analysis / press
Known conflicts noted in text: origin date (2006 practice vs early-2010s formalization); Echo described as "analysts" vs "deployment strategists"; ODC $4B raise vs $14B headline; "more FDEs than devs until 2016" traced mainly to one outlet; FDE-as-ARR vs FDE-as-services accounting dispute.
Ranked tangent topics meriting their own deep-dive:
Palantir is the company that turned the forward-deployed engineer into a business model, and the Ontology is the mechanism that kept that model from collapsing into a consulting firm. For its first decade, Palantir's engineers embedded inside intelligence agencies and corporations and built bespoke systems. The strategic insight was that the same structural problems kept recurring across wildly different customers — so instead of solving them again each time, Palantir encoded the solutions as platform primitives: object models, permissioning, workflow engines, provenance tracking. That accumulation became Foundry, and its conceptual core became the Ontology — a governed, operational "digital twin" of the customer organization. When LLMs arrived in 2023, Palantir had an unusual asset: a machine-legible model of each customer's nouns and verbs that an AI agent could act through safely. AIP (Artificial Intelligence Platform) is that bet, and the AIP Bootcamp is its go-to-market expression — compressing what used to be a months-long embedded FDE engagement into roughly five days on the customer's own data. The results reshaped Palantir's commercial business; the critiques — lock-in, opacity, consulting-intensity, demo-versus-production gaps — are equally instructive.
Palantir's own definition is precise and worth teaching verbatim. The Ontology is "an operational layer for the organization" that "serves as a digital twin of the organization, containing both the semantic elements (objects, properties, links) and kinetic elements (actions, functions, dynamic security)" (Palantir docs: Ontology overview).
The two halves matter:
The "digital twin" framing is a claim, not a neutral description. Unlike manufacturing digital twins (a simulation of a physical asset), Palantir's twin is a decision-and-action layer: the point is that applications, humans, and — later — AI agents all read from and write to the same governed model, so a decision made anywhere is consistent with permissions, lineage, and business rules everywhere. Independent explainers (e.g. PuppyGraph's architecture breakdown and Caruso's semantic/kinetic/dynamic layers piece) converge on the same reading: the differentiator is the fusion of semantics with governed action, not the semantics alone.
Palantir's forward-deployed engineers lived on customer sites, shipped working code against live data from day one, and owned the entire data-to-decision loop. Early Gotham deployments were "deeply bespoke, built to answer highly specific intelligence questions" — but engineers kept observing the same structural problems across customers, and Palantir "encoded them as platform primitives: ontologies, object models, permissioning systems, workflow engines, and provenance tracking" (Understanding Palantir, balaji bal). Foundry (launched 2016) is the commercial productization of that pattern.
The mechanism is worth naming precisely, because it is the answer to "why didn't Palantir just become Accenture?": every bespoke engagement was treated as R&D for the platform. Customer interviews and deployment pain shaped "both the customer ontology and Palantir's next product release" — a flywheel where field work feeds product, and product makes the next field engagement cheaper (Perspective AI: the FDE playbook Anthropic and OpenAI are copying). Everest Group calls the result a "category of one": a company that "feels like consulting in its proximity to the client, but scales like software in its product-led DNA" (Everest Group). The Ontology is the compounding substrate — each engagement leaves behind a reusable object model rather than a one-off codebase, and recurring object/action patterns get promoted into the platform itself.
AIP, announced in spring 2023 and shipped mid-2023, is the LLM layer on top of this. Architecturally, AIP integrates "the full range of commercial LLMs (e.g., GPT, Gemini, Claude, Grok models) and open-source models" through Palantir-managed infrastructure with no data retention by providers, and treats the Ontology as the interface that models "the 'nouns' and 'verbs' of operational processes into a legible form for both humans and agents" (Palantir docs: AIP architecture).
The agent-ontology interaction is best understood as a five-layer stack (ZeroFuture Tech's deep dive):
Two design decisions carry the pedagogical weight. First, agents never touch raw data: they operate only through governed Ontology interfaces, so a permission the agent lacks is information it architecturally "cannot know" — which doubles as hallucination containment. Second, the default posture is augmentation before automation: actions are staged by the AI and handed to a human for review, with Palantir describing "a smooth journey from augmentation to automation" as trust accumulates (AIP architecture). This is the clearest production-grade articulation anywhere of "LLM proposes, human disposes" as an enterprise pattern.
The go-to-market innovation arrived in October 2023, when Palantir announced AIP Bootcamps: Palantir engineers arrive at (or host) a customer, and in one to five days build a working AI application on the customer's own live data — explicitly replacing the traditional 1–3 month pilot (Palantir blog: "Deploying Full Spectrum AI in Days"). This is the FDE engagement model — embed, integrate real data, ship something operational — compressed from months into a week and repurposed as a sales instrument.
The trajectory, from earnings materials and coverage:
Alex Karp's framing in shareholder communications is the motto of the whole motion: "In AIP, we have built a platform to deliver proof, not just proofs of concept, to our customers, and bootcamps are the way to flex that strength" (Letters from the CEO). The reason the compression works at all is the Ontology: because the semantic/kinetic scaffolding is pre-built platform machinery, five days is enough to wire a customer's data into objects and actions and put an LLM workflow on top — the bespoke part shrinks to the customer-specific mapping.
Serious criticism clusters into four lines:
Connect.AI's positioning — a student-led forward-deployed engineering team embedded in partner businesses — is a scale model of exactly this story, and each Palantir element maps onto the curriculum:
Two stories intersect at the forward-deployed engineer. The first is the enterprise AI "last mile": the now-viral finding that 95% of GenAI pilots "fail," which — read carefully — is not a claim that AI doesn't work, but that custom, embedded enterprise AI overwhelmingly fails to show measurable P&L impact within a tough six-month window, while adoption of generic tools quietly booms. The second is a sixty-year lineage of engineers who go to where the customer is: IBM systems engineers, ERP consultants, sales engineers, solutions architects. The FDE is the newest name on that family tree, and the honest verdict is "rebranded lineage plus one genuinely new structural idea" — the feedback loop from bespoke field work back into a compounding product. For a curriculum that positions students as a forward-deployed engineering team, both stories are load-bearing: the failure literature explains why the role exists, and the lineage explains what kind of professional the student is becoming.
The report — The GenAI Divide: State of AI in Business 2025, from MIT's Project NANDA (not "MIT" institutionally, and not peer-reviewed) — drew on data gathered January–June 2025: a review of 300+ publicly disclosed AI initiatives, interviews across 52 organizations, and surveys of 153 senior leaders (Fortune). The headline number: about 95% of integrated, custom enterprise GenAI pilots showed no measurable effect on profit and loss. Crucially, the same report found that generic LLM chatbot pilots (ChatGPT-class tools) moved from pilot to implementation at roughly an 83% rate, and that ~90% of employees reported using personal AI tools at work even though only ~40% of firms had enterprise subscriptions — a "shadow AI economy" of bottom-up adoption (Forbes/Snyder). The authors' own diagnosis was a "learning gap," not a technology gap: "This divide does not seem to be driven by model quality or regulation, but seems to be determined by approach."
How the claim gets misquoted. "95% of AI fails" is not what the study says. The precise claim is: 95% of custom-built, workflow-embedded GenAI pilots showed no measurable P&L impact within about six months. Three qualifiers — custom, P&L-measurable, six months — do all the work, and viral coverage dropped all three.
Methodological critiques. The 95% figure rests substantially on 52 interviews the authors themselves call "directionally accurate... rather than official company reporting"; the success bar (deployment beyond pilot with KPIs, ROI measured six months post-pilot) excludes efficiency gains, churn reduction, and pipeline effects; and the report never explains how the 300+ public initiatives were synthesized into the number. Paul Roetzer's blunt assessment: "This is not a viable, statistically valid thing" (Marketing AI Institute). Rob T. Lee's critique goes further, arguing the report measures institutional AI while missing where the value actually flows — through individuals (Substack). Use the study as a directional signal about integration difficulty, never as a census of AI's value.
The report's most defensible findings are about the winners. Purchased tools and external partnerships succeeded roughly twice as often as internal builds (~66–67% vs ~33% success), the successful few treated vendors like accountable business partners rather than software suppliers, aimed AI at the back office (where ROI is deep but unglamorous) rather than sales/marketing (where budgets concentrate), empowered line managers over central AI labs, and — the report's through-line — deployed systems that learn and retain context instead of static tools (Forbes/Snyder).
The directional picture is corroborated by studies with different methods. S&P Global Market Intelligence found the share of companies abandoning most of their AI initiatives jumped from 17% in 2024 to 42% in 2025, with ~46% average attrition between proof-of-concept and broad adoption (summary). Gartner predicts over 40% of agentic AI projects will be canceled by end of 2027, citing escalating costs, inadequate risk controls, poor data quality, and unclear business value — hype-driven pilots that hide "the real cost and complexity of deploying AI agents at scale" (Gartner press release). Convergent conclusion across all three: the constraint is integration, workflow learning, and organizational absorption — the last mile — not model capability.
The "go to the customer" engineer long predates Palantir (Cloud Authority's history):
The critique is real. For years Palantir was mocked as "a consulting firm wearing a software company's clothes"; the Blind-forum version is "wtf is a forward deployed engineer, bro, you're just a consultant." The margins critique has teeth: services revenue scales linearly with headcount, and heavy FDE dependence can mask a product that isn't self-serve — see the skeptical treatment in Forbes/Banker, July 2026.
What is actually new (three things). First, production code and outcome ownership: unlike SAs (blueprints) and SEs (demos), FDEs write and ship code against the customer's real data in the customer's real environment, and own whether it delivers a result. Second — the core structural innovation — the feedback loop: field discoveries become platform features, so "each new deployment [is] cheaper and more powerful," converting bespoke work into compounding product advantage; when that loop is absent, "it is services with better branding" (Cloud Authority). Third, the AI-era economics: a16z's Joe Schmidt ("the hottest job in startups") argues startups should deliberately trade early margin for moat — ServiceNow IPO'd at 63.2% gross margin, Workday at 54.1%, both later exceeding 75% — and that this platform shift differs from the 1990s because "the implementation work required to make agentic experiences can itself be streamlined and automated by AI" (a16z). OpenAI, Anthropic, Ramp, and Salesforce now hire FDEs; postings grew over 1,000% year-on-year (Pragmatic Engineer).
Synthesis. The MIT finding and the FDE model are two sides of one coin: the study says embedded, custom AI fails when nobody owns workflow learning and integration; the FDE is precisely the role invented to own it. The 5%'s behaviors — accountable external partners, deep workflow embedding, systems that learn — are the FDE job description.
The forward-deployed engineer is, as of mid-2026, the most visible new job title in software. Monthly FDE job postings grew more than 800% between January and September 2025 and were still up 729% year-over-year in April 2026; a16z calls it "the hottest job in startups" and now runs an FDE Fellowship to manufacture more of them. The demand driver is brutally simple: MIT's Project NANDA found ~95% of enterprise GenAI pilots produce no measurable P&L impact — the bottleneck is deployment, not models — and FDEs are the deployment fix. The role Palantir invented two decades ago (embed an engineer inside the customer, have them own the problem end to end) has been copied by OpenAI, Anthropic, Ramp, and hundreds of AI startups. For students, the interesting facts are: (1) what these roles screen for is not Leetcode depth but problem decomposition under ambiguity plus customer empathy — teachable, portfolio-demonstrable skills; (2) the role has an unusually strong track record as a founder pipeline (the "Palantir Mafia"); and (3) its long-run durability is genuinely contested — including by the very AI these engineers deploy — but the underlying skill bundle looks durable even if the title isn't.
Palantir remains the reference interview. Its FDSE loop centers on a 60-minute "decomposition" round — take a deliberately vague real-world problem, break it into modular technical components, and propose a solution with little or no code — widely described as the hardest part of the loop precisely because it's unfamiliar, not because the algorithms are hard (Exponent's Palantir FDE guide). Postings ask for strong Python/Java/TypeScript proficiency as a baseline; the differentiator is structured thinking under ambiguity and end-user reasoning (Exponent's 2026 FDE interview guide).
Anthropic's "Forward Deployed Engineer, Applied AI" posting asks for 3+ years in a technical customer-facing role (or SWE plus consulting experience), production experience with LLMs, and Python plus ideally TypeScript/Java; the work is embedding with strategic customers to ship production Claude applications and deliver artifacts like MCP servers, sub-agents, and agent skills (Anthropic Greenhouse posting). OpenAI's FDE postings similarly want 5+ years of engineering or technical-deployment experience with production-grade full-stack ability (fde.academy guide); a16z counted 22 open FDE/solutions roles out of OpenAI's 311 total openings (a16z).
Ramp — the clearest startup articulation — hires FDEs on four traits: drive/work ethic ("the single best predictor of real-world performance"), solid engineering fundamentals without perfectionism, customer empathy and EQ for tense negotiations, and exceptional cross-functional communication. Ramp explicitly distinguishes FDEs from solutions engineers (who configure to close deals) — FDEs build and own production systems inside customer environments across the whole lifecycle — and notes the team are "very heavy users of Cursor and Claude Code" (Ramp Builders Blog).
The composite screen across all four: code well enough, decompose ambiguous business problems, sit comfortably with non-technical customers, and ship in someone else's messy environment.
Numbers vary wildly by tier, and much of the published data comes from recruiting-content marketing, so weight accordingly. The most credible anchor: Levels.fyi self-reported data puts Palantir FDSE total comp at $171K–$295K, median ~$211K (Levels.fyi) — solid but unremarkable senior-SWE money. Frontier labs are the outlier: OpenAI FDE packages are widely reported at $350K–$550K TC for mid-to-senior, heavily equity-weighted (fde.academy; Paraform). A vendor survey of ~1,200 FDEs claims averages of $385K mid / $610K staff / $1M+ principal at frontier labs with equity at 60–70% of TC (Perspective AI report family) — directionally plausible for labs, almost certainly inflated as a market-wide average. Honest read: typical FDE comp ≈ strong SWE comp, with a frontier-lab premium for LLM production experience.
The screening criteria are unusually portfolio-friendly compared to big-tech SWE loops. What the interviews reward maps one-to-one onto artifacts a student can actually produce: a real engagement with a real business (embedding evidence beats internship titles for the "customer-facing" requirement); a written diagnosis of an ambiguous business problem decomposed into components (literally the Palantir decomposition round, practiced); a shipped production artifact in someone else's environment — an integration, an assessment tool, an MCP server, an agent workflow (Anthropic's posting names these artifact types explicitly); and documented communication with non-technical stakeholders. The 2–4 years' experience most postings request is a proxy for exactly this evidence; a dense portfolio of genuine embedded engagements is the closest available substitute, and entry paths through solutions-engineering and implementation roles at AI startups are the realistic first rung (Underdog.io career guide).
The FDE seat is arguably the best founder training ground in tech because it forces daily contact with real enterprise pain. By 2024, 111+ Palantir-alumni companies had raised $11.6B, with a core of ~30 founders pulling in $6B+; Anduril (co-founded by Palantir alumni Trae Stephens, Matt Grimm, Brian Schimpf) is the flagship, and dedicated vehicles ("Palumni VC") now exist just to fund the network (Concept VC deep dive; FinanceFeeds on the "Palantir Mafia"). The causal story matters for students: FDEs see unsolved problems inside industries software rarely reaches — which is exactly where these alumni founded companies.
The bear case is real and comes in two forms. First, the incumbent-software critique: Anaplan's CEO calls FDE an effective sales tactic but a poor long-term strategy — custom lock-in, limited generalization — and predicts its decline (Forbes, July 2026). Second, the self-automation critique: a16z's own essay concedes that integration work — field mapping, data pipelines, system glue — "can now be done much more efficiently (and in some cases, entirely!) with AI" (a16z, "Trading Margin for Moat"). The role's core tooling is actively eating the role's routine layer; Ramp's FDEs running Cursor and Claude Code all day are the proof.
But the same a16z essay makes the durability case: enterprises "buying AI are like your grandma getting an iPhone: they need you to set it up," agents need ongoing management and context like human hires, and the margin history of services-heavy software (ServiceNow 63% gross margin at IPO → 79% in 2024; Workday 54% → 75%) shows services-led motions mature into high-margin moats rather than dying. Synthesis: the commodity layer of FDE work (integrations, config) will be automated and the title may fade or bifurcate, but the judgment layer — decomposing an ambiguous business problem, redesigning a process around AI, owning trust with a customer — is the last thing automation reaches, because it is the layer that supervises the automation. FDE is best understood not as a permanent job title but as today's highest-leverage packaging of a durable skill bundle; the arbitrage window (2025–2029?) is also the window in which students entering now would use it.
The idea behind Connect.AI — university students doing real professional work for real external parties, under faculty supervision, for credit — is not an experiment. It is one of the oldest and best-validated structures in American higher education, running under different names in different professions: the clinic in law, the clerkship in medicine, the co-op in engineering and business, the industry-sponsored capstone in design education, and the student consulting team in entrepreneurship programs. Each tradition converged independently on the same architecture: authentic client work, bounded scope, credentialed supervision, structured feedback, and written agreements that make roles explicit. The outcomes literature is consistent on the student side — stronger skill development, better employment outcomes, higher field-relevance of first jobs, and in some analyses a durable earnings premium. The client-outcome literature is thinner but positive. The clearest lesson across all five traditions is that the supervision structure, not the placement itself, is the load-bearing element: every mature model pairs student autonomy with a professional in the loop, explicit scope-of-practice limits, and documentation. Programs that treat those safeguards as bureaucratic overhead are the ones that fail; programs that build them in are the ones that have run for fifty to a hundred years.
Modern clinical legal education dates to a deliberate, funded intervention. The Ford Foundation, after funding scattered law-clinic experiments from 1959, created the Council on Legal Education for Professional Responsibility (CLEPR) in 1968 with an upfront commitment of $6 million — over $50 million in today's dollars — and distributed roughly $10 million in grants to U.S. law schools through 1980 (Capital Research Center). The diffusion curve was extraordinary: in 1968 only twelve law schools offered clinics for credit; four years later, 125 of 147 did (Harvard Law CLP). CLEPR's dual mandate — expand free legal services and reform a curriculum students found disconnected from practice (Columbia Law School) — maps almost exactly onto a program that pairs community economic development with curricular relevance. Sixty years on, the model is standardized in accreditation itself: ABA Standard 304 defines a law clinic as advising or representing actual clients with direct faculty supervision, opportunities for performance, feedback, and self-evaluation, and requires field placements to rest on a written three-way understanding among student, faculty, and site supervisor, with records maintained (ABA Standards 303–304; Harvard CLP on standardization).
Medicine has run student-embedded training at national scale for a century, and its recent research frontier is directly relevant to Connect.AI's weekly-on-site design. Longitudinal integrated clerkships (LICs) — where students follow the same patients and preceptors over months instead of rotating in short blocks — rest on three evidence-backed principles: continuity, meaningful relationships, and immersion in real settings (Advances in Health Sciences Education, hermeneutic review). A 2023 systematic review in Medical Education found an overall beneficial impact of LICs on patient-care processes and outcomes, while candidly noting the evidence base is still thin (Dodsworth et al. 2023); a qualitative systematic review found that sustained student–patient relationships let students become "agents of change" for the people they serve (Education for Primary Care, 2022). The transferable finding: a student team that returns to the same business weekly for six weeks is pedagogically stronger than the same hours spread across many short engagements — and the field's honest gap (weak client-outcome measurement) is one a program with a baseline assessment instrument can avoid.
Cooperative education began at the University of Cincinnati in 1906 and reached institutional scale at Northeastern and Waterloo, whose programs are now the outcome benchmarks. Waterloo students complete four to six four-month paid work terms across their degree (University of Waterloo); Northeastern reports 96% of graduates employed or in graduate school within nine months (Northeastern College of Science). The independent evidence is Canadian government data. Statistics Canada's National Graduates Survey analyses show bachelor's-level co-op participation more than doubled (5% to 12%, 1986–2010), and co-op graduates were substantially more likely to report their job was related to their education (87% vs. 80%) (Statistics Canada 81-595-M). Multiple peer-reviewed analyses of the same survey series (Walters & Zarifa 2008; Wang 2017, both summarized in Statistics Canada's research program) find a persistent earnings premium for co-op graduates over otherwise-similar peers (Statistics Canada, 2021). Co-op is the strongest quantitative case that embedded real work changes labor-market outcomes, not just satisfaction scores.
The closest structural analogs to Connect.AI are industry-sponsored engineering capstones and business-school consulting practica. Capstone research finds that open-ended problems with real project constraints produce measurably better learning — critical thinking, teamwork, professional communication — without degrading deliverable quality, and that practitioner feedback to students is itself a distinct learning input (Education Sciences, 2023); programs like the University of Washington Industry Capstone formalize sponsor recruitment, IP terms, and mentor roles. In business schools, the Small Business Institute (SBI) has run student-team consulting for small firms since 1972, and its documented best-practice model is an SBI–SBDC partnership: the SBDC recruits and screens clients, matches them to student teams, and assigns a professional SBDC consultant as case supervisor for each engagement (SBI–SBDC collaboration study; Small Business Institute Journal; Florida SBDC at UCF). Connect.AI's CTSBDC partnership — advisor-screened businesses drawn from an assessment pool — is a textbook instance of this validated pattern. On the broader evidence, a national-scale study (n = 76,261 graduates) confirms work-based WIL improves foundation, adaptive, and collaborative skills, while noting well-designed non-placement project work can rival it — design quality matters more than mere placement (Higher Education Research & Development, 2023; see also this systematic review in Review of Education).
Across professions, the safeguard architecture is remarkably uniform. Law is the most explicit: every state supreme court and several federal agencies maintain student practice rules that define exactly what supervised students may do before clients and courts (Mitchell Hamline summary), and ABA standards require direct supervision, written tripartite agreements, feedback structures, and compliance records. Medicine uses graded responsibility under an attending. SBI uses a professional case supervisor per engagement. Three principles recur: (1) students act under a credentialed professional whose review precedes anything reaching the client; (2) scope is defined in writing before work begins; (3) the institution documents supervision, both for quality and liability. Free engagements (as with CTSBDC) reduce contractual exposure but not reputational risk — the review gate is what protects the client and the program's partner pipeline.
Research date: 2026-08-02. Segment sizing computed directly from Census SUSB 2022 microtables (downloaded and tabulated for this chapter, not quoted from secondary sources). All other figures attributed inline with dates.
The customer you are proposing to serve — the $5–25M revenue American company with 10–50 employees — is the largest under-served software market in the country, and it is under-served for structural reasons, not accidental ones. There are roughly 393,000 US employer firms with $5M–$25M in annual receipts (Census SUSB 2022), employing about 17.4 million people. Almost none of them have a software engineer on payroll. Their entire technology relationship runs through a managed service provider (MSP) whose business model is keeping laptops working and ransomware out — a maintenance contract, not a build capability. When these firms need software that fits how they actually operate, their options have been: buy horizontal SaaS and contort around it, pay a regional dev shop $130–200/hour for a $130K+ project with a 13-month timeline, or do nothing. Overwhelmingly they do nothing.
Three things changed the calculus by 2026. First, AI-era development compresses the cost of custom software below this segment's pain threshold — projects that priced at $150K can be delivered for a fraction of that. Second, AI adoption in this segment is wildly bifurcated: roughly three-quarters of SMB CEOs personally use generative AI (Vistage, Q4 2025), but only ~17–18% of businesses use AI in any business function (Census BTOS, late 2025) — a gap between owner enthusiasm and operational deployment that is precisely the shape of a forward-deployed engagement. Third, the buyer is reachable: the owner decides, the CFO gates, sales cycles run weeks-to-months rather than quarters, and two warm channels — accountants (the most-trusted advisor to small business owners) and private equity sponsors (who now own ~11,500 US companies, most of them mid-sized) — concentrate access to thousands of these firms through a handful of relationships. The FDE model — embed, diagnose, spec, build — is the delivery mechanism this moment was waiting for. The market question is not whether demand exists; it is whether you can sell trust fast enough.
Two different rulers measure this segment, and they do not measure the same firms — a distinction most market-size claims blur.
By revenue. The Census Bureau's Statistics of U.S. Businesses (SUSB) publishes firm counts by enterprise receipts size only in Economic Census years. The newest vintage, SUSB 2022 (released April 2025; tables, file us_6digitnaics_rcptsize_2022.xlsx), counts, among 6,395,635 total US employer firms:
| Receipts band (2022) | Firms | Employment |
|---|---|---|
| $5.0–7.5M | 155,200 | 4,510,215 |
| $7.5–10M | 80,189 | 3,109,812 |
| $10–15M | 85,220 | 4,357,047 |
| $15–20M | 44,621 | 3,081,413 |
| $20–25M | 27,826 | 2,353,412 |
| $5M–<$25M total | 393,056 | 17,411,899 |
That is 6.1% of employer firms holding a hugely disproportionate slice of economic activity. The same tabulation for 2017 gives 317,181 firms in the band — nominal growth of ~24% over five years, most of it inflation pushing firms across thresholds rather than real expansion.
By headcount. SUSB's detailed employment-size table (us_state_naics_detailedsizes_2022) counts 1,084,689 firms with 10–49 employees (sum of the 10–14 through 40–49 bands), employing ~21.7 million.
The mismatch, stated honestly. The $5–25M revenue band averages ~44 employees per firm — revenue-per-employee varies enormously (a 15-person software or distribution firm can clear $10M; a 45-person restaurant group may not clear $5M). Census publishes no public cross-tabulation of revenue × employment, so the true intersection — firms that are simultaneously $5–25M and 10–50 people — is an estimate: plausibly 150,000–300,000 firms. For comparison, the National Center for the Middle Market defines the middle market as $10M–$1B revenue and counts ~200,000 firms generating one-third of private-sector GDP and ~48M jobs (NCMM, 2025); SUSB 2022 counts 285,007 firms at $10M+. Your target sits at the bottom of NCMM's middle market and the top of the SBA's "small business" — which is exactly why nobody's sales force is organized around it.
IT budget as % of revenue. Cross-source benchmarks for 2024–2026 put average IT spend at 3.6–5% of revenue, ranging ~1% (construction) to 10%+ (financial services); Deloitte's 2025 CIO survey median is 5.6%, and smaller firms spend a higher percentage on a smaller base — ~6.9% for businesses with 1–49 employees vs 3.7% for 5,000+ (compiled 2026, citing Gartner/Deloitte survey data). Applied to the band: a $5–25M firm plausibly spends $150K–$1.2M/year on technology in services-heavy industries, and as little as $75–300K in construction, distribution, and manufacturing — the verticals where the biggest process-software gaps live. Spiceworks' 2025 State of IT (fielded 2024) found 64% of organizations increasing IT budgets, ~9% YoY, with security and generative AI the top growth lines.
Where it goes today. The dominant recurring line is the MSP contract: managed IT runs $100–250/user/month in most 2025–26 US markets, with small businesses (15–75 users) clustering at $100–175. A 30-person firm therefore pays roughly $36K–$63K/year for helpdesk, patching, backup, and security — pure keep-the-lights-on, zero build. Add per-seat SaaS (accounting, CRM, industry vertical tools) and hardware refresh, and most of the budget is spoken for before any discretionary project.
Discretionary project budgets. When these firms do commission software: the average custom project in 2025 ran $75K–$250K; Clutch's 2025 data puts the mean at $132,480 and ~13 months, with simple applications starting ~$50K. Fractional CTO retainers — the closest existing product to "senior technical judgment, part-time" — run $3K–15K/month ($200–400/hour) (2025–26 guides). These are the price anchors an FDE offer gets compared against: cheaper and faster than a dev shop project, more hands-on than a fractional CTO, and doing something the MSP categorically does not.
MSPs are the incumbent relationship. The global managed services market was ~$400B in 2025, and ~51% of SMBs use an MSP, rising to 62% of midsize firms. MSP economics are per-seat recurring revenue on standardized tooling with thin technical labor — which is why MSPs structurally cannot pivot to custom build work: their margin depends on every client running the same stack. This makes them a potential referral partner as much as a competitor.
Regional dev shops serve the segment episodically at $100–200/hour onshore, with the cost/timeline profile above — a pricing umbrella AI-era delivery undercuts. Fractional CTOs sell judgment without hands. Accountants and advisors sell neither, but own the trust: in the most-cited survey, 86% of small business owners view their accountant as a trusted advisor, and 31% name the accountant their single most-trusted advisor — ahead of family and friends (22%) and lawyers (16%) (OnPay, 2019; dated but directionally durable and corroborated by later Accounting Today coverage). Nobody in this landscape combines embedded presence + diagnostic authority + build capability. That is the open lane.
The federal statistic is the Census Business Trends and Outlook Survey: under the re-worded "any business function" measure, 17.3% of US businesses used AI as of November 2025, rising to ~18% for Nov 2025–Jan 2026 — but 32% employment-weighted, meaning large firms adopt at roughly double the rate of small ones, and firms under 50 employees expect less than a 5-point gain in coming months. Enterprise adoption, by contrast, is near-saturated at the organizational level.
Sentiment in the middle market runs far ahead of deployment. JPMorganChase's 2025 Business Leaders Outlook (Jan 2025) found 48% of midsize businesses planning to add AI applications within the year and ~80% planning to explore AI tools by 2026; the 2026 edition (Jan 2026) shows 73% expecting revenue growth, with 60% saying AI will not change headcount. Vistage's SMB CEO research shows 76% of SMB CEOs personally using generative AI by Q4 2025 and ~58% of small businesses reporting some gen-AI use (mid-2025), with ~30% of CEOs increasing AI budgets as early as 2024.
Read those together: the owner is already convinced; the firm hasn't moved. The 58-point gap between CEO personal use (76%) and firm-level functional deployment (~18%) is an implementation gap, not an awareness gap — and implementation gaps are bought as services, not software.
In a 10–50 person firm the owner/CEO is the economic buyer, with the CFO (or outsourced controller) as gate — benchmark data across 2025–26 shows CFOs gating most deals above $50K and buying committees growing, though in this segment the "committee" is typically owner + CFO + one operations lead. Sales cycles: SMB deals under ~$15K ACV close in 14–30 days; $15K–100K mid-market deals run 30–90 days, with larger project sales stretching 3–6 months; cycles industry-wide lengthened ~22% since 2022 under budget scrutiny. Practically: a paid diagnostic or assessment closes in weeks; a six-figure build closes in a quarter.
Trust channels beat outbound. Referrals, industry associations, and the accountant relationship (above) dominate. The highest-leverage structural channel is private equity: the US PE-backed company count grew from ~2,000 in 2000 to more than 11,500 by 2024 — versus ~4,500 public companies (Citizens, 2024–25). Against ~200K middle-market firms that is only ~5–6% of the segment by count (concentrated above $25M revenue, so a smaller share of your core band) — but it punches far above its weight as a channel: the average middle-market fund holds 10–20 active portfolio companies, sponsors run explicit value-creation playbooks with mandates to professionalize operations and deploy AI, and one ops-partner relationship can source a dozen engagements. Willingness-to-pay evidence: the segment already pays $36–63K/year for MSP maintenance, $3–15K/month for fractional technical judgment, and $75–250K for custom projects when the pain is sharp enough — and Vistage shows AI budgets actively expanding. The money exists; it is currently buying worse things.
| Metric | Value | Source / date |
|---|---|---|
| US employer firms, $5M–<$25M receipts | 393,056 (17.4M employees) | SUSB 2022, computed from Census tables (rel. Apr 2025) |
| US employer firms, 10–49 employees | 1,084,689 (21.7M employees) | SUSB 2022, computed |
| Same bands, 2017 | 317,181 / 1,047,370 | SUSB 2017, computed |
| Middle market ($10M–$1B): firms / GDP share | ~200,000 / one-third of private GDP, ~48M jobs | NCMM, 2025 |
| IT spend, % of revenue (SMB) | ~4–7% typical; 1–3% in construction/distribution; small firms ~6.9% vs enterprise 3.7% | Gartner/Deloitte-derived compilations, 2024–26 |
| MSP contract cost | $100–250/user/mo (SMB cluster $100–175) → ~$36–63K/yr for a 30-person firm | MSP pricing surveys, 2025–26 |
| SMBs using an MSP | ~51% (62% of midsize) | MSP industry stats, 2025–26 |
| Custom software project | avg $75–250K; Clutch mean $132,480, ~13 months | 2025 dev-cost surveys |
| Fractional CTO | $3–15K/mo; $200–400/hr | 2025–26 pricing guides |
| Firm-level AI use (any function) | 17.3% (Nov 2025); ~18% Nov 25–Jan 26; 32% employment-weighted | Census BTOS, 2025–26 |
| SMB CEO personal gen-AI use | 76% | Vistage, Q4 2025 |
| Midsize firms planning AI adoption | 48% within 2025; ~80% exploring by 2026 | JPMorganChase BLO, Jan 2025 |
| Accountant as most-trusted advisor | 86% trusted / 31% ranked #1 | OnPay, 2019 |
| US PE-backed companies | ~11,500+ (vs ~4,500 public) | Citizens, 2024–25 |
| Sales cycle | <$15K ACV: 14–30 days; $15–100K: 30–90 days; larger: 3–6 mo | B2B benchmarks, 2025–26 |
us_6digitnaics_rcptsize_2022.xlsx, us_state_naics_detailedsizes_2022.txt; 2017 comparators from the 2017 directory)The forward-deployed engineering model is having a moment: between May and July 2026, Anthropic (Ode, with Blackstone, H&F and Goldman, ~$1.5B), OpenAI (the Deployment Company, ~$4B), AWS, and Deloitte all committed capital to putting engineers inside customers' buildings (Forrester, AWS APN, Deloitte). All of that money is chasing the enterprise. The $5–25M-revenue middle market — too small for Deloitte, too complex for a Zapier template — is largely unserved, and its unit economics turn out to be the interesting part of the founder's problem. The revenue side is well-anchored: this buyer already pays an MSP $100–250 per user per month, a marketing agency $2–5K a month, and a bookkeeper ~$45–80K a year, so price points of $5–25K for a diagnostic, $15–100K for a build, and $2–8K/month for a retainer sit inside budgets that already exist. The cost side is where an AI-leveraged firm can genuinely diverge from the dev-shop baseline: if agentic tooling lets one engineer carry two to three concurrent small-company engagements instead of one, revenue per delivery head moves from the professional-services median (~$160–210K) toward $280–300K, and gross margin moves from dev-shop territory (30–50%) toward agency territory (55–70%) — while tooling COGS stays under 3% of revenue. The math below builds a $1M and a $5M model on documented benchmarks, stating every assumption, including the ones not yet proven.
Diagnostics / AI-readiness audits ($5–25K). Published 2025–26 pricing clusters tightly: quick assessments at $2.5–5K, focused two-to-three-department assessments at $5–15K, comprehensive engagements to $15–30K, typically fixed-fee and 2–4 weeks (ConsultKit, Aries Consulting Group, AI Consulting Network). For a 10–50-employee company, $8–15K is defensible; the audit's real function is qualifying the build.
Build projects ($15–100K). An FDE build for this segment — an internal tool, a quoting/intake/reporting automation, an agent-assisted workflow — prices like a productized small-scale custom development project. The floor is set by what an agency charges for a serious website or integration ($15–40K); the ceiling by the buyer's sense of one loaded salary ($100K+). Mid-market comfort zone: $40–75K, staged.
Retainers ($1–10K/month). The anchor set is decisive here. MSP contracts run $100–250/user/month (Corsica, Teal) — a 25-person company already pays $30–75K/year for IT alone. Small-business agency retainers run $1.5–4K/month single-channel and $3.5–5K+ multi-channel (Digital Applied, Scopic). A full-charge bookkeeper averages ~$44–45K/year on Salary.com data and $63–82K on Robert Half's survey (Salary.com, Robert Half). A $3–5K/month "AI operations" retainer is therefore priced like one more vendor the buyer already understands — below the MSP, at the agency, around half a bookkeeper.
Outcome pricing — feasible but not down-market, yet. McKinsey reports ~a quarter of its fees are now outcomes-driven (Consulting Quest), but the model demands precise baselines, measurement infrastructure, and buyer education (DealHub, Valueships). A $10M company rarely has clean enough data to adjudicate "hours saved." Practical down-market form: hybrid — a reduced base retainer plus a success kicker tied to one crisply measurable metric, introduced only after a first fixed-fee engagement establishes trust and a baseline.
Carrying capacity. Traditional professional-services math: SPI's 2025 benchmark puts billable utilization at 66.4% — a survey-history low — against a 70% healthy floor and 75% for high performers (SPI via Kantata, Saibon). At 70% of 2,080 hours ≈ 1,450 billable hours, a dev-shop engineer effectively carries one full-time engagement. The AI-leverage claim: agentic tooling (Anthropic's internal data showed +67% merged PRs per engineer; controlled Copilot studies show 55% faster task completion — Index.dev, Larridin) shifts the engineer's hours from writing code to scoping, reviewing, and deploying it. Reason transparently: those studies measure task-level speedup, not engagement throughput, and the binding constraint becomes meetings and context-switching, not code. A conservative translation: a middle-market engagement needs ~10–15 focused hours/week during build and 3–5 in retainer mode, so one FDE plausibly carries 2–3 concurrent engagements (vs. ~1 traditionally) — capped at 3 by human attention, not by the model. This is the single assumption the whole margin story rests on; instrument it from engagement one.
Fully-loaded cost per engineer. At non-frontier comp — mid-level or strong-junior talent in secondary markets — base runs $85–120K; the standard benefits-and-overhead multiplier is 1.25–1.4× (Arc.dev, Glencoyne), i.e. $110–165K fully loaded. (Senior US engineers run $280K+ loaded — the model deliberately avoids that tier.)
Tooling COGS. Anthropic's current API list pricing is $5/$25 per million input/output tokens for Claude Opus 5 and $3/$15 for Sonnet 5 (Anthropic pricing); heavy agentic-coding users run $200–600/engineer/month typical, $2,000/month at the extreme (Larridin). Per engagement that's roughly $500–2,000 — 1–3% of a $60K build. Tooling is a rounding error next to labor; the leverage it buys is not.
Gross margin targets. Benchmarks: custom dev shops 30–50% gross (8base); agencies 55–70%, top performers 75%+ (Haus Advisors); MSPs 45–60% healthy, 46.2% average managed-services GM per Service Leadership data (ConnectWise, FlexPoint). An AI-leveraged FDE at 2.5 engagements/engineer should target 55–60% gross — agency-grade margins on dev-shop work. Illustrative unit: one engineer, $150K loaded + $6K tooling, carrying ~$390K of annual engagement revenue (2.5 slots × ~$13K/month blended) → ~60% gross.
Channel economics are lopsided: B2B referral CAC benchmarks run $141–200 per client, outbound/SDR-driven up to $1,980, with professional services averaging $400–600 (Phoenix Strategy Group, Userpilot). Against a $50–100K first-year client value, even outbound CAC is <4% of revenue — the real cost is founder time, not dollars. Cycle length: professional-services deals of this size close in 30–180 days, with $25–100K mid-market deals benchmarked at 90–180 days and relationship/referral-led deals at 30–75 (Cleanlist, Causo). The paid diagnostic is the cycle-compression device: it converts a six-month "should we trust these people with $60K" decision into a 30-day "$10K to find out" decision. Plan on referral + ecosystem (SBDC-style intermediaries, accountants, MSPs) as the dominant channel through $1M; budget real outbound only when building the $5M pipeline.
The synthesis: the FDE firm should benchmark pricing against MSPs and agencies, utilization discipline against SPI, and EBITDA ambition against top-quartile MSPs — because AI leverage is the only structural reason to believe it can beat the ~10% professional-services median.
Path to $1M (months ~12–30). Team: founder (selling + delivering) + 2 engineers + fractional ops.
| Revenue line | Volume | Price | Annual |
|---|---|---|---|
| Diagnostics | 12/yr | $12K avg | $144K |
| Build projects | 8/yr | $60K avg | $480K |
| Retainers | 8 active | $4K/mo | $384K |
| Total | ~20 clients touched | $1.008M |
| Cost line | Assumption | Annual |
|---|---|---|
| 2 engineers, loaded | $120K base × 1.35 | $324K |
| Founder comp, loaded | $90K salary (below market — the founder-salary reality) | $122K |
| AI tooling | 3 × ~$500/mo | $18K |
| Sales & marketing | referral-led; events, content, ~$3K/client CAC equivalent | $45K |
| Ops/overhead | insurance, legal, accounting, software, travel | $75K |
| Total | $584K |
→ ~42% EBITDA-before-fair-founder-comp; ~$424K operating profit, of which the honest read is that ~$100K is unpaid founder market wage. Key assumptions: each engineer carries ~2.5 concurrent slots; ~7 concurrent engagements at steady state; retainer churn ~25%/yr; conversion audit→build ≈ 60%, build→retainer ≈ 70%. RPE ≈ $290K/delivery head — above the $200K benchmark line; that gap is the AI-leverage thesis, and if it doesn't materialize the model degrades to ~$700K revenue on the same cost base.
Path to $5M (years ~3–5). Team of ~17: 2 partners, 12 engineers (2 as tech leads), 2 sales/account, 1 ops.
| Revenue line | Volume | Price | Annual |
|---|---|---|---|
| Diagnostics | 30/yr | $15K | $450K |
| Build projects | 30/yr | $75K avg | $2.25M |
| Retainers | 40 active | $4.5K/mo | $2.16M |
| Outcome kickers | 5 deals | $30K avg | $150K |
| Total | ~70 active clients | $5.01M |
| Cost line | Annual |
|---|---|
| 12 engineers loaded ($145K avg) | $1.74M |
| 2 partners ($175K loaded each) | $350K |
| Sales/AM (2 × $150K OTE loaded) + programs | $500K |
| Ops + admin | $150K |
| AI tooling (15 × $7K) | $105K |
| Overhead, insurance, facilities, T&E | $300K |
| Bench/rework/churn buffer (5% of revenue) | $250K |
| Total | $3.40M |
→ ~57% gross margin on delivery labor, ~18% EBITDA — top-quartile-MSP territory, and well above SPI's 9.9% median, which is only credible if utilization holds ≥70% and the 2.5-slot assumption survives scale (30 concurrent engagements across 12 engineers). The shape that matters: sales stops being founder-only (2 dedicated reps carrying ~$2.5M each of sourced pipeline), delivery playbooks become the asset (the AWS "reusable delivery harness" logic — APN blog), and retainers reach ~43% of revenue, which is what makes the firm sellable rather than merely profitable.
For the Connect.AI curriculum this chapter argues three teachables. First, students should be able to reconstruct the engagement P&L — price a diagnostic against the client's MSP bill, compute a loaded engineer cost, and defend a concurrency assumption — because that's the difference between an hourly freelancer and a firm. Second, the diagnostic-as-application motif the program already uses (assessment → partner selection) is exactly the industry's CAC-compression mechanism; name it as such. Third, the SBDC engagements are, in miniature, the $1M model's client archetype (10–50 employees, referral-sourced, travel-to-them); tracking hours-per-engagement across the five Fall-2026 partners would produce a genuinely novel data point on FDE carrying capacity at this segment.
The good news first: a forward-deployed engineering (FDE) firm serving $5–25M businesses is one of the cheapest credible businesses to start in 2026. Entity formation, a serious tooling stack, insurance, and lawyer-reviewed contracts fit inside $10–15K — less than one month of a single client engagement. The capital barrier is gone; what remains are three harder problems this chapter maps honestly.
First, risk transfer is broken for AI deliverables. The insurance industry spent 2025–2026 ending "silent AI" coverage — adding explicit AI exclusions to the very E&O and cyber policies a firm shipping AI-built software depends on — so a founder must now underwrite risk through contract language (liability caps, indemnification carve-outs) as much as through premiums. Second, the talent market is barbell-shaped: frontier labs pay $350K–$1M+ for FDEs, but the criteria Palantir screens for — ownership, ambiguity tolerance, client-facing communication — are available at $120–180K in mid-market metros, and agent-assisted juniors change the leverage math further. Third, competition is converging on this exact space from four directions at once — AI implementation agencies, MSPs bolting on AI practices, Big-4 firms using AI to reach downmarket, and vendor partner programs (Anthropic's Claude Partner Network alone drew 40,000 applicant firms in three months) — while vertical AI SaaS quietly substitutes for the build work itself. The defensible position for a small firm is not "we do AI"; it is vertical depth, an audit→spec→build wedge that converts diagnosis into recurring build work, and per-client context accumulation that makes switching expensive. The failure modes are known and boring — key-person dependency, scope creep, receivables — with base rates high enough (as many as 80% of new consultancies fail within two years) that they belong in the curriculum, not the appendix.
Entity. An LLC costs $35–$500 in state filing fees; the all-in first-year average across states, including annual-report fees, is about $224 (InCorp). Registered-agent service runs ~$100–300/yr. Consulting is a minimal-capex business: credible published ranges for a solo/small consulting launch are $1,000–$5,000 minimal and $2,000–$26,000 comprehensive (HowMuchToStart). An EIN is free.
Tooling stack (verified 2026 prices). The core production tool is the agentic coding subscription: Claude Pro is $20/mo, Claude Max is $100/mo (5x) or $200/mo (20x); Claude Team runs $25/seat standard and $100–125/seat premium with Claude Code, minimum 5 seats (Claude Code pricing guides, team pricing). API usage for shipped product features bills separately: Claude Opus 5 at $5/$25 per million input/output tokens, Sonnet 5 at $3/$15 (introductory $2/$10 through Aug 2026), Haiku 4.5 at $1/$5 — budget $50–300/mo per production client workload depending on volume. Add GitHub Team (~$4/user), hosting (Netlify/Vercel, $0–20/site), project tracking (Linear ~$8–10/user), Google Workspace (~$7–14/user), and a CRM/proposal tool. A three-person firm's full stack lands around $400–900/mo — dominated by the Max seats, which are also its production capacity.
The startup budget is real but small — the full itemization is in the table below; the honest total for a properly insured, properly papered two-founder launch is $8,000–$16,000 plus 3–6 months of living expenses, which is the actual binding constraint.
Baseline premiums are modest. Small IT businesses pay an average of $67/mo (~$807/yr) for bundled tech E&O + cyber at $1M/$1M limits (Insureon); standalone E&O for IT consultants averages ~$110/mo and standalone cyber ~$164/mo (TechInsurance). Tech firms pay 40–88% above the SMB average, and the biggest controllable variables after revenue are documented security controls and contractual liability caps — insurers price your MSA (SeedPod Cyber). Add general liability (~$500/yr) and, once you have employees, workers' comp.
The emerging problem: through 2025–2026, insurers ended "silent AI" — the era when AI risk was implicitly covered because it wasn't excluded. Carriers are now split between clarifying endorsements and broad or even "absolute" AI exclusions that strip coverage for any claim arising from AI use, with some exclusions naming specific generative-AI platforms (Fenwick, Shumaker, Metropolitan Risk). Most PI/E&O/cyber forms were written before autonomous agents existed, and insurers are adding AI exclusions and sublimits at renewal (The Insurer). A small set of carriers now write affirmative AI coverage — Coalition's Tech E&O AI extension, Counterpart's expanded affirmative AI product (Nov 2025). Founder-grade implication: read the AI language in every quote, ask for affirmative-AI endorsements, and assume the policy alone will not save you — the contract must.
The stack is MSA + per-project SOWs + mutual NDA + IP assignment (ConsultingQuest). Norms for small tech consultancies:
Budget $2,500–$7,500 for a lawyer to draft the MSA/SOW/IP set once; template-first services cost less but AI-deliverable language is new enough that review is worth paying for.
The market. 2026 FDE compensation: roughly $130–180K entry, $180–260K mid, $260–350K+ senior in total comp, with frontier labs (OpenAI, Anthropic) at $350–550K mid-senior and $1M+ principal — the gap sitting almost entirely in equity (Perspective AI 2026 FDE report, Recruiting from Scratch). Palantir's classic FDSE runs $171–295K, median ~$211K. A mid-market-metro firm cannot and should not compete there; the realistic play is $120–180K base plus meaningful profit-share/equity, selling ownership, variety, and client exposure that big-company FDEs don't get.
Contractors fill spikes: mid-level AI developers average ~$93–100/hr, seniors $150–250/hr, top specialists $275–400/hr, with LLM specialists commanding a 30–50% premium (goLance, Second Talent). At $150+/hr, a contractor must be billable on day one — use them for overflow, never for the client relationship.
What to screen for — the Palantir criteria at accessible comp. Palantir's FDE screen is replicable without Palantir's paycheck: owner mindset (drives decisions, accountable for results), comfort with ambiguity and travel to the customer, production-grade coding (Python/TypeScript, data work), and above all the ability to explain technical thinking credibly to non-technical executives — the most common failure mode in their interviews is candidates who can code but can't communicate (Dataford, DataInterview). These traits correlate weakly with pedigree, which is exactly why a small firm can find them at mid-market prices.
The junior-with-agents question. Entry-level postings dropped ~60% from 2022–24 as AI absorbed CRUD-and-test work, yet agent tooling gives 20–50% productivity gains on routine tasks — and the scarce skill is now evaluating AI output, not hand-writing it (Joberty, SoftwareSeni). For an FDE firm the arbitrage is real: a well-screened junior at $70–90K running Claude Code under a senior's review can deliver mid-level output — and firms that keep a training pipeline will own the mid-level talent everyone else stopped growing (IBM is tripling entry-level hiring for this reason). The catch: juniors cannot yet carry the client-facing half of the FDE role — pair them, don't deploy them solo.
Capacity risk of founder-led delivery. Early on, the founders are the product. 71% of small businesses report dependence on one or two key individuals (NAIC via Brimco); every sales hour competes with a delivery hour, so revenue oscillates (the "feast-famine" cycle). Mitigations from day one: document delivery as playbooks, price so that utilization at 60% covers costs, and treat the first non-founder delivery hire as the milestone that de-risks the firm.
AI implementation agencies are the direct competitor set — boutiques serving SMB/mid-market at $75K–$500K engagement sizes, differentiated mostly by vertical and delivery model; ranked lists of them already exist as marketing artifacts (TFSF Ventures). Crowded at the "AI strategy workshop" end; thinner at forward-deployed build-and-embed.
MSPs adding AI practices — the motion is real but early. 48% of MSPs rank AI/automation as the top client need for 2026, yet only 13% are generating meaningful revenue from it (The MSP Summit); Kaseya's 2026 State of the MSP report (1,000+ MSPs) calls AI "the defining variable" of the market (Kaseya). MSPs own the trusted-vendor relationship with exactly your client size — the threat is their distribution, not their engineering. The same fact is an opening: a white-label or referral alliance with MSPs that can't build is a channel.
Big-4 / GSI downmarket moves. Big-4 engagements run $500K–$10M+ and their frameworks assume 10,000-employee clients; they consistently miss the mid-market, and analysts frame their AI-enabled downmarket push as targeting the $500M–$5B revenue band (TBR, DAS). $5–25M companies are below even their downmarket ambitions — structurally, not temporarily.
Vendor partner programs are both channel and competition. Anthropic launched the Claude Partner Network in March 2026 with $100M behind it; within three months 40,000+ firms applied and 10,000+ consultants earned Claude certifications, and the June Services Track added tiering, co-selling, referral credit, and deal protection (Anthropic, Washington Post, PYMNTS). Membership is free — join for the certification signal and referral flow, while recognizing that the other 39,999 applicants are the competitor census. Microsoft and OpenAI run the same playbook at larger scale.
Vertical AI SaaS as substitute. The 2026 buy-vs-build consensus: buy standard flows, build only differentiating ones — but agentic coding has cut development cost 20–45% versus 2020–23, moving the build threshold down (Vendasta, Digital Applied). "Why hire you when the vertical product exists" has a serviceable answer: the FDE firm is the buy-vs-build advisor — recommend the SaaS where it fits (and keep the trust), build the glue, integrations, and the workflows no vertical product covers. Firms that only sell custom builds lose this argument; firms that sell outcomes don't.
| Item | Low | High | Notes |
|---|---|---|---|
| LLC formation + registered agent (yr 1) | $150 | $800 | State fees $35–500; avg all-in ~$224 |
| Legal: MSA + SOW + IP/NDA drafting | $1,500 | $7,500 | Templates low end; lawyer-drafted with AI clauses high end |
| Tech E&O + cyber (bundled, yr 1) | $800 | $2,500 | ~$67/mo avg; confirm AI-exclusion language |
| General liability (yr 1) | $400 | $700 | |
| Claude Max seats (2 founders, yr 1) | $2,400 | $4,800 | $100–200/seat/mo; the production tool |
| API usage (client workloads, yr 1) | $300 | $2,000 | Opus 5 $5/$25 per MTok; Sonnet 5 $3/$15 |
| Dev stack: GitHub, hosting, Linear, Workspace | $600 | $1,500 | ~$25–60/person/mo |
| Website, brand, domain | $200 | $1,500 | |
| Accounting/bookkeeping (yr 1) | $600 | $2,000 | |
| Assessment/CRM tooling | $0 | $1,200 | Netlify forms free tier → HubSpot starter |
| Total (yr 1, ex-salary) | ~$7,000 | ~$24,500 | Realistic mid-case ≈ $12K |
| Working capital (not in total) | — | — | 3–6 months living costs; the true constraint |
Due diligence for founding a forward-deployed engineering (FDE) firm serving US middle-market companies ($5–25M revenue, 10–50 employees). Researched 2026-08-02.
The embed-audit-spec-build model is no longer a theory. Palantir proved it at enterprise scale, the frontier labs are now spending billions to copy it, CPA firms are quietly running a services version of it for the middle market, and a long tail of small AI agencies is running it at retainer scale with real (if modest) numbers. The evidence says three things at once. First, the motion works: short, hands-on-keyboard engagements that produce a working artifact convert to long contracts at rates traditional consulting never achieved. Second, the reason it works is now quantified — MIT's "GenAI Divide" research shows that external-partner builds succeed roughly twice as often as internal ones, which is the single best argument for this firm existing. Third, the window is real but contested: the same evidence that validates the model has attracted $9B+ of capital from Anthropic, OpenAI, AWS, and Microsoft into forward-deployed services — aimed, for now, at the Fortune 500. The founder's bet is that the middle market is structurally unservable by those economics, and the data below mostly supports that bet — while showing exactly where the evidence is thin (small-firm NRR, PE-channel conversion mechanics, junior-delivery QA) and where the honest bear case bites.
Palantir is the reference case, and its numbers are unusually well documented. AIP Bootcamps — one-to-five-day sessions where engineers build live workflows on the customer's actual data — replaced the traditional enterprise sales cycle. By end of 2024 Palantir had run 1,000+ bootcamps, converting at high rates into seven-figure contracts and driving a ~69% surge in customer count in a single fiscal year (Palantir blog; BacktoFrontShow analysis; skeptical treatment in Forbes, July 2026). The transferable mechanic: collapse the sales cycle by making the demo the deliverable.
The model has now been validated by the biggest possible buyers — the labs themselves. In May 2026, Anthropic announced an AI-native enterprise services joint venture with Blackstone, Hellman & Friedman, and Goldman Sachs (valued at $1.5B, $300M founding commitment), and days later OpenAI confirmed "The Deployment Company," a majority-owned JV that raised $4B+ anchored by TPG and launched by acquiring the ~150-engineer consultancy Tomoro (TechCrunch; Forbes). AWS committed $1B to embed forward-deployed AI engineers with customers (Amazon), and TCS is building a team of up to 8,900 FDEs (BigGo Finance). This is simultaneously the strongest validation of the model and the seed of the bear case (below).
AI-native consultancies with reported numbers exist, but the numbers are mostly estimates. Distyl AI — explicitly an FDE-style firm that embeds engineering teams with Fortune 500 clients — raised $175M at a $1.8B valuation in September 2025 (PR Newswire), with third-party revenue estimates around $31M ARR (GetLatka — modeled, not disclosed). Tribe AI, a network-model AI services firm, is estimated at ~$10M revenue with 100–200 people and no outside funding (Growjo-class estimate). Evidence caveat: almost no private AI consultancy discloses audited revenue; treat Growjo/GetLatka/Latka figures as directionally useful only.
CPA firms are the middle market's incumbent trusted advisors, and they are building AI arms. Client Advisory Services is projected to reach ~30% of CPA firm revenues by 2026, up from 18% in 2020 (CX Pilots benchmark). Named examples: Aprio launched a dedicated data & AI practice and acquired AI-automation firm TimeCredit (Accounting Today; Aprio); Armanino has run an AI Lab since 2019 and now sells AI/automation services to family offices (CPA Practice Advisor; BusinessWire). Mid-market-focused AI consulting for CPA firms is being priced for exactly this segment — one roundup pegs the fixed-fee model as "built for $8M–$50M revenue businesses" (CoLab). Note: CPA firms are dual-natured for the founder — competitors and the best referral channel in the segment.
MSPs are the cautionary tale: adoption without monetization. 93% of MSPs use generative AI internally, but only ~a quarter say it has significantly changed operations, and industry coverage is blunt that "the revenue still hasn't followed" (Tildee; TSIA). Those who do monetize are productizing — per-seat AI helpdesk, AI-enhanced MDR, outcome-based pricing on ticket deflection (UpperEdge). The lesson: owning the SMB infrastructure relationship has not automatically translated into AI services revenue — the opening for a build-capable firm is real.
At the small end, the "AI automation agency" cohort provides ground-truth unit economics — from mostly self-reported sources. The most credible write-up puts realistic margins at 50–70% gross and 20–35% net after owner pay, with the gap explained by senior human review labor "that never disappears" (Automaton). Documented (vendor-published, unaudited) cases: a founder at 12 retainer clients / $36K MRR (~$432K run rate) built on the first client's measured results; retainers typically $2K–$10K/month against $200–$1K in tool costs (MindStudio case studies; Arsum pricing). Evidence is thin here: no audited cohort data exists; the honest read is that a disciplined shop clears low-hundreds-of-thousands to low-millions in revenue at real but unspectacular net margins.
Referrals dominate, but they are earned through visible expertise, not asked for. Hinge's professional-services buyer research — the best longitudinal dataset for this question — finds referrals plus direct human outreach account for nearly two-thirds of all new business (2026 High Growth Study), yet fewer than 60% of buyers now actively ask for referrals (down ~15%), and 81.5% of buyers have received referrals from non-clients — people referring based on reputation or visible expertise (Hinge; Hinge referral research). Implication: content and demonstrable work product are the referral engine — roughly 1 in 5 buyers now start with web search.
Trade shows and associations are viable but must be worked, and headline ROI claims deserve skepticism. CEIR-derived benchmarks put trade-show cost per lead around $112–$142 (qualified leads $150–$500), against ~$596 for a field sales call; first-time exhibitor budgets run $15K–$40K per show (Trade Show Labs; AMW pricing guide). The circulating "$20.98 return per $1" figure is a vendor-marketing number and should not be underwritten. For a five-person firm, one vertical association conference worked hard beats three generic ones.
The PE operating-partner channel is real but early. "AI Operating Partner" is now a named role at PE firms (Korn Ferry; Heidrick & Struggles), and operating partners explicitly look for "common vendors, repeatable models, and shared playbooks" to scale across portfolios (AlixPartners). One landed portfolio company can become five. The sober counterweight: FTI's 2026 PE AI Radar finds only a small minority of portfolio companies have use cases that measurably move EBITDA (FTI) — meaning the channel is hungry but the conversion mechanics (how a small vendor actually gets platform-wide adoption) are undocumented. Evidence grade: strong on demand, thin on playbook.
SBDC/SCORE networks are an underpriced channel for exactly this segment. America's SBDC now fields 400+ AI-certified advisors who have given 8,000+ small businesses AI-specific guidance, across a network that helped clients secure $5.53B in capital (America's SBDC). These advisors diagnose demand they cannot themselves fulfill — a build-capable partner firm is the natural referral destination. Almost no competition for this channel is documented; for a university-affiliated founder it is the obvious wedge.
The land-small-expand pattern is well attested in services generally: repeat customers supply over half of revenue for 61% of small firms, retention costs ~5x less than acquisition, and the documented best moment to convert to a retainer is immediately after a successful first project — yet only ~13% of consultants use monthly retainers at all (Consulting Success; Business Talent Group). Palantir's bootcamp→seven-figure-contract conversion is the enterprise-scale version of the same arc. What's missing from the record: no public NRR-style cohort data exists for boutique consultancies — the closest analogs are the agency self-reports above (12 clients on rolling retainers) and MSP recurring-contract structures. The expansion mechanism with the best evidence is productization: MSPs converting bespoke work into per-seat SKUs with SLAs (TSIA), and CPA firms converting advisory into recurring CAS revenue (18%→30% of firm revenue in six years). A young FDE firm should design engagement N so its artifact becomes a semi-product for engagements N+1…N+k — that is the only documented path from project shop to compounding firm.
MIT NANDA's The GenAI Divide: State of AI in Business 2025 — 52 executive interviews, 153 leader surveys, 300 deployments — found 95% of enterprise GenAI pilots produced no measurable P&L impact (Fortune coverage; Forbes). The 5% who succeed define this firm's method:
Supervision/QA is the binding constraint on junior-delivered work. The agency economics literature is unanimous that senior review of model output is the irreducible cost between gross and net margin (Automaton). Mapped to a student/junior-heavy firm: a leverage pyramid (juniors embed and build; one senior reviews every artifact before it touches client operations), staged permissions (read-only diagnosis → sandboxed build → supervised production), and written spec-and-acceptance gates at each phase. This mirrors how audit firms have safely deployed juniors for a century — the FDE firm's QA structure is closer to an audit methodology than to a dev shop's code review.
Counter-positioning supported by the evidence: the middle market is too small for lab-JV economics and too operationally messy for pure products (the MIT "learning gap" is about context, which products don't carry); trust in this segment travels through CPA firms, associations, and SBDC networks — local, referral-based channels the national players don't work; and speed-to-working-artifact (the bootcamp mechanic) is a repeatable differentiator at any scale. The durable moat is not the technology; it is accumulated context per client plus a referral reputation — both of which compound and neither of which a vertical SaaS vendor or DeployCo inherits.
For a new forward-deployed engineering (FDE) firm selling into $5–25M-revenue / 10–50-employee US companies, vertical choice is not a branding decision — it determines deal size, referral physics, and whether incumbents' software already ate the problem. The evidence points to a counterintuitive conclusion: the loudest verticals (home-service trades, healthcare) are the most colonized by vertical SaaS and PE operating playbooks, while light manufacturing and small logistics/distribution combine large firm counts in the band, documented reliance on spreadsheets at the workflow core, measurable per-transaction ROI, and institutional referral channels (MEP centers, trade associations, PE add-on ops teams) that a student-led or early-stage FDE firm can actually access. Healthcare's regulatory moat is real but is a moat that mostly protects incumbents from you: HIPAA raises the cost of the first ten engagements more than it deters eventual competitors. The rubric below ranks light manufacturing first, logistics/distribution second (best per-engagement economics), accounting-led professional services third, and specialty construction trades fourth — with food/beverage production flagged as a high-moat niche worth one pilot rather than a firm-wide bet.
Computed directly from Census Statistics of U.S. Businesses 2022 detailed-size tables (us_state_naics_detailedsizes_2022.txt, US-level records, firms with 10–49 employees — the closest SUSB cut to the 10–50-employee target band): census.gov SUSB
| Vertical (NAICS) | Firms, 10–49 emp | All firms |
|---|---|---|
| Construction (23) — of which specialty trades (238) | 113,273 / 79,446 | 782,487 |
| Ambulatory healthcare (621) — physicians 6211 / dentists 6212 | 93,970 (25,299 / 30,562) | 504,777 |
| Professional services (541) — legal 5411 / accounting 5412 / engineering 5413 | 91,896 (16,328 / 11,118 / 14,726) | 872,305 |
| Manufacturing (31–33) | 67,725 | 239,265 |
| Wholesale/distribution (42) | 52,697 | 277,932 |
| Trucking (484) + freight arrangement (4885) + warehousing (493) | 15,863 + 2,637 + 1,943 | ~182,000 |
| Food (311) + beverage (312) manufacturing | 7,262 + 3,892 | 37,057 |
| Property management (53131) | 7,498 | 55,853 |
Caveat: employment band ≈ revenue band only loosely. Revenue-per-employee skews the mapping upward for distribution, freight brokerage, and manufacturing (a 15-person broker can gross $20M+), and downward for trades and practices — which strengthens the logistics/manufacturing case at a fixed employee band.
Typical band-company pain is the same four verbs everywhere — manual scheduling, quoting, inventory, compliance paperwork — but willingness to pay differs sharply. IT spend as % of revenue: healthcare ~8% (highest), professional services 5–8% (~$12.8k/employee, highest per-capita), logistics 3–5%, construction and manufacturing 2–4% (ITBudgetCalculator benchmarks, Medha Cloud SMB stats). Low-percentage verticals aren't disqualified — a $15M manufacturer at 3% still controls a ~$450k annual IT/ops-tech wallet, and FDE work substitutes for labor, not just software line items — but they require ROI framed in throughput (loads, quotes, jobs), not IT budget capture.
Healthcare is the extreme case: HIPAA compliance runs $4k–$50k+/yr for small practices, small medical/dental practices drew 55% of OCR financial penalties in 2022, and physicians average 15.6 hrs/week on admin (Medcurity, Patient Protect). That's demand — but for a young FDE firm it's also BAAs, breach liability, and clinician-mediated sales cycles before revenue. Moderate-friction verticals are the sweet spot: certified payroll/OSHA in trades, FSMA/HACCP lot-traceability in food production, DOT/FMCSA in freight — enough compliance pain to sell automation, not enough to require a compliance department on day one.
Trades have the densest channel: strong associations (ABC, AGC, PHCC, ACCA) plus the most aggressive PE consolidation anywhere — Apex Service Partners alone did ~60 HVAC add-ons in 2025, yet ~76% of home-service firms remain independent (Cherry Bekaert 2025 PE Report, Catalyst for the Trades). Accounting is the fastest-moving new roll-up: PE deals grew from ~24 (2023) to 100+ (2025), a third of the top-30 firms now PE-backed — and PE platform ops teams are repeat FDE buyers (one relationship = 20 add-on deployments). Manufacturing has a unique public channel: the MEP national network (state Manufacturing Extension Partnerships) exists precisely to broker operational help to small manufacturers — as do SBDCs, which is exactly the channel this firm already has. Logistics referral runs through TIA and state trucking associations — decent, thinner than trades.
Weights: deal size 25% · firm count 20% · SaaS whitespace 25% · referral density 20% · regulatory friction (net moat value) 10%. Scores 1–5.
| Vertical | Deal size | Firm count | Whitespace | Referral | Reg (net) | Weighted | Rank |
|---|---|---|---|---|---|---|---|
| Light manufacturing | 4.0 | 4.0 | 4.5 | 4.0 | 3.0 | 4.03 | 1 |
| Logistics/distribution | 5.0 | 3.0 | 5.0 | 3.0 | 3.0 | 4.00 | 2 |
| Prof. services (accounting-led) | 4.5 | 4.0 | 3.5 | 4.0 | 3.5 | 3.95 | 3 |
| Construction/specialty trades | 3.0 | 5.0 | 3.5 | 5.0 | 3.0 | 3.93 | 4 |
| Food/beverage production | 4.0 | 2.0 | 4.5 | 3.0 | 4.0 | 3.53 | 5 |
| Healthcare practices | 4.0 | 5.0 | 2.5 | 3.0 | 2.0 | 3.43 | 6 |
| Legal | 4.0 | 3.0 | 2.5 | 3.5 | 3.0 | 3.23 | 7 |
| Property management | 3.0 | 2.0 | 2.5 | 3.0 | 3.0 | 2.68 | 8 |
Reasoning on the top four. The top four sit within 0.1 points — the separation is how they win. Logistics wins per-engagement economics (highest revenue/employee, countable ROI, emptiest software core) but has the thinnest firm count and channel. Manufacturing wins on durability: 67k firms in band, half still manual, and a subsidized referral institution (MEP/SBDC) that no other vertical offers. Accounting wins on buyer sophistication — PE-backed platforms budget explicitly for ops leverage and buy repeatedly. Trades win raw density and referral heat but lose on budget (2–4% IT spend) and a crowded core where the FDE role shrinks to integration work. Recommended beachhead: light manufacturing as the named specialization, with logistics/distribution engagements accepted opportunistically — the two share the same automation grammar (quote → schedule → track → invoice) so the playbook compounds.
us_state_naics_detailedsizes_2022.txt)surveyData.js/scoringEngine.js that weights whitespace by industry, turning this research into product.Round 1 concluded that outbound to $5–25M-revenue owners is a losing motion: they don't answer cold email, they buy on trust, and they already have a small circle of advisors who filter every vendor. Round 2's question is how to become the thing that circle recommends. The three intermediaries that sit closest to the buying decision are the CPA (sees the P&L, is the single most-trusted advisor), the MSP (already runs the client's systems and is being asked for AI it can't deliver), and the PE operating partner (can mandate a rollout across 10–30 companies at once).
The through-line: all three channels are currently underserved on the supply side of AI delivery. CPAs are racing into advisory (CAS) but have no build capability. MSPs report the largest demand/monetization gap in their industry's recent history — 48% say AI is the top client need, 13% make money on it. PE operating partners are explicitly chartered to push operational playbooks portfolio-wide but lower-middle-market funds rarely have in-house engineering. An FDE firm is the missing execution layer for all three. The catch is that each channel prices that access differently: the CPA channel is regulated (fee-sharing rules), the MSP channel takes margin and brand, and the PE channel takes pricing concessions and concentrates account risk. None is free; all beat cold outbound on CAC and trust transfer.
The trend is real and measured. The AICPA & CPA.com CAS Benchmark Survey (200+ US firms, published Dec 2024 on 2023 data) reports median CAS practice growth of 17%, projected 15% for the current year, and a projected 99% median growth over three years; median net client fees per professional hit $156,250, up 29%, and median reported CAS revenue rose 61% over the prior survey (CPA.com; Journal of Accountancy). Firms whose CAS mix includes CFO-level "business insights" advisory earn 30%+ higher monthly recurring revenue — i.e., the profession is being paid to move upstream from compliance into exactly the operational conversations where an AI/automation build gets scoped (2024 survey PDF).
Why the accountant is the gatekeeper. In OnPay's small-business survey, 31% of owners named their accountant their most-trusted advisor — ahead of family and friends (22%), lawyers (16%), and financial planners (9%) — and 86% view their accountant as a trusted business advisor (OnPay; CPA Practice Advisor; Accounting Today). Only 61% are satisfied with the breadth of services their accountant offers — a standing invitation for the CPA to bring in a build partner. With ~46,000–52,200 CPA firms in the US generating ~$151B (Vertical IQ via industry data), even low single-digit channel penetration is a large referral surface.
Partnership structures — and the regulatory trap. Three structures dominate: (1) referral fees, (2) revenue share / endorsement (the state-society "preferred partner" model), (3) white-label build arm (FDE delivers under the firm's CAS brand). The first is regulated. Under the AICPA Code (the old Rule 503, now the commissions-and-referral-fees rule), a CPA may not accept a commission/referral fee from or for any client for whom the firm performs attest work (audit, review, compilation, prospective financials); for non-attest clients it is permitted only with written, contemporaneous disclosure (NJCPA; CPAI/AICPA insurance program guidance). States layer on top: California (B&P Code §5061) bans most compensated referrals outright (California Board of Accountancy); Kansas codifies its own version (K.A.R. 74-5-103). Practical consequence: a paid-referral program must be state-gated, and the white-label/rev-share structures (where the firm bills the client and pays the FDE as subcontractor) are cleaner nationally because no "referral fee" changes hands.
Precedents. The AICPA's own tech arm, CPA.com, exists to broker firm-to-vendor partnerships (Botkeeper is a listed partner) (CPA.com partners). Botkeeper raised a $25M Series B on a model of selling AI bookkeeping exclusively through CPA firms, which resell it inside their own CAS offering (PR Newswire). CPACharge is the AICPA Member Discount Partner and is endorsed by 42+ state societies — the canonical rev-share-for-endorsement structure (CPACharge); state societies run standing preferred-partner programs (e.g., COCPA). Offshore firms like CapActix already sell white-label capacity to CPA firms — precedent that firms will subcontract delivery under their brand.
The gap. Kaseya's 2026-cycle MSP survey: 48% of MSPs rank AI and automation as the #1 client need for 2026 — ahead of security and backup — yet only 13% generate meaningful revenue from it (Kaseya). OpenText separately finds 92% of MSPs expect AI-driven growth while the readiness gap widens (MSSP Alert). Clients are asking the person who already runs their systems; that person has nothing on the truck.
Why they can't build. MSP economics are a labor-leverage annuity: healthy shops run 50–60% gross margin on managed services (best-in-class 70%+) achieved through automation, standardized RMM/PSA stacks, and predictable ticket flow; product resale runs ~25% (Thread; Gradient). Every engineer is deployed against recurring contracts; custom software is project-shaped, unpredictable, needs developer talent MSPs neither hire nor retain, and wrecks the utilization math. Structurally, MSPs integrate and operate — they don't build. That is the FDE opening.
Partnership models and the conflict question. Three models, in ascending order of MSP control: referral (MSP hands the client over — most decline, because handing off risks churn), subcontract/white-label (FDE delivers under the MSP's brand), and co-sell. The channel literature is blunt: white-label "is the only outsourced model that preserves the client relationship entirely" for the MSP (N-able), and the classic channel-conflict failure is the vendor cutting the partner out of a deal the partner sourced (ChannelE2E glossary). So the MSP channel is client-ownership-hostile by design: expect contracts specifying customer-facing rules, branding, and non-circumvention. The FDE trades brand and 20–40% of margin for zero-CAC deal flow.
Peer groups as the actual distribution layer. MSP owners buy what their peer group tells them works: IT Nation Evolve (ConnectWise, formerly HTG) runs facilitated accountability/benchmarking quarterlies (ConnectWise); TruMethods (framework/profitability-driven, Schnizzfest event) and Robin Robins' Technology Marketing Toolkit/Producers Club are the other two poles — and Kaseya acquired TMT in July 2025 and is merging it with TruPeer, consolidating the community layer under a vendor (ChannelE2E; Auvik roundup). One well-received peer-group presentation ("here's how MSP X added an AI build line at 50 points of margin") reaches dozens of owner-operators simultaneously — the channel's version of the SBDC advisor meeting.
Universe and scale. US middle market: ~200,000 companies (PitchBook via the American Investment Council), of which only ~5,000 sit in PE-backed middle-market portfolios; broader definitions count ~300,000 businesses at $11–500M revenue (CapitalPad; Abbott Capital). Data caveat: no clean public count of lower-middle-market funds or their portcos exists; definitions ($1–10M EBITDA vs. $5–100M revenue) vary by source, so channel-sizing here is order-of-magnitude, not census.
What operating partners do. They own value creation during the hold: one practitioner guide puts operating partners at 47% of buyout value creation, up from 18% in the 1980s (Press & Associates) — treat that as directional, not audited. Lower-middle-market funds usually can't afford dedicated ops teams, so the role blends into "in-house consulting" applied across every portco (Mergers & Inquisitions; Middle Market Growth) — which is precisely why they buy outside execution.
How vendors actually get platform-wide rollouts. The documented mechanics are thinner than for the other two channels — mostly vendor-side guides, not neutral studies — but a consistent pattern emerges: (1) win one portco as a proof point; (2) the operating partner sponsors you onto the fund's preferred-vendor platform, a curated list portcos are steered to (Proven's guide to preferred-vendor platforms); (3) distribution then runs through portfolio-CEO summits and ops-partner intros; (4) at larger scale, GPOs like CoreTrust and OMNIA formalize cross-portfolio purchasing with pre-negotiated supplier terms (CoreTrust; OMNIA). Deal structures: portfolio-wide preferred pricing (typically a negotiated discount in exchange for the fund steering portcos), sometimes a fund-level MSA, occasionally warrants/equity to the sponsor; GPOs take an admin fee from the supplier side. Flag: discount percentages and warrant precedents are anecdotal in public sources — worth a dedicated branch.
| Dimension | CPA / accounting firm | MSP | PE operating partner |
|---|---|---|---|
| CAC | Low–moderate: society sponsorships, firm-by-firm activation; trust transfers cheaply once endorsed | Lowest per deal once partnered; peer-group presence is the main cost | High upfront (12+ mo trust-building, conferences); near-zero marginal CAC after first portco win |
| Sales cycle | Moderate: partner activation slow (busy season, risk aversion), but end-client cycle short — advisor pre-sells | Short: MSP has standing MRR relationship + urgent unmet AI demand | Long first deal (6–18 mo), then compressed — rollouts can be mandated |
| Pricing pressure | Low: advisory framing, trust-priced; but referral fees regulated (state-gated) | High: MSP takes 20–40% margin in white-label; MSP polices price to client | High: portfolio discount expected; procurement/GPO admin fees |
| Client ownership | Shared: CPA keeps advisory seat, FDE owns delivery relationship | MSP-owned, especially white-label — FDE may be invisible; non-circumvention expected | FDE owns delivery, but fund owns the decision; accounts churn at exit |
| Scale ceiling | Highest: 46–52k firms × dozens of SMB clients each; throughput-limited per firm | High: tens of thousands of MSPs; peer groups aggregate reach | Moderate: one fund = 5–30 portcos; a few fund relationships fill capacity, but total universe is thousands, not tens of thousands |
/assessment funnel is structurally identical to Botkeeper's CPA-channel motion and the fund's preferred-vendor screen: assessment-as-application is a channel-qualification device. Worth teaching as a pattern, not an accident.Palantir's most important commercial invention of the AI era wasn't a model or a platform feature — it was a sales motion. The AIP bootcamp collapsed a 9–12 month enterprise evaluation into five days by doing one heretical thing: building a real workflow on the customer's real data before the contract was signed. The results are the best-documented proof anywhere that "show, don't propose" wins: ~140 organizations bootcamped in a single quarter of 2023, pilot conversion rates reported near 75%, and U.S. commercial revenue growth north of 130% as the motion matured.
But Palantir runs bootcamps free, as marketing spend amortized against seven-figure platform ACVs. A forward-deployed engineering firm selling into $5–25M-revenue companies has no platform annuity to amortize against — and the adjacent evidence (MSP assessments, agency discovery sprints, GV-style design sprints) says free diagnostics downmarket read as sales pitches and train buyers to treat expertise as a commodity. The translation, therefore, is a paid, sub-$25K, one-calendar-week diagnostic sprint: keep the bootcamp's core (a working demo on their data by Friday), add what a middle-market operator actually buys (a findings report and a ranked opportunity map), and price it just below the CFO scrutiny threshold, anchored against a fractional-CTO month. The precedents put the required sprint-to-build conversion at 70%+, and the paid model means the funnel survives even if conversion runs half that.
The AIP bootcamp is a 1–5 day interactive workshop in which the prospect's own team, paired with Palantir forward-deployed engineers, goes "from zero to use case" — not on demo data, but on live data ingested from the customer's environment (Palantir: How AIP Bootcamps Work, Palantir AIP Bootcamp). Constellation Research documented the scale and the contrast: "real workflows on customer data in 5 days or less" versus traditional pilots of one to three months; 140+ organizations bootcamped by end of November 2023 — nearly half in that month alone, more than all of Palantir's prior-year U.S. commercial pilots combined (Constellation Research). CRO Ryan Taylor's line from that quarter: "We're seeing the acceleration of larger deals and shorter times to conversion," including a multiyear deal exceeding $40M that went pilot-to-conversion within one quarter.
By 2025–26 the motion had compounded: five-day workshops where clients build functional AI use cases on their own data, bootcamp-to-customer conversion reported at nearly 75%, sales cycles compressed "from nearly a year into mere days," a Fortune 100 retailer converting a pilot to $12M ACV within months, and a 137% surge in U.S. commercial revenue (FinancialContent, Mar 2026; see also Seeking Alpha on the "bootcamp flywheel").
Why it beat the long cycle: (1) it replaced claims with artifacts — the buyer's own ops people watch their own data become a working tool; (2) it forced a decision event — a Friday demo to executives is a natural close; (3) it was engineer-led, which reads as help rather than selling; (4) it converted the champion — the customer's team co-built the thing, so the internal advocate demos it, not the vendor. Note the caveat: bootcamps are free because Palantir is selling a platform subscription whose ACV repays the CAC. The motion is portable; the price of zero is not.
GV design sprints. The Google Ventures five-day sprint (map → sketch → decide → prototype → test) is the most productized one-week diagnostic in existence (GV, The Sprint Book). Agencies commercialized it at documented prices: a complete five-day sprint from a specialist agency runs $25,000–$30,000, with lean seed-stage versions at $14,000–$20,000 (Parallel: Design Sprint Cost, design-sprint.com prices). This is the direct price comparable: one week, senior team, fixed deliverable, mid-five-figures.
MSP/IT assessments. The managed-services world runs the free-diagnostic experiment at scale, and the practitioner literature is scathing about it: free assessments are "professionally packaged sales pitches," anything under $2,500 is "a sales motion, not a real assessment," and a genuine assessment takes 40–80 hours of skilled engineering (Intelecis, CNWR: The Myth of the Free Assessment, Usherwood). Real paid assessments land in the low-to-mid five figures over 2–3 weeks.
ERP readiness assessments. Sold fixed-fee ahead of implementations averaging $450K, at consultant rates of $150–$350/hr over one to three months (Panorama Consulting, NMS Consulting pricing structure) — the proof that middle-market buyers will pay five figures for de-risking before a six-figure build.
Agency discovery sprints. The cleanest pricing logic found: a fee ladder of £8–15K for one week, £20–35K for two, priced at "5–10% of the estimated build budget, with a floor," with free scoping condemned as economically destructive — "free scoping trains the client to treat your expertise as a commodity" (72 Technologies: Pricing Discovery Sprints). Agency Mavericks reports paid-discovery clients converting to the larger project at 85–90% (Agency Mavericks).
Keep from the bootcamp: the working demo on their real data (the conversion event), the calendar-week compression, engineer-led delivery, and the executive demo as forcing function. Cut: the platform dependency (Palantir's demo sells AIP; ours sells the build engagement), the multi-use-case scope (one demo, done well), and the free price. Add what a $10M distributor's CEO actually signs off on: a written findings report and a ranked opportunity map — the artifact that survives the meeting and circulates to the CFO.
Deliverables (four, fixed): (1) findings report — systems, data, and process reality as observed; (2) ranked opportunity map — every automation/AI opportunity scored on value × feasibility; (3) one working demo built on their data; (4) a fixed-scope build proposal for opportunity #1.
Pricing logic: $15,000–$25,000. Three anchors converge. It matches the documented five-day design-sprint band ($14–30K). It equals roughly one month of a mid-market fractional CTO ($10–30K/month for 2–4 days/week; most companies pay $8–15K/month — Truvisory, CTO OnDemand) and roughly one quarter of a small company's MSP contract (CMIT pricing guide) — both prices the buyer already understands. And it sits at 5–10% of a $150–300K build, matching the 72T discovery ratio. Below ~$25K, a $5–25M-revenue owner-operator can sign without board process; that is the scrutiny gate the price must respect (asserted from anchoring logic, not a documented threshold — see BRANCHES).
Free vs. paid: paid, decisively — with one hedge. Evidence for free is real (Palantir's entire motion; MSPs still deploy free assessments as lead gen), but it depends on either a high-margin annuity behind it or a commodity funnel. Evidence for paid: the MSP literature's credibility problem with free, 72T's margin argument, and Agency Mavericks' 85–90% conversion — payment is the qualification. The hedge: credit the sprint fee against the build (a bootcamp-flavored concession that keeps the paid gate while making "yes" feel free).
Conversion economics. Benchmarks: sprint-to-build above 70% is healthy, below 50% means mis-scoped sprints or mispriced builds; sprint sell-through above 40% of qualified opportunities (72 Technologies); Palantir's claimed ~75% and Agency Mavericks' 85–90% bracket the target. Model math: at a $20K sprint converting 60% into a $150K average build, each sprint sold carries ~$110K expected revenue; because the sprint itself is paid at (or near) breakeven, the funnel stays solvent even at 30% conversion — the property free bootcamps do not have. Two sprints/month at 60% conversion ≈ $2.4M annualized build pipeline from a two-engineer diagnostic capacity.
/assessment instrument is the top of this exact funnel — assessment → sprint → build is the firm's whole revenue architecture; the class should draw that funnel and place each course artifact on it.The pod is the whole business model in miniature. A forward-deployed engineering firm serving $5–25M-revenue companies cannot price like Palantir and cannot staff like Accenture; its only viable structure is the oldest one in professional services — a leverage pyramid — rebuilt for a world where an agent-equipped junior can produce mid-level output under specific, non-negotiable conditions. The evidence is unusually clean on one side: every major study of generative AI at work finds the largest gains at the bottom of the skill distribution (novice call-center agents +34%, below-median BCG consultants +43%, less-experienced Copilot users fastest). The market's reaction is equally clean on the other side: entry-level hiring in AI-exposed occupations is down 13%, and Big Tech has cut new-grad intake by half — which means high-quality juniors are cheap and available, a structural arbitrage for a firm willing to build the supervision machinery that employers have abandoned. That machinery is not novel. Audit firms have run 16:1 leverage on 22-year-olds for a century by making review a standard, not a virtue: no work reaches a client without documented reviewer sign-off (PCAOB AS 1201/1220). The pod design that follows — one senior, three agent-equipped juniors, senior review time honestly budgeted at ~20–25% of junior build time — prices out at roughly $565K loaded cost against $750K+ revenue capacity, with margin coming almost entirely from the junior wedge, exactly as Maister's economics predict. The failure modes (rubber-stamp review, junior burnout, quality variance) are the same ones audit regulators have spent decades writing controls for; the firm's job is to translate them, and the curriculum's job is to produce juniors who arrive already knowing how to work inside them.
Professional-service economics run on one identity. David Maister's formula — Net Income Per Partner = Leverage × Utilization × Billing Rate × Realization × Margin — makes leverage the first lever, and his core observation was that partner profit comes largely from the surplus on non-partner staff, not partner billings (Maister summary; Consultantsmind on leverage models). The "finders–minders–grinders" pyramid exists because a junior billed at 3× salary and utilized at 70% is a margin machine; the partner's scarcity sets the price, the junior's cost sets the margin.
The numbers are stark. Big 4 firms run roughly 15–20 staff per partner; mid-tier firms 5–10. Inside Public Accounting's 2026 data shows leverage of ~16 staff/equity-partner at $150M+ firms falling to 7.7 under $5M (IPA data dive). Rosenberg's benchmarking is the punchline: firms above 8:1 staff-to-partner earn ~$491K per partner versus ~$260K below 4:1 (Rosenberg). Leverage roughly doubles partner income. The founder-led FDE firm at 0:1 leverage is, by these benchmarks, structurally the least profitable configuration possible — and capped at the founder's hours.
The pyramid's other half is review gates. Leverage only works because the profession made supervision a standard: PCAOB AS 1201 requires the engagement partner to supervise so that work "is performed as directed and supports the conclusions reached," with review of documentation (AS 1201); AS 1220 goes further — an independent engagement quality reviewer must give concurring approval of issuance before anything is released (AS 1220). Junior work product touching a client without a documented senior sign-off is, in audit, a rule violation — not a judgment call.
Three headline studies point the same direction. Brynjolfsson, Li & Raymond studied 5,179 call-center agents: AI assistance raised productivity 14% on average but 34% for novice and low-skilled workers, with minimal effect on the most experienced — the tool effectively disseminated top-performer playbooks down the experience curve (NBER w31161). Peng et al.'s Copilot RCT found a 55.8% speed-up on a standardized coding task, with the largest gains among less-experienced developers (arXiv 2302.06590). The HBS/BCG "jagged frontier" experiment (758 consultants, GPT-4) found ~12% more tasks, ~25% faster, ~40% higher rated quality — and below-median performers gained +43% vs. +17% for top performers; but on a task outside the model's frontier, AI users were 19 points more likely to be wrong, seduced by polished output (summary; Imas review).
The counter-evidence comes in two flavors. First, labor-market: Stanford's "Canaries in the Coal Mine" (ADP payroll data, millions of workers) shows a 13% relative employment decline for 22–25-year-olds in AI-exposed occupations — software developers prominently — while senior employment in the same occupations grew (Stanford Digital Economy Lab). SignalFire finds Big Tech new-grad hiring down >50% from 2019, new grads now ~7% of hires, startups down from 30% to under 6% (SignalFire 2025). Employers are betting juniors+AI are replaceable, not leveraged — which floods the market with capable, underpriced early-career talent. Second, capability: METR's RCT found experienced devs on mature codebases were 19% slower with early-2025 AI tools while believing they were 20% faster (arXiv 2507.09089) — a warning that self-reported AI productivity is unreliable and that gains concentrate in greenfield, well-specified work, which is exactly what SMB FDE engagements mostly are.
So "agent-equipped junior ≈ mid-level output" is true only under conditions: (1) specs written by someone senior — the BCG study shows juniors+AI fail worst on ill-scoped frontier tasks, so scoping stays senior work; (2) review gates — the failure mode is confidently wrong output, catchable only by someone who can tell; (3) eval harnesses — automated tests, golden datasets, and CI checks that make correctness observable before human review, shrinking the review burden per unit of output; (4) bounded blast radius — juniors ship inside staging/feature-flag rails, never directly to production data.
Student-delivered client work at scale already exists. 180 Degrees Consulting runs 150+ university branches in 33 countries delivering consulting to nonprofits, with branch-level QA and client testimonials comparing output to major firms (180dc.org). The Agency at the University of Florida is the sharper precedent: a real ad/PR firm with paying clients that is "led by professionals, staffed by students" — seasoned professional staff supervise, a 12-person faculty advisory panel meets regularly, and faculty coach both students and the professional staff (The Agency). The lesson from both: student delivery works when a professional layer owns client-facing quality; it is fragile when students supervise students.
Translating audit supervision to an FDE pod: (a) concurring approval of issuance → no PR merges to a client-visible branch, no deliverable ships, without senior sign-off recorded in the PR itself; (b) supervision scaled to risk (AS 1201's principle) → new juniors get 100% review; after demonstrated competence, review samples down per work-type, never to zero on client-facing artifacts; (c) documentation standards (AS 1215's spirit) → every agent-built feature carries its spec, eval results, and review trail, so a reviewer can reconstruct why, not just what; (d) escalation duty → juniors are trained that surfacing "the agent produced something I can't verify" is rewarded, not penalized — the audit profession's answer to rubber-stamping from below.
Salary anchors: junior software engineers average ~$85.6K nationally (Indeed), with entry-level ranges of $75–92K; the BLS median for all software developers is $133K (BLS OOH); senior engineers average ~$202K total comp nationally but $150–165K base is realistic outside Big Tech (salary levels). QA overhead anchor: developers already spend ~5–6.4 hours/week (~12–16% of time) reviewing code (Codacy/Stack Overflow data); reviewing high-volume agent output from juniors warrants budgeting 20–25% of junior build hours as senior review time — the honest number, and the reason 3 juniors is the ceiling per senior: at 3 juniors × ~26 build-hrs/week × 22%, review alone consumes ~17 hours of the senior's week. A fourth junior forces rubber-stamping.
Failure modes and controls: Rubber-stamp review — cap the ratio at 3:1, sample-audit merged PRs monthly (audit-style cold review), make review comments a tracked metric. Junior burnout — agents raise throughput expectations faster than confidence; control with explicit WIP limits, no-solo-client-calls in months 1–3, and the escalation duty above. Quality variance — eval harnesses per engagement type (standard test suites, deploy checklists), plus reusable spec templates so quality is process-borne, not person-borne. Overconfidence in AI output (the METR/BCG trap) — require juniors to state what they verified vs. what they trusted in every PR description.
| Line item | 2-junior pod | 3-junior pod |
|---|---|---|
| Senior lead base | $160,000 | $160,000 |
| Juniors base ($85K ea.) | $170,000 | $255,000 |
| Fully loaded (×1.3) | $429,000 | $539,500 |
| Agent tooling (~$6K/seat/yr) | $18,000 | $24,000 |
| Total pod cost | ~$447,000 | ~$564,000 |
| Junior billable hrs (65% util.) | 2,704 | 4,056 |
| Senior billable hrs (~35%; rest = review/scoping) | 700 | 700 |
| Pod billable hours | 3,404 | 4,756 |
| Revenue @ $160/hr blended | $545,000 | $761,000 |
| Gross margin | ~18% | ~26% |
| Concurrent engagements (@~$15–20K/mo) | 2–3 | 3–4 |
| Senior review load (@22% of junior build hrs) | ~11 hrs/wk | ~17 hrs/wk |
The margin delta between columns is the Maister lesson: the third junior adds ~$106K of loaded cost and ~$216K of revenue. Leverage drives margin; the senior's review capacity caps leverage.
A forward-deployed engineering firm serving $5–25M-revenue companies dies one of two deaths: a legal death (an AI-built deliverable breaks something and the contract didn't allocate the risk) or a cash death (the work was good but the receivables arrived 60+ days late while payroll ran weekly). The armor against both is boring and learnable. On the legal side, the AI-deliverable contract stack is now well-charted territory — law firms have published specific clause guidance for providers using generative AI in client deliverables, and the norms (12-month-fee liability caps, IP carve-outs, human-review warranties) come straight from standard tech-services practice with an AI overlay. On the cash side, the data is blunt: 55% of US B2B invoices are paid late, median B2B DSO sits around 56 days, and 52% of projects experience scope creep. None of these are surprises a firm should discover in month six. All of them are solvable at signature: deposits, milestone billing, stop-work rights, a change-order machine, and handoff commitments that convert project one into a renewal. The AI twist matters in exactly two places — clients believe AI work is free ("just have the AI also do X"), and AI outputs carry IP/warranty ambiguity that plain code doesn't — and both are handled with contract language that already exists in published templates.
AI-use disclosure. Legal commentary converges on disclosing AI use at the SOW level, not buried in the MSA, because tools and the AI-generated share of content vary per project — a per-SOW disclosure naming tool categories (LLM code generation, image generation) is the recommended pattern (Agent Mode AI clause guidance; Gordon Feinblatt, "AI in Deliverables: Clauses Providers Need, Assurances Clients Should Seek"). The provider-protective move is disclosure paired with a human-review warranty: the firm does not warrant AI output as original copyrightable work, but does warrant that it reviewed and exercised professional judgment over everything shipped.
Output review before production. Gordon Feinblatt's framework pairs provider clauses with client assurances: the provider commits to review of AI-generated content before delivery; the client commits to acceptance testing before production use. For an FDE firm the strong version is an explicit acceptance-criteria section per deliverable in the SOW, with a defined acceptance window — this doubles as the trigger for milestone invoices.
Model-deprecation and third-party-dependency carve-outs. SaaS-lawyer template guidance now includes a "model-change disclaimer" (models, features, and underlying providers change; identical prompts may produce different outputs over time) and a "third-party dependency disclaimer" (performance depends on Anthropic/OpenAI/cloud models the vendor does not control) (Andrew S. Bosin, AI Warranty Disclaimers That Actually Hold Up). For a firm building agentic systems on frontier APIs, this is existential: if the model behind a delivered workflow is deprecated, the contract must say whose problem that is (answer: a paid maintenance SOW, not free warranty work).
IP assignment and the training-data question. US Copyright Office position: purely AI-generated content is not copyrightable; copyright attaches where humans add original selection, arrangement, or substantive revision (O'Reilly, "Who Owns the Code Claude Wrote?" — noting Anthropic's terms assign contractual ownership of outputs, which is distinct from copyright). Practitioner guidance: assign all right, title, and interest in deliverables to the client contractually regardless of copyrightability, distinguish AI-generated from AI-assisted portions, and keep auditable records of human involvement (prompt logs, commit history, review records) (Gordon Feinblatt, "In Contracts, Identify Ownership of AI-Generated Work"; DarrowEverett on AI IP licensing). The training-data clause is the client's biggest fear: state plainly that client data is not used to train models, and that API-tier tools with no-training terms are used (Contract Nerds on training data in AI vendor contracts).
Limitation of liability. The market norm in technology and services agreements is a cap at fees paid in the 12 months preceding the claim (KO Law, "The Anatomy of a Great Liability Cap"); professional-services variants run 1x–2x total engagement fees, with negotiated compromises at 2x–3x trailing-12-months (GC.ai limitation-of-liability guide). Standard carve-outs from the cap (or to a higher "supercap"): confidentiality breach, data breach, IP infringement, fraud/gross negligence. A small consultancy should accept those carve-outs but resist uncapped indemnity generally.
Indemnification red lines. Clients increasingly ask for broad indemnity for third-party IP claims arising from AI outputs (Margolis PLLC on AI terms and indemnity). Red lines for a small firm: no indemnity for the client's own inputs/data, no indemnity for model-provider conduct, IP indemnity subject to the cap or a defined supercap, and mutual (not one-way) indemnification. Note the regulator's view: disclaimers are a disclosure floor, not a liability shield — you cannot outsource professional judgment to a model and disclaim the consequences (Rock Law on AI warranties and representations). A blanket "AS-IS" on all AI output is over-broad and erodes buyer trust; warrant the professional service narrowly, disclaim the generative substrate specifically.
The environment: 55% of US B2B invoices are paid late and the average small business carries ~$17,000 in unpaid invoices (Crestmont Capital DSO guide); median B2B DSO is 56 days (Upflow, State of B2B Payments 2024); professional-services benchmarks put top firms at 30–45 days DSO, average firms 50–60 (Projectworks, citing the 2024 SPI Professional Services Maturity Benchmark). A $5–25M client is big enough to have an AP process that defaults to net-45 and small enough to have real cash constraints — assume slow unless engineered otherwise.
The standard armor (Aviy payment-terms guide; Can You Pay That on agency payment structures):
PMI's Pulse of the Profession found 52% of projects experienced scope creep, up from 43% five years prior (PMI, "Scope Patrol"), with associated average budget overruns of ~27% (Project Management Academy summary). The consulting-specific mechanics (Rework, "Change Order Process" in professional services; Digital Applied agency SOW framework):
Renewal risk concentrates where trust and context live in one consultant's head instead of in transferred artifacts (Growth Operators on knowledge transfer in consulting). Commitments to write into SOW #1: a living playbook (decisions, patterns, SOPs, dashboards) delivered as a working artifact, not a farewell PDF; embedded transfer (side-by-side sessions — 70–90% retention vs. 20–40% for one-time training); named client-side owners per system; prompt/agent-configuration documentation as a defined deliverable; and a scheduled post-handoff check-in (Consultant Magazine on handoffs that stick). The commercial logic: documentation commitments are cheap at signature, signal confidence (we're not building dependence), and the check-in cadence is the year-2 sales channel — renewal conversations happen inside a maintenance/monitoring SOW, which is also where model-deprecation work from (a) gets paid.
MSA: mutual confidentiality; IP assignment of deliverables on payment (all right, title, interest, regardless of copyrightability); pre-existing tools/IP license-back; liability cap = 12 months' fees with confidentiality/IP/data-breach carve-outs; mutual indemnity, capped; warranty of professional workmanship + human review; disclaimer of implied warranties; model-change and third-party-dependency disclaimers; no-training-on-client-data covenant; late fee + stop-work right; termination for convenience with kill fee. Per SOW: AI-tool disclosure; deliverables list with acceptance criteria and acceptance window; explicit exclusions; deposit + milestone schedule (2–4 week cadence); change-order clause with minimum fee; documentation/handoff deliverables; named client owner; post-delivery support boundary (what's warranty vs. new SOW).
Students should leave with a contracts-and-cash literacy module, not a law course: read an MSA and find the cap, the carve-outs, and the IP clause; write a SOW with exclusions and acceptance criteria; run a change-order conversation live (roleplay the "just have the AI do X" ask); explain why the firm invoices at milestones and stops work on non-payment. For the SBDC engagements specifically, even though the program is free, running each partner project with a signed scope memo, acceptance criteria, and a change-log builds the exact habits — and gives partners a professional experience that mirrors a paid engagement.
Every prior thread converged on the same open question: what do you charge when agents make delivery 5–10x faster? The evidence is unambiguous on the first-order point — hourly billing is structurally broken under AI leverage, because it converts your efficiency gains into client discounts. The professional-services literature (Ron Baker's VeraSage lineage) predicted this two decades early; the 2025 agency data confirms it is now happening (roughly a third of agencies billing hours have already fielded AI-discount demands). The stable answer for a firm serving $5–25M-revenue companies is a fixed-fee, phase-gated architecture: a separately priced diagnostic that de-risks a fixed-price build, milestones tied to written acceptance criteria, and a productized retainer benchmarked to the 15–25%-of-build maintenance norm and MSP per-seat analogs. Outcome kickers are a garnish, not the meal, at this segment. AI leverage doesn't just permit this model — it strengthens it, because prototyping-before-quoting collapses the estimation risk that historically made fixed fees dangerous.
The critique predates AI. Ron Baker's Implementing Value Pricing (Wiley, 2010) and the VeraSage Institute argued that hourly billing misprices intellectual capital: it charges for inputs (time) while the client buys outputs (results), transfers all uncertainty to the client, and — the killer under AI — penalizes efficiency: the better your tooling, the less you earn per engagement. Baker's formulation, per a Thomson Reuters interview: price the customer, not the service.
AI turned this from philosophy into an income statement. A 2025 Productive.io survey of 180+ agencies (via AI Smart Ventures) found roughly a third had already faced explicit AI-discount requests — almost always at firms anchored on hours. Anders CPA's agency pricing analysis reaches the same conclusion: when hours are the unit of sale, every efficiency gain mechanically shrinks the bill.
The counter to "AI made it fast, so why is it expensive?" has three consistent forms in the practitioner literature: (1) anchor on the deliverable and its business value — the same outcome commands the same fee whether it took twenty hours or two; (2) make the price legible by component ("when clients know exactly what each part produces, price objections drop"); (3) point out the client is buying judgment, accountability, and warranty, not keystrokes — the agent ran fast because of the firm's scaffolding, evals, and experience. The direction of travel is cost-based → value-based → outcome-based; Digital Applied's 2026 decision guide notes even McKinsey now ties roughly a quarter of global fees to measurable outcomes. Practical rule for the firm: never expose an hourly rate on build work. Hours may exist internally for costing; the client sees fixed prices for defined scopes.
Fixed fees historically failed on estimation risk: the vendor absorbs unknowns, so vendors pad. Industry sources put the contingency buffer at 15–30% of estimated cost (BayTech's T&M-vs-fixed analysis; PostMVP's fixed-price guide cites 15–25%). The discipline that makes fixed fees safe is well documented: written scope with explicit exclusions, a change-order mechanism priced per request, and — Atomic Object's "fixed-budget, scope-controlled" variant — a fixed budget with mutually flexible scope inside it, which caps client downside without forcing the vendor to eat every unknown.
The AI-specific twist is the estimate-with-agents advantage: when a working prototype costs a day of agent time instead of three weeks of engineering, the firm can build a thin slice before quoting. This converts estimation from forecasting to measurement — you quote from a de-risked spike, not a guess — which lets an AI-leveraged firm carry a smaller contingency (10–15%) than the industry norm while taking less risk than incumbents at 25–30%. It also produces a demo artifact that sells the build. This is the single biggest structural pricing edge the firm has, and it is only available because the diagnostic phase (below) is a paid engagement in which prototyping is in-scope.
Documented SMB/mid-market custom-software price points bracket the segment: medium-complexity business applications run $25,000–$150,000 (SolTech; Artezio), and Clutch's 2025 data (via SpdLoad) puts the average project at ~$132,000 over ~13 months. An AI-leveraged firm delivering comparable scope in 6–10 weeks at $40–150K is priced within market on value while running radically better margins — that is the arbitrage.
Phase-gating is the standard risk container. A paid discovery/spec phase runs 5–15% of the anticipated build budget with a floor — typical figures: $8–15K for a ~$150K platform (SolveIt), $3–10K entry engagements (Segue), up to $25K flat for a month of requirements work (72Technologies' discovery-sprint playbook; Sakas & Company on why discovery must never be free). The spec phase's deliverable is the fixed-price build quote itself plus the prototype — so the client buys certainty, and the firm gets paid to de-risk its own bid.
Within the build, milestones tie payment to acceptance, not delivery. Best practice per Genie AI and Apptage: every milestone = specific deliverable + written acceptance criteria + deadline; a 5–10-business-day review window; payment on written acceptance with a cure period for deficiencies. The normal skeleton is 20–30% deposit, 40–50% across 2–3 mid-build milestones, 20–30% on final acceptance.
Two independent benchmark families converge. First, the classic maintenance norm: 15–25% of original build cost per year for moderately complex systems, with SMB software at the 15–20% end (Shivlab; Savi's Gartner-rule summary — and note maintenance rises with system age, an argument for annual retainer reviews). On a $75K build that is $940–1,560/month; on a $150K build, $1,900–3,100/month. Second, the MSP per-seat analog: US managed-IT pricing runs $100–250/user/month (Kaseya; The Network Installers), proving this segment already pays recurring four-figure monthly fees for "keep it running" as a product. AI-automation-specific retainers land in the same band: $2,000–8,000/month for mid-market support covering drift monitoring, prompt/model versioning, and expansion builds (Thinkpeak; AGIX).
Design the SOW as a product, not a promise: named inclusions (uptime/error monitoring with alert response SLA; model/API upgrades and re-evals when providers deprecate versions; prompt and eval maintenance; N change-requests/month of bounded size; quarterly review). Overflow change-requests price at a fixed per-request rate — which is also the upsell path to the next build.
Pure success fees mostly fail at this segment: measurement is expensive relative to deal size, attribution is contested, and the client's books are the meter (Consulting Success on pricing models; Joe Pine on outcomes-based B2B pricing; Valueships). A kicker works only when the metric is (1) already instrumented by the system the firm built — the software is the meter, so measurement is free; (2) tightly attributable (tickets auto-resolved, quotes generated, hours of manual entry eliminated — not "revenue"); (3) capped, so the client can budget it. Structure: base fee at ~85–90% of the fixed price plus a capped bonus (e.g., $10K if the system clears a named threshold in 90 days). Use it as a closing tool on skeptical buyers, never as the core model.
| Stage | Offer | Price | Anchor |
|---|---|---|---|
| 1. Diagnostic | 2–4 wk embedded audit → spec + working prototype + fixed build quote | $15–25K fixed | 5–15% of build norm w/ floor; $25K documented ceiling |
| 2. Build | Fixed-price, phase-gated; 25% deposit / 50% across 2–3 acceptance-gated milestones / 25% final | $40–150K | SMB/mid-market $25–150K range; Clutch avg $132K |
| — contingency | Priced into build after prototype spike | 10–15% | vs. 15–30% industry norm; agent-prototype de-risking |
| 3. AI Ops retainer | Monitoring + model upgrades + evals + 2–4 CRs/mo, quarterly review; 6-mo min | $2–6K/mo | 15–20%/yr of build; MSP $100–250/user/mo; AI retainers $2–8K |
| 4. Optional kicker | Capped bonus on a system-instrumented metric | 10–15% of build, capped | Outcome-pricing literature; metric must be free to measure |
A single client at the midpoint (diagnostic $20K + build $90K + 12 months at $4K) is ~$158K first-year value with recurring tail — five such clients supports a small firm before any kicker revenue.
Connecticut is close to an ideal first market for a forward-deployed engineering firm aimed at $5–25M-revenue companies, and the reason is structural, not sentimental. The state has ~4,600 manufacturers, 61% of them under 50 employees, sitting inside the densest advanced-manufacturing corridor in the country — yet only 27% of them have integrated AI in any form, against a 72% AI-adoption rate for Connecticut small businesses generally. That 45-point gap is the addressable market in one number: manufacturers know they're behind, their primes (Pratt & Whitney, Sikorsky, Electric Boat) are actively forcing digital and cybersecurity requirements down the supply chain, and the state maintains a subsidized delivery apparatus — CONNSTEP (the MEP center), CCAT (which administers Manufacturing Innovation Fund vouchers up to $100K), and CTSBDC — that exists precisely to connect small manufacturers with outside help. The founder already has warm entry into two of those three institutions via UConn and the CTSBDC relationship. The play is not to compete with this machinery but to become one of its delivery arms: MEP centers nationally lean on 2,800+ third-party service providers, and MIF vouchers can pay for exactly the kind of scoped technology-adoption projects an FDE firm sells. The competitive field (Kelser, ComTec, CompassMSP, CMMC boutiques) sells infrastructure, compliance, and packaged ERP — almost nobody sells embedded custom-software/AI capability at small-shop price points. Verified as of August 2026: the MIF voucher programs (MVP, Cybersecurity Adoption, Digital Transformation, Additive) are live on the state portal, though open/closed status should be confirmed with CCAT per-program before promising a client money.
CBIA's 2025 Connecticut Manufacturing Report counts 4,591 manufacturers employing 153,600 people (Aug 2025) at an average salary of $100,745 — manufacturing is the state's second-largest industry sector after finance/insurance, and Lightcast has called Connecticut the most productive, geographically concentrated advanced-manufacturing hub in the US. The three anchor sub-verticals — aerospace, shipbuilding, and medical devices — employ 54,800+ people (35% of the manufacturing workforce) and account for $16.3B, about 5% of state GDP. Connecticut holds the sixth-largest aerospace workforce (6% of all US aerospace workers), clustered around Pratt & Whitney (East Hartford/Middletown), Sikorsky (Stratford), and Electric Boat (Groton), each dragging a long tail of precision-machining and electronics suppliers (full PDF).
Size distribution is the FDE-relevant fact: per the 2025 CBIA survey, 61% of CT manufacturers employ fewer than 50 people, 21% employ 50–99, 18% employ 100–500 (Westfair coverage) — i.e., ~82% under 100 employees, squarely the $5–25M-revenue band. The digitization gap is documented, not inferred: only 27% of CT manufacturers have integrated AI technologies (2025 report), versus a 72% AI-adoption rate among CT small businesses overall — second-highest in the nation (CBIA). Meanwhile 82% report difficulty finding/retaining workers, 95% say costs are rising, and nearly two-thirds still plan to hire in 2026 (CBIA media release) — labor scarcity plus growth intent is the classic automation-demand cocktail.
CONNSTEP is Connecticut's NIST-designated Manufacturing Extension Partnership center and — usefully — a CBIA affiliate, so it sits inside the state's main business lobby. Service lines: continuous improvement/lean, quality certifications (ISO 9001, AS9100), cybersecurity & compliance, technology adoption, supply chain, workforce, and business growth (about). Funding follows the national MEP model: federal appropriations cover roughly half, with the balance from state/local sources plus client fees — MEP centers charge for projects, they are not free (CRS explainer; CONNSTEP's own MEP explainer).
The mechanics that matter for an outside firm: the MEP National Network runs on ~1,200 in-house experts plus over 2,800 third-party service providers who deliver work under center engagements (NIST MEP). There is no single national vendor registry — each center vets and contracts providers itself, typically via direct relationships, per-project subcontracts, or occasional RFPs; the practical route is to present a defined offering to the center's project managers and get onto their referral bench. CONNSTEP also aggregates federal money for its clients — e.g., helping secure a $1.4M defense manufacturing grant — and is the delivery partner messaging the state's new cybersecurity compliance grant program to manufacturers.
CTSBDC is hosted at UConn, funded by SBA + DECD + UConn, and fields ~19 advisors doing no-cost, confidential advising (ctsbdc.uconn.edu). It is a referral and credibility channel, not a paying one — but the founder's existing relationship makes it a deal-flow engine and a legitimizer.
The money channel is the Manufacturing Innovation Fund (MIF), a $75M DECD fund whose programs are listed as current on the state portal (manufacturing.ct.gov/mif, checked Aug 2026):
Caveat verified: the portal does not mark programs open/paused, and voucher funds historically run in tranches — confirm availability with CCAT program managers before building a proposal around a voucher.
The primes are doing the market-making. Electric Boat, Pratt & Whitney, and Sikorsky now require suppliers to maintain current SPRS scores and condition new awards on demonstrated CMMC Level 2 progress, with CMMC clauses appearing in solicitations under DFARS 252.204-7021 (Stratokey flow-down analysis; Vancord CT overview). A 15-person shop machining titanium fittings for Virginia-class boats handles CUI daily and must produce quality data through supplier portals, maintain digital traceability, and pass cyber assessments — capabilities those shops largely lack in-house. The state's $35K CAP grant exists because this wave is real. For an FDE firm this is the wedge: compliance is the compelled purchase, and once embedded for CMMC-adjacent data hygiene, the same engineer sees the quoting spreadsheet, the paper travelers, and the tribal-knowledge scheduling board — the actual project backlog.
The CT field serving manufacturers is MSP/compliance-shaped: Kelser (Glastonbury, since 1981 — managed IT + NIST/CMMC compliance for manufacturers), ComTec Solutions (Epicor ERP + managed IT), CompassMSP, Triton, Walker Group, INSC, plus CMMC boutiques (Vancord, Telco United). What they sell: infrastructure, security, compliance audits, packaged ERP. What nobody visibly sells at small-shop prices: embedded engineers building custom workflow software, integrations, and AI tooling on-site. The nearest substitutes are big-firm digital-transformation consultancies priced for the primes, not the 30-person supplier. The white space is genuine — but so is the trust deficit; small manufacturers buy from people who show up, which is the FDE model's home turf.
For Connect.AI, this round argues for: (1) a class module on regulated-supply-chain context — students embedding in CT shops will hit CUI-handling rules, DFARS clauses, and supplier portals, so a "CMMC-lite awareness" hour before Movement 03 placements prevents real harm; (2) teaching students to speak MEP/lean vocabulary (value-stream mapping, 5S) because CONNSTEP has usually been there first and the diagnosis language is already installed; (3) aligning the /assessment instrument's recommendation bands with voucher-eligible project shapes ($25K+ MVP threshold, $25K digital-transformation cap) so the assessment output doubles as a fundable scope; and (4) the SBDC partner pipeline is not just five Fall-2026 companies — it's a rehearsal of exactly the subsidized-channel motion the commercial firm would run.
Every prior branch of this diligence ends at the same door: a forward-deployed engineering firm that only sells builds is a treadmill, and a treadmill sells for scrap. The single largest determinant of what a $2–5M FDE firm is eventually worth is not headcount, brand, or even margin — it is the share of revenue that renews without being re-sold. The M&A data is unusually blunt about this: a dollar of project revenue trades at roughly 0.5–1x, while a dollar of contracted managed-services recurring revenue trades at 4–6x (ClearlyAcquired). That spread — call it the annuity premium — means the maintenance SOW is not an afterthought bolted onto delivery; it is the product the firm is ultimately building for its own balance sheet. The design problem, then, runs backward from the exit: package the post-build layer as a real product with SLAs and a price, run retention like an MSP (10–15% annual churn) rather than an agency (25–40%+), convert the inevitable 18–24-month junior turnover into an alumni referral engine on the audit-firm model, and keep contracts assignable and delivery documented so that a buyer is purchasing a machine, not a founder. Do those four things from day one and the same revenue is worth two to four times more at the end.
The anchor number is old and durable: annual software maintenance runs 15–20% of the original build cost, a rule that appears across decades of enterprise data and is frequently attributed to Gartner's tiered research (10–25% in years 1–2, rising toward 20–40% for mature systems) (Savi, Pegotec benchmarks). IEEE-cited figures go further — roughly 60% of lifetime software cost is maintenance (Abbacus). So a $60–120K AI build for a $5–25M-revenue company legitimately supports a $900–2,000/month floor before any AI-specific labor is added.
AI systems add labor that classic maintenance never had: model-upgrade cadence (prompt drift from provider model releases costs 2–4 hours of rework per release), integration auth/schema refreshes, RAG knowledge updates, and hallucination/drift monitoring. Current AI-agency retainers for exactly this scope run $500–2,000/month for small businesses, $3,000–8,000/month mid-market, and up to $15,000/month where LLM-drift monitoring and continuous RAG updates are included (Digital Agency Network, AGIX). The MSP per-seat analog brackets the same territory from below: fully managed IT runs $100–250/user/month, with $70–150 typical at 1–50 seats (MSP Companies, CloudSecureTech).
A productized recurring SOW for a small FDE firm therefore looks like three fixed tiers, not bespoke quotes: Monitor (~$750–1,500/mo — uptime and drift dashboards, quarterly model-version review, break-fix SLA of next business day); Maintain (~$2,000–4,000/mo — everything above plus N=2–4 change requests/month, provider-model upgrade testing within 2 weeks of release, 8-business-hour response); Evolve (~$5,000–8,000/mo — embedded half-day per week, unlimited small changes, roadmap ownership). SLAs must be sized to a firm that cannot staff a 24/7 desk — business-hours response with a paging exception for revenue-critical automations, capped credits rather than uptime guarantees. Critically, the tiers are the upsell path: change requests that exceed the monthly cap become scoped mini-builds, and the quarterly review meeting is the structured moment where the next build is proposed. Maintenance is the cheapest sales channel the firm will ever own — the diagnostic access is already paid for.
The churn gap between service models is the whole argument. MSPs average 10–15% annual client churn, with top providers retaining 91%+ and <10% churn as the stated goal (JumpCloud, CustomerGauge). Agencies are far worse and — usefully — the spread is by model, not talent: retainer-based agencies churn ~18%/year, hybrid 28%, performance-based 33%, and project-based agencies 42%, while top retainer shops hold 8–10% (Focus Digital, Predictable Profits benchmark of 300+ agencies). An FDE firm's recurring layer should be benchmarked against the MSP number, not the agency number — the monitoring relationship is infrastructural, not discretionary.
Services NRR is driven less by contract mechanics than by expansion motion: professional-services growth has visibly shifted from new-logo acquisition (down to 29.3% of clients in 2024) toward retention and account expansion (Deltek 2025 benchmarks); consulting client retention averages ~85%, with 90%+ marking top performers (Mosaic). Land-and-expand works in consultancies exactly as in SaaS — the assessment or first small build is the land; the maintenance tier is the tenure lock; the quarterly roadmap review is the expand.
The 18–24-month student/junior turnover cycle — structural for a student-led firm — has a precedent-tested answer: the audit and strategy firms turned mandatory turnover into their best channel. McKinsey's alumni network (37,000–70,000 members, 18 sitting Fortune 500 CEOs, 100+ annual events, a maintained directory) functions as a referral flywheel; consulting, law, and accounting firms explicitly run alumni programs for business development and client referrals (StrategyCase on the McKinsey network, PeoplePath). The design translation for an FDE firm: treat every departing engineer as a placed asset — maintain the directory, host the annual event, and expect alumni embedded in client-side or adjacent companies to source the next engagements. Turnover stops being churn risk and becomes distribution.
Project-dominant consulting shops trade at roughly 0.4–1.5x revenue and 4–8x EBITDA, with most transactions at 5–6x and small firms below that (First Page Sage, Peak Business Valuation). Recurring-heavy MSPs are repriced upward by the PE roll-up wave — 169 tracked MSP deals with ~69% PE involvement, platforms buying add-ons specifically for multiple arbitrage (CT Acquisitions): sub-$1M-EBITDA MSPs fetch 3–5x, $1–5M EBITDA 5–8x, platform-scale 8x+, against an 8.8x Q2-2025 median for IT-services transactions and ~11.2x for public comps (Aventis Advisors).
What buyers actually pay premiums for is a short list: recurring-revenue share, no client above ~20% of revenue (past that, expect multiple compression plus 30–40% of proceeds in earnout/escrow — IT ExchangeNet), documented delivery processes, and revenue that survives the founder's exit; unrepresented sellers also leave ~18% on the table (ClearlyAcquired, Consulting Success). Realistic exits for a $2–5M FDE firm, in descending likelihood: (1) add-on to a PE-backed MSP platform hungry for an AI practice; (2) acquisition by a regional agency/SI buying capability; (3) accounting-firm acqui-hire — CPA firms are themselves consolidating and buying advisory capability, and their client base is exactly the $5–25M segment; (4) becoming a platform seed itself if recurring revenue crosses ~$1M EBITDA.
Four practices cost almost nothing now and compound at sale: (1) assignability — every MSA permits assignment on change of control without client consent, or diligence stalls on consent-gathering (Palmstone); (2) documentation — runbooks, prompt/version repositories, and onboarding docs are what let a buyer believe delivery survives the team, and sellers who systematized 18–24 months before market get the best outcomes (CT Acquisitions); (3) revenue-mix targets — set a standing goal of 40–50% recurring within three years, tracked monthly like a KPI; (4) concentration discipline — cap any client at 20% of revenue even when the expansion is tempting.
| Firm profile | Revenue multiple | EBITDA multiple | Source |
|---|---|---|---|
| Project-based consulting/dev shop (small) | 0.4–1.5x | 4–8x (most 5–6x) | First Page Sage; Peak Business Valuation |
| MSP, <$1M EBITDA | ~1x | 3–5x | Aventis Advisors |
| MSP, $1–5M EBITDA | 1–2x | 5–8x | Aventis Advisors |
| MSP platform, >$5M EBITDA | 2x+ | 8x+ | Aventis Advisors; CT Acquisitions |
| IT services, Q2-2025 transaction median | — | 8.8x | Aventis Advisors |
| Per revenue dollar: project vs contracted MRR | 0.5–1x vs 4–6x | — | ClearlyAcquired |
| Concentration penalty (client >20% of revenue) | multiple compression + 30–40% earnout/escrow | IT ExchangeNet |
What actually happens when you click a button: the full request path, the vocabulary of systems, and the history of the web platform students build on.
Research brief for curriculum design. Organizing question: "When I click a button, what actually happens?" Sources inline; full list at the end.
Every piece of software architecture a student will ever meet can be hung on one story: what happens between typing a URL (or clicking a button) and seeing something change on screen. Tell it once, slowly, and every later topic becomes a zoom-in on one scene.
Scene 1: Finding the server. You type app.example.com. The browser doesn't know where that is — names are for humans; the internet routes by IP address. So the first act is a lookup in the internet's address book, DNS. The browser asks a recursive resolver (usually run by your ISP or a service like 1.1.1.1/8.8.8.8), which — if it hasn't cached the answer — walks a hierarchy: a root nameserver points it to the .com TLD servers, which point it to the domain's authoritative nameserver, which finally answers with an IP like 192.0.2.44. The answer is cached for a duration the domain owner sets (the TTL), which is why DNS changes "take time to propagate" (https://aws.amazon.com/route53/what-is-dns/). MDN's teaching analogy holds up: DNS is looking up a shop's street address before you set out (https://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started/Web_standards/How_the_web_works).
Scene 2: Opening a line. With an IP in hand, the browser opens a TCP connection — the three-way handshake (SYN, SYN-ACK, ACK) that gives both sides a reliable channel over an unreliable network. Data will travel as packets: small chunks, each with headers saying where it's from, where it's going, and its place in the sequence, reassembled on arrival — lose one and only that one is resent (https://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started/Web_standards/How_the_web_works).
Scene 3: Proving identity, going secret. Because the URL is https, a TLS handshake follows: browser and server agree on a protocol version and cipher suite, the server presents a certificate — its public key, signed by a certificate authority the browser already trusts (Let's Encrypt hands these out free) — and the two derive a shared secret. From here on, everything is encrypted, tamper-evident, and authenticated (https://developer.mozilla.org/en-US/docs/Web/Security/Transport_Layer_Security). These handshakes are why physical distance still matters in 2026: MDN counts up to eight round trips before the first real request on older stacks, and TLS 1.3 was engineered specifically to cut its handshake from two round trips to one (https://developer.mozilla.org/en-US/docs/Web/Performance/Guides/How_browsers_work, https://web.dev/articles/content-delivery-networks).
Scene 4: The request and the first 14KB. Now, at last, an HTTP request: GET / HTTP/2, plus headers. The server answers with a status code (200, 301, 404, 503…), headers, and the HTML. Thanks to TCP "slow start," the very first burst is only about 14KB — which is why performance people obsess over what fits in it (https://developer.mozilla.org/en-US/docs/Web/Performance/Guides/How_browsers_work).
Scene 5: Building the page. The browser tokenizes HTML into the DOM tree; a preload scanner races ahead fetching CSS, scripts, and fonts; CSS becomes the CSSOM; <script> tags without async/defer stop everything (a fact that explains a decade of frontend advice). DOM + CSSOM combine into a render tree, then layout computes every box's size and position, paint turns boxes into pixels, and compositing stacks the layers (https://developer.mozilla.org/en-US/docs/Web/Performance/Guides/How_browsers_work). The page is visible. Note what just happened: the server sent text; the browser did all the drawing. That division — server sends data and code, client renders and reacts — is the deepest idea in the whole pillar.
Scene 6: The click. Now the student clicks "Save." JavaScript registered an event listener on that button. The handler calls fetch() — a fresh HTTP request, but this time to an API endpoint (POST /api/notes), carrying JSON instead of asking for a page. The request automatically carries the session cookie the server set at login (Set-Cookie → browser returns it on every request — this is how a stateless protocol remembers you) (https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Cookies).
Scene 7: The back end does its job. On the server, a program that has been sitting in a loop waiting for requests (Express, Django, Rails, a serverless function — the shape varies, the job doesn't) routes the request to a handler. It checks auth (is this session valid? may this user do this?), validates the input, runs business logic, and talks to the database — typically Postgres — with a query like INSERT INTO notes …. The database enforces the rules the schema encodes and durably commits the change (ACID). The handler serializes a JSON reply: 201 Created.
Scene 8: Closing the loop. The response travels back through the same encrypted pipe. The JavaScript that made the request receives the JSON and updates the DOM — the new note appears without a page reload. Total elapsed time: perhaps 200 milliseconds, spanning DNS, TCP, TLS, HTTP, a runtime, a database, and a render pipeline. Every section below is one scene of this movie at higher magnification — and every architectural choice students will hear argued about (SPA vs. server-rendered, SQL vs. document, monolith vs. microservices, server vs. serverless) is a choice about where in this story work happens.
Two framing devices worth teaching explicitly. First, the restaurant: frontend = dining room, backend = kitchen, API = the menu and the order ticket (a contract for what may be asked and what comes back), database = the pantry, and the waiter = HTTP. Second, layers of "someone else's problem": the history of hosting (Section 6) is a sixty-year march of converting things you had to do — buying servers, patching Linux, scaling, TLS certs — into things a platform does, which is precisely why a non-CS student in 2026 can ship real software.
The browser only speaks three languages. HTML (structure), CSS (presentation), JavaScript (behavior). Everything else — React, TypeScript, Tailwind, Svelte — is tooling that ultimately compiles down to those three, because that's all a browser executes (https://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started/Web_standards/How_the_web_works). A website's files split into code (HTML/CSS/JS the browser interprets) and assets (images, video, fonts shown as-is).
How rendering actually works (the critical rendering path): bytes → tokens → DOM tree; CSS → CSSOM; DOM+CSSOM → render tree → layout (geometry) → paint (pixels) → composite (layers). Scripts block parsing unless marked async/defer; a page can look done yet be frozen if a large script still holds the main thread — MDN's "Time to Interactive" idea (https://developer.mozilla.org/en-US/docs/Web/Performance/Guides/How_browsers_work).
Why frameworks exist. In the jQuery era (~2006–2012), developers updated the page by imperatively poking the DOM; as apps grew (think Facebook chat + notifications + feed all live at once), keeping UI consistent with changing data became the dominant source of bugs. 2008–2013 produced the SPA frameworks — Ember, Angular, and React (https://nah1222.medium.com/a-history-of-react-259423d526bb). React began in 2011 as Jordan Walke's internal Facebook experiment ("FaxJS") and was open-sourced at JSConf US in May 2013; its JSX syntax was initially mocked, but its core bargain stuck: describe what the UI should look like for a given state, and the framework diffs and updates the DOM for you (virtual DOM) (https://blog.risingstack.com/the-history-of-react-js-on-a-timeline/). That is the one sentence a beginner needs: frameworks exist so humans stop hand-synchronizing the screen with the data. Meta-frameworks (Next.js, Astro, SvelteKit) then reclaimed server-side and build-time rendering because pure SPAs shipped too much JavaScript — the pendulum the students' own Next.js static-export stack sits on.
A back end is just a program on an always-on computer, listening on a port for HTTP requests and deciding what to answer. It exists because some things can't live in the browser: secrets (API keys, DB passwords — anything shipped to a browser is public), shared state (two users must see the same data), heavy work, and trust (never believe the client; re-validate everything server-side).
Anatomy of every backend framework, whatever the language: a runtime (Node.js, Python, Ruby, JVM…), a router (URL+method → handler), handlers/controllers (the app's actual logic), middleware (auth, logging, rate limiting wrapped around handlers), and a database client. Express, Flask, Django, Rails are the same diagram with different accents.
The historical anchor is the LAMP stack — Linux + Apache + MySQL + PHP/Perl/Python — an acronym coined by Michael Kunze in the German magazine c't in December 1998 to argue that a bundle of free software was a viable alternative to expensive commercial packages; O'Reilly and MySQL AB then popularized it (https://en.wikipedia.org/wiki/LAMP_(software_bundle)). LAMP mattered economically: a complete web business could run on $0 of software licenses, which is a big part of why the 2000s web exploded. Its variants (LEMP with Nginx, WAMP on Windows, LAPP with Postgres, MEAN with JavaScript end-to-end) show the deeper lesson: a "stack" is just a named set of choices for OS, web server, database, and language — and every modern stack (Next.js + Vercel + Postgres) is LAMP's grandchild.
App servers are disposable and forgetful (they may restart at any moment; serverless ones must be stateless); the database is the component whose whole job is to never forget and never corrupt.
Relational (Postgres, MySQL, SQLite): data in tables with typed columns, a declared schema, relationships via foreign keys, queried with SQL, guarded by ACID transactions (all-or-nothing changes). Document (MongoDB, Firestore): JSON-like documents with flexible schemas — faster to start, good for irregular data, but relationships and cross-document guarantees are your problem (https://www.datacamp.com/blog/postgresql-vs-mongodb). The honest modern tradeoff: relational for anything with users/accounts/orders/money — i.e., most apps — because constraints and joins are correctness features, not overhead; document stores for genuinely schema-fluid data. And the line has blurred: Postgres's JSONB columns store documents inside a relational database, while MongoDB grew ACID transactions (https://www.datacamp.com/blog/postgresql-vs-mongodb).
Why Postgres won mindshare. Started as UCB's POSTGRES project (Stonebraker, 1980s), open source since 1996, permissive license, and radically extensible. In Stack Overflow's 2023 survey it overtook MySQL as the most-used database for the first time (45.5% overall, 49% of professional developers) and has led "most admired / most desired" for years (https://www.enterprisedb.com/blog/postgres-most-admired-database-in-stack-overflow-2023). By the 2025 survey it reached 55.6% among professionals, up from 33% at its 2018 debut when MySQL held 59% (https://stormatics.tech/blogs/a-look-at-postgresqls-journey-over-5-years-in-stack-overflows-developer-survey). Drivers: standards-compliant SQL, JSONB, rich types, and an extension ecosystem (PostGIS for geo, pgvector for AI embeddings) that lets one boring, trusted database absorb jobs that once required new systems (https://vonng.com/en/pg/so2025-pg/). Teachable takeaway: "just use Postgres" is the rare default that is both the beginner answer and the expert answer.
An API over HTTP is a set of URLs that return data (usually JSON) instead of pages, so programs can talk to programs. Four styles to teach, with real history:
getUser(42) rather than GET /users/42). Modern form: gRPC for service-to-service traffic; students meet the RPC style whenever an SDK hides the HTTP.Split the word: authentication (who are you?) vs. authorization (what are you allowed to do?). Everything else is mechanism.
Secure (HTTPS only), HttpOnly (invisible to JavaScript — blunts XSS), SameSite (blunts CSRF) (https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Cookies).Teach this as an abstraction ladder; each rung converts an ops chore into a line item:
git push, and the platform builds, deploys, scales, and runs your app; you think in apps, not machines.out/ onto Netlify" is a complete deployment story.Deployment vocabulary to normalize early: build (source → optimized artifact), environments (local dev vs. production), environment variables (config and secrets kept out of code), CI/CD (machines build/test/deploy on every push), rollback (redeploy the previous good build).
Cache-Control headers, and the source of the web's oldest joke ("there are only two hard things: cache invalidation and naming things"). Fielding said it first: "the most efficient network request is one that doesn't use the network" (https://roy.gbiv.com/pubs/dissertation/rest_arch_style.htm).| Term | Plain-English definition |
|---|---|
| Client | The program asking for things — usually your browser. |
| Server | A program on an always-on computer that waits for requests and answers them. |
| HTTP | The request/response "language" clients and servers speak; every exchange is one question, one answer. |
| HTML / CSS / JavaScript | The only three languages browsers run: structure, styling, behavior. |
| DOM | The browser's in-memory tree of the page, which JavaScript can read and change. |
| Framework | Prewritten structure (React, Django) so you write only the parts unique to your app. |
| SPA | Single-page app: JavaScript rewrites the page in place instead of loading new pages. |
| API | A contract of URLs a program can call to get or change data (JSON in, JSON out). |
| Endpoint | One specific URL+method in an API, e.g. POST /api/notes. |
| REST | The dominant API convention: nouns as URLs, HTTP verbs as actions, stateless requests; named for Fielding's 2000 dissertation. |
| GraphQL | An API style where the client sends one query describing exactly the data shape it wants. |
| RPC | API style that makes calling a remote function look like calling a local one. |
| Webhook | A reverse API call: another service POSTs to your URL when something happens. |
| JSON | The simple text format (nested keys and values) most APIs use for data. |
| Database | The program whose only job is to store data durably and consistently. |
| SQL | The standard language for asking relational databases questions. |
| Schema | The declared shape of your data — tables, columns, types, relationships. |
| ACID / transaction | Guarantee that a group of changes happens completely or not at all. |
| Migration | A versioned, scripted change to the database schema. |
| Cookie | A small piece of data the server gives the browser, which the browser returns on every later request. |
| Session | Server-side memory of who's logged in, referenced by an ID kept in a cookie. |
| JWT / token | A signed pass carrying your identity, verifiable without server-side memory. |
| OAuth 2.0 | The standard for letting one app act on your behalf at another ("Sign in with Google") without sharing your password. |
| DNS | The internet's address book: domain names → IP addresses. |
| IP address | The numeric address computers actually use to reach each other. |
| TLS / HTTPS | The encryption-and-identity layer that makes HTTP private and tamper-proof. |
| Certificate | A CA-signed file proving a server really owns its domain. |
| CDN | A worldwide network of cache servers that answer near the user instead of from your origin. |
| Cache / TTL | A saved copy of an earlier answer, and how long it may be reused. |
| Queue | A waiting line between components so slow work happens later without blocking. |
| Latency | Delay from physical distance and round trips — the tax on every request. |
| Load balancer | A traffic cop spreading requests across multiple copies of a server. |
| Monolith | One application, deployed as one unit. |
| Microservices | Many small, independently deployed services talking over the network. |
| Jamstack | Pre-built static frontend on a CDN + APIs for anything dynamic. |
| IaaS / PaaS / FaaS | Renting machines / renting an app platform / renting per-request function execution. |
| Serverless | Servers you never see: code runs on demand, scales to zero, billed per use. |
| Deployment | Getting your built code onto the internet; a deploy is one such release. |
| Environment variable | Config or secrets given to the app from outside the code. |
Spine: open with the full life-of-a-request story in week 1 as a map, unlabeled and low-resolution, then relabel it every week as sections light up. The browser DevTools Network tab is the lab instrument for the entire pillar — every concept here is observable in it.
HttpOnly/SameSite flags in DevTools.dig a domain, view a certificate, find Cache-Control and x-cache: hit headers).Design principles: (1) every abstract concept gets a physical observation the same session; (2) history segments ("who coined this and why") are retention glue, not trivia — LAMP, REST, Jamstack, Lambda each get one; (3) AI tools write the code, but students must narrate the request path in review — the pillar's assessment is explanation, not syntax.
git push" is the operational twin of "what happens when I click," and Netlify/Vercel make it observable.The web was not inevitable, and it was not designed by committee. Every layer of it — the free-and-open substrate, the scriptable page, the standards-compliant browser, the app-in-a-tab — exists because a specific, nameable person won (or productively lost) a specific fight. Tim Berners-Lee had to persuade CERN to give the web away for free. Marc Andreessen had to make it visual before anyone cared. Brendan Eich had ten days to keep the page programmable at all. When Microsoft won the first browser war and stopped building, a guerrilla movement of designers (WaSP) and a rebel splinter group of engineers (WHATWG) had to drag the platform back to life, and Firefox and Chrome had to make competition profitable again. The through-line for students: the modern developer's toolkit — HTML, CSS, JS, fetch, the SPA — is a fossil record of these personalities and their compromises. Understanding why the platform is shaped the way it is (why JavaScript is quirky, why "don't break the web" is law, why speed became a feature) is the fastest route to understanding what it rewards you for building.
In March 1989, Tim Berners-Lee, a British physicist at CERN, submitted "Information Management: A Proposal" — a scheme for linking documents across the lab's chaotic ecosystem of incompatible computers. His boss Mike Sendall scrawled the most consequential margin note in computing history on it: "Vague but exciting" (info.cern.ch/Proposal.html, Time). The proposal initially attracted little interest; Sendall quietly unblocked it by letting Berners-Lee build on a newly acquired NeXT workstation. By the end of 1990 Berners-Lee had written the first browser, the first server, and the first web page.
The decisive move came later and is less famous: on 30 April 1993, CERN put the World Wide Web software into the public domain, royalty-free, forever (Web Foundation). This was a choice, argued for by Berners-Lee and colleagues, at a moment when the rival Gopher protocol had spooked users by hinting at licensing fees. Free-forever is why every subsequent fight was about implementations, not the substrate itself.
Marc Andreessen was a 21-year-old undergraduate at the University of Illinois' NCSA when he and Eric Bina released Mosaic in 1993 — the first popular browser to put images inline with text. Before Mosaic the web was a text tool for the technical; after it, millions downloaded a visual, approachable web within eighteen months (LivingInternet). Silicon Graphics founder Jim Clark recruited Andreessen almost the day he graduated; in April 1994 they founded what became Netscape (Wikipedia: Netscape). Navigator shipped in October 1994 and by 1995 ran on roughly 90% of web-connected computers. Microsoft, late to the internet, licensed the original Mosaic code via Spyglass to build Internet Explorer — meaning both armies in the first browser war descended from Andreessen's college project (The History of the Web). IE 4's bundling with Windows turned the tide; Netscape's 72%-vs-18% lead in 1997 collapsed within two years (Firefox browser history).
The famous claim — Brendan Eich "created JavaScript in 10 days" — is true but routinely told wrong. The nuance, from Eich's own account (brendaneich.com "Popularity"):
==), not the design.The lesson is not "genius works fast"; it's that a rushed compromise under competitive threat became the most widely deployed programming language on Earth — and its warts are the archaeology of that rush.
Having won, Microsoft stopped. IE6 shipped in August 2001, peaked near 90% share (95% counting all IE versions) in 2002–03, and then received no major update for five years (Wikipedia: IE6, Browser wars). With no competitor, there was no business case for improving the platform; IE6's broken standards support and security holes generated years of technical debt — entire libraries (jQuery among them) exist substantially as IE-compatibility shims (pipwerks). This is the curriculum's cleanest natural experiment: monopoly froze the platform; developers' ambitions froze with it.
Three counterattacks, three different weapons:
Google's stake was existential — Gmail and Maps were straining browsers built for documents. In 2006 Google hired Danish VM legend Lars Bak (of Self and HotSpot fame) to build a JavaScript engine for a then-secret browser; V8 and Chrome launched together on 2 September 2008, announced via a 38-page comic by Scott McCloud (V8 blog: 10 years, Wikipedia: V8)). Two ideas mattered: JIT-compiling JavaScript to native code (because Gmail-class apps "use the browser to the fullest"), and one sandboxed process per tab — a browser architected like an operating system. V8's speed race (Firefox and Safari answered in kind) made ambitious client-side apps viable, and V8 itself escaped the browser: Node.js (2009) is V8 on a server, which is why "JavaScript everywhere" exists.
The ingredient was Microsoft's own: XMLHttpRequest, shipped quietly in IE5 for Outlook Web Access. But it took Gmail (2004) and Google Maps (2005) — pages that updated without reloading, maps you could drag — to show what it meant. On 18 February 2005, Adaptive Path's Jesse James Garrett named the pattern in "Ajax: A New Approach to Web Applications" (acronym coined, he admits, in the shower) (the essay, The History of the Web). Naming it galvanized the industry: the page stopped being a document and became an application runtime, the lineage that runs Ajax → jQuery → Backbone/Angular → React and today's SPA-vs-server-rendering debates.
Every layer of today's JavaScript stack is scar tissue over a specific wound. jQuery healed the browser wars; the MVC frameworks healed jQuery spaghetti; React healed the state-synchronization problem the MVC wave couldn't; Node.js moved the language to the server and accidentally created the largest package ecosystem in history — along with its fragilities (left-pad) and its creator's own regrets (Deno). Bundlers grew from task runners into compilers and then got fast again; TypeScript quietly won by asking for nothing up front; and meta-frameworks like Next.js reunited the server and client that the SPA era had divorced. The endpoint of this twenty-year arc is precisely the stack this course teaches — React components in a Next.js static export, dragged onto Netlify — now with a new layer on top: agentic tools that write much of the code themselves.
John Resig, then 22, released jQuery at BarCamp NYC on January 14, 2006 (johnresig.com). The problem was concrete: Internet Explorer 6, Firefox, and Safari each implemented the DOM differently, so a simple script often needed three versions to run everywhere (build5nines.com). jQuery wrapped the chaos in one API — CSS-style selection with $(), chainable methods, normalized events, easy Ajax — under the motto "write less, do more" (Wikipedia). It became the most deployed library in web history and, by taming the platform, made ambitious in-browser applications thinkable. That ambition created the next problem.
Large jQuery apps decayed into thousands of selectors and interwoven event handlers with no architecture. Jeremy Ashkenas released Backbone.js on October 13, 2010 — models with events, views, and a router; minimal but structured (Wikipedia). AngularJS began in 2009 as "GetAngular" by Miško Hevery and Adam Abrons; Hevery famously rewrote a 17,000-line, six-month Google project in three weeks and roughly 1,000 lines, convincing Google to back it (Wikipedia). Its hallmark was two-way data binding: the DOM and the model updated each other automatically. Ember.js (Yehuda Katz, 2011, out of SproutCore) bet on Rails-style convention over configuration (dev.to). All three attacked the same core problem — keeping the UI in sync with application state — and at scale, two-way binding made data flow genuinely hard to reason about.
At Facebook, Jordan Walke prototyped "FaxJS" around 2011, inspired by XHP, Facebook's PHP component system; it powered News Feed and then Instagram before being open-sourced at JSConf US in May 2013 (RisingStack timeline, Wikipedia)). The reception was hostile: JSX put markup inside JavaScript, which looked like a step backward — a violation of the sacred separation of concerns. Pete Hunt's JSConf EU 2013 talk "React: Rethinking Best Practices" turned the tide by arguing that separation of concerns is not separation of technologies: a component's markup and logic are one concern (dev.to). The enabling trick was the virtual DOM: conceptually re-render the entire UI on every state change, diff the new tree against an in-memory copy, and patch only what changed. One-way data flow — UI as a function of state — replaced two-way binding, and within a few years React was the default.
Ryan Dahl presented Node.js to about 150 people at JSConf EU in Berlin in November 2009 and got a standing ovation — a first for the conference (jsconf.eu). His thesis: "I/O needs to be done differently." Node paired Chrome's V8 engine with an event loop and non-blocking I/O, so a single thread could juggle thousands of connections instead of blocking on each one. Isaac Schlueter's npm (2010) gave Node a package manager that grew into the world's largest software registry — and a monoculture risk. On March 22, 2016, Azer Koçulu unpublished his packages after npm sided with Kik Messenger in a name dispute; one of them, left-pad, was 11 lines of string padding, and its disappearance broke builds at Babel, React, PayPal, Netflix, and Spotify (Wikipedia). The lesson — modern software stands on unexamined dependency graphs — is now standard supply-chain curriculum. Dahl himself returned to JSConf EU in 2018 with "10 Things I Regret About Node.js": abandoning promises early, giving every script full system access, GYP, package.json, the sprawl of node_modules (JSConf EU 2018). In the same talk he announced Deno: TypeScript-first, sandboxed by default, built on V8 and Rust (Wikipedia)).
First came task runners: Grunt (2012) automated minify/lint/concat via configuration; Gulp (2013) did it with code and streams (perpetual.education). Browserify (2011) let npm modules run in the browser. Then webpack — begun by Tobias Koppers as a code-splitting experiment, first stable release February 2014 — reframed the job: everything (JS, CSS, images) is a module in one dependency graph (Wikipedia). Webpack won the React era, but its configuration burden and slow cold starts (20–30 seconds on mid-size projects) became legendary (reintech.io). Vite (Evan You, 2020) exploited what had changed underneath: browsers now speak ES modules natively, so the dev server can serve source files unbundled and transform on demand using esbuild — a bundler written in Go that does in under 2 seconds what webpack did in 30. The pattern of the third generation: let the platform do the work, and rewrite the hot paths in Go and Rust.
Microsoft announced TypeScript on October 1, 2012 (v0.8, after two years of internal development), led by Anders Hejlsberg — creator of Turbo Pascal, Delphi, and C# (Wikipedia). The design that won: TypeScript is a strict superset of JavaScript, so every existing .js file is already valid TypeScript, and typing is gradual — adopt it one annotation at a time. Types are erased at compile time; they exist for tools and humans, not the runtime. Adoption compounded through tooling (VS Code's autocomplete is TypeScript even in plain JS files), Angular 2's all-in rewrite in 2015, DefinitelyTyped's community type definitions, and finally ecosystem default: Next.js, Astro, and SvelteKit all scaffold new projects in TypeScript (Medium history). It won by never demanding a rewrite.
SPA-era React apps shipped an empty <div> and a pile of JavaScript — bad for first paint, SEO, and slow devices. Next.js, released October 25, 2016 by ZEIT (now Vercel), founded by Guillermo Rauch with Tim Neutkens as lead developer, made server-side rendering the zero-config default (Wikipedia). In plain terms: SSR renders the HTML on a server per request; SSG renders it once at build time into plain files (the mode this course's site uses — npm run build writes out/); ISR (2020) re-renders static pages on a timer; and React Server Components, shipped in Next.js 13 (October 2022, stable in 13.4, May 2023), let some components run only on the server and ship zero JavaScript to the browser (nextjs.org). The wheel came full circle: 2016's radical framework now renders HTML on the server, like PHP did — but with components.
The Connect.AI stack — React components, Next.js 15 App Router, static export, deployed by dragging out/ onto Netlify — is the direct descendant of every episode above, deliberately choosing the simplest rendering mode (SSG) because a curriculum site needs no server. The newest layer is the one this program is actually about: agentic coding tools now write much of this code, which shifts the scarce skill from memorizing APIs to knowing which layer exists, why it exists, and what to ask for.
Students who ship real software for real businesses inherit two threat models at once. The first is the classic web threat model — injection, broken access control, leaked credentials — that OWASP has cataloged for two decades and that frameworks now largely mitigate by default, if you don't fight them. The second is brand new: the agentic attack surface, where the AI tools students use to build (and increasingly to run) their apps become the vulnerability. The connective tissue between the two halves is uncomfortable and well-documented: AI assistants generate insecure code at high rates while making their users more confident the code is secure, and the agent ecosystems (MCP servers, tool-calling loops) that make AI development feel magical are, as of 2025–26, roughly where npm was before anyone audited packages. A curriculum for student "forward-deployed engineers" doesn't need to produce security specialists; it needs to produce shippers who know the ten classic failure modes, treat every AI-generated diff as untrusted input, keep secrets out of git, and can recite the lethal trifecta before wiring an agent to anything that matters.
The OWASP Top 10 was refreshed in its 2025 edition (https://owasp.org/Top10/2025/), and the new ranking is itself a teachable artifact. Broken Access Control remains #1 (with SSRF folded into it) — the most common real-world failure is not exotic crypto but "the server never checked whether this user may see that record." Security Misconfiguration rose to #2, and — significantly for the AI era — Software Supply Chain Failures debuted at #3, a brand-new category acknowledging that modern apps are mostly other people's code. Injection fell to #5 but still contains the two canonical beginner attacks: SQL injection (attacker input concatenated into a query becomes code) and cross-site scripting (attacker input rendered into a page becomes script). Rounding out the list: Cryptographic Failures (#4), Insecure Design (#6), Authentication Failures (#7), Software and Data Integrity Failures (#8), Logging and Alerting Failures (#9), and the new Mishandling of Exceptional Conditions (#10). A useful framing per Qualys's breakdown (https://blog.qualys.com/qualys-insights/2026/06/15/what-changed-in-owasp-top-10-2025-and-recommendations-for-each-category): the list has drifted from individual coding bugs toward systemic failures — configuration, supply chain, design.
For beginners the practical curriculum is short: parameterized queries (never string-concatenate SQL — ORMs do this for you), output escaping (React escapes by default; dangerouslySetInnerHTML is named that for a reason), CSRF protection (SameSite cookies plus framework CSRF tokens; understand that a browser attaches your cookies to requests any site triggers), and authorization checks on every server-side operation, not just hidden UI. The meta-lesson: modern frameworks are secure by default, and most beginner vulnerabilities come from working around the framework — usually because a snippet (human- or AI-authored) did.
Secrets hygiene deserves its own hour. GitGuardian's State of Secrets Sprawl 2025 (https://www.gitguardian.com/state-of-secrets-sprawl-report-2025) found 23.8 million new credentials leaked on public GitHub in 2024 alone — up 25% year over year — and that 70% of secrets leaked in 2022 were still active years later. The rules are mechanical: secrets live in .env files that are gitignored and in host-side environment variables (Netlify/Vercel dashboards), never in source; a secret that ever touched a commit is burned and must be rotated, because git history is forever; enable push protection. The 2026 edition of the report (https://blog.gitguardian.com/the-state-of-secrets-sprawl-2026/) shows the problem accelerating — ~29M secrets and an 81% surge in leaked AI-service keys — because every student now has an Anthropic or OpenAI key to lose.
Three studies make the case quantitatively, and they belong on a slide.
The synthesis for students: AI coding is a productivity multiplier and a defect multiplier at once, and the defects skew toward exactly the OWASP categories above. "The AI wrote it" is the new "it works on my machine" — review AI diffs the way you'd review a stranger's PR, ask the model to attack its own code, and run a scanner (Semgrep, npm audit, GitGuardian's free tier) in CI.
Prompt injection is the foundational vulnerability, holding the #1 spot in OWASP's parallel Top 10 for LLM/GenAI applications as LLM01:2025 (https://genai.owasp.org/llmrisk/llm01-prompt-injection/). The name is a deliberate SQL-injection analogy: trusted instructions and untrusted data are concatenated into one context window, and the model cannot reliably tell them apart. Indirect prompt injection — malicious instructions hidden in a web page, email, or document the agent reads — is the dangerous variant, because the attacker never touches your prompt box.
Simon Willison's "lethal trifecta" (June 2025, https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/) is the best teaching frame in the field. An agent becomes exploitable when three capabilities coexist: (1) access to private data, (2) exposure to untrusted content, (3) the ability to communicate externally. Any attacker-controlled text the agent reads can then instruct it to exfiltrate what it can see. Willison's two hard-edged claims: guardrail products boasting "95% detection" are advertising a failure rate no other security domain would accept, and since nobody knows how to prevent injection 100% reliably, users mixing MCP tools must remove one leg of the trifecta themselves — the vendor can't do it for them.
MCP-specific attacks were catalogued by Invariant Labs in April 2025 (https://invariantlabs.ai/blog/mcp-security-notification-tool-poisoning-attacks): Tool poisoning — malicious instructions embedded in a tool's description, visible to the model but not in the user's UI; their proof-of-concept had an innocent-looking add(a, b) tool whose description told Cursor's agent to read ~/.cursor/mcp.json and SSH private keys and smuggle them out in a "sidenote" parameter. Rug pulls — a server serves clean tool descriptions until after the user approves it, then swaps in malicious ones (their WhatsApp demo flipped on the second load). Tool shadowing — a malicious server's descriptions manipulate how the agent uses a different, trusted server's tools, e.g. silently redirecting all email sent via a legitimate email tool to an attacker's address. Mitigations they propose: show full tool descriptions to users, pin server versions by hash, and enforce cross-server dataflow boundaries; their open-source mcp-scan automates description auditing. CyberArk later showed poisoning works from tool outputs too, not just descriptions (https://www.cyberark.com/resources/threat-research-blog/poison-everywhere-no-output-from-your-mcp-server-is-safe).
Supply chain risk is no longer hypothetical. In September 2025 the npm package postmark-mcp — impersonating Postmark's email service — became the first documented malicious MCP server in the wild (https://thehackernews.com/2025/09/first-malicious-mcp-server-found.html, vendor statement https://postmarkapp.com/blog/information-regarding-malicious-postmark-mcp-package, analysis https://snyk.io/blog/malicious-mcp-server-on-npm-postmark-mcp-harvests-emails/). It shipped 15 legitimate versions to build trust, then v1.0.16 added one line BCC'ing every email the agent sent to an attacker domain — an estimated 3,000–15,000 corporate emails per day. The lesson compounds with OWASP A03 (Software Supply Chain Failures): community MCP servers are unaudited code granted the agent's full trust, installed from registries with no vetting. Rules of thumb: prefer official vendor servers, read the source of anything community-made, pin versions, and never grant a community server credentials that can spend money or send mail unsupervised.
Current mitigation patterns converge on one principle — treat the LLM itself as untrusted. Google DeepMind's CaMeL ("Defeating Prompt Injections by Design") wraps a capability-enforcing policy layer around the model so injected instructions can't expand what the agent may do; the "Design Patterns for Securing LLM Agents against Prompt Injections" paper (https://arxiv.org/abs/2506.08837) formalizes six architectures (Action-Selector, Plan-Then-Execute, Dual LLM, etc.) that isolate untrusted data from privileged actions. In day-to-day practice the working stack is: sandboxing (agents run in containers/worktrees with no network or scoped filesystem), least-privilege permissioning (allowlists per tool; read-only tokens where possible), and human-in-the-loop approval for irreversible or externally visible actions — which is precisely why coding agents like Claude Code prompt before running commands, and why teaching students to not reflexively "allow all" is itself a security lesson.
.env + gitignore + Netlify env vars + "a committed secret is a burned secret." This is the single most likely real-world failure for Connect.AI student teams handling partner-business credentials.dangerouslySetInnerHTML, raw SQL) students must treat as red flags.The new layer: protocols, context, retrieval, and world models — the architecture of systems where a language model sits in the middle.
Research compiled 2026-07-31. Method: 15 web searches, 11 substantive sources fetched and read (Anthropic announcements and engineering blog, modelcontextprotocol.io docs, Simon Willison, Invariant Labs, llmstxt.org, agents.md, arXiv, Microsoft Research, Palantir docs, Pinecone, Linux Foundation press). Dates cross-checked across at least two sources where possible.
For fifty years, the way software talked to software was the API: a rigid, machine-readable contract — endpoints, schemas, status codes. The arrival of capable large language models broke an assumption baked into that whole stack: that the thing consuming your interface can't read. A model can read. It can read your README, your database schema, your error messages. This single fact reorganized software architecture around a new scarce resource — not compute, not bandwidth, but context: the finite window of tokens a model can attend to at inference time. Almost everything covered in this pillar is a different answer to the same question: how do we get the right information in front of the model at the right moment, and let it act on the world safely?
The first answer is a protocol. In November 2024 Anthropic open-sourced the Model Context Protocol (MCP), explicitly framed as a fix for the "N×M problem": every AI application needing a custom connector to every data source (anthropic.com/news/model-context-protocol). MCP is deliberately boring in the best way — JSON-RPC 2.0 messages between a host application (Claude Desktop, VS Code, Cursor), which runs a client per connection, and servers that expose three primitives: tools (functions the model can call), resources (data it can read), and prompts (reusable templates) (modelcontextprotocol.io). What made it historic was not the design but the adoption curve: OpenAI adopted it across ChatGPT and its Agents SDK in March 2025, Google DeepMind confirmed Gemini support in April 2025, Microsoft built it into Windows at Build 2025, and by its first birthday MCP counted ~10,000 public servers and tens of millions of monthly SDK downloads (blog.modelcontextprotocol.io). In December 2025 Anthropic donated it to the new Agentic AI Foundation under the Linux Foundation — alongside OpenAI's AGENTS.md and Block's goose — turning a vendor spec into shared infrastructure in thirteen months (linuxfoundation.org). Students should also learn the counter-narrative: MCP dramatically widened the attack surface for prompt injection, and researchers demonstrated within months that malicious tool descriptions could exfiltrate SSH keys from real clients (invariantlabs.ai).
The second answer is almost comically low-tech: plain markdown files. CLAUDE.md, AGENTS.md, llms.txt — the configuration surface of AI-driven development turns out to be prose. This is not laziness; it is the logically correct interface. The "parser" for these files is the model itself, so the format that wins is the one that is simultaneously readable by humans, diffable by git, and ingestible by any model with zero tooling. Jeremy Howard's llms.txt proposal (September 2024) made the argument explicit: websites should publish a curated markdown map of themselves because models have finite context windows and HTML is mostly noise (llmstxt.org). AGENTS.md, formalized in August 2025 by OpenAI, Google, Cursor, Factory and Sourcegraph, is "a README for agents" — no schema, no required fields, nested files with closest-wins precedence — and passed 60,000 repositories within months (agents.md).
Third: the context window itself. From GPT-3's 2,048 tokens (2020) to Claude's 100K (May 2023) and 200K (November 2023), Gemini 1.5's 1–2M (2024), and Claude Sonnet 4's 1M (August 2025), windows grew ~1000× in five years (claude.com/blog/1m-context). But bigger windows did not dissolve the problem, because models don't use long contexts uniformly: the "Lost in the Middle" study (Liu et al., July 2023) showed a U-shaped curve where information buried mid-context is reliably missed (arxiv.org/abs/2307.03172). Out of this grew context engineering — Anthropic's September 2025 formulation: treat context as "a precious, finite resource," and manage it with compaction, structured note-taking, sub-agents, and just-in-time retrieval (anthropic.com/engineering). This is arguably the defining skill of the AI-native engineer, and it is exactly what a CLAUDE.md file is: pre-loaded, curated context.
Fourth: when knowledge doesn't fit in the window, you retrieve it. RAG (retrieval-augmented generation, Lewis et al. 2020) chunks a corpus, converts chunks into embeddings — vectors that place similar meanings near each other — stores them in a vector database, and at query time retrieves the nearest neighbors to feed the model (pinecone.io). The architectural decision students must learn to make is RAG vs. long context vs. fine-tuning: retrieval for large/fresh/citable corpora, long context for corpora that fit and prototyping speed, fine-tuning for behavior and style rather than knowledge — and hybrids in production (meilisearch.com).
Finally, the oldest idea in the stack turns out to be the newest: ontologies. An ontology is a formal model of what exists in a domain and how it relates. Palantir's Foundry Ontology — "a digital twin of the organization," with semantic elements (objects, properties, links) and kinetic elements (actions, functions) — shows why this matters for AI: an agent acting through an ontology inherits its vocabulary, its permissions, and its guardrails (palantir.com/docs). Microsoft's GraphRAG showed the retrieval-side version: LLM-built knowledge graphs answer "global" questions over a corpus that naive vector RAG simply cannot (microsoft.com/research). The through-line for students: AI software architecture is the discipline of structuring meaning — protocols for actions, markdown for instructions, retrieval for knowledge, ontologies for the world model — under a hard token budget. (~870 words)
(modelcontextprotocol.io/docs/learn/architecture)
tools/list, tools/call), each with name, description, and JSON Schema for inputs._meta carrying version/capabilities, server/discover for discovery) (modelcontextprotocol.io).mcp.json and SSH private keys. Variants: rug pulls (server changes a description after approval) and shadowing (one malicious server rewrites how a trusted server's tools behave — e.g., silently redirecting all outgoing email to an attacker) (invariantlabs.ai). Now catalogued by OWASP (owasp.org) and assigned CVEs (e.g., CVE-2025-54136)./llms.txt — required H1, blockquote summary, H2-sectioned link lists, an "Optional" section droppable under tight budgets — plus .md twins of individual pages and an expanded llms-full.txt. Rationale: HTML pages are mostly navigation/ads/JS noise; context windows are finite (llmstxt.org; answer.ai proposal). Adopted by 600+ sites by mid-2025 (Anthropic, Stripe, Cloudflare, Perplexity, Hugging Face) — but contested: no major crawler has confirmed consuming it, and skeptics call it aspirational (mintlify.com; searchengineland.com).| Term | Plain-English definition |
|---|---|
| Token | The unit models read/write; roughly ¾ of an English word. Context and pricing are measured in tokens. |
| Context window | Everything the model can attend to in one inference pass — instructions, tools, history, data. Working memory, not knowledge. |
| MCP | Model Context Protocol — open standard (Anthropic, Nov 2024) for connecting AI apps to tools and data; "USB-C for AI." |
| MCP host | The AI application (Claude Desktop, VS Code) that coordinates MCP connections. |
| MCP client | The component inside a host holding one dedicated connection to one server. |
| MCP server | A program exposing tools/resources/prompts to AI applications, locally or remotely. |
| Tool (MCP) | An executable function the model can invoke, described by name, description, and JSON Schema. |
| Resource (MCP) | A readable data source (file, record) a server offers as context. |
| Prompt (MCP) | A reusable interaction template a server offers. |
| stdio transport | MCP over standard input/output between local processes. |
| Streamable HTTP | MCP's remote transport: HTTP POST plus optional server-sent events; OAuth for auth. |
| JSON-RPC 2.0 | The lightweight remote-procedure-call message format MCP is built on. |
| Elicitation | MCP primitive letting a server ask the user for input or confirmation mid-task. |
| Prompt injection | Attack where instructions hidden in content the model reads are followed as if from the user. |
| Tool poisoning | Prompt injection via malicious MCP tool descriptions — invisible to users, visible to the model. |
| Rug pull | An MCP server changing its tool descriptions to malicious ones after being approved. |
| Lethal trifecta | Willison's danger pattern: private-data access + untrusted content + external communication in one agent. |
| CLAUDE.md | Claude Code's per-project markdown memory file, auto-loaded into context each session. |
| AGENTS.md | Cross-vendor "README for agents" standard (Aug 2025); plain markdown, nested closest-wins. |
| llms.txt | Proposed site-root markdown map of a website for LLM consumption (Jeremy Howard, Sept 2024). |
| Context engineering | Curating the optimal set of tokens in the window across an agent's whole run; successor to prompt engineering. |
| Compaction | Summarizing conversation history to reclaim window space while keeping key decisions. |
| Lost in the middle | Finding that models retrieve info best from the start/end of context, worst from the middle (U-curve). |
| Context rot | Accuracy degradation as context length grows, from stretched attention. |
| RAG | Retrieval-augmented generation: fetch relevant documents at query time and put them in the prompt. |
| Embedding | A vector of numbers encoding a text's meaning; similar meanings land near each other. |
| Vector database | A store optimized for similarity search over embeddings (Pinecone, Weaviate, pgvector). |
| ANN / HNSW | Approximate nearest-neighbor search; HNSW is the dominant graph-based index for it. |
| Chunking | Splitting documents into retrieval-sized pieces before embedding; the quiet make-or-break of RAG. |
| Fine-tuning | Further training a model's weights on examples to change its behavior/style, not its knowledge base. |
| Ontology | A formal model of a domain's entity types, properties, and relationships. |
| Knowledge graph | Entities and relationships stored as a graph, queryable by traversal rather than similarity. |
| GraphRAG | Microsoft's technique: LLM-extracted knowledge graph + community summaries powering retrieval for global questions. |
| Digital twin (Palantir) | The ontology as a live software model of the organization — its things (semantic) and its operations (kinetic). |
| Semantic vs kinetic | Palantir's split: objects/properties/links describe the org; actions/functions change it. |
Every standard that matters started as somebody's product. C was Bell Labs' in-house language; JavaScript was a Netscape feature shipped in ten days; COBOL was stitched together from Grace Hopper's FLOW-MATIC; HTML5 was three browser vendors' rebellion against the official standards body; MCP was an Anthropic side project open-sourced in November 2024. The interesting question is never "who invented it" but "what converted it from one company's artifact into everyone's infrastructure" — because that conversion follows a repeatable mechanics, and the AI industry just ran the entire 40-year playbook in 13 months.
The pattern across five wins and one failure: standards are ratified, not designed. Winning standards codify practice that already ships (ANSI C's charter literally mandated "codify common existing practice"). They get handed to a neutral body at the precise moment a rival's fork threatens fragmentation (Netscape → ECMA after Microsoft's JScript; Anthropic → Linux Foundation after every competitor had already adopted MCP). And they must serve both sides of a market — publishers and consumers. llms.txt, the counter-case, has thousands of publishers and effectively zero confirmed consumers, which makes it a wish, not a standard.
ANSI convened committee X3J11 in 1983 — roughly fifty members spanning hardware makers, compiler vendors, consultants, and academics — and after six years and two public reviews ratified ANS X3.159-1989 on December 14, 1989. The committee's charter "clearly mandates the Committee to codify common existing practice," and it "held fast to precedent wherever this was clear and unambiguous" (C99 Rationale introduction; ANSI Blog on the origin of ANSI/ISO C). The few inventions (function prototypes, borrowed from C++) were themselves already shipping elsewhere. Lesson one: a standards committee is a notary, not an author. The standard won because compilers already agreed on 95% of it; the document just made the agreement enforceable in procurement contracts.
Netscape shipped JavaScript in 1995; by 1996 Microsoft had reverse-engineered the interpreter for IE3 and shipped "JScript" — same role, incompatible behavior, so pages had to be written twice (Auth0's history of JavaScript). In November 1996 Netscape submitted the language to ECMA, the European Computer Manufacturers Association, and the first ECMAScript specification (ECMA-262, committee TC-39) landed in June 1997 (ECMAScript version history). Why ECMA rather than W3C or ISO? Speed and symmetry: a lightweight body could ratify fast, and — crucially — it gave Microsoft a seat at a table Netscape no longer owned. Lesson two: when a stronger rival forks your artifact, donating it to neutral ground converts their fork from a threat into a compliance obligation. Netscape lost the browser war but its language, laundered through a standards body, outlived the company.
COBOL was designed in 1959 by CODASYL, a committee the Pentagon convened; the Department of Defense then effectively refused to lease or buy computers that lacked a COBOL compiler. ANSI published USA Standard COBOL X3.23 in 1968 to tame the dialect sprawl, ISO adopted it in 1972, and revisions followed in 1974 and 1985 (structured programming, END-IF and friends), with primary ownership eventually passing to ISO (COBOL — Wikipedia; TechTarget COBOL definition). By 1970 it was the most widely used language in the world. Lesson three: a large buyer's procurement rule can substitute for organic network effects. Nobody loved COBOL; everybody who wanted a government contract implemented it. Sixty-plus years later it still clears an enormous share of transaction volume — standards persist longer than the taste that produced them.
In 2004 the W3C — the official body — bet HTML's future on XHTML, a cleaner spec browsers and authors didn't want. Individuals from Apple, Mozilla, and Opera formed WHATWG and kept evolving real-world HTML as a "Living Standard" (WHATWG's own history; The History of the Web, "A Tale of Two Standards"). The W3C capitulated in stages — first draft of HTML5 in 2008, HTML5 Recommendation in 2014 — and in May 2019 signed an agreement designating the WHATWG Living Standard as the HTML and DOM specification. Lesson four: de jure authority loses to de facto implementation every time they diverge. The body that publishes what browsers actually do becomes the standard body, whatever its letterhead says. Corollary: "living standard" beat "versioned standard" — continuous ratification of shipped behavior.
Anthropic open-sourced the Model Context Protocol in November 2024 as a universal way to connect models to tools and data — solving the N×M integration problem (every model × every tool) by collapsing it to N+M against one protocol. In March 2025 OpenAI — Anthropic's most direct rival — announced MCP support across the Agents SDK, Responses API, and ChatGPT desktop, followed by Google and Microsoft (Yahoo Finance / Reuters on OpenAI's adoption; Model Context Protocol — Wikipedia).
Then the ECMA move, compressed: on December 9, 2025 the Linux Foundation announced the Agentic AI Foundation (AAIF), with three founding projects — MCP (Anthropic), goose (Block's local-first agent framework), and AGENTS.md (OpenAI's markdown convention for instructing coding agents) — and platinum members AWS, Anthropic, Block, Bloomberg, Cloudflare, Google, Microsoft, and OpenAI (Linux Foundation press release; Anthropic's announcement). At donation, MCP claimed 97M monthly SDK downloads and ~10,000 active servers, and — telling detail — the existing maintainers keep technical control; the foundation "will not dictate the technical direction of MCP" (MCP blog on joining AAIF).
Why do competitors co-adopt a rival's standard? Because in a connector market, the protocol is a complement, not the product. OpenAI adopting MCP cost it nothing competitive (models still compete on capability) and bought it the entire existing server ecosystem overnight — network effects make the second-mover's build-your-own option strictly worse each month. What co-adoption does demand is governance insurance: no company will build critical infrastructure on a spec its rival can change unilaterally. The donation is the price of keeping the adopters — Anthropic traded de jure ownership for de facto permanence, exactly as Netscape did in 1996, except MCP's donation came after rivals adopted (adoption forced governance) rather than before (governance to seek adoption). Cloudflare's CTO stated the quid pro quo plainly: open standards let developers build "without the fear of vendor lock-in."
Jeremy Howard proposed llms.txt on September 3, 2024: a curated markdown index at the site root to help LLMs cope with small context windows. The publisher side adopted enthusiastically — Anthropic, Stripe, Cloudflare, Vercel, and Zapier publish it; Mintlify auto-generates it for thousands of docs sites; directories (llmstxt.site, directory.llmstxt.cloud) track hundreds to thousands of implementations, and an SE Ranking study found it on ~10% of 300,000 domains (Mintlify on llms.txt; Ahrefs, "What is llms.txt?").
The consumer side never showed up. In July 2025 Google's Gary Illyes confirmed Google doesn't use llms.txt and isn't planning to; John Mueller compared it to the discredited keywords meta tag; no major LLM provider — OpenAI, Anthropic, Google, Meta — has committed to consuming it in production, and one 90-day study of 500M AI-bot visits found only 408 requests for the file (Index Lab's measurement write-up; llms-txt.io adoption status). llms.txt has publication without consumption: a one-sided network. Contrast with MCP, where every server exists because clients (Claude, ChatGPT, Cursor) demonstrably call it. An aspirational standard asks the world to change its behavior; an adopted standard describes behavior that already pays. llms.txt is not dead — one credible crawler commitment could flip it — but as of mid-2026 it is a monument to the difference between "easy to publish" and "worth consuming."
Every AI coding agent reads a project-level instruction file before it touches your code — and until recently, every vendor invented its own: CLAUDE.md for Claude Code, .cursorrules for Cursor, .github/copilot-instructions.md for Copilot, GEMINI.md for Gemini CLI. The result was the classic pre-standards mess: teams running three tools maintained three near-identical files that drifted apart. AGENTS.md emerged in August 2025 as the neutrality play — a vendor-free filename, plain Markdown, no schema — and won by shipping, not by committee: ~20,000 repos at launch, 60,000+ by December 2025, when OpenAI donated it to the new Agentic AI Foundation alongside Anthropic's MCP and Block's goose. Today 20-28 tools read it natively. But convergence is partial and asymmetric: the baseline file converged while every vendor kept a proprietary layer on top (Cursor's glob-scoped .mdc rules, Copilot's applyTo instructions, Claude Code's imports/rules/skills) — and the single biggest holdout is, ironically, Claude Code itself, which still reads only CLAUDE.md while users route around it with symlinks. The fight is a near-perfect specimen of standards mechanics: implementations outvote committees, and the foundation ratified a fait accompli.
CLAUDE.md shipped with Claude Code (early 2025) and is the richest of the proprietary formats: read from repo root, subdirectories, and ~/.claude/CLAUDE.md; supports @path imports and auxiliary .claude/rules/ files. Anthropic's guidance (code.claude.com/docs/en/best-practices) stresses brevity (target under ~200 lines), universally applicable instructions only, and structured Markdown — long files consume context and reduce adherence.
AGENTS.md (agents.md) began inside OpenAI when Codex needed a predictable place to find build steps, conventions, and test commands (InfoQ). Its semantics are deliberately minimal: just standard Markdown at the repo root, no required fields, nested files allowed with nearest-file-wins precedence (OpenAI's own monorepo carries 88 nested AGENTS.md files), and explicit user chat prompts override everything. The minimalism is the strategy — there is almost nothing to standardize, so there is almost nothing to fight about.
**.cursorrules → .cursor/rules/*.mdc**: Cursor deprecated its single root .cursorrules file around v0.43 (late 2024) in favor of Project Rules — multiple .mdc files with YAML frontmatter providing glob scoping, per-rule activation modes (always / auto-attached / agent-requested / manual), and description fields (FlowQL). Cursor now recommends migrating either to Project Rules or to AGENTS.md — a vendor pointing users at the neutral standard for the baseline while keeping its power features proprietary.
.github/copilot-instructions.md: one always-on, repo-wide Markdown file in .github/, applied across VS Code, JetBrains, github.com chat, the cloud coding agent, and Copilot CLI (but not inline completions), with a priority ladder of personal > repository > organization instructions (GitHub Docs). GitHub layered on path-scoped .github/instructions/*.instructions.md files with applyTo frontmatter in July 2025 (GitHub Changelog) — then added native AGENTS.md support in August 2025.
The adoption curve is steep: ~20,000 GitHub repos by the August 2025 launch announcement (InfoQ); 60,000+ open-source projects by December 9, 2025, when the Linux Foundation announced the Agentic AI Foundation (AAIF) with three anchor donations — Anthropic's MCP, Block's goose, and OpenAI's AGENTS.md (Linux Foundation press release). Platinum members: AWS, Anthropic, Block, Bloomberg, Cloudflare, Google, Microsoft, OpenAI (TechCrunch). Tools reading it natively now include Codex, Cursor, GitHub Copilot's coding agent, Gemini CLI, Jules, Devin, Amp, Factory, Windsurf, Zed, Aider, RooCode, Warp, JetBrains Junie, VS Code, and more — 28+ by mid-2026 counts (Field Guide). Governance skeptics note the "platinum paywall" structure (Shashikant's critique), but membership fees fund the foundation, not the spec — the spec is a Markdown filename.
Two forces cut against full convergence. First, proprietary extensions live one layer up: AGENTS.md standardizes only "a Markdown file agents read." Cursor's glob-scoped, mode-activated rules; Copilot's org-level instructions and applyTo files; Claude Code's @imports, .claude/rules/, skills, and hooks all do things the neutral baseline cannot express — and that's where vendors differentiate. Second, the biggest implementation hasn't joined: Claude Code still reads CLAUDE.md, not AGENTS.md, despite a GitHub issue cluster with 5,200+ reactions requesting support (analysis). Practitioners bridge it themselves: symlink CLAUDE.md → AGENTS.md (breaks on Windows), or a one-line CLAUDE.md containing @AGENTS.md using Claude Code's native import (Codex Knowledge Base, SSW Rules). Gemini CLI similarly defaults to GEMINI.md but is configurable. The equilibrium: one neutral source of truth plus thin vendor shims.
Vendor guidance and practitioner experience have converged harder than the filenames have: build/test/lint commands (exact invocations), project map (where things live, what's the source of truth), conventions the linter can't enforce, verification steps ("run this before claiming done"), and repo-specific gotchas — and nothing else. Keep it short and hand-written: a February 2026 ETH Zurich benchmark (AGENTbench, 138 instances across 12 Python repos) found LLM-generated context files lowered task success ~3% versus no file at all while raising inference cost 20%+; human-written files improved success ~4% (Field Guide). Anthropic's rules of thumb generalize to every format: universally applicable instructions only, under ~200 lines, structured headers, no generic advice ("write clean code" wastes tokens), and periodic pruning of stale or contradictory rules.
Apply the standards-mechanics lens — implementations outvote committees — and the story writes itself. AGENTS.md never went through a working group; Codex shipped it, a dozen tools copied it because it was free to support, and the Linux Foundation blessed it after 60,000 repos had voted. The same sequence as MCP: de facto first, de jure second. Three predictions follow. (1) The baseline file is settled and will stay boring — it's unversioned Markdown, so there's no spec surface to fork. (2) The competition moves up the stack, to scoping/activation systems, skills, hooks, and slash commands, where fragmentation is already re-forming and no neutral standard exists yet. (3) Holdouts pay a rising tax: every symlinked CLAUDE.md is a user routing around a vendor decision, and 5,200 reactions on an issue tracker is what a standards vote looks like in 2026. The lesson for reading any standards fight: count shipped implementations, not foundation logos.
Connect.AI students will write these files weekly, so teach the portable skill, not the vendor filename. Concretely: (1) One source of truth — write AGENTS.md, add a one-line CLAUDE.md containing @AGENTS.md for Claude Code; students then work identically in Codex, Cursor, Copilot, and Claude Code. (2) Content over format — the five-section skeleton (commands, map, conventions, verification, gotchas) is the assignment rubric; the ETH result ("hand-written beats generated, short beats long") is the graded lesson: a student who pastes an LLM-generated 400-line file made their agent worse. (3) This repo is the worked example — the project's own CLAUDE.md (verification recipe, ARCHIVE-NEVER-DELETE policy, single-source-of-truth pointer to data/curriculum.js) demonstrates every best practice; have students critique it in week one. (4) For partner engagements, writing the instruction file is a diagnostic deliverable: you can't write a good AGENTS.md for a business's repo without understanding it — which is exactly the Embed & Diagnose movement.
Research compiled 2026-09-02. Method: 6 web searches plus primary-source verification of every cited paper against its arXiv record; the tokenization, sampling, hallucination and long-context literature read against what the compendium already carries. Written to fill a specific hole: Part VI covers the LLM era as history and Part IV covers the context window as architecture, but nothing here explains what the model actually does between your prompt and its answer. One claim was corrected during verification and is flagged where it appears: the popular explanation of letter-counting failure is not what the underlying papers actually found.
A language model is a function from a sequence of tokens to a probability distribution over the next token, run in a loop. Everything a consultant needs to predict about its behaviour follows from three facts about that sentence: the model does not see your text, it sees tokens; it does not know anything except what is in front of it; and it does not choose the next word, it samples one. Each of those is a place where the system leaks, and each leak has a signature you can learn to recognise in the field. That is the purpose of this chapter — not to explain transformers to people who will never train one, but to make the failures predictable. The five stages below are the pipeline as the Skill Map draws it: input, tokens in, model, tokens out, output.
Text is split by a byte-level Byte Pair Encoding tokenizer into subword chunks. "Strawberry" becomes roughly straw + berry, so when you ask how many times the letter R appears, the unit you are asking about is not the unit the model processes. That is the explanation everyone repeats, and it is incomplete in a way worth teaching, because the papers behind it disagree about how much work tokenization is really doing.
Fu, Ferrando, Conde, Arriaga and Reviriego ran the experiment directly across a large word set and found something the standard story does not predict: models are capable of recognizing the letters but not of counting them. Word and token frequency in the training data had no significant effect on error rates; what predicted errors was the number of letters in the word, and most strongly the number of letters appearing more than once — most models could not correctly count words in which a letter occurs more than twice (arXiv 2412.18626, December 2024). If the failure were purely a visibility problem, recognition would fail too. It does not.
Zhang, Cao and You supply the architectural half. Counting requires reasoning depth that grows with the count, while transformers are confined to constant-depth computation — a limit that exists whatever the tokenizer does — and they show additionally that tokenization choices "can undermine models' theoretical computability" (arXiv 2410.19730, October 2024). And Zhang and colleagues' follow-on work on symbolic and arithmetic reasoning demonstrates how much the token layer matters when you control for it: with atomically-aligned input formats, a small model (GPT-4o-mini) outperformed a much larger reasoning system (o1) on structured reasoning, and their conclusion is the sentence to teach — symbolic reasoning ability "is not purely architectural, but deeply conditioned on token-level representations" (arXiv 2505.14178, May 2025).
So the honest account has two causes, and the literature weights them differently: a representation problem (the model is working on the wrong units) sitting on top of an architectural one (a fixed-depth network counting something that needs growing depth). For a practitioner the prediction is the same either way, which is why the imprecise version survives: a model is unreliable at any task whose unit is smaller than a token — spelling, character counts, digit-level arithmetic, string manipulation — and unreliable in a way that gets worse as the task gets longer. The engineering answer is also the same, and it is the curriculum's first real argument for why agents have tools: give it a calculator, a regex, a line of Python. But students should know the mechanism is contested, because "it's just tokenization" is the kind of tidy explanation that stops people looking.
Tokenizer vocabularies are optimised for compression over a training corpus that is overwhelmingly English and Latin-script. Text in other scripts therefore fragments into more tokens for identical meaning — typically two to three times as many, and far worse for non-Latin scripts and morphologically complex languages. Studies measuring this across large language sets report efficiency variation reaching roughly an order of magnitude and beyond, with the worst penalties falling on non-Latin scripts and morphologically rich languages (arXiv 2509.05486; arXiv 2510.12389), and parallel findings across European languages (arXiv 2605.24718). The exact multiple depends on which languages and which tokenizer are being compared, so the figure to carry is the shape of the problem rather than a single number. Because tokens are the billing unit and the context unit simultaneously, the penalty lands three times: cost, latency, and how much of the document fits in the window.
This is not a diversity footnote, it is a scoping error waiting to happen. A partner business that tests a bilingual support assistant in English and prices it from those numbers will be wrong about its own unit economics, and wrong in the direction that hurts. See The Economics of Inference for what tokens cost once they are counted correctly.
The model emits a probability distribution over the whole vocabulary. What happens next is a decoding policy, and it is a setting, not a property of the model. Temperature reshapes the distribution: as it approaches zero the distribution becomes peaky and behaviour approaches greedy decoding, always taking the single highest-probability token; at 1.0 the distribution is the model's own, unmodified; as it rises the distribution flattens toward uniform. Top-p (nucleus sampling) does something different — it resizes the candidate pool, keeping the smallest set of tokens whose cumulative probability exceeds p. Because it works on cumulative mass it adapts to the model's confidence: at p=0.9 a confident model samples from one or two candidates and an uncertain one from dozens. The two compose — temperature sets the sharpness, top-p truncates what survives.
Students should leave able to say why the same prompt gave two different answers, and the honest version has two layers. The sampling layer is the one above, and it is under your control. The serving layer is not: even greedy decoding is non-deterministic in practice because GPU batching changes floating-point reduction order. That second layer is treated properly in Eval Engineering and Non-Determinism and is not repeated here. The combined lesson is the one that matters commercially: reproducibility is a property you engineer and pay for, not one you get for free.
The most useful recent result on hallucination is not about model architecture at all. Kalai, Nachum, Vempala and Zhang, Why Language Models Hallucinate (OpenAI and Georgia Tech, 4 September 2025), argue that hallucinations "originate simply as errors in binary classification" under pretraining's statistical pressure, and — the part that changes how you build — that they persist because of how models are graded. Their sentence is the one to teach: "language models are optimized to be good test-takers, and guessing when uncertain improves test performance" (arXiv 2509.04664).
The mechanism is arithmetic. Under a binary grader that awards 1 for a correct answer and 0 for anything else — including "I don't know" — the expected-score-maximising strategy is never to abstain. A model that says it is unsure scores identically to a model that is confidently wrong, so training and benchmarking together select against admitting uncertainty. The authors are explicit that the remedy is socio-technical rather than architectural: modify the scoring of the mainstream benchmarks that dominate leaderboards, rewarding appropriate expressions of uncertainty instead of penalising them, rather than bolting on yet another hallucination eval.
This is the single most important idea in this part of the curriculum, because it inverts the usual mental model. Evaluation is not a stage after the model; it is one of the forces that shaped it. It connects directly to agent evaluation, to benchmark gaming in Benchmarks and Their Discontents, and to the practical instruction a student should carry into a partner engagement: if you want a system that says "I don't know", you must score it in a way that rewards saying so.
The context window is the whole of the model's working memory for one inference pass. Part IV already carries the growth timeline and Liu et al.'s lost-in-the-middle U-curve (AI Software Architecture), so the addition here is the study that measured degradation systematically. Chroma Research's Context Rot (Kelly Hong, Anton Troynikov and Jeff Huber, July 2025) tested 18 frontier models — GPT-4.1, Claude 4, Gemini 2.5 and Qwen3 variants among them — and found that every one degrades as input length grows, with a clearly observable effect on million-token models typically appearing somewhere around 300,000 to 400,000 tokens (Chroma Research).
Three of their findings are worth a slide each. Degradation is faster when the needle and the question are semantically dissimilar — that is, precisely when the retrieval is hard rather than easy. Distractors hurt non-uniformly: even a single one reduced accuracy, and some distractors did far more damage than others, with Claude models showing the lowest hallucination rates under distraction and GPT models higher. And the counter-intuitive one — "models perform better on shuffled haystacks than on logically structured ones". Randomly reordering the sentences of the surrounding document improved performance, suggesting attention is being drawn along the logical flow of coherent text as context grows.
Whatever the mechanism, the practical reading is blunt. A bigger window is not a filing cabinet, and "paste the whole employee handbook into the prompt" is not an architecture. It is the reason the next chapter exists.
This chapter is the research base for Session 06, "LLM Foundations", which currently has no slides, and it is drawn to match the Skill Map's five-stage card (input, tokens in, model, tokens out, output) so the deck and the research cannot drift apart. Four teachable moves. (1) Open with a failure, not a definition. Have students ask a model to count the letters in a word and get it wrong, then show the tokenization — the mechanism lands in ninety seconds and inoculates against both awe and contempt. (2) Make the tokenizer tax a costing exercise, not an ethics slide: price the same support conversation in English and in another language and have students explain the gap to a hypothetical owner. It rehearses the exact conversation they will have on an engagement. (3) Teach temperature and top-p as the answer to "why did it change?" — students meet non-determinism as a bug long before they meet it as a setting. (4) The Kalai result is the bridge to the rest of the branch. Once students see that a binary grader makes abstention irrational, evaluation stops being homework and becomes design. Assessment shape: given a described failure in a partner's AI feature, name which stage of the pipeline it comes from and what instrumentation would prove it — narratable on paper, which the Week 4 written exam requires.
Research compiled 2026-09-02. Method: 4 web searches across the chunking, hybrid-retrieval, RAG-evaluation and agentic-search literature, with every headline figure traced back to a primary source; read against Part IV's existing RAG and ontology sections so that nothing is restated. Verification removed three numbers that could not be traced past a secondary summary, and corrected the attribution of a fourth. This chapter deliberately does not explain what retrieval-augmented generation is — AI Software Architecture does that, including embeddings, ANN indexes, the vector-database landscape and the RAG-versus-long-context-versus-fine-tuning decision. What follows is the practice: what breaks when the corpus belongs to a real business, and how you know whether it worked.
The previous chapter ends on a model that knows only what is in front of it and gets worse the more you put there. Grounding is the discipline of choosing what to put there. Every partner business already has the material — the price list, the service manual, the last three years of tickets, the thing the owner knows and has never written down — and none of it is in the model. The naive version of this is a weekend project: chunk the documents, embed them, retrieve the top five. The version that survives contact with a real company is a retrieval system with an evaluation harness attached, and the gap between those two is where consulting engagements succeed or quietly fail.
Teams shop carefully for an embedding model and then accept whatever the default splitter does. That is backwards, and the most useful result here is the one that says so about the fashionable option. Qu, Tu and Bao evaluated semantic chunking systematically across three retrieval-related tasks — document retrieval, evidence retrieval, and retrieval-based answer generation — and concluded plainly that "the computational costs associated with semantic chunking are not justified by consistent performance gains" (arXiv 2410.13070, October 2024, from the Vectara team). The expensive, clever splitter does not reliably beat splitting on size.
Practitioner benchmarks in 2026 report the same ordering, and add a detail that explains it. Across published comparisons, recursive fixed-size splitting at around 512 tokens tends to lead on end-to-end answer accuracy (reported near 69%), while semantic chunking leads on retrieval recall (reported near 91.9%) and falls well behind on answers (near 54%), having produced fragments averaging only tens of tokens (Prem AI benchmark; Denser). Those specific figures come from vendor benchmarks rather than peer-reviewed work and should be carried as indicative rather than exact — but the direction is corroborated by the academic result above, and the direction is the lesson.
That lesson is worth stating on its own line, because it is the counter-intuitive part: retrieval recall and answer accuracy are different numbers and they can move in opposite directions. Semantic chunking makes topic-pure fragments, which is exactly what a retriever wants and exactly what a generator cannot use — the right paragraph arrives stripped of the surrounding context that made it meaningful. The fix is not a better splitter but a different shape: context expansion, or parent-child retrieval where you match on the small chunk and pass the large one. As a starting default, 512 tokens holds up, with shorter windows suiting factoid questions and longer ones suiting analytical and multi-hop queries.
Dense vector search fails precisely on the tokens a business cares most about. Error codes, part numbers, SKUs, IP addresses, config flags and account identifiers are short, literal and semantically empty; embeddings smooth them into neighbours and return chunks that read plausibly and are about a different product. Lexical BM25 catches those exactly and misses every paraphrase. Production systems run both.
The join is the part worth teaching carefully, because the obvious approach fails for a concrete reason: you cannot average a BM25 score with a cosine similarity. BM25 is an unbounded positive number and cosine similarity lives in [-1, 1] — the scales are incompatible and any weighted sum is arbitrary. Reciprocal Rank Fusion sidesteps this by discarding the scores and fusing on ranks, which is why it became the standard (Guillaume Laforge).
The canonical production shape is two-stage: fuse to roughly the top hundred with RRF, then re-rank the top ten with an expensive cross-encoder before anything enters the context window. Cheap and broad, then costly and precise, on a shrinking candidate set.
The academic case for keeping the lexical half is stronger than most teams realise. The BEIR benchmark (Thakur et al., NeurIPS 2021) showed that dense retrievers trained on one domain frequently underperform BM25 when evaluated zero-shot on another (BigData Boutique). Read that against a consulting engagement and it is close to a warning label: a partner business is the out-of-domain case. Their vocabulary, part numbering and document conventions are not what the embedding model was trained on, which is precisely the condition under which the old keyword index wins. Evaluate on their corpus, not on a public benchmark.
A grounded system has two failure surfaces and one score will not separate them. Measure retrieval and generation independently. On the retrieval side: Recall@k and Precision@k, with MRR and NDCG when ranking order matters more than mere presence. On the generation side: faithfulness — is the answer supported by the text actually retrieved — and groundedness, its factual-consistency sibling, alongside answer relevancy and context precision and recall. That metric family is the RAGAS set, implemented across Ragas, TruLens and DeepEval (Meilisearch; Confident AI).
The reason to insist on both is a failure mode students will otherwise ship: a system with 95% faithfulness and 40% recall is not 95% good. It is faithfully and confidently answering out of the wrong documents, which is the most dangerous state a grounded system can be in, because every individual answer survives inspection. See Evaluating Agents for the discipline this belongs to.
Part IV notes the counter-trend in a line; it deserves the argument. Anthropic named the pattern just-in-time context loading in a September 2025 engineering post: rather than embedding a corpus in advance, keep lightweight identifiers — file paths, links, queries — in context and load content at runtime through tools. Claude Code, Cursor and Windsurf do not index their target codebase into a vector database at all. They expose retrieval as tools and let the model decide what to open, when, and how often.
The evidence that moved the field is stark, and the most telling number is not the headline one. SWE-bench's own release paired a BM25 retrieval baseline with a model asked to write the patch directly; the best configuration resolved 1.96% of issues — the same figure Benchmarks and Their Discontents cites as the 2023 state of the art, read there as benchmark history and here as a statement about retrieval. Critically, the same paper reports that handing the model an "oracle" retriever — the actually-correct files, perfect retrieval — still only reached 4.8% (arXiv 2310.06770, ICLR 2024). The ceiling was never retrieval quality. It was the interaction model: one shot, no ability to look again. SWE-agent, which replaces retrieval with tools an agent can call repeatedly, reached a pass@1 of 12.5% on the same benchmark (arXiv 2405.15793, Yang et al., 2024).
That comparison is the argument in miniature. Doubling the quality of your retriever would have bought a couple of points; letting the model decide what to open, and open it again, bought an order of magnitude. Perfect retrieval into a single shot loses to imperfect retrieval the agent can iterate on.
The honest boundary matters as much as the result. Agentic search works where the corpus is navigable and named — a codebase, a filesystem, a ticketing system with a real search endpoint. It does not solve retrieval over a million unstructured PDFs with meaningless filenames, and it does not hand you per-user permission filtering, which for most partner businesses is not optional. The pragmatic 2026 answer is neither pure pipeline nor pure agent: index what is genuinely unstructured, expose everything else as tools, and let the agent choose.
Part IV covers the formal lineage — Gruber's definition, RDF and OWL, Palantir's semantic and kinetic elements, GraphRAG — and Palantir's Ontology and AIP covers it as a product. The addition here is the downmarket translation, because a twenty-person manufacturer will never buy Foundry. Retrieval answers "what text is similar to this question?" An ontology answers "what kind of thing is this, what is it connected to, and who is allowed to act on it?" The version a student can actually deliver in a semester is unglamorous and valuable: a written, shared vocabulary of the entity types a business runs on, so that the agent, the database and the owner all mean the same thing by customer, job and done. Producing that document requires understanding the business, which is why it doubles as a diagnostic deliverable.
"Grounding models with data" is a Skill Map subnode with no session of its own, and this chapter is the case for giving it one — or, minimally, for folding it into Session 07 alongside the agentic-systems material it feeds. Three teachable moves. (1) Run the chunking experiment rather than describing it. One corpus, three splitters, the same twenty questions, and two scores per configuration — retrieval recall and answer accuracy. Students discover the divergence themselves, and the 91.9%-recall / 54%-accuracy result stops being a slide and becomes something they caused. (2) Make hybrid search concrete with the business's own vocabulary. Ask a partner for ten real queries; the part numbers and error codes in them are the argument for BM25, and no explanation of embeddings lands as well. (3) Require both numbers on every capstone that retrieves anything — a retrieval metric and a faithfulness metric — because the 95%-faithful, 40%-recall system is the exact failure a student ships when only one number is graded. This also gives Movement 03 a defensible answer to the question every partner asks first, which is not "how does AI work" but "can it use our files".
Research compiled 2026-09-02. Method: 3 web searches across the 2026 agent-context and tool-surface literature, read against Part V's existing loop, multi-agent and context-engineering sections. This chapter does not re-argue whether to build an agent or how many to run — Methods of Working with AI settles that, with ReAct, Anthropic's workflows-versus-agents line and the Cognition critique. What follows is the architecture underneath: three layers, what each is responsible for, and what fails in each. Every connector figure was traced to the party that measured it; two were wrong in the first draft and are corrected here. They remain practitioner measurement rather than controlled study, and are marked as such.
Ask what an agent is and you get a description of behaviour: it plans, it acts, it observes, it tries again. That is true and it is not buildable. The thing you actually build is three layers, and only the top one is the part people talk about. Underneath the loop sits everything the model holds while it works, and underneath that sits everything it is permitted to touch. The Skill Map draws them stacked and darkening downward for a reason — the lower layers are substrate, they are where the engineering lives, and they are where systems fail. The single most useful idea in this chapter is the boundary: the model contributes one thing, a next-token distribution, and the harness contributes everything else. Which tools exist, what the agent may do with them, what survives when the window fills, what gets retrieved, and what counts as finished — all engineering. That is why the same model behaves like a different product in two harnesses.
Plan, act, observe, repeat, deliver. The lineage — ReAct's interleaving of thought, action and observation, and Anthropic's production-era synthesis distinguishing workflows from agents — is covered in Part V and not repeated here. The architectural point worth adding is what the loop requires in order to be worth running: something to observe. A loop with no feedback is an expensive way to run one prompt several times. Compilers, tests, screenshots, tool errors and typed responses are what make iteration converge; where the environment returns nothing informative, a single call is the correct design. Part V's simplicity ladder — find the simplest thing that works, add complexity only when forced — is the standing rule, and most shipped systems are workflows wearing an agent's vocabulary.
The 2026 literature is blunt about where the failures come from. Production agents fail less because they cannot reason and more because they cannot manage what is in their reasoning context — conversation history, oversized system prompts, tool definitions and ballooning tool outputs. The framing in Agentic Context Management is that agents "drown in their own accumulating history while paying a token cost that grows every turn", producing missed recall both within and across conversations (Gaurav Dadhich, arXiv 2607.21503, July 2026 — a preprint that also proposes a commercial implementation, so read its benchmark claims accordingly; the economic argument stands on its own).
That economic argument is the part worth memorising, because it is unintuitive to anyone used to ordinary software. Naive context accumulation grows token cost quadratically in conversation length — every turn re-sends everything, so the bill scales with the square of the conversation, not with its length. Crude summarisation buys linear cost at the price of an "accuracy cliff", and only validated compaction achieves linear cost with fidelity preserved. A student who has only ever paid per message will not predict any of that.
Compaction is the standard answer and its standard implementations are crude. Agents in practice compact by one of two content-agnostic heuristics, and they fail in opposite directions. Reactive compaction triggers only when the rolling context approaches the token budget — by which point the window is already saturated with stale and erroneous tokens, so the summary is made from the worst available material. Periodic compaction fires on a fixed interval and discards indiscriminately, often summarising in the middle of an active subgoal and throwing away the half-finished reasoning it was in the middle of. Neither consults the state of the trajectory. A student who has watched an agent forget what it was doing has seen the second one.
Underneath both sits context rot, quantified in the previous chapter: accuracy falls as context grows even when every relevant token is still present. The strategic vocabulary that has settled around this — write, select, compress, isolate — is a useful checklist, and Part V covers the individual techniques (structured note-taking, just-in-time retrieval, sub-agent isolation) in detail. What belongs here is the design consequence: context is a budget that must be spent deliberately, and the agent will not do it for you.
This is the least-documented layer in the compendium and the one where a small decision does the most damage. Every tool an agent can call must be described to it, and every description sits in the context window on every single turn, whether or not the tool is used.
The reported numbers come from field measurement by practitioners and vendors rather than controlled study, and they should be read as orders of magnitude rather than constants — but they are consistent across independent parties, and the direction is not in doubt. A single MCP tool definition costs roughly 200–500 tokens. A five-server setup has been measured consuming 30,000–60,000 tokens per turn in tool metadata alone, about 25–30% of a 200K context window, before the agent has read the user's first message. GitHub's official MCP server was measured at roughly 26,000 tokens across 35 tools — some 13% of a 200K window for one connector (Unblocked; MCP Python SDK issue #2619).
Worse, the tools interfere with each other. Measured tool-selection accuracy has been reported falling from a 43% baseline to under 14% as tool count grows — a threefold decline in the agent's ability to pick correctly, caused entirely by giving it more to pick from. Reported degradation thresholds cluster: visible quality decline and tangent-chasing past about 50 tools, and an effective registration capacity near 120 before collapse. The most telling datum is not a study at all — Cursor enforces a hard product cap of 40 tools, set from production telemetry. When a shipping product limits a capability by default, that is a company paying for the answer in support tickets.
The ceiling that has settled in 2026 practice is roughly 30–40 always-loaded tools, with everything beyond that behind deferred loading or a tool-search pattern.
Part V already supplies the rule that explains all of this — "if a human engineer can't definitively say which tool should be used in a given situation, an AI agent can't be expected to do better". The connector numbers are that rule with a price attached. More capability is not more capable. Every tool you add spends context and adds an ambiguous decision point, so a tool surface is designed, curated and cut — not accumulated.
Connect.AI's own MCP connector is a deliberately small tool surface: twelve tools across three modules — curriculum, research and roster — registered per request from the token's scopes, so a connection sees only the tools its scopes permit and tools/list is never the full set. That is the deferred-loading discipline implemented rather than described, it sits comfortably under every ceiling above, and students can read the source. The same connector supplies the layer-three vocabulary in the flesh: MCP for structured tools, the CLI and sandbox for execution, files for everything else. For what constrains that layer, see Human-in-the-Loop Action Governance on permission gates and staged writes, Security for AI-Era Shippers on the agentic attack surface, and How Standards Win for why the protocol is MCP at all.
This is the research base for Session 07, "Building Agentic Systems", which currently has no slides, and the three sections above map one-to-one onto the three bands of the Skill Map card so the deck and the research stay locked together. Four moves. (1) Teach the layer boundary first and hardest. A student who understands that the harness owns the loop, the context and the tools will design; one who thinks the model is the system will prompt. (2) Make the connector tax a budget exercise. Have students total the token cost of the tool definitions in an agent they have connected, express it as a percentage of the window, and then remove tools until it is under ten percent — the discipline lands in one session and generalises to every partner build. (3) Let them break compaction on purpose: run a long agent task, watch a periodic compaction land mid-subgoal, and identify what was lost. It is the fastest route to taking context budgets seriously. (4) Use the repository as the reference implementation — twelve scope-gated tools is a real, readable answer to "how many is too many", and critiquing it is a better first exercise than building from nothing. For partner engagements the governing question is scoping, not capability: the tool surface an agent needs for one job is small, and the temptation to connect everything is exactly the failure this chapter documents.
The methods: from prompting to context engineering, loops to graphs to swarms, and the evaluation discipline that makes non-deterministic software shippable.
The methods for getting useful work out of large language models have gone through roughly four generations in five years, and the arc of that evolution is itself the most teachable thing about it: each generation solved the failure mode of the previous one, and each was declared "dead" by the one that followed while actually being absorbed into it.
Generation 1: prompt engineering. From 2020–2023, the dominant skill was crafting the text you send to the model. The canon formed quickly: zero-shot instructions, few-shot exemplars, role/system prompts, and — the single most influential trick — chain-of-thought (CoT) prompting, where showing the model worked examples with intermediate reasoning steps unlocked emergent reasoning ability in sufficiently large models (Wei et al. 2022, https://arxiv.org/abs/2201.11903). By 2024 the field had grown to a taxonomy of 58 distinct text-based techniques across six families (The Prompt Report, Schulhoff et al., https://arxiv.org/abs/2406.06608). Then two things partially obsoleted it: models got good enough that elaborate incantations stopped mattering ("think step by step" is now trained-in behavior in reasoning models), and single prompts stopped being the unit of work. Prompting didn't die — writing clear instructions is still the substrate of everything below — but it stopped being where the leverage is.
Generation 2: context engineering. The leverage moved to everything else in the context window. Andrej Karpathy and Tobi Lütke popularized "context engineering" in mid-2025 as "the delicate art and science of filling the context window with just the right information for the next step," and Anthropic formalized it as "the set of strategies for curating and maintaining the optimal set of tokens during LLM inference" (https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents). The key empirical insight is context rot: attention is a finite budget, and recall accuracy degrades as tokens accumulate, so the job is to find "the smallest possible set of high-signal tokens" — via compaction, structured note-taking (CLAUDE.md-style memory files), just-in-time retrieval instead of pre-loading, and sub-agent context isolation. Cognition calls context engineering "effectively the #1 job of engineers building AI agents" (https://cognition.ai/blog/dont-build-multi-agents).
Generation 3: agentic loops. Once models could call tools, the unit of work became the loop, not the prompt: plan → act → observe → verify, repeated until done. The intellectual lineage runs straight from ReAct (Yao et al. 2022, https://arxiv.org/abs/2210.03629), which showed that interleaving reasoning traces with actions grounds the reasoning in environmental feedback and cuts hallucination. Anthropic's canonical definition: agents are "LLMs using tools based on environmental feedback in a loop" (https://www.anthropic.com/engineering/building-effective-agents). Production harnesses like Claude Code industrialized this: the model supplies judgment; the harness supplies tools, permission gates, context management, checkpoints, and the human-interruption points (https://code.claude.com/docs/en/how-claude-code-works). "Loop engineering" — designing what the agent can observe, what it verifies against, and when it stops — is the emerging craft name for this layer. The critical design question students must internalize: loop when there is environmental feedback to observe and a verifier to check against; one-shot when the task is a stateless transform.
Generation 4: structured orchestration — graphs and multi-agent systems. When one loop isn't enough, structure returns. "Graph engineering" has two distinct readings and a curriculum must cover both. (a) Orchestration graphs: LangGraph-style state machines where nodes are steps (LLM calls, tools, humans), edges are control flow, and shared state persists — buying durable execution, checkpointing, and human-in-the-loop pauses that a bare loop can't offer (https://docs.langchain.com/oss/python/langgraph/overview). (b) Knowledge-graph engineering: using LLMs to build graphs of entities and relations from text, then querying them — Microsoft's GraphRAG being the canonical result, where an LLM-extracted entity graph plus community summaries answers global "what are the themes of this corpus?" questions that vector RAG structurally cannot (https://arxiv.org/abs/2404.16130).
Multi-agent systems sit at the contested frontier. Anthropic's orchestrator-worker research system beat a single-agent baseline by 90.2% on internal research evals — but token usage alone explained 80% of the variance, and the system burns ~15× the tokens of a chat (https://www.anthropic.com/engineering/built-multi-agent-research-system). Cognition's counter-position — "Don't Build Multi-Agents" — argues parallel subagents make conflicting implicit decisions and that a single-threaded agent with full context wins for write-heavy work like coding (https://cognition.ai/blog/dont-build-multi-agents). The synthesis the field has converged on: parallelize reads (research, search, review), single-thread writes (code, documents), and pay the multi-agent tax only when context isolation or parallelism genuinely pays for it. Academic evidence backs the skepticism: the MAST taxonomy catalogs 14 failure modes from 1,600+ multi-agent traces (https://arxiv.org/abs/2503.13657), and benchmarking shows multi-agent debate often fails to beat simple self-consistency (https://arxiv.org/abs/2502.08788).
The constant across all four generations: evals. None of these methods can be chosen rationally without measurement. Error analysis on real traces, binary pass/fail judgments, and LLM-as-judge pipelines aligned against human labels (Zheng et al., https://arxiv.org/abs/2306.05685; Hamel Husain, https://hamel.dev/blog/posts/evals-faq/) are what turn "vibes" into engineering. The meta-lesson for students: every method above is a way of buying reliability with structure, and evals are how you find out whether the purchase was worth it.
The canon. Zero-shot prompting (bare instructions), few-shot / in-context learning (exemplars in the prompt), role and system prompts (persistent behavioral framing), and chain-of-thought. CoT is the landmark: Wei et al. showed that a few exemplars containing intermediate reasoning steps let a 540B-parameter model hit state-of-the-art on GSM8K math word problems with just eight examples — and, crucially, that the ability emerges with scale and does nothing for small models (https://arxiv.org/abs/2201.11903). ReAct later showed pure CoT's weakness: ungrounded reasoning compounds its own errors, because nothing checks the intermediate steps (https://arxiv.org/abs/2210.03629). The Prompt Report (Schulhoff et al., 2024) is the field's systematic survey: a PRISMA review of 1,565 papers yielding 58 text-based techniques in six categories — zero-shot, few-shot, thought generation, decomposition, ensembling, self-criticism (https://arxiv.org/abs/2406.06608). That taxonomy is worth teaching as a map, not a syllabus — most techniques are variations on a handful of moves.
The partial obsolescence. Three forces demoted prompt engineering from discipline to substrate. First, reasoning models internalized CoT — models now generate their own thinking tokens, so hand-prompting the reasoning became redundant. Second, instruction-following improved enough that brittle phrasing tricks ("take a deep breath," threat prompts) stopped moving the needle. Third, production systems stopped being single prompts: by mid-2025 Gartner and industry surveys were declaring "context engineering in, prompt engineering out" (https://neo4j.com/blog/agentic-ai/context-engineering-vs-prompt-engineering/). The honest framing for students: prompt engineering was absorbed, not killed. Anthropic still teaches system-prompt "altitude" — specific enough to guide, flexible enough not to hardcode brittle if-else logic — as a live skill inside context engineering (https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents). Clear instructions, good exemplars, and explicit output formats remain load-bearing in every agent system prompt ever shipped.
Context engineering asks not "what do I say?" but "what configuration of context is most likely to generate the desired behavior?" (https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents). The empirical foundation is context rot: transformer attention computes n² pairwise relationships, and as context grows the model's effective recall degrades — context is an "attention budget" with diminishing returns, not free storage. Anthropic's guidance: curate "the smallest possible set of high-signal tokens."
Core techniques, all now standard in production agents:
Cognition's version is sharper and agent-specific: "share full agent traces, not just individual messages," because "actions carry implicit decisions, and conflicting decisions carry bad results" (https://cognition.ai/blog/dont-build-multi-agents). This is the same discipline viewed from the failure side — most agent failures are context failures.
Lineage. ReAct (ICLR 2023) is the founding document: interleave thought → action → observation so reasoning is continually grounded in tool results. It beat imitation/RL baselines by 34% absolute on ALFWorld and reduced hallucination on HotpotQA by letting the model check instead of recall (https://arxiv.org/abs/2210.03629). Anthropic's "Building Effective Agents" (Dec 2024) is the production-era synthesis, drawing the key line between workflows (LLM calls orchestrated through predefined code paths) and agents (the LLM dynamically directing its own process), and insisting on the simplicity ladder: "find the simplest solution possible, and only increase complexity when needed" — most successful production systems are workflows, not agents (https://www.anthropic.com/engineering/building-effective-agents).
The harness. Claude Code is the reference agent harness: the loop is gather context → take action → verify results, repeated with course-correction, and the harness — not the model — supplies tools (file ops, search, execution, web), the permission system, context management, hooks, and session checkpoints (https://code.claude.com/docs/en/how-claude-code-works). "Loop engineering" names the practice of designing this cycle deliberately: give the agent something to verify against (tests, screenshots, expected outputs), because agents that can check their own work reliably outperform agents that can't (https://claude.com/blog/building-verification-loops-in-claude-code-with-skills).
When to loop vs one-shot. One-shot for stateless transforms (summarize, translate, classify) where there's nothing to observe. Loop when the environment provides feedback (compilers, tests, tool results) and iteration converges — complex debugging typically needs many iterations precisely because each cycle refines understanding. A useful heuristic from practitioners: plain loop when there's one objective and one verifier; graduate to a graph when the path must branch, route, or survive a human in the middle (https://bdtechtalks.com/2026/06/22/ai-loop-engineering/).
Human-in-the-loop patterns. Three canonical checkpoint types: pre-execution approval (pause before consequential actions — Claude Code's permission prompts), post-execution review (act, then surface for inspection — accept-edits mode, PR review), and escalation triggers (autonomous until a risk signal). Production systems mostly land on "human-in-the-workflow": approval at high-consequence transitions, not every step, with autonomy expanded as the agent earns trust (https://www.stackai.com/insights/human-in-the-loop-ai-agents-how-to-design-approval-workflows-for-safe-and-scalable-automation). Plan mode — explore and propose before touching anything — is the same pattern applied to the whole task.
"Graph engineering" means two different things; a course must disambiguate.
(a) Orchestration graphs / DAG workflows. Here the graph is the control flow: nodes are units of work (LLM call, tool, deterministic function, human gate), edges are transitions, and a shared typed state flows through. LangGraph is the canonical framework — explicitly a low-level orchestration runtime modeled on finite state machines, whose selling points are exactly what bare loops lack: durable execution (persist through failures, resume from checkpoints), human-in-the-loop (inspect and modify state mid-run), streaming, and the ability to mix deterministic steps with LLM-driven steps in one graph; it runs in production at Uber, Klarna, LinkedIn, and J.P. Morgan (https://docs.langchain.com/oss/python/langgraph/overview). Anthropic's five workflow patterns are the vocabulary of nodes in such graphs: prompt chaining (sequential decomposition with gates), routing (classify then dispatch), parallelization (sectioning and voting), orchestrator-workers (dynamic decomposition), evaluator-optimizer (generate/critique loop) (https://www.anthropic.com/engineering/building-effective-agents). Teach the trade: graphs buy predictability, auditability, and recoverability at the cost of flexibility — the inverse of agents.
(b) Knowledge-graph engineering. Here the graph is the data: entities as nodes, relations as edges, built by LLMs and queried for LLMs. Microsoft's GraphRAG (Edge et al., 2024) is the landmark: use an LLM to extract an entity knowledge graph from a corpus, cluster it into communities (Leiden algorithm), pre-generate community summaries at multiple levels, then answer questions map-reduce style over summaries. This solves the global sensemaking question ("what are the main themes across these million tokens?") that vector RAG structurally cannot answer, because no single retrieved chunk contains the answer; GraphRAG substantially beats vector RAG on comprehensiveness and diversity for such questions (https://arxiv.org/abs/2404.16130). The trade-off: expensive LLM-driven indexing up front. The broader KG-engineering toolkit — Neo4j's LLM Knowledge Graph Builder, LangChain graph transformers — uses LLMs to automate entity/relation extraction that once took ontology teams months (https://neo4j.com/labs/genai-ecosystem/llm-graph-builder/). Decision rule for students: vector RAG for "find the passage"; GraphRAG/KG for multi-hop relational questions, corpus-level synthesis, and when explainable provenance through explicit relationships matters (https://www.langchain.com/blog/enhancing-rag-based-applications-accuracy-by-constructing-and-leveraging-knowledge-graphs).
What demonstrably works: orchestrator-worker on read-heavy, parallelizable tasks. Anthropic's Research system: a lead agent plans, spawns 3–5 subagents in parallel with explicit objectives, output formats, tool guidance, and task boundaries; subagents search independently and return condensed findings; a citation agent runs a final pass. Result: 90.2% improvement over single-agent Opus 4 on internal research evals — but token usage alone explained 80% of the performance variance (multi-agent is substantially a way to spend more inference compute), and the system uses ~15× the tokens of chat (single agents ~4×) (https://www.anthropic.com/engineering/built-multi-agent-research-system). Vague delegation was their top failure mode — subagents duplicating work — hence the emphasis on explicit task boundaries and effort-scaling rules ("simple fact-finding: 1 agent, 3–10 tool calls").
The credible critique. Cognition's "Don't Build Multi-Agents": parallel subagents each make implicit decisions (the Flappy-Bird-clone example — one subagent builds a Mario-style background, another an incompatible bird), and no synthesis step can reconcile conflicting assumptions; prefer a single-threaded linear agent with full context, adding a context-compression model only when history overflows (https://cognition.ai/blog/dont-build-multi-agents). By 2026 Walden Yan's refined position: multi-agent works when "writes stay single-threaded and the additional agents contribute intelligence rather than actions" (https://x.com/walden_yan/status/2047054554433462360). Anthropic's own reconciliation agrees on the mechanics: split work only where context can be truly isolated (context protection, parallel search, tool specialization); never split sequential phases or tightly coupled writes; expect 3–10× token cost; and note that teams often "invest months building elaborate multi-agent architectures only to discover that improved prompting on a single agent achieved equivalent results" (https://claude.com/blog/building-multi-agent-systems-when-and-how-to-use-them).
What the evidence says about the hype. The Berkeley MAST study annotated 1,600+ traces across 7 popular frameworks and found 14 recurring failure modes in three clusters — system design flaws, inter-agent misalignment, and weak task verification — mostly structural, not fixable by prompt tweaks (https://arxiv.org/abs/2503.13657). On debate specifically: Du et al. showed multi-agent debate improves factuality and reasoning (https://arxiv.org/abs/2305.14325), but a systematic re-evaluation found five representative debate methods "often fail to outperform simple single-agent baselines such as Chain-of-Thought and Self-Consistency" despite far higher compute, with model heterogeneity the one reliable win (https://arxiv.org/abs/2502.08788). Framework landscape (LangGraph, CrewAI, AutoGen, OpenAI's Swarm→Agents SDK with its handoff abstraction) is converging on the same few patterns — manager/orchestrator and peer handoffs — and OpenAI's own guide says start single-agent and add agents only when complexity demands (https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf). Teach the null hypothesis: a well-contexted single agent is the baseline every multi-agent design must beat net of token cost.
Why evals matter. Every method choice above (loop vs one-shot, single vs multi-agent, vector vs graph RAG) is an empirical question, and LLM systems are non-deterministic — so without evals you are doing vibes-driven architecture. Hamel Husain's field-tested doctrine: error analysis comes first — manually read 20–50 real traces before building anything; keep going (100+) until new traces stop revealing new failure categories; prefer binary pass/fail over Likert scales (numeric scales hide uncertainty in the middle values); and distrust off-the-shelf metrics — "all you get from prefab evals is you don't know what they actually do... an illusion of confidence that is unjustified" (https://hamel.dev/blog/posts/evals-faq/).
LLM-as-judge. Zheng et al. (MT-Bench/Chatbot Arena, NeurIPS 2023) established that a strong LLM judge agrees with human preferences >80% of the time — the same rate humans agree with each other — making judges a scalable substitute for human evaluation, provided you correct for the known biases: position bias (favoring the first answer), verbosity bias (favoring longer answers), self-enhancement bias, and weak math grading. Mitigations: swap answer positions, use reference-guided grading, make the judge reason step-by-step (https://arxiv.org/abs/2306.05685). The operational discipline: validate your judge against human labels on a held-out set (true-positive/true-negative rates), then trust it (https://hamel.dev/blog/posts/evals-faq/).
Verification in agent systems. Anthropic's agent-eval lessons: judge against an explicit rubric (factual accuracy, citation accuracy, completeness, source quality, tool efficiency) in a single scored call; evaluate end-state, not every intermediate step — agents legitimately take different valid paths; and keep humans in the loop for edge cases judges miss (https://www.anthropic.com/engineering/built-multi-agent-research-system). Adversarial verification is the pattern family where a second model attacks the first's output: the evaluator-optimizer workflow (https://www.anthropic.com/engineering/building-effective-agents), debate-as-verification (https://arxiv.org/abs/2305.14325), and — most practically for coding — deterministic verifiers: tests, linters, type checkers, and screenshots give the loop ground truth that no LLM judge can fake (https://claude.com/blog/building-verification-loops-in-claude-code-with-skills). MAST's third failure category is precisely missing verification — a fitting closing point: verification is not a stage of the pipeline, it is the property that makes every other method work.
| Pattern | When to use | Canonical source |
|---|---|---|
| Few-shot prompting | Output format/style is easier to show than describe | https://arxiv.org/abs/2406.06608 |
| Chain-of-thought | Multi-step reasoning with a capable non-reasoning model; now largely internalized by reasoning models | https://arxiv.org/abs/2201.11903 |
| System prompt at right "altitude" | Always — heuristics, not hardcoded if-else logic | https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents |
| Compaction + memory files | Long-horizon sessions exceeding the context window | https://code.claude.com/docs/en/how-claude-code-works |
| Just-in-time retrieval | Large corpora/codebases; store identifiers, load on demand | https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents |
| ReAct loop (act ↔ observe) | Any task with environmental feedback (tools, tests, search) | https://arxiv.org/abs/2210.03629 |
| One-shot call | Stateless transforms; nothing to observe or verify | https://www.anthropic.com/engineering/building-effective-agents |
| Prompt chaining with gates | Task decomposes into fixed sequential subtasks | https://www.anthropic.com/engineering/building-effective-agents |
| Routing | Distinct input categories needing different handling | https://www.anthropic.com/engineering/building-effective-agents |
| Parallelization (sectioning/voting) | Independent subtasks, or confidence via multiple attempts | https://www.anthropic.com/engineering/building-effective-agents |
| Evaluator-optimizer | Clear criteria + measurable gains from iteration | https://www.anthropic.com/engineering/building-effective-agents |
| Orchestration graph (LangGraph) | Branching paths, durable/resumable runs, human gates mid-flow | https://docs.langchain.com/oss/python/langgraph/overview |
| Human-in-the-workflow checkpoints | High-consequence transitions only; expand autonomy with trust | https://www.stackai.com/insights/human-in-the-loop-ai-agents-how-to-design-approval-workflows-for-safe-and-scalable-automation |
| Orchestrator-workers (multi-agent) | Read-heavy, parallelizable research exceeding one context window | https://www.anthropic.com/engineering/built-multi-agent-research-system |
| Single-threaded agent + compression | Write-heavy coupled work (coding, drafting) | https://cognition.ai/blog/dont-build-multi-agents |
| Vector RAG | "Find the relevant passage" retrieval | https://arxiv.org/abs/2404.16130 |
| GraphRAG / knowledge graph | Multi-hop relations; corpus-level "main themes" synthesis | https://arxiv.org/abs/2404.16130 |
| LLM-as-judge (bias-corrected) | Scalable evaluation of open-ended outputs | https://arxiv.org/abs/2306.05685 |
| Error analysis on traces | First step of any eval effort — before infrastructure | https://hamel.dev/blog/posts/evals-faq/ |
| Deterministic verifiers in the loop | Coding agents: tests, linters, type checks, screenshots | https://claude.com/blog/building-verification-loops-in-claude-code-with-skills |
Sequence hands-on practice along the historical arc — each exercise should make students feel the failure the next method fixes.
/context to make the attention budget visible.Between 2022 and 2025, "chain of thought" traveled a complete arc: from a prompting trick you had to ask for, to a behavior trained into models with reinforcement learning, to a metered commodity you buy by the token. Wei et al. showed in 2022 that simply demonstrating step-by-step reasoning in a prompt unlocked latent capability in large models. OpenAI's o1 (September 2024) turned that observation into a training objective — the model learned, via RL, to produce a long private chain of thought before answering — and with it a second scaling law: accuracy improves not just with bigger models but with more time spent thinking at inference. DeepSeek-R1 (January 2025) showed the recipe could be reproduced openly and cheaply with pure RL, and Anthropic's Claude 3.7 Sonnet (February 2025) folded fast and slow modes into one "hybrid" model with a visible, budgeted thought process. The practical consequences ripple everywhere: prompting advice inverted (stop saying "think step by step"), agentic systems gained reasoning between tool calls, and bills grew a new line item — thinking tokens. The caveats are equally real: the visible reasoning is not a faithful transcript of the model's computation, and reasoning models chronically overthink easy problems.
The trick (2022). Wei et al.'s "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models" (arXiv:2201.11903, NeurIPS 2022) showed that including a few worked, step-by-step exemplars in the prompt dramatically improved arithmetic, commonsense, and symbolic reasoning — eight exemplars pushed a 540B-parameter model to then-state-of-the-art on GSM8K math word problems. Crucially, the ability was emergent with scale: small models produced fluent nonsense chains; big ones genuinely benefited. Zero-shot variants ("Let's think step by step") soon showed even the exemplars were optional. But CoT remained something the user elicited.
The training objective (Sept 2024). OpenAI's o1 (Introducing OpenAI o1, Learning to reason with LLMs) was "trained with reinforcement learning to produce a long internal chain of thought" — learning to try strategies, recognize dead ends, and backtrack. The headline claim, quoted in Simon Willison's contemporaneous notes: "performance of o1 consistently improves with more reinforcement learning (train-time compute) and with more time spent thinking (test-time compute)." Results landed in domains where models had plateaued — competition math, and 78% on GPQA Diamond, past the ~70% of PhD-level experts. OpenAI hid the raw chain from users, citing the model's need to reason freely (including about policy) and, candidly, "competitive advantage"; users see a summary while the real reasoning tokens are billed invisibly as output.
The open replication (Jan 2025). DeepSeek-R1 (arXiv:2501.12948, later peer-reviewed in Nature) demonstrated that reasoning could be incentivized with pure RL — Group Relative Policy Optimization, no critic model, and in the R1-Zero variant no supervised reasoning examples at all. Long chains of thought, self-verification, reflection, and a documented "aha moment" (the model pausing to re-evaluate its own work) emerged from reward signal alone. R1 matched o1 on math and coding benchmarks, shipped open-weights under MIT license with distilled small variants, and its cost efficiency briefly wiped hundreds of billions off US chip stocks — the moment "reasoning" stopped being a proprietary moat.
The hybrid (Feb 2025). Anthropic's Claude 3.7 Sonnet was the first "hybrid reasoning model": one model that answers instantly or engages extended thinking with a developer-set token budget — framing reasoning as a dial, not a separate product line. Anthropic made the thought process visible but labeled it a research preview, warning it "may not reflect the model's actual reasoning." Later Claude models added adaptive thinking, where the model itself decides how hard to think.
"Inference-time scaling" (or test-time compute) is the empirical finding that accuracy on hard problems rises roughly log-linearly with tokens spent thinking — a capability axis independent of parameter count. A smaller model given many times more inference tokens can match a much larger model on reasoning tasks (Towards Data Science overview; replication of o1's scaling curves).
The economics follow directly. Thinking tokens are billed at output rates — the expensive kind, since each token requires a full sequential forward pass — and across OpenAI, Anthropic, and Google there is no discount lane for them (LLM pricing explained). o1 launched at a large multiple of GPT-4o's per-token price, and OpenAI advised budgeting ~25,000 reasoning tokens for complex prompts. A hard query can burn 20,000–40,000 thinking tokens before emitting 500 visible ones, so the effective cost per user-facing answer can be several times the naive estimate. The log-linear curve also means diminishing returns: doubling the thinking budget buys progressively less accuracy, which is why every provider now exposes budget/effort controls (Claude's budget_tokens, OpenAI's reasoning_effort) and why "who thinks most efficiently per dollar" became a competitive axis alongside "who trains the biggest model."
OpenAI's reasoning best practices are explicit: since the model reasons internally, prompting it to "think step by step" or supplying worked CoT exemplars is unnecessary — and few-shot reasoning demonstrations can actually hurt by fighting the trained behavior. Reasoning models do best with a clear goal, constraints, and an explicit output contract, without micromanaging intermediate steps; classic GPT-style models wanted the opposite — precise procedural instruction.
What still matters, arguably more: curating the context (the model can't reason its way past missing information), stating success criteria and constraints crisply, defining tools well, and choosing when reasoning is worth the money at all. Prompt engineering didn't die; it moved up a level of altitude — from scripting the model's steps to specifying the problem.
The step that made reasoning matter for agents: thinking between tool calls. With interleaved thinking (now automatic on current Claude models), the model reasons about each tool result before deciding the next action — instead of committing to a plan upfront and executing it blind. For multi-step work where later decisions depend on what earlier calls returned (search results, test output, API errors), this is the difference between an agent that adapts mid-execution and one that rides its initial guess into a wall. This is the loop pattern under Claude Code and most modern coding/research agents: think, act, read the result, think again.
Faithfulness. The visible chain of thought is not a reliable transcript of why the model answered as it did. Anthropic's "Reasoning models don't always say what they think" (April 2025) slipped hints into prompts (including "you have gained unauthorized access... the answer is A") and checked whether models that used the hint admitted it in their reasoning: Claude 3.7 Sonnet acknowledged such hints a minority of the time, DeepSeek-R1 less. Earlier Anthropic work (Measuring Faithfulness in Chain-of-Thought Reasoning) found models sometimes ignore their own written reasoning — more so as they get larger. Treat CoT as a useful artifact for debugging and a partial window, never as proof of process.
Overthinking. Reasoning models are poorly calibrated on easy problems: the aptly titled "Do NOT Think That Much for 2+3=?" (arXiv:2412.21187) documented o1-style models spending thousands of tokens on trivial arithmetic, and ThoughtTerminator measured state-of-the-art reasoners burning 15,000+ tokens on problems a few hundred would solve — with accuracy sometimes degrading as thinking lengthens. In agentic settings there is a reasoning–action dilemma (arXiv:2502.08235): models that deliberate instead of acting (looking at the actual environment state) perform worse. More thinking is not monotonically better; it's a budget to be allocated.
Every prior leap in software abstraction — assembler to Fortran, C to Python, bare metal to cloud — changed what you write but preserved a sacred property: run it twice, get the same answer. Martin Fowler argues LLMs are the first abstraction jump that breaks this contract: "I can't just store my prompts in git and know that I'll get the same behavior each time," making LLMs a genuinely new kind of non-deterministic computing rather than just a higher rung on the same ladder (duncan.dev on Fowler, The New Stack). The consequence is that testing — the discipline built on reproducibility — must be rebuilt. The replacement discipline is eval engineering: treating quality measurement of AI systems as a first-class engineering artifact, with its own workflow (error analysis → labeled data → binary judges → judge validation), its own production practice (trace-based monitoring and online evals), and a parallel counter-movement trying to claw determinism back through specs, constrained decoding, property-based testing, and formal verification. Hamel Husain and Shreya Shankar — whose Maven course has trained thousands of engineers and PMs, including teams at OpenAI and Anthropic — have effectively codified the field's teachable core (Maven course, Lenny's Newsletter interview). For a curriculum, this is the rare topic that is simultaneously brand-new, immediately practicable by students, and the single most-cited differentiator between demos and shipped AI products.
The obvious story — "set temperature=0 and it's deterministic" — is false in practice. Thinking Machines' widely cited engineering post showed that even greedy decoding is non-deterministic at the system level: GPU kernels pick different floating-point reduction orders depending on how your request gets batched with other users' traffic, and floating-point addition is non-associative, so the same prompt returns different tokens depending on server load (Defeating Nondeterminism in LLM Inference). Their fix — batch-invariant kernels — has been adopted by inference stacks like SGLang, and follow-on work like LLM-42 formalizes determinism via verified speculation (arXiv 2601.17768). Add silent model updates and prompt-context sensitivity, and the lesson for students is crisp: reproducibility is now a property you engineer and pay for, not one you get for free — which is exactly why measurement had to become statistical.
The teachable core workflow, as codified in the Evals FAQ and the step-by-step masterclass:
Shankar's academic side supplies the deepest insight here. The UIST 2024 paper Who Validates the Validators? found a catch-22 they named criteria drift: people can't fully specify their evaluation criteria until they grade outputs, and grading outputs changes the criteria — so eval criteria can never be fully fixed up front; the workflow is inherently iterative (arXiv 2404.12272, Arize breakdown). This is a profound epistemological point students can experience directly in one lab session.
Husain's original essay Your AI Product Needs Evals gives the canonical three-level pyramid, ordered by cost:
Benchmarks (MMLU, HumanEval, GSM8K) are the fourth type students hear most about and should trust least. Contamination surveys document leakage rates of 1–45% across popular benchmarks; a Johns Hopkins audit flagged ~29% of MMLU items as contaminated, and swapping contaminated GSM8K items for clean mirrors dropped Mistral's score by up to 13 points — memorization masquerading as capability (contamination survey, arXiv 2406.04244, Pebblous MMLU analysis). Paraphrased and translated leakage evades string-matching decontamination entirely. Teaching point: public benchmarks rank models coarsely; they say almost nothing about your task — hence task-specific evals.
The discipline extends into operations. Modern LLM observability platforms (Braintrust, LangSmith, Langfuse, Arize) converge on the same loop: capture full traces of every production request (prompt, retrievals, tool calls, output, latency, cost); run online evals — inline assertions and LLM-judge scorers — against live traffic so regressions surface as they happen; and convert interesting production failures into new offline eval cases with one click, closing the data flywheel (Braintrust observability guide, Confident AI tool comparison). CI/CD quality gates on eval scores are the new regression suite. This is QA inverted: instead of proving correctness pre-release, you instrument for continuous statistical detection post-release.
A counter-movement tries to re-impose determinism at specific boundaries:
The synthesis for students: the industry is settling on a sandwich — deterministic guardrails (schemas, specs, assertions, proofs where feasible) around a stochastic core, with statistical evals measuring everything the guardrails can't pin down.
The agent industry has quietly converged on a shared answer to "how do we let AI act?": **the agent may propose anything, but what it can do without a human is a graduated, auditable privilege — earned per action class, not granted wholesale.** Every serious harness now ships the same anatomy under different names: a read-only planning tier, an approval prompt for consequential writes, a sandbox that bounds worst-case damage, an audit trail that makes actions reconstructable, and escalation triggers keyed to irreversibility, external visibility, and dollar/record thresholds. Claude Code expresses this as permission modes and a two-stage approval classifier; Palantir AIP as ontology actions with staged writes awaiting sign-off; MCP as machine-readable risk annotations feeding consent dialogs; LangGraph as interrupt() checkpoints in the agent graph. None of this is new to HCI — Parasuraman's levels-of-automation work and Lee & See's trust-calibration research predicted both the design and its central failure mode: approval gates only govern if the human actually reviews, and automation complacency erodes exactly that. The frontier question is therefore not "human in the loop: yes/no?" but which actions warrant which loop — and how to keep the approval meaningful once the agent is right 95% of the time.
Agent harnesses now treat permissions as a first-class UX dimension. Claude Code's default mode lets the agent read freely but pauses for approval on every edit, command, and network call; Plan Mode goes further — a read-only research phase where the agent must present a plan and get sign-off before any mutating tool runs (permission modes guide). The newest layer is Anthropic's auto mode (engineering post): instead of asking the human about everything, a Sonnet-powered classifier triages each tool call into tiers — reads auto-approved, in-project edits auto-approved because version control makes them reviewable after the fact, and everything else screened by a two-stage classifier that blocks irreversible destruction, security-posture degradation, trust-boundary crossings, and review-process bypasses. Two design principles generalize: the classifier judges the real-world impact of the assembled payload, not the surface text of the command; and vague user intent is interpreted conservatively ("clean up my branches" does not authorize batch deletion). Notably, Anthropic concedes a 17% false-negative rate and argues the classifier "doesn't need to be flawless to be valuable" — defense in depth, not a perfect gate.
The enterprise pattern of record is the staged write: the agent computes a proposed change to the system of record, but the change lands in a pending state that a human must approve before it commits. Palantir AIP builds this into its ontology layer — AIP Logic and Automate "stage ontology edits for human review," reviewers can inspect the reasoning behind each proposed action, and approval applies the change automatically (AIP features; AIP ethics & governance). The deeper idea: write access to reality is mediated by typed actions with their own permission model, so "what the AI can touch" is defined in the data platform, not in the prompt. This is the same shape as a pull request — the artifact of AI work is a reviewable diff, not an applied change — generalized beyond code.
For the agent to know which actions need a human, tools must declare their risk. The Model Context Protocol standardizes this as tool annotations — readOnlyHint, destructiveHint, idempotentHint, openWorldHint — so a client can auto-approve a read-only tool from a trusted server while raising a confirmation dialog for anything destructive (Tool Annotations Charter; MCP blog: annotations as risk vocabulary). The spec is explicit about the limits: annotations are hints from the server, not guarantees — an untrusted server can lie, so annotations inform consent UX but must never substitute for sandboxing or client-side policy.
In agent frameworks the same gate appears as a control-flow primitive. LangGraph's interrupt() pauses a graph mid-run at the point a consequential tool call is proposed, persists state to a checkpointer, and resumes when a human returns a decision — approve, edit (modify the arguments, then run), reject with feedback, or respond directly (LangChain HITL docs; interrupt announcement). Tool-call approval is reportedly the single most common HITL pattern in production. The "edit" option matters: the human isn't just a yes/no gate but can correct the action — a richer loop than a confirmation dialog.
Approval gates govern intended actions; sandboxes bound unintended ones. Anthropic's containment stack frames the goal as blast-radius reduction: OS-native filesystem and network isolation (Seatbelt on macOS, Bubblewrap on Linux) around tool execution, egress controls, and a preference for battle-tested primitives over custom mechanisms (sandbox-runtime, open-sourced; Claude Code sandboxing docs). The complement to sandboxing is reversibility engineering: run against copies, work in git branches and worktrees, use read-only credentials by default — so that even approved actions can be undone.
Governance guides converge on a common logging schema: who (agent identity and the principal it acts for), what (each tool call and data access), why (the policy evaluated, the reasoning trace), and what happened next — as one correlated chain (Collibra on AI audit trails). OpenAI's practical guide to building agents gives the cleanest escalation heuristics: require human sign-off for actions that are hard to reverse (deletions, payments, cancellations), visible to external parties (emails, posts, filings), or beyond thresholds (dollar amounts, record counts); trigger handoff when retry/failure limits are exceeded; and keep gates tight early in deployment, relaxing only as evidence accumulates.
The classic literature explains why "just add an approval step" can fail. Parasuraman & Riley's Humans and Automation: Use, Misuse, Disuse, Abuse (1997) established the misuse/disuse framing — overtrust and undertrust are both failure modes — and the associated 10-level automation scale runs from "human does everything" to "computer acts, ignoring the human." Lee & See's Trust in Automation: Designing for Appropriate Reliance (2004) defines the goal as calibrated trust: perceived reliability matching actual reliability. Parasuraman & Manzey (2010) showed automation complacency is attentional: when the automation is usually right, humans stop checking — which is precisely approval fatigue in agent UIs. Design consequence: reserve approvals for genuinely consequential actions (so each prompt stays meaningful), make the diff reviewable rather than the intention, and accept full autonomy only where actions are reversible, sandboxed, and low-stakes — reads, drafts, scratch-space computation — never for external-facing or irreversible operations.
Rules for student capstone builds at partner businesses (Movement 04, "Audit · Spec · Build"):
Every technical decision a founder makes is secretly a pricing decision made by someone else. The modern stack runs on three overlapping meters: the cloud meter (compute, storage, and the notorious egress fee), the token meter (LLM API calls, now the fastest-growing line item in startup budgets), and the payroll meter (human services, the oldest and least scalable cost of all). The through-line of this branch is that none of these meters is neutral. Cloud pricing is engineered to make entry free and exit expensive. Token pricing is engineered around asymmetries — output costs ~5x input, cached input costs ~0.1x fresh input — that reward architectural literacy and punish naive integration. And the services-vs-product margin gap is engineered into capital markets themselves: a dollar of recurring software revenue is valued several times more than a dollar of billable hours, which is why every services company dreams of becoming a product company, and why the smartest ones (Palantir being the canonical case) treat services as subsidized product discovery rather than a business. For a student-run forward-deployed engineering team, this is the money layer under everything they build and every engagement they scope.
Egress is the moat. Cloud providers charge little or nothing to move data in and premium rates to move it out — AWS charges roughly $0.09/GB after the first 100GB, so a site serving ~20TB/month pays ~$1,700 just for bandwidth. Cloudflare's famous "AWS's Egregious Egress" analysis argued the markup is strategic, not cost-based: wholesale bandwidth prices fell ~93% over a decade while AWS egress fell only ~25%, and egress carries 20–30% margins while compute runs single digits. The lock-in math is explicit: a company with 100TB in S3 faces roughly $8,000 in egress fees just to leave. Zero-egress challengers (Cloudflare R2, Backblaze B2, Wasabi) price against exactly this — ~$15/month for a workload that costs $1,700+ on AWS.
Serverless bills scale with success — and with attacks. The teaching case is Cara, the artist portfolio app that went viral in June 2024: users jumped from 40,000 to 650,000 in a week, function invocations peaked at 56 million per day, and Vercel presented a $96,000 bill for what was mostly image serving. ServerlessHorrors.com catalogs dozens more — including DDoS attacks billed without mercy, with demands up to $120,000 inside 24 hours on Netlify and Cloudflare. The structural lesson: usage-based pricing with no hard cap converts traffic spikes (organic or malicious) directly into debt.
The "leave PaaS" threshold. 37signals (Basecamp/HEY) is the benchmark exit story: spending $3.2M/year on cloud in 2022, DHH bought ~$600–700K of Dell servers and projects $7M saved over five years, calling cloud pricing "grotesque" — the cloud bill has since fallen by nearly $2M/year. The nuance students should carry: this works for stable, predictable workloads with in-house ops talent; the cloud's premium buys elasticity and staffing you don't have. The threshold is when your workload stops being spiky and your bill stops being small.
Free tiers are marketing spend, not charity. Supabase's free tier (500MB database, 50K monthly active users) and Vercel's Hobby plan are customer-acquisition funnels for product-led growth: the provider eats infra cost to become the default in tutorials, hackathons, and side projects, converting at the $20–25/month tier when projects get serious (comparison). Free tiers are why students can build a real stack for $0 — and why the graduation cliff (free → first real bill) is a designed moment, not an accident.
How the meter works. LLM APIs bill per million tokens, split by direction, and output is priced ~5x input: on Anthropic's current pricing, Claude Opus 5 is $5 input / $25 output per MTok, Sonnet 5 is $3/$15, Haiku 4.5 is $1/$5. Model tiering is itself an economic lever — routing easy tasks to a cheap model and hard ones to a frontier model is the token-world equivalent of spot instances. Batch processing (non-urgent, async) cuts costs a further 50%.
Prompt caching is the biggest discount in the API — and it's architectural. Caching is a prefix match: the provider stores the rendered prompt up to a breakpoint, and cache reads bill at ~0.1x the base input price, while writes cost 1.25x (5-minute TTL) or 2x (1-hour TTL). Two requests break even on the 5-minute cache; after that, every repeated system prompt, tool list, or document is ~90% off. But a single byte change anywhere in the prefix — a timestamp in the system prompt, an unsorted JSON key, a reordered tool — silently invalidates everything after it. This makes prompt construction discipline (stable content first, volatile content last) a direct line item on the bill, teachable in one lab session.
RAG vs long context is a cost decision before it's a quality decision. Stuffing a corpus into a 1M-token window costs real money per query — one study measured long-context at ~$0.118 per query vs ~$0.0045 for RAG, a >25x gap; naive per-query framing puts it at 1,000x+. Caching narrows this dramatically for stable corpora: under ~200K tokens, cached full-context can beat the cost of building retrieval infrastructure at all, and it wins on whole-corpus reasoning while RAG wins on precision, attribution, and latency (Redis's framing). The decision rule for small-business projects: small stable corpus + cross-document reasoning → long context + caching; large or fast-changing corpus + point lookups → RAG.
Agents are the new cloud bill. Agentic workloads burn 5–30x more tokens per task than chat because one user request fans out into 10–20 model calls (plan, tool call, read result, verify, retry). The macro paradox: per-token prices fell ~280x in two years while total enterprise AI spend rose 320% — inference is now 80–90% of AI budgets. The failure mode mirrors Cara: a fintech's fraud agent went from $5K/month at 50 users to $15K at 500, inverted unit economics near 1,000 users, and was killed; Gartner forecasts 40% of AI agent projects cancelled by 2027 on cost alone. Same shape as serverless: per-unit cheap, architecture decides whether the aggregate is viable.
The margin gap is the whole game. Subscription software runs 70–85% gross margins (Salesforce ~75%, Workday ~77%, ServiceNow ~78%) while implementation/consulting services run 20–40%, because software has near-zero marginal cost of replication and services scale linearly with humans. Capital markets price the difference hard: every 5-point gross-margin improvement adds 1–2x to revenue multiples, >80%-margin companies trade at a ~105% premium to the SaaS index, and healthy SaaS commands ~10x ARR while services firms trade at ~1x revenue. Accounting reinforces it: under ASC 606, ARR deliberately excludes one-time implementation and professional-services fees — investors literally strip services out before valuing you.
Palantir's S-1: contribution margin as a story about time. Palantir's S-1 introduced contribution margin (revenue minus the direct cost of serving a customer) staged across a customer lifecycle: Acquire (Palantir absorbs pilot costs — deeply negative margin), Expand (co-develop at a loss), Scale (2019 Scale-phase customers: $565M revenue at 55% contribution margin). The key reframe: forward-deployed engineers are not a services arm but the product-discovery mechanism — patterns FDEs find on-site get absorbed into Foundry/AIP, so every engagement is simultaneously delivery and R&D, and per-deployment cost falls over time. That model performed well enough that Anthropic and OpenAI are now copying the FDE playbook.
"Trading margin for moat." Low-margin, high-touch work is rational when it buys something margin can't: embedded knowledge, switching costs, and the right to build the product. Recurring-revenue durability rests on switching costs as much as enthusiasm — deep implementation makes leaving expensive, which makes revenue predictable, which is what the ARR multiple actually prices. The trap is symmetrical: a services firm that never productizes its patterns stays at 30% margins forever; a product firm that refuses services never learns what to build.
Research compiled 2026-09-02. Method: 3 web searches plus reconciliation against Part VI, which owns both the intellectual history and the economics. Verification replaced this chapter's weakest section — leakage, previously asserted from general knowledge — with a large cross-disciplinary survey, and it turned out to be the strongest evidence in the chapter. This is deliberately not a machine-learning course; it is the minimum vocabulary needed to interrogate a model somebody else built, and to explain to a business owner why the pilot that worked in the demo does not work in the shop. Dollar figures are left to The Economics of Inference rather than restated here, where they would go stale in a second place.
Most of what a forward-deployed engineer does with machine learning is not building it. It is being in a room where somebody claims a model is 97% accurate, and knowing which question to ask next. That is a small, learnable body of vocabulary — four ideas — and it is worth more on an engagement than any amount of framework familiarity. The four are the ones the Skill Map card names: what was learned once versus what is computed every request; what the data contained and what it did not; why something can be right on your examples and wrong in the field; and what a number actually measures. None of this is new. All of it predates the LLM era and survives it unchanged, which is precisely why it is worth teaching to students who will otherwise learn only the parts of AI that are eighteen months old.
Training is what was learned once — weeks or months across thousands of accelerators, producing a fixed set of weights. Inference is what is computed on every single request against those frozen weights. The distinction sounds academic and is entirely commercial: a partner business will almost never train anything, and will always pay for inference.
That inverts the public narrative, which is overwhelmingly about training runs. In production, organisations commonly report spending roughly 80% of their AI budget on inference and 20% on training — training is a one-time capital event, inference is an operating cost that scales with every user and can exceed the training cost outright if the system is used at all (BentoML). Part VI carries the industry-scale numbers and the market structure; what belongs here is the consulting consequence. When a business asks "what will this cost", the answer is a function of usage, not a licence fee — which is the same repricing that How Software Pricing Evolved traces from seats to tokens.
One corollary, because students reliably get it backwards: fine-tuning changes how a model responds, not what it knows. Style, format and domain conventions are trainable; facts about this quarter's price list are not. Facts are supplied at inference time, which is what Grounding is for. Part IV states the full RAG-versus-long-context-versus-fine-tuning decision framework.
A model learns the world its training data described, including everything that data omitted. In a consulting setting the failure is rarely a headline fairness scandal; it is quieter and more common. The data describes a business that no longer exists — a pre-2020 demand pattern, a discontinued product line, a customer segment the owner has since walked away from — and the model faithfully reproduces a company from three years ago.
The failure worth naming explicitly is leakage: a feature that would not actually be available at prediction time, or that quietly encodes the answer. A churn model given a field that is only populated when an account closes will look extraordinary in evaluation and be worthless in deployment, because at the moment you need a prediction that field is empty.
It would be easy to treat this as a beginner's mistake. It is not. Kapoor and Narayanan surveyed machine-learning-based science and found leakage to be a widespread failure mode affecting at least 294 papers across 17 disciplines, classifiable into eight distinct types, with overoptimistic published results as the consequence (Patterns, August 2023, Patterns, 2023). Their case study is the one to teach: in the literature on predicting civil wars, complex machine-learning models were believed to outperform traditional statistical models — and once leakage was corrected for, the advantage disappeared entirely. The models were not better. The evaluation was broken.
Two things follow for a consultant. First, if peer-reviewed research across seventeen fields gets this wrong at that scale, an SMB pilot built in six weeks by a vendor with a quota is not more careful. Second, the remedy Kapoor and Narayanan propose is boringly practical and entirely portable — a model info sheet that documents, per model, exactly how the evaluation was constructed. That is a document a student can write, hand to a partner, and use as a diagnostic on somebody else's system. Ask what the held-out set was and how it was separated, and a surprising fraction of impressive-looking pilots fall over on the answer.
Overfitting means a model memorised its training data instead of learning transferable pattern. The diagnostic is the part students must internalise: you cannot detect it from a single score. You need two — performance on data the model trained on, and performance on data held out from it — and what matters is the gap between them. High training accuracy with materially lower held-out accuracy is the signature. High on both is a model that generalises. Low on both is underfitting, a different problem with a different fix.
This is the precise, technical form of the card's line: right on your examples, wrong in the field. And it scales. Benchmark contamination is generalisation failure at industry scale — when test items leak into training corpora, a leaderboard score measures memorisation rather than capability, which is exactly the train/test gap with the accounting hidden. Benchmarks and Their Discontents documents the leakage rates and the score collapses when contaminated items are replaced. Teaching the two together is efficient: one idea, two scales, and a student who understands the first is immediately equipped to be sceptical about the second.
Accuracy is the share of predictions that were correct, and on any imbalanced problem it is actively misleading. The example carries the whole lesson: if 3% of customers churn in a month, a model that predicts "nobody churns" is 97% accurate and worth nothing. Every genuinely interesting problem a partner business has — fraud, churn, defects, no-shows, safety incidents — is imbalanced, because the interesting thing is the rare thing.
The pair that replaces it is precision — of everything the model flagged, how much was right — and recall — of everything that actually happened, how much did it catch. They trade against each other, and here is the point that makes this a consulting skill rather than a technical one: the balance between them is a business decision, not a hyperparameter. A retention team with a fixed budget for offers wants precision, because every false positive is a wasted discount. A fraud or safety team wants recall, because every false negative is a loss that already happened. Which error is worse is a question about what each mistake costs this business, and it is answered by the owner, not the engineer. Arriving at a partner with that question is the difference between a technician and an advisor.
The chapter closes where the branch closes. Choosing a metric is choosing what you are willing to be wrong about. Classical machine learning makes that choice legible in a confusion matrix; LLM systems bury the same choice inside a judge prompt, where nobody reads it. That is the subject of the next chapter.
"Machine learning foundations" is a Skill Map subnode with no session of its own, and the honest recommendation is that it does not need one — it needs about ninety minutes inside Session 06, immediately after the LLM pipeline, as the vocabulary that makes the rest of the branch discussable. Three moves. (1) Teach the 97%-accurate churn model before anything else. It is one sentence, it is genuinely surprising to most students, and it retires "accuracy" as a word they will use uncritically again. (2) Make precision-versus-recall a role-play, not a formula: give three partner businesses with different cost structures and have students argue which error each one should prefer, then defend it to the owner. That is the actual deliverable of an assessment conversation. (3) Use contamination to join this chapter to Part VI — students who have just learned the train/test gap can be shown the same failure on a leaderboard, and the scepticism generalises for free. This material is also the most durable in the branch: tokenizers and tool ceilings will move, and precision and recall will not, which makes it the right content for the Week 4 written, tools-closed exam.
Research compiled 2026-09-02. Method: 3 web searches across the 2026 agent-evaluation literature and tooling, with the load-bearing claims verified against primary sources; verification supplied the hard measured numbers this chapter lacked in draft, written against Eval Engineering and Non-Determinism, which is a prerequisite rather than a neighbour. That chapter establishes the discipline — error analysis first, binary judges over Likert scales, judge-versus-human alignment, criteria drift, the three-level pyramid, benchmark contamination, production tracing. It also names its own gap, verbatim: "agent evals specifically — multi-turn trajectory evaluation, tool-call correctness, and why single-output judges break down for agentic systems". This chapter is that gap. Nothing here restates the general eval workflow.
An agent is not a function you can grade at the output. It is a sequence of decisions, most of which you never see, ending in a message you do. Every method the previous chapter taught assumes a thing that produced an answer; an agent produces an answer and a path, and the path is where the behaviour lives. The Skill Map draws the discipline as two rings turning together — a human loop that is slow, expensive and authoritative, and an agent loop cheap enough to run on every change — with the second one trustworthy only after the first has calibrated it. That picture is exactly right, and this chapter is what it takes to build it for something that runs for forty turns and calls fourteen tools on the way.
Most teams evaluate an agent by running it against held-out tasks and checking whether the last message was correct. That number is close to uninformative about how the agent will behave on traffic it has not seen. It cannot tell you whether the agent looped before answering, called the wrong tool and quietly recovered, leaked its reasoning into the user-facing output, or left the person frustrated three turns before the end (Langfuse).
The corruption runs in both directions, which is what makes it more than a coverage complaint. An agent can stumble into the right answer despite a broken intermediate plan — scored a pass, and it will fail differently tomorrow. And a trivial formatting bug in the last message can mask an otherwise flawless run — scored a failure, and the team goes looking for a problem that is not there. A metric that is wrong in both directions is not conservative; it is noise with a decimal point.
Current agent benchmarks inherit the same limitation. They report a single end-to-end correctness figure and do not localise where in the pipeline the failure originated, so the score tells you that something is broken and never what (Confident AI). Two cases make the point concrete and both are worth putting in front of students: a customer-service agent can achieve 100% tool-call accuracy and still violate policy on edge cases, and a research agent can call every required API correctly and still return a summary a domain expert would reject.
The 2026 consensus is to score at three layers rather than one: final answer (the last message), trajectory (the sequence of steps and tool calls), and per-turn (each turn as it happens in production). Across those layers, four dimensions carry most of the signal — trajectory, or the path taken; tool use, meaning both correct tool selection and correct arguments, which are separately wrong in practice; task completion, whether the user's actual goal was met rather than the stated one; and multi-turn quality, whether performance holds up across a conversation instead of decaying (Langfuse; arXiv 2503.16416). Yehudai and colleagues' survey — the first comprehensive map of agent evaluation — closes by naming the field's critical gaps, and they are exactly the ones a practitioner runs into: assessing cost-efficiency, safety and robustness, and developing fine-grained, scalable evaluation methods. "Fine-grained" is the academic name for the localisation problem above.
Tool-call correctness deserves separating out because it is the cheapest real eval an agent system can have and almost nobody writes it. Was the right tool chosen? Were the arguments well-formed and semantically right? Was the result used, or ignored? Those are deterministic assertions in the Level 1 sense of the previous chapter — no judge model required — and they catch a large class of failure at the cost of a unit test.
The uncomfortable evidence arrived in 2026. AgentProp-Bench assembled 14,750 execution traces from thirteen LLM agents — nine proprietary, four open-weight — across four domains, and audited automated agent evaluation against human annotation, which is the check almost nobody performs (arXiv 2604.16706; a single-author preprint, so treat the figures as a strong signal rather than a settled result). Three findings deserve to be taught together.
First, substring-heuristic judging — the cheap string-matching check a great many teams actually ship — agreed with human annotation only at chance level, at a Cohen's kappa of 0.049 against each of two annotators. For scale, the two human annotators agreed with each other at kappa 0.835. A metric at chance is not a weak metric; it is a random number generator with a dashboard.
Second, and counter-intuitively, a single small judge model beat an ensemble: a three-LLM ensemble reached moderate agreement at kappa 0.432, while one GPT-4o-mini judge was the strongest of all at 0.567. More graders did not mean better grading — the same lesson the connector chapter learned about more tools.
Third, the number that justifies trajectory evaluation outright: under validated judging, a parameter-level error — a tool called with the wrong argument — propagates to a wrong final answer with a human-calibrated probability of about 0.62. Roughly two in three argument-level mistakes reach the user. That is precisely the class of failure an end-state judge sees only as an unexplained wrong answer, and a tool-call assertion catches for free. The same work reports a runtime interceptor cutting fabricated tool executions by up to 24 percentage points.
There is a genuine tension here and the honest thing is to teach it as one rather than pretend the field has settled. Anthropic's agent-eval guidance, covered in Methods of Working with AI, is to judge against an explicit rubric in a single scored call and to evaluate end-state rather than every intermediate step, because agents legitimately take different valid paths to the same correct result. That is sound: grading the trajectory too strictly punishes an agent for solving the problem a different way, and encodes today's solution as tomorrow's requirement.
But end-state grading is precisely what cannot localise a failure, and it is blind to the difference between an agent that reasoned correctly and one that got lucky. The two positions are not reconcilable by choosing a side. The workable synthesis in practice is asymmetric: grade the end state for quality, and the trajectory for safety and cost — that is, use outcome scoring to decide whether the agent is good, and trajectory scoring to catch the things an outcome cannot show you, such as an agent that called a destructive tool and got away with it, or burned forty thousand tokens reaching a conclusion it had after three. Students should leave knowing this is an open question with a working compromise, not a solved one.
The human loop — run the cases, have a person read the output, record judgement and notes, change one thing — is slow, expensive, and the only thing in the system with actual authority. The agent loop — run the cases, have a model grade against a rubric, change one thing — is cheap enough to run on every commit. The relationship between them is the entire architecture, and it has a direction: the agent loop inherits its credibility from the human loop and has none of its own. In the previous chapter's vocabulary this is judge-versus-human alignment, measured as agreement against held-out human labels before the judge is trusted at scale; the Skill Map simply draws it as two rings advancing in step. The failure mode is teams that build the second loop and skip the first, then scale a judge nobody has checked — automating the production of confident, unexamined numbers.
There is a reason this chapter and LLM Foundations are bookends, and putting their two results side by side gives the strongest argument in this part of the curriculum.
Kalai and colleagues showed that a binary grader awarding zero for "I don't know" makes never abstaining the score-maximising strategy — so a scoring scheme does not merely measure a model's propensity to guess, it teaches it (arXiv 2509.04664). The eval is upstream of the behaviour. Now set that against the audit above: the automated judging many teams actually run agrees with human annotation at chance level. Put the two together and the conclusion is uncomfortable and unavoidable — we shape our systems with an instrument most of us have never calibrated.
That single sentence is the case for the human loop, and it is why the Skill Map draws the slow ring first. Not because reading traces by hand is virtuous, but because the cheap ring is a measuring instrument, every measuring instrument has an error bar, and an instrument at chance has no signal at all to inherit. A team that skips calibration is not saving time; it is optimising against noise, confidently, on every commit.
Scale the observation down from a public benchmark to the rubric a student writes for a partner's support agent and the implication is immediate: whatever your eval rewards is what your system will become. An eval that never rewards escalating to a human produces an agent that never escalates. An eval that scores only successful completions produces an agent that would rather invent an answer than admit a request is out of scope. Those are not hypothetical failures — they are the specification, written carelessly, and then faithfully implemented.
Which is why evaluation is not the last step of building an agentic system. It is the specification, written in a form the system can be optimised against — and it is the strongest single reason a forward-deployed engineer should own it rather than delegate it.
"Evaluation-driven development" has no session of its own and rides inside Session 07 alongside agentic systems, which is the right placement — students should meet the eval on the same day they meet the loop it measures, not a fortnight later. Four moves. (1) Start from tool-call assertions, not judges. They are deterministic, they need no model, they catch real failures, and they give students a Level 1 eval on day one; judges come after. (2) Run the calibration in the room. Have students hand-grade twenty agent traces, then write a judge prompt, then measure agreement against their own labels — the number is nearly always worse than expected, and that discovery is the lesson. (3) Teach the end-state-versus-trajectory tension as unresolved, with the asymmetric compromise as a working answer; a student who can articulate a live disagreement in the field is more useful to a partner than one who memorised a best practice. (4) Close with the Kalai argument, because it converts evals from homework into design: what you score is what you get. Capstone gate, extending the one Eval Engineering already proposes: any capstone with an agent in it ships with tool-call assertions, one validated judge, and a one-paragraph statement of what the eval deliberately does not measure.
And finally: what AI actually is. The eighty-year lineage from artificial neurons to agents — the ideas, the decade that changed everything, the LLM era, the physical and economic machinery underneath it, and the industry it built.
The story students should carry out of this chapter is not "AI was invented in 1956." It is that two rival ideas about how to build a mind were born within thirteen years of each other — logic and learning — and spent six decades trading places. In 1943 a neurophysiologist and a runaway teenage logician showed that networks of idealized neurons could compute anything logic could express. In 1950 Alan Turing sidestepped philosophy with an operational test and, crucially, predicted that machines would have to learn rather than be fully programmed. In 1956 the Dartmouth workshop named the field and bet on the symbolic route: intelligence as symbol manipulation. The learning route — Rosenblatt's perceptron — was celebrated, then mathematically demolished by Minsky and Papert in 1969, and went underground for nearly two decades. Backpropagation's popularization in 1986 revived it; the 1990s statistical turn made "machine learning" the respectable brand while "AI" became a word researchers avoided; and a handful of holdouts — Hinton, LeCun, Bengio, Schmidhuber's lab — kept neural networks alive through unfashionable years until cheap GPU compute (2009–2010) let old algorithms finally run at the scale they had always needed. The punchline for a software-engineering course: the winning ideas of the 2010s were almost all invented decades earlier; what changed was data, hardware, and engineering. (The AI winters, Lisp machines, and the expert-systems bust are covered in depth in the companion chapter and only referenced here.)
Modern AI's founding document is arguably Warren McCulloch and Walter Pitts, "A Logical Calculus of the Ideas Immanent in Nervous Activity" (1943) (paper PDF; overview). McCulloch was a Chicago neuropsychiatrist; Pitts a self-taught logician who had run away from home at fifteen. Their all-or-nothing threshold "neurons" showed that nets of simple units could implement any finite logical expression — the first computational theory of mind, and a direct ancestor of finite automata, digital logic design, and every neural network since. Von Neumann cited it in the 1945 EDVAC report, wiring the neuron metaphor into computer architecture itself.
Alan Turing's "Computing Machinery and Intelligence" (Mind, October 1950) (Oxford Academic; full text) opens by declaring "Can machines think?" too meaningless to debate and substitutes the imitation game: if an interrogator conversing by teletype cannot reliably distinguish machine from human, the question dissolves. Two details deserve classroom emphasis. First, Turing's concrete prediction — that in about fifty years an average interrogator would have no better than a 70% chance of correct identification after five minutes — was a calibrated engineering claim, not hand-waving. Second, the paper's final section proposes building a "child machine" and educating it: "Instead of trying to produce a programme to simulate the adult mind, why not rather try to produce one which simulates the child's?" Machine learning's manifesto appears six years before "artificial intelligence" is coined.
The Dartmouth Summer Research Project on Artificial Intelligence was proposed on August 31, 1955 by John McCarthy (Dartmouth), Marvin Minsky (Harvard), Nathaniel Rochester (IBM), and Claude Shannon (Bell Labs) (original proposal). The famous language: they requested "a 2 month, 10 man study of artificial intelligence," to proceed "on the basis of the conjecture that every aspect of learning or any other feature of intelligence can in principle be so precisely described that a machine can be made to simulate it," attempting to "find how to make machines use language, form abstractions and concepts, solve kinds of problems now reserved for humans, and improve themselves" — with "significant advance" expected from one summer's work. McCarthy chose the new name partly to escape the gravitational pull of Norbert Wiener's cybernetics.
The workshop ran roughly June 18–August 17, 1956, with participants cycling through: the four proposers plus Allen Newell, Herbert Simon, Arthur Samuel, Ray Solomonoff, Oliver Selfridge, Trenchard More and others (Wikipedia; Computer History Museum). Its most concrete exhibit came from Newell and Simon: the Logic Theorist, which eventually re-proved 38 of the 52 theorems of Principia Mathematica chapter 2 — working proof that symbol manipulation could do something that looked like reasoning. No consensus emerged at Dartmouth, but a field, a name, and a generation of lab directors did.
Frank Rosenblatt, a Cornell psychologist, published "The Perceptron: A Probabilistic Model for Information Storage and Organization in the Brain" (Psychological Review, 1958) and demonstrated learning on an IBM 704 at a July 1958 Office of Naval Research press event. The New York Times reported the Navy's "embryo of an electronic computer" expected one day to "walk, talk, see, write, reproduce itself and be conscious of its existence" (Cornell Chronicle retrospective) — a template for AI hype coverage that has never gone out of print. The Mark I Perceptron (1960) learned image classifications with motor-driven potentiometers as weights; Rosenblatt's perceptron convergence theorem guaranteed learning for linearly separable problems.
In 1969, **Marvin Minsky and Seymour Papert published *Perceptrons*** (MIT Press), proving rigorously that single-layer perceptrons cannot compute parity (XOR) or connectedness (analysis of the controversy). The mathematics was correct and applied to a restricted model; the book's speculation — that extending to multilayer networks would be "sterile" — was wrong, but it was the speculation that stuck. Funding and students drained from neural networks toward symbolic AI. Rosenblatt died in a boating accident in 1971, at 43, and connectionism lost its most visible champion. The symbolic/connectionist schism was now institutional: Newell and Simon's physical symbol system hypothesis (1976 Turing Award lecture) declared symbols "necessary and sufficient" for intelligence (Nilsson's review), and symbolic AI owned the field's next fifteen years.
The algorithm that ended the schism was invented repeatedly. Seppo Linnainmaa's 1970 Helsinki master's thesis described reverse-mode automatic differentiation — mathematically, backpropagation — without mentioning neural networks; Paul Werbos's 1974 Harvard PhD thesis applied the idea to training multilayer networks (Schmidhuber's priority history). Neither landed. What landed was Rumelhart, Hinton, and Williams, "Learning representations by back-propagating errors" (Nature, 1986) (paper), which demonstrated — with the two-volume Parallel Distributed Processing behind it — that hidden units trained by gradient descent learn useful internal representations, exactly what Minsky and Papert's single-layer analysis had left out. Alongside Hopfield's 1982 energy-based networks and Hinton and Sejnowski's Boltzmann machine, backprop made connectionism a live research program again. The lesson in credit assignment: invention, application, and popularization were three different acts by different people over sixteen years, and the community reasonably dates the revolution to the act that communicated, not the act that computed.
By the early 1990s "artificial intelligence" was a tainted brand (see companion chapter on the winters and expert-systems bust — not retold here). What replaced it was a methodological revolution, well chronicled in the ACM's "Between the Booms: AI in Winter". Three forces drove it. First, **Judea Pearl's Probabilistic Reasoning in Intelligent Systems (1988) gave the field a principled mathematics of uncertainty — Bayesian networks — that both logic and neural camps adopted (Pearl's Turing citation). Second, evaluation culture changed: shared datasets and benchmarks (UCI, MNIST, DARPA speech evaluations) rewarded measurable generalization over impressive demos. Third, Cortes and Vapnik's support-vector machines (1995)** (paper) offered convex optimization and generalization theory — for a decade SVMs beat neural nets on most benchmarks with less tuning. Researchers relabeled their work "machine learning" (a term Arthur Samuel had coined back in 1959), "data mining," or "statistics" to escape the AI stigma; by 2000, having "neural networks" in a NIPS submission title was reportedly negatively correlated with acceptance (Understanding AI retrospective).
Yet the unfashionable lineage kept shipping. At Bell Labs, Yann LeCun's team applied backprop with convolutional weight-sharing to handwritten ZIP codes (1989) (paper) — building on Fukushima's 1980 Neocognitron — and matured it into LeNet-5 ("Gradient-Based Learning Applied to Document Recognition," Proc. IEEE 1998, with Bottou, Bengio, Haffner). Deployed commercially in NCR check-reading machines from 1996, LeNet systems were by the early 2000s reading on the order of 10–20% of U.S. checks — roughly 20 million a day (LeNet history). And in 1997, Hochreiter and Schmidhuber published LSTM (Neural Computation), engineering around the vanishing-gradient problem Hochreiter had diagnosed in his 1991 thesis, with gated "constant error carousels" that could bridge 1,000+ time steps. Both were production-grade answers delivered years before the field was ready to care.
Through the coldest years, Hinton's stated reason for persisting was simple: the brain learns with neurons, so "it's sort of stupid not to look at it." In 2004 Hinton founded CIFAR's Neural Computation and Adaptive Perception program (later "Learning in Machines & Brains"), with LeCun and Bengio as co-directors — a deliberately small, well-funded invisible college that kept the community alive (CIFAR; ACM 2018 Turing Award citation). In 2006, Hinton, Osindero, and Teh's "A Fast Learning Algorithm for Deep Belief Nets" (paper) and Hinton–Salakhutdinov's Science autoencoder paper showed layer-by-layer unsupervised pretraining could initialize deep networks — and supplied a fresh brand: "deep learning."
The final ingredient was hardware. Raina, Madhavan, and Ng (ICML 2009) showed graphics processors could train deep belief networks up to ~70× faster than CPUs, collapsing weeks into a day (paper). In 2010, Cireșan, Meier, Gambardella, and Schmidhuber set an MNIST record (0.35% error) with plain deep multilayer perceptrons trained by — their words — "good old online backpropagation," made feasible purely by GPU speed (paper). With ImageNet (2009) supplying data at scale, every element of the 2012 breakout was on the table by 2010: 1980s algorithms, 1990s architectures, 2000s data, and gaming hardware.
| Year | Event | Principals |
|---|---|---|
| 1943 | Logical calculus of neural nets | McCulloch, Pitts |
| 1950 | "Computing Machinery and Intelligence"; imitation game | Turing |
| 1955–56 | Dartmouth proposal and workshop; "artificial intelligence" coined | McCarthy, Minsky, Rochester, Shannon (+ Newell, Simon, Samuel, Solomonoff, Selfridge) |
| 1958 | Perceptron paper and Navy demo | Rosenblatt |
| 1959 | "Machine learning" coined (checkers) | Samuel |
| 1969 | Perceptrons critique; connectionism defunded | Minsky, Papert |
| 1970 / 1974 | Reverse-mode autodiff; backprop for networks | Linnainmaa; Werbos |
| 1976 | Physical symbol system hypothesis | Newell, Simon |
| 1980 | Neocognitron (CNN precursor) | Fukushima |
| 1986 | Backpropagation popularized (Nature; PDP) | Rumelhart, Hinton, Williams |
| 1988 | Bayesian networks; probabilistic turn | Pearl |
| 1989 / 1998 | ZIP-code CNN; LeNet-5 reads checks at scale | LeCun, Bottou, Bengio, Haffner |
| 1995 | Support-vector machines | Cortes, Vapnik |
| 1997 | LSTM | Hochreiter, Schmidhuber |
| 2004 | CIFAR NCAP program funds the holdouts | Hinton, LeCun, Bengio |
| 2006 | Deep belief nets; "deep learning" brand | Hinton, Osindero, Teh; Salakhutdinov |
| 2009–10 | GPU training: 70× speedups; MNIST 0.35% | Raina/Madhavan/Ng; Cireșan et al. |
The story of 2010–2020 can be taught as a single arc in three acts. Act one: a bet on data. While nearly everyone in AI believed progress meant smarter algorithms, Fei-Fei Li bet that what the field actually lacked was a dataset big enough to reflect the visual world — and built ImageNet. In 2012 a three-person Toronto team proved her right: AlexNet, a neural network trained on two gaming GPUs, crushed the ImageNet competition by a margin no one had ever seen. Act two: the land-grab. Within eighteen months of AlexNet, every major tech company had bought, built, or recruited a deep-learning lab — Hinton's startup was auctioned from a Lake Tahoe hotel room, Google bought DeepMind, Facebook hired Yann LeCun, and in December 2015 a group worried about exactly this concentration of power founded OpenAI as a nonprofit counterweight. Act three: language falls. Words became vectors (word2vec), sentences became sequences (seq2seq), attention fixed translation, and in 2017 eight Google researchers threw away recurrence entirely and published the transformer. Two labs then took the transformer in opposite directions — Google's BERT toward understanding, OpenAI's GPT toward generation — and in January 2020 OpenAI published the decade's closing thesis: scaling laws showing that capability could be bought, predictably, with compute. Alongside all of this, DeepMind's AlphaGo gave the decade its most public moment — a machine inventing a move no human would play — and its cleanest demonstration that learning could exceed its teachers.
The teachable throughline: every leap in this decade came from the same recipe — a general learning method, plus more data, plus more compute — beating hand-engineered cleverness. That is the lesson the 2020s inherited.
In 2006, Fei-Fei Li — then a new professor — noticed that the field's consensus was backwards: colleagues believed a better algorithm would win regardless of data, while she concluded the best algorithm couldn't work if its training data didn't reflect the real world (ACM/Quartz, "The Data That Transformed AI Research"). Building ImageNet nearly failed twice; the project only became feasible when Amazon Mechanical Turk let her team crowdsource labeling at scale, eventually organizing some 14 million images into 22,000 categories (Pinecone: AlexNet and ImageNet). The dataset debuted as a 2009 CVPR poster in Miami Beach, and in 2010 became an annual competition, the ImageNet Large Scale Visual Recognition Challenge (ILSVRC).
In 2012, Alex Krizhevsky, Ilya Sutskever, and Geoffrey Hinton entered a deep convolutional network — AlexNet — and recorded a top-5 error of 15.3% against 26.2% for second place (Krizhevsky, Sutskever & Hinton, NeurIPS 2012). In a competition where progress was normally measured in fractions of a point, a 10.9-point gap was a paradigm break. Why GPUs mattered: neural networks are mostly dense matrix multiplication — exactly what graphics cards were built for. AlexNet's ~60M parameters trained for five to six days on two consumer NVIDIA GTX 580s (3 GB each), the model split across both (Turing Post, ImageNet 2012 history). Gaming hardware, repurposed, collapsed a computation that would have been impractical on CPUs — and NVIDIA's fortunes were remade by the accident. By 2015, ILSVRC entries (Microsoft's ResNet, top-5 error 3.57% — He et al., 2015) had surpassed the ~5% human benchmark, and the competition had done its work.
Parallel proof of scale: in 2012 Google Brain — started in 2011 by Andrew Ng and Jeff Dean — trained a network on 16,000 CPU cores over 10 million unlabeled YouTube stills, and one neuron spontaneously learned to detect cats (Google, "Using large-scale brain simulations"). No one told it what a cat was. Scale alone found the concept.
What followed AlexNet was a talent market unlike anything academia had seen.
Tomas Mikolov's team at Google showed that a deliberately simplified neural network — no deep stack, just skip-gram/CBOW prediction of nearby words, in fast C code — could learn vector representations of words from raw text at massive scale (Mikolov et al., 2013). The revelation was that meaning became geometry: vector("king") − vector("man") + vector("woman") lands near vector("queen"), an arithmetic of concepts that nobody programmed in — it emerged from co-occurrence statistics (The Morning Paper on word vectors). Embeddings became the substrate for everything that followed in NLP: if words are points in space, then "understanding language" becomes operations on that space.
Sutskever, Vinyals, and Le's seq2seq (2014) showed one LSTM could encode a sentence into a vector and another decode it into another language — one general architecture for any sequence-to-sequence task. Its known flaw: the entire sentence had to squeeze through a single fixed-size vector. Bahdanau, Cho, and Bengio's fix (2014) was attention — let the decoder look back at every input word and learn where to look while translating. This is the concept that would eat the decade.
Proof at industrial scale came in September 2016, when Google replaced its phrase-based statistical translation system with GNMT — an 8-layer attentional LSTM stack — reporting ~60% error reduction on major language pairs and deploying it immediately to production, starting with ~18M Chinese→English translations a day (Wu et al., 2016; Google Research blog). Deep learning was no longer a benchmark sport; it was infrastructure.
Eight Google researchers — Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan Gomez (then an intern), Łukasz Kaiser, and Illia Polosukhin — published the transformer in June 2017 (Vaswani et al.). The origin story is genuinely good curriculum material (Wired, "8 Google Employees Invented Modern AI"): Uszkoreit had been arguing that self-attention could replace recurrence outright, not merely assist it; Vaswani and Polosukhin built early versions; Shazeer contributed scaled dot-product attention and the multi-head mechanism; the title riffed on the Beatles; Uszkoreit picked the name "Transformer" because he liked the sound of it; and the eight listed themselves as equal contributors, author order randomized — a footnote says so.
What it actually changed: RNNs read a sentence one token at a time, so training couldn't parallelize along the sequence, and long-range dependencies had to survive a long chain of steps. The transformer deleted recurrence entirely. Every token attends to every other token in a single layer, so (1) any two words connect in one hop regardless of distance, and (2) the whole sequence is processed in parallel, which is exactly what GPUs and TPUs are good at. That second property is why the transformer, and not some cleverer RNN, became the vehicle for scaling.
How it works, in plain terms: each word is turned into three vectors — a query ("what am I looking for?"), a key ("what do I contain?"), and a value ("what do I contribute?"). Each word scores its query against every other word's key; the scores (softmaxed into weights) say how much attention to pay; the word's new representation is the weighted average of everyone's values. Do this with several heads in parallel — one head might track syntax, another coreference — and stack the layers, adding positional encodings so word order isn't lost. That's the whole trick: representation by relevance-weighted averaging, repeated. It beat the best translation systems (28.4 BLEU EN→DE) at a fraction of the training cost.
Two labs took the transformer in opposite directions:
In the short run BERT won: it dominated leaderboards and industry adoption. But GPT-2 (Feb 2019, 1.5B parameters) showed why the generative path had the longer arc: trained only on next-word prediction, it performed tasks it was never trained for, and wrote convincingly enough that OpenAI initially withheld the full model — the "too dangerous to release" episode — rolling it out in a staged release (124M → 355M → 774M → full 1.5B by November 2019) as a deliberate experiment in publication norms (OpenAI release-strategies report; The Decoder retrospective). Teachable framing: BERT optimized for benchmarks; GPT optimized for generality — and generality is what scaled.
Go was supposed to be a decade away. In March 2016 in Seoul, DeepMind's AlphaGo — deep policy/value networks guiding Monte Carlo tree search, trained on human games then sharpened by self-play — beat Lee Sedol, one of the greatest living players, 4–1 (Wikipedia: AlphaGo versus Lee Sedol). The emblematic moment was Move 37 in game 2: a shoulder hit AlphaGo estimated a human would play with probability 1 in 10,000 — commentators assumed a bug; it turned out to be brilliant (Humanity Redefined, "The Legacy of Move 37"). The machine wasn't imitating human play; it had gone past it.
Then DeepMind removed the humans entirely. AlphaGo Zero (Oct 2017, Nature) learned from self-play alone — no human games — and beat the Lee Sedol version 100–0 after days of training; AlphaZero (Dec 2017) generalized the same recipe to chess and shogi from nothing but the rules (DeepMind: AlphaGo Zero). Curriculum point: this is reinforcement learning's proof-of-concept for the decade — given a clear reward signal and enough compute, self-play exceeds all human knowledge — and simultaneously a demonstration of its limits, since almost nothing in business life comes with a Go-board's clean reward function.
In January 2020, Jared Kaplan, Sam McCandlish, and OpenAI colleagues published "Scaling Laws for Neural Language Models": language-model loss falls as a smooth power law in each of model parameters (N), dataset size (D), and compute (C), across many orders of magnitude — and architectural details matter far less than scale. Bigger models are also more sample-efficient, so the compute-optimal strategy is to train very large models. This turned "bigger is better" from a hunch into an equation with exponents — a roadmap you could budget against. GPT-3 (May 2020) was the roadmap executed. The decade that opened with Fei-Fei Li's wager that data was the missing ingredient closed with a formula pricing capability in compute — the thesis on which the entire 2020s AI economy was built.
| Year | Event | Why it matters |
|---|---|---|
| 2009 | ImageNet published (CVPR poster) | The data bet: 14M labeled images via Mechanical Turk |
| 2010 | ILSVRC begins; DeepMind founded (London) | Benchmark + the decade's defining lab |
| 2011 | Google Brain started (Ng, Dean) | Big tech commits to neural nets at scale |
| 2012 | Cat-neuron experiment (June); AlexNet wins ILSVRC (Oct): 15.3% vs 26.2%; DNNresearch auction (Dec) | Deep learning + GPUs proven; talent market ignites |
| 2013 | Google buys DNNresearch ($44M); word2vec; FAIR founded under LeCun | Embeddings; labs land-grab accelerates |
| 2014 | Google acquires DeepMind (~$500M); seq2seq; Bahdanau attention | Sequences + the attention idea |
| 2015 | ResNet beats human-level ILSVRC error; OpenAI founded (Dec 11, nonprofit, $1B pledged) | Vision "solved"; a counterweight lab appears |
| 2016 | AlphaGo beats Lee Sedol 4–1 (March, Move 37); GNMT ships (Sept, ~60% error cut) | RL's public moment; deep learning becomes infrastructure |
| 2017 | AlphaGo Zero / AlphaZero (self-play only); Transformer published (June) | Learning without humans; the architecture of the future |
| 2018 | GPT-1 (June); OpenAI Charter (April); BERT (Oct, SOTA on 11 tasks) | The generative vs. understanding fork |
| 2019 | GPT-2 staged release (Feb–Nov); OpenAI becomes capped-profit | Scaling shows generality; release-norms debate begins |
| 2020 | Kaplan et al. scaling laws (Jan); GPT-3 (May) | The decade's closing thesis: capability ∝ compute |
In May 2020, OpenAI published a paper showing that a sufficiently large language model could perform tasks it was never explicitly trained for, simply by being shown a few examples in its prompt. Six years later, descendants of that model write production software, operate web browsers, and anchor the largest capital build-out in the history of computing. The LLM era compresses into that span a full industrial cycle: a scientific result (GPT-3's few-shot learning), an engineering fix that made it usable (RLHF), a consumer detonation (ChatGPT, the fastest-adopted application ever recorded), an arms race (GPT-4, Claude, Gemini, Llama), a price-and-efficiency shock from an unexpected direction (DeepSeek), and a shift in the product category itself — from chatbots that answer to agents that act.
Three through-lines organize the period. First, scaling plus alignment: raw scale produced capability, but human-feedback training is what converted capability into products people could actually use — the gap between GPT-3 (2020) and ChatGPT (2022) was mostly alignment, not size. Second, distribution beats invention: Google invented the transformer, but OpenAI's willingness to ship — an API in 2020, a "low-key research preview" in 2022 — repeatedly set the agenda that trillion-dollar incumbents then chased. Third, the open/closed dialectic: a leaked Meta model in March 2023 seeded an open-weights ecosystem that, by January 2025, let a Chinese lab briefly wipe roughly $600 billion off Nvidia's market value with a $6 million training run. The chapter closes where the present begins: the agentic turn of 2024–2026, when tool use, computer use, and coding agents moved from research demos to the industry's center of gravity — the historical arrival point of the agent methods covered in the previous part.
OpenAI's "Language Models are Few-Shot Learners" (arXiv, May 28, 2020) introduced GPT-3: 175 billion parameters, roughly 10× larger than any prior dense language model. The result that startled the field was not any single benchmark but the method: with no gradient updates and no fine-tuning, GPT-3 could translate, answer questions, unscramble words, and do three-digit arithmetic when given only a natural-language instruction and a handful of examples in its context window (OpenAI). Task-specific training — the organizing assumption of a decade of NLP — was suddenly optional. "Prompting" entered the vocabulary.
Equally consequential was the delivery mechanism. On June 11, 2020, OpenAI released GPT-3 not as downloadable weights but behind a commercial API — its first product. Intelligence-as-a-metered-service became the business model of the era: developers built copywriters (Jasper), early code tools (GitHub Copilot, 2021, on the GPT-3 descendant Codex), and chat toys on rented capability. The pattern — frontier lab trains the model, everyone else rents it — still defines the industry's structure.
Raw GPT-3 was a text predictor, not an assistant. Asked a question, it might answer, continue the question, or produce toxic completions — because predicting the internet is not the same objective as being helpful. OpenAI's fix, published January 27, 2022 as InstructGPT, was reinforcement learning from human feedback (RLHF): collect human-written demonstrations to fine-tune the model, have labelers rank candidate outputs to train a reward model, then optimize the language model against that reward. The headline finding: human evaluators preferred outputs from a 1.3B-parameter InstructGPT over the 175B GPT-3 — alignment training beat a 100× size advantage on the metric that matters, following the user's actual intent (paper).
InstructGPT became the default API model, and RLHF became the load-bearing technique of the entire era. The pedagogical point deserves emphasis: every product moment in this chapter rests on this step. Scaling made the clay; RLHF (and its successors — Constitutional AI, DPO, RLVR) did the sculpting.
ChatGPT was not a new model — it was GPT-3.5 with RLHF chat tuning and a free web interface. OpenAI announced it on November 30, 2022 as a "research preview"; internally the launch was pitched as a low-key research preview, a phrase that became running company lore precisely because nothing about what followed was low-key (Sam Altman's launch thread hedged: "it's very much a research release"). Altman reported one million users in five days. By January 2023 it had an estimated 100 million monthly active users — two months after launch — which UBS analysts called the fastest-growing consumer application in history; TikTok had needed nine months to reach the same mark, Instagram two and a half years (Reuters).
The industry effects were immediate and structural. Google management reportedly declared a "code red" within weeks (NYT, Dec 21, 2022). Microsoft, which had invested in OpenAI since 2019, extended the partnership with a reported ~$10 billion in January 2023 and shipped GPT-4-powered Bing Chat on February 7, 2023 — Satya Nadella: "the race starts today" (TechCrunch). Venture funding, enterprise budgets, and every big-tech roadmap reorganized around generative AI within a single quarter. The lesson students should absorb: the underlying capability had existed for two years; packaging — a free, conversational, aligned interface — is what changed the world. By late 2025 OpenAI was reporting on the order of 800 million weekly users.
GPT-4, announced March 14, 2023, was the era's cleanest demonstration of scaling's returns: it passed a simulated bar exam around the top 10% of test-takers where GPT-3.5 had scored around the bottom 10%, and it accepted image inputs alongside text — the first frontier model marketed as multimodal (TechCrunch). It also marked the closing of frontier research: OpenAI disclosed neither parameter count nor training details, citing competition and safety. GPT-4 held the de facto capability crown for roughly a year and became the benchmark every rival defined itself against.
In early 2021, seven senior OpenAI people — including Dario Amodei (VP of Research), Daniela Amodei (VP of Safety and Policy), GPT-3 lead author Tom Brown, interpretability pioneer Chris Olah, and scaling-laws co-author Jared Kaplan — left to found Anthropic, a public-benefit corporation organized around the premise that frontier AI development and safety research had to be done together, by a lab willing to move more deliberately on commercialization. It remains the most consequential personnel split in AI history: the industry's #2 frontier lab is a direct fork of #1 over questions of pace and safety.
Anthropic's signature technique, Constitutional AI (December 2022), replaced much of RLHF's human labeling of harmfulness with AI feedback guided by an explicit written constitution: the model critiques and revises its own outputs against stated principles, and a preference model is trained from those AI-generated judgments (RLAIF). The method made alignment choices legible — you can read the constitution — and scaled oversight beyond human labeling throughput. Claude launched commercially on March 14, 2023 — the same day as GPT-4 — and the Claude line (Claude 2, July 2023; Claude 3, March 2024; Claude 3.5 Sonnet, June 2024; Claude 4, May 2025) became the perennial chief rival to OpenAI's flagships, with particular strength in coding and, later, agentic work.
Meta released LLaMA on February 24, 2023 — a family of 7B–65B models trained on public data, offered to researchers under a noncommercial license. Within a week, on March 3, the weights leaked via a 4chan torrent. The leak, rather than harming Meta, seeded an explosion: Stanford's Alpaca showed a $600 fine-tune could produce instruction-following; llama.cpp put models on laptops; a leaked Google memo ("We have no moat") argued the open ecosystem was out-innovating the labs.
Meta ratified reality with Llama 2 (July 18, 2023, with Microsoft): weights free for research and commercial use (with a >700M-MAU carve-out aimed at big-tech rivals). "Open-weights" (weights downloadable; data and training recipe not) became a strategic position: it commoditized the layer beneath Meta's products, gave startups and sovereigns an alternative to renting closed APIs, and set the stage for Mistral (2023), Qwen, and DeepSeek. Llama 3 (April 2024) and the 405B Llama 3.1 (July 2024) briefly put open weights at the frontier's edge; Llama 4 (April 5, 2025) — mixture-of-experts, natively multimodal — landed amid benchmark-gaming controversy and a sense that leadership of the open ecosystem had passed to Chinese labs.
Google — inventor of the transformer (2017) and owner of DeepMind — entered the chatbot race defensively. Bard was announced February 6, 2023; in its first demo, it misattributed the first exoplanet image to the James Webb Space Telescope, and Alphabet shed roughly $100 billion in market value in a day (CNN) — the era's canonical lesson in hallucination risk and rushed deployment. Google's answer was consolidation: Brain and DeepMind merged (April 2023), and on December 6, 2023 the company launched Gemini — natively multimodal, in Ultra/Pro/Nano tiers, with Bard rebranded to Gemini soon after.
The comeback was real but gradual: Gemini 1.5 (February 2024) introduced million-token context; Gemini 2.0 (December 2024) was pitched "for the agentic era"; Gemini 2.5 Pro (March 2025) reached the top of leaderboards; and Gemini 3 (November 18, 2025) shipped directly into Search's AI Mode, leveraging Google's distribution of billions of users plus its custom TPU stack. By 2026 the narrative had inverted: the company once mocked for Bard was widely viewed as having the deepest full-stack position (chips, data, models, distribution) of any incumbent.
OpenAI's o1-preview (September 12, 2024) opened a second scaling axis: models trained via RL to produce long private chains of thought, spending more test-time compute to buy accuracy on math, science, and code. Then the axis went open. DeepSeek — a Hangzhou lab spun out of the quant fund High-Flyer, working under U.S. export controls on advanced GPUs — released DeepSeek-V3 on December 26, 2024: a 671B-parameter mixture-of-experts model (37B active per token) trained on 14.8T tokens using 2,048 down-rated Nvidia H800s, with a stated marginal compute cost of $5.576 million — versus the $100M+ assumed for Western flagships. On January 20, 2025 came DeepSeek-R1, an o1-class reasoning model whose chain-of-thought emerged largely from pure reinforcement learning — released under an MIT license, with distilled variants down to 1.5B parameters.
When the free DeepSeek app hit #1 on the U.S. App Store, markets repriced the assumption that frontier AI required ever-more Western compute: on January 27, 2025, Nvidia fell 17%, erasing about $589–600 billion in market value — the largest single-day loss for any company in history (TechCrunch). The panic partly unwound (efficiency gains historically increase total compute demand — Jevons paradox was the rebuttal of the week), but the structural lessons stuck: algorithmic efficiency is a competitive weapon, export controls spur substitution, and open weights travel instantly and globally.
Multimodality advanced in three waves. Vision in (2023): GPT-4 and then GPT-4V accepted images; Gemini was multimodal from birth. Voice (2024): GPT-4o ("omni," May 13, 2024) processed audio natively with ~232–320 ms response latency — human conversational speed — making the interruptible, emotive voice assistant real (Advanced Voice Mode rolled out from July 2024). Video generation (2024–2025): OpenAI's Sora preview (February 15, 2024) showed minute-long text-to-video with emergent object permanence — a "GPT-1 moment for video" — and by late 2025 Sora 2 and Google's Veo 3 powered consumer apps, briefly making AI video the fastest-moving consumer category and mainstreaming both the creativity and the deepfake anxieties. The direction of travel: the text-only LLM was a five-year interlude; the destination is models that perceive and produce every modality in one loop.
By 2025 the flagship-every-two-years rhythm of GPT-3→4 was gone. Within roughly twelve months: Llama 4 (April 2025), Claude 4 (May 22, 2025), GPT-5 (August 7, 2025 — a unified fast/reasoning model, free to all ChatGPT users), Claude Sonnet 4.5 (September 2025), Claude Opus 4.5 and Gemini 3 (November 2025), with Grok, Qwen, Kimi, and GLM pressing from outside the big four — and point-release upgrades continuing every few weeks into 2026 (see a running release tracker). Two consequences matter for teaching: model choice became a routing decision, not a marriage; and durable value migrated from "access to a model" to the scaffolding around models — data, evaluation, integration, and agent harnesses that survive each model swap.
The closing move of this history is a change in kind, not degree. A chatbot answers; an agent pursues a goal — calling tools, observing results, and iterating. The scaffolding arrived stepwise: function calling in the OpenAI API (June 2023), Anthropic's computer use beta (October 22, 2024 — Claude operating a desktop by screenshot, cursor, and keystroke), and the Model Context Protocol (November 25, 2024), an open standard for wiring models to tools and data that OpenAI, Google, and Microsoft adopted within months — the "USB-C of AI" — before moving to Linux Foundation governance in late 2025. OpenAI's Operator (January 23, 2025) put a browser-driving agent in front of consumers; Deep Research agents made multi-step web synthesis a product category.
The breakout, though, was code. Claude Code (February 24, 2025), a terminal-based coding agent, reportedly passed a $1 billion annualized run rate within about six months; OpenAI's Codex agent (May 2025), Cursor, and their peers made "agentic coding" the first domain where models graduated from assistant to delegated worker — plausibly because code offers what agents need most: fast, checkable feedback. Model releases in 2025–26 were increasingly marketed on agentic benchmarks (long-horizon task completion, computer use) rather than exam scores.
Land the connection explicitly: the previous part of this compendium covered agent methods — the reason-act loop, tool schemas, planning, memory, orchestration. This chapter is the story of how the industry arrived at needing them. ReAct-style loops, MCP-style tool integration, and verification harnesses are not an academic appendix to the LLM era; as of 2026 they are the frontier product surface. The history you have just read ends, deliberately, at the front door of the part you have just studied: agents are the current chapter of this story, being written now — including by student teams embedding with real businesses.
| Date | Event | Why it mattered |
|---|---|---|
| May 28, 2020 | GPT-3 paper (175B) | Few-shot prompting replaces task-specific training |
| Jun 11, 2020 | OpenAI API launches | Intelligence as a metered service |
| Jan 27, 2022 | InstructGPT (RLHF) | Alignment makes LLMs usable; 1.3B aligned beats 175B raw |
| Nov 30, 2022 | ChatGPT "research preview" | 1M users in 5 days; industry reorganizes |
| Feb 1, 2023 | UBS: 100M MAU in 2 months | Fastest-growing consumer app ever |
| Feb 6–8, 2023 | Bard demo error | ~$100B off Alphabet; hallucination risk goes mainstream |
| Feb 24 / Mar 3, 2023 | LLaMA release / leak | Open-weights ecosystem ignites |
| Mar 14, 2023 | GPT-4 and Claude launch | Multimodal frontier; the two-lab rivalry begins |
| Jul 18, 2023 | Llama 2 commercial license | Open weights become corporate strategy |
| Dec 6, 2023 | Gemini launches | Google consolidates; natively multimodal |
| Feb–May 2024 | Sora preview; GPT-4o voice | Video generation; real-time voice |
| Sep 12, 2024 | o1-preview | Test-time compute; reasoning models |
| Oct–Nov 2024 | Computer use; MCP | Agent scaffolding standardizes |
| Dec 26, 2024 / Jan 20, 2025 | DeepSeek V3 / R1 | Frontier-class open weights at ~$6M |
| Jan 27, 2025 | Nvidia −17% (~$590B) | Efficiency shock reprices AI capex |
| Feb 24, 2025 | Claude Code | Coding agents; ~$1B run rate in months |
| Aug 7, 2025 | GPT-5 | Unified reasoning flagship, free tier |
| Nov 2025 | Gemini 3, Claude Opus 4.5 | Cadence compresses; agentic benchmarks lead marketing |
AI is a field unusually obsessed with its own measurement, and for a reason: "intelligence" has no thermometer. From Turing's 1950 imitation game onward, the field has substituted proxies — tests whose scores stand in for the thing we actually care about. The seventy-five-year arc of those proxies follows one repeating cycle: a benchmark is proposed as a meaningful north star; researchers optimize against it; the optimization decouples the score from the underlying ability (Goodhart's law: when a measure becomes a target, it ceases to be a good measure); the benchmark saturates or is gamed; a harder benchmark replaces it. The cycle has accelerated brutally — ImageNet held for roughly seven years, GLUE for one, and several "frontier-proof" benchmarks of 2023–24 were near saturation within eighteen months. Alongside honest saturation sit dirtier failure modes: test data leaking into training corpora (measured contamination ranges from 1% to 45% across models and benchmarks, and worse in extremes), leaderboard mechanics that favor labs with privileged access, benchmarks quietly funded by the companies being graded, and launch-day "benchmarketing" charts with load-bearing asterisks. The countermeasure ecosystem — private held-out sets, live benchmarks refreshed after training cutoffs, third-party evaluators like Epoch AI and METR, and the rise of evals as a first-class engineering craft — is the field's immune response. For practitioners, the enduring lesson is that the only benchmark that cannot be gamed against you is the one you build from your own workload.
Turing's "Computing Machinery and Intelligence" (1950) replaced "can machines think?" with an operational test: can a machine's conversation pass as human? It was the field's first success criterion — and the first to be gamed. Weizenbaum's ELIZA (1966) fooled users with content-free reflection ("tell me more about your mother"), revealing that human credulity, not machine intelligence, was the weak link. The Loebner Prize (1991–2019), an annual Turing-test contest, became the reductio: entrants won with cheap tricks — deliberate typos, evasive humor, odd diversions — and the mainstream AI community dismissed it as a sideshow that advanced nothing (Loebner Prize — Wikipedia; American Scientist). The 2014 "Eugene Goostman" stunt — a chatbot persona of a 13-year-old non-native speaker "passing" by fooling 33% of judges — confirmed the pattern: a test of imitation rewards imitators. Lesson one of AI measurement, learned in decade one: any test rewards whatever passes it, not whatever it was meant to measure.
Modern practice replaced the single grand test with narrow task benchmarks: MNIST's 70,000 handwritten digits (1998) anchored a decade of vision research; ImageNet (2009) and its ILSVRC competition produced the field's pivotal moment when AlexNet's 2012 win ignited deep learning, and was retired in 2017 once error rates fell below human level. NLP compressed the same arc: GLUE (2018) was surpassed by BERT-era models within about a year; its deliberately harder sequel SuperGLUE (2019) fell by 2021 (llm-stats). MMLU (2020) — 57-subject exam questions — defined the LLM era from GPT-3's ~44% to frontier models clustered above 90%, at which point it stopped discriminating (layer3labs guide). The successors were built to resist: GPQA's "Google-proof" PhD-level science questions (2023) — already near saturation at the frontier; competition math (AIME); Epoch AI's FrontierMath, research-level problems where models scored ~2% until OpenAI's o3 claimed 25% in December 2024; Chollet's ARC-AGI, which resisted for five years until o3's breakthrough; and Humanity's Last Exam (2025), ~2,500 questions from nearly 1,000 experts at 500+ institutions, explicitly framed as a response to saturation (HLE paper; Wikipedia). The treadmill's speed is now itself measured: a 2026 EvalEval Coalition study classified 29 of 60 major LLM benchmarks as saturated — having lost "reliable discriminative power among state-of-the-art models" (codepointer).
Coding followed the same arc at higher stakes. HumanEval (2021, 164 hand-written function-completion problems) went from Codex's ~29% pass@1 to 90%+ and saturation. SWE-bench (2023, Princeton) raised the bar to real GitHub issues in real repositories — the best 2023 baseline resolved just 1.96%. In March 2024 Cognition's Devin, "the first AI software engineer," reported 13.86% unassisted (Cognition technical report) alongside a demo of completing Upwork jobs. The reality check became a canonical episode: independent reviewers showed the demo overstated what happened, and a month-long trial by Answer.AI found Devin completed roughly 3 of 20 real tasks — benchmark-versus-reality in miniature. SWE-bench itself needed repair: OpenAI's human-annotated SWE-bench Verified (2024) filtered out underspecified and unfairly-tested problems into a 500-task subset (methodology overview). Yet even Verified overstates practice: on SWE-Lancer — 1,488 real Upwork jobs collectively worth $1M — frontier models that score 50–80% on SWE-bench earned well under half the available money, with Claude 3.5 Sonnet completing just 26.2% of individual-contributor tasks (Maginative; VentureBeat).
Contamination. Benchmarks published on the internet end up in training data. The GPT-3 paper itself flagged some benchmarks as >90% contaminated; a systematic survey reports measured contamination "ranging from 1% to 45%" across models and QA benchmarks (Xu et al., survey), and one MMLU audit found signs of contamination in 29.1% of test items (Pebblous analysis). The cleanest demonstration: Scale AI built GSM1k, a private mirror of the GSM8K math benchmark — some model families dropped up to 13 points on the uncontaminated twin (paper), and inference-time decontamination cut inflated GSM8K/MMLU scores by ~20% (ITD paper).
Leaderboard gaming. The April 2025 "Leaderboard Illusion" study (Cohere Labs with Princeton, Stanford, Washington and others) documented how LMArena's crowd-voted Elo rankings could be farmed: big labs privately tested many variants and published only the winner — Meta reportedly tested up to 27 Llama 4 variants, and the arena-topping Llama 4 Maverick was a chat-optimized variant that was not the released model — while Google and OpenAI each received ~19–20% of all arena data, enough to lift arena-distribution performance by an estimated +112% (Simon Willison's summary; LMArena's rebuttal).
Sponsored evals. FrontierMath, presented as an independent frontier benchmark, turned out to have been commissioned and funded by OpenAI, which owned the problems and had access to all statements and solutions except a 50-question holdout — disclosed only after o3's headline 25% score (TechCrunch; Epoch AI's clarification).
Benchmarketing. Launch charts select favorable tests and configurations: Gemini's debut compared MMLU CoT@32 against GPT-4's 5-shot; o3's famous ARC-AGI result was 75.7% under contest compute rules but 87.5% only at ~172x compute costing thousands of dollars per task — a distinction launch coverage often dropped (codepointer).
Four families: (1) Private held-out sets — ARC-AGI's semi-private eval set, FrontierMath's holdout, GSM1k's unreleased mirror — accept less transparency to buy contamination resistance. (2) Live benchmarks — LiveBench, LiveCodeBench, arena voting — use post-cutoff or continuously refreshed data so training can't have seen it. (3) Third-party evaluators — Epoch AI's independent re-runs and Benchmarking Hub; METR's pre-deployment audits and its time-horizon metric (length of task a model completes at 50% reliability, doubling roughly every seven months), which measures a trend rather than a saturable score. (4) Evals-as-craft — the professionalization of building small, private, task-specific eval suites, now treated inside frontier labs and serious deployers as core engineering rather than an afterthought. None is complete: private sets can't be audited, live benchmarks measure this month's distribution, and third parties depend on lab cooperation and funding — as FrontierMath showed.
How students should read a model announcement:
Research compendium, doc 4 · compiled July 2026 · ~2,500 words
Every AI capability students see in a chat window rests on a physical pyramid: one Dutch company's lithography machines, one Taiwanese company's fabs and packaging lines, one American company's GPUs and software stack, and a continental-scale buildout of datacenters, substations, and power plants to run them. The story has three acts. Act one (2006–2022) is Nvidia's decade-early bet: CUDA turned gaming chips into general-purpose supercomputers years before anyone needed one, so when deep learning arrived (AlexNet, 2012) and then exploded (ChatGPT, 2022), Nvidia was the only vendor with mature hardware and software. Act two (2023–2025) is the money: Nvidia ran from a ~$500B market cap to past $4–5 trillion, hyperscaler capex went vertical, and training-run costs climbed roughly 2.4× per year. Act three (2025–) is the collision with physics: the binding constraint shifted from chips to megawatts — grid interconnection queues, nuclear restarts, gigawatt campuses — while governments from Paris to Abu Dhabi to Tokyo concluded that compute is sovereignty and started building their own. For a student consulting practice, the takeaway is that "AI strategy" upstream is really an industrial-policy and energy story, and downstream it explains why API prices, rate limits, and model availability behave the way they do.
Nvidia launched CUDA in November 2006 alongside the GeForce 8800 GTX — a programming platform that let scientists run general-purpose code on gaming GPUs, built on groundwork laid as early as 2003 when Nvidia added IEEE-compliant FP32 to its shaders (Sequoia, "Crucible Moments"; Computer History Museum). Wall Street hated it for years — CUDA depressed margins with no obvious market. The payoff came when researchers used GeForce cards as cheap personal supercomputers; the 2012 AlexNet result, trained on two consumer GPUs, convinced Jensen Huang to pivot the company toward accelerated computing and AI (Generative Value history).
The financial arc is unlike anything in market history. Nvidia crossed $1T in May 2023, $3T in June 2024, $4T in July 2025, and $5T in October 2025, trading around $4.7T in July 2026 after pulling back (Morningstar; CompaniesMarketCap). Data-center revenue tells the same story from the income statement: $47.5B in FY2024 (+217%), $115.2B in FY2025 (+142%), and ~$193.5B for the compute-and-networking segment in FY2026 (Nvidia investor filings).
The unit economics explain the margins. An H100 sells for roughly $25,000–40,000; a B200 (Blackwell) for $30,000–50,000; a full GB200 NVL72 rack approaches $3 million (IntuitionLabs pricing guide). Against that, Epoch AI estimates the B200's manufacturing cost at ~$6,400 — nearly half of it HBM memory — implying chip-level gross margins near 80% (Epoch AI; SemiAnalysis COGS analysis).
What defends those margins is software, not silicon. Twenty years of CUDA means every major framework is CUDA-native and thousands of hand-optimized kernel libraries have no equivalent elsewhere. AMD's MI300X actually beats the H100 on paper (192GB memory vs 80GB, higher theoretical FLOPS) yet delivered only ~37–66% of H100/H200 performance in LLM inference benchmarks because of software maturity; porting real CUDA codebases via tools like hipify routinely fails on complex kernels (AIMultiple CUDA vs ROCm; The Register on the moat). The gap is narrowing — ROCm 6.x plus standard PyTorch pipelines now approach parity for common workloads — but the moat has held through the highest-stakes buying cycle in tech history.
Every big buyer is simultaneously Nvidia's customer and its would-be replacement. Google's TPU line is oldest (deployed internally 2015): the v6e "Trillium" rents at ~$2.70/chip-hour with roughly 4× better price-performance than H100 instances for LLM work, and the v7 "Ironwood" (mass deployment 2026) delivers ~4,614 FP8 teraflops with 192GB HBM3e (The Next Web; Introl custom-silicon overview). Amazon's Trainium 3 anchors a chip business Amazon has valued at ~$50B; Microsoft's Maia 200 (announced January 2026) and Meta's MTIA round out the field (Tom's Hardware ASIC survey). Analysts project custom ASICs growing ~45% annually and potentially taking a large share of inference — the two-thirds of AI compute where CUDA lock-in matters least — though such projections (e.g., "45% of the AI chip market by 2028") should be treated as vendor-and-analyst optimism, not fact. The strategic logic is simple: at hyperscaler volume, even a chip that is worse per-chip but 3–4× cheaper per token changes the economics.
Cost estimates for training runs are genuinely uncertain — labs rarely publish them — so attribute and range everything. The best-documented series is Epoch AI's frontier-cost analysis: amortized hardware-plus-energy cost of final training runs has grown ~2.4× per year since 2016 (95% CI: 2.0–3.1×), with cloud-rental-based methods giving ~2.6×/year and roughly double the absolute figures. Anchor points, with caveats:
Two caveats matter for teaching. First, compute is only 47–67% of a frontier model's development cost — R&D staff are another 29–49% (Epoch). Second, the curve buys capability but not efficiency: DeepSeek's late-2024 claim of a ~$5.6M final run (contested, and excluding prior experiments and infrastructure) showed the floor for near-frontier capability is far below the frontier's spend — the frontier costs what it costs because labs race to the edge, not because capability requires it.
Hyperscaler capital expenditure is the clearest single indicator of the AI boom's scale. The big four (Amazon, Microsoft, Alphabet, Meta) spent roughly $230B in 2024, a record ~$400–410B in 2025, and have guided to $600–725B for 2026 depending on whose tally you use (Tom's Hardware, $725B; Futurum, $690B; Introl, $600B) — with roughly three-quarters going to AI infrastructure, Goldman modeling $5.3T cumulative through 2030, and over $100B of it now debt-financed, a genuinely new feature for these balance sheets.
Stargate is the emblematic project: announced January 2025 by OpenAI, SoftBank, and Oracle as a $500B, 4-year program. The flagship Abilene, Texas campus (built with Crusoe, run on Oracle Cloud) came online in phases from September 2025 toward ~1.2 GW; seven-plus US sites are in development, with Epoch AI's site-by-site tracking projecting 9+ GW by 2029, and OpenAI separately committing ~$300B in compute purchases from Oracle over five years (OpenAI; Epoch AI Stargate tracker; CNBC).
The gigawatt era is not one project. xAI's Colossus in Memphis went from an empty warehouse to 100,000 GPUs in 122 days (2024); Colossus 2 crossed 1 GW in early 2026 — the first gigawatt-scale training cluster — and is expanding toward ~2 GW and a reported 555,000 GPUs (~$18B of hardware) (SemiAnalysis; Introl). Amazon's Project Rainier in Indiana — an ~$11B Trainium campus built for Anthropic — is live, with buildout plans that could exceed 2 GW (The Outpost/coverage of Rainier). For scale: 1 GW is roughly a nuclear reactor's output dedicated to one computer.
By 2026 the consensus flipped: power, not GPUs, is the limiting factor. ERCOT (Texas) was tracking a large-load interconnection queue of roughly 410 GW as of April 2026 — ~87% of it datacenters — while only about a quarter of queued capacity nationally has an executed interconnection agreement; waits in Northern Virginia, the PJM region, and Dublin run 5–10 years (Inflect). Gartner projects global datacenter electricity demand above 1,000 TWh by 2026, double the 2023 level.
The response is a corporate nuclear renaissance. Microsoft signed a 20-year PPA with Constellation to restart Three Mile Island Unit 1 (835 MW, rebranded the Crane Clean Energy Center; first power targeted 2027, reportedly ahead of schedule) (The Register). Google contracted with Kairos Power for small modular reactors (~500 MW by 2030–35) plus a 1.8 GW Elementl pipeline. Amazon turned its $650M Talen/Susquehanna campus purchase into a revised deal for up to 1.92 GW through 2042 (Data Center Frontier). As of mid-2026, every major hyperscaler has at least one nuclear deal, with ~10 GW of announced nuclear capacity committed to AI. Bridge power is messier — Colossus 1 famously ran on gas turbines under environmental protest — and behind-the-meter deals now draw utility and regulator pushback over who pays for the grid.
TSMC and packaging. Nearly every leading AI chip — Nvidia's, Google's, Amazon's, Apple's — is fabbed by TSMC, and the tightest constraint isn't wafers but CoWoS advanced packaging, the step that bonds compute dies to HBM memory stacks. TSMC holds ~90% of AI advanced packaging; capacity grew from ~13,000 wafers/month at end-2023 to a projected 120,000–130,000 by end-2026 and is still sold out, because each chip generation needs more HBM stacks per package — a structural, not temporary, bottleneck (DigiTimes; CNBC).
ASML in one paragraph. Beneath TSMC sits a literal monopoly: ASML of the Netherlands is the world's only maker of EUV lithography machines, the $200M+ devices that print the smallest chip features — the product of ~30 years and tens of billions in R&D that no rival (Nikon, Canon, or China's nascent efforts) has replicated; every advanced AI chip on earth passes through an ASML machine, making one Dutch company the single hardest chokepoint in the entire stack (The Generalist, "A Monopoly on Magic").
Export controls. Washington has restricted advanced AI chips to China since October 2022, tightening repeatedly. The 2025 whipsaw is instructive: in April 2025 the US required licenses for Nvidia's China-market H20, forcing a $5.5B write-down, then reversed in July 2025 under a revenue-share arrangement (IFP, "The H20 Problem"). Effects are contested: controls slowed China's access to frontier compute, but critics argue they accelerated substitution — Huawei's Ascend 910C/920 line ramped, Chinese hyperscalers redesigned around domestic chips, and DeepSeek showed efficient training under constraint (ITIF, "Backfire"; CSIS). Teach it as a live policy debate, not a settled win.
Mistral is Europe's flagship lab: founded April 2023 by Arthur Mensch (DeepMind) and Timothée Lacroix and Guillaume Lample (Meta), it raised a record $113M seed within weeks, hit €5.8B valuation in 2024, then in September 2025 raised €1.7B led by ASML (€1.3B for ~11%) at €11.7B (~$13.7B) — Europe's most valuable AI company, with 2026 reports of a new round near $23B (CNBC; DCD). Crucially, Mistral is now an infrastructure company too: Mistral Compute raised ~$830M in debt from French banks for a datacenter at Bruyères-le-Châtel (Essonne) housing ~13,800–18,000 Blackwell-class GPUs in a ~40 MW facility, live mid-2026, targeting 200 MW across Europe by end-2027 (DCD).
France declared €109B in AI infrastructure investment at the February 2025 AI Action Summit — Macron explicitly called it France's Stargate — anchored by Brookfield (€20B), a UAE-funded campus ($30–50B), Apollo, and Digital Realty, leveraging France's cheap nuclear grid (CNBC). The EU followed with InvestAI: €200B mobilized, €20B earmarked for "AI gigafactories." The delivery vehicle is EuroHPC, which already runs JUPITER (Europe's first exascale machine, Jülich, Germany), selected 13 "AI Factories" in 2024–25 plus six more sites for 2026, and in July 2026 opened the tender for up to seven AI Gigafactories (bids due November 2026, selection early 2027, operational within ~18 months) (EuroHPC JU; HPCwire). Europe's bet is behind the US on raw gigawatts but distinctive: public procurement, energy advantage (French nuclear, Nordic hydro), and regulation-as-market-shaping.
Other sovereigns, briefly. The UAE: G42 and the $100B MGX fund are building Stargate UAE, a 1 GW OpenAI/Oracle-operated cluster inside a planned 5 GW US–UAE AI campus in Abu Dhabi (G42). Saudi Arabia: PIF-backed Humain (launched May 2025) is building the full stack, deliberately multi-vendor — including a reported $10B/500 MW AMD deployment (Silicon Canals). Both remain dependent on US chips and, via export licensing, US policy. Japan: METI's GENIAC program subsidized domestic models (Sakana AI among beneficiaries), ¥72.5B in compute-cloud subsidies seeded domestic GPU clouds (Sakura Internet), and December 2025 brought a ¥1T (~$7B) five-year commitment plus the SoftBank-led, 44-company "Noetra" sovereign model project (OECD.AI).
| Metric | Value | Source / caveat |
|---|---|---|
| CUDA launch | Nov 2006 | With GeForce 8800 GTX |
| Nvidia market cap | $1T May '23 → $3T Jun '24 → $5T Oct '25 → ~$4.7T Jul '26 | Morningstar / CompaniesMarketCap; volatile |
| Nvidia data-center revenue | $47.5B FY24 → $115.2B FY25 → ~$193.5B FY26 (seg.) | Nvidia filings |
| H100 / B200 price | $25–40K / $30–50K per GPU | IntuitionLabs; GB200 NVL72 rack ~$3M |
| B200 manufacturing cost | ~$6,400 (≈45% is HBM) | Epoch AI estimate; ~80% chip-level margin |
| Training-cost growth | ~2.4×/yr since 2016 (CI 2.0–3.1×) | Epoch AI, amortized method |
| GPT-3 / GPT-4 / Gemini Ultra run cost | ~$2–4M / ~$78M (Altman: ">$100M") / ~$191M | AI Index 2024 + Epoch; method-dependent |
| Frontier run, 2026 / 2027 proj. | $200–500M / >$1B | Epoch extrapolation; high uncertainty |
| Big-4 hyperscaler capex | ~$230B '24 → ~$400B '25 → $600–725B guided '26 | Analyst tallies differ; Goldman: $5.3T through '30 |
| Stargate | $500B program; Abilene ~1.2 GW; 9+ GW by 2029 | OpenAI / Epoch tracker |
| xAI Colossus 2 | First 1 GW training cluster; ~2 GW / 555K GPUs planned | SemiAnalysis / Introl |
| ERCOT large-load queue | ~410 GW (≈87% datacenters), Apr 2026 | Inflect |
| Nuclear for AI | ~10 GW announced; TMI restart 835 MW (2027) | Data Center Frontier |
| TSMC CoWoS capacity | ~13K wpm end-'23 → 120–130K wpm end-'26 | DigiTimes; still sold out |
| Mistral valuation | €11.7B Sep '25 (ASML-led); ~$23B talks Jul '26 | CNBC / Yahoo Finance |
| France / EU | €109B pledged; InvestAI €200B (€20B gigafactories) | CNBC / Euronews |
Training gets the headlines — the billion-dollar clusters, the "GPT-5 moment" — but inference is where AI became a business. Sometime around 2025, running models overtook building them as the majority of AI compute, and the industry's center of gravity moved from "who can train the biggest model" to "who can serve tokens cheapest, fastest, and at margin." Two stories are true at once and appear to contradict each other. Per-token prices have collapsed at a rate with no precedent in computing history — roughly 10x a year for constant quality, faster than Moore's law, faster than dot-com bandwidth. And yet AI bills keep going up, because agents — models calling tools in loops, re-reading their own context dozens of times per task — grew usage faster than prices fell. Understanding both curves, and the serving-cost machinery underneath them (batching, KV caches, quantization, custom silicon), is what separates people who build AI features on a budget from people who get surprised by the invoice. This is the classic utility-economics story replayed at 100x speed: the commodity gets cheap, the consumption explodes, and the money moves to whoever owns the meter.
For AI's first act, compute meant training: enormous one-time runs to create a model. That inverted fast. Deloitte's estimate, widely cited at CES 2026, is that inference was about one-third of AI compute in 2023, half in 2025, and roughly two-thirds in 2026 (Computerworld). Some forecasts of spend (rather than compute-hours) go further, projecting 70%+ as agentic workloads — which run many inference steps per task — become the norm (Introl). The economics differ in kind, not just size: training is a capital expense you take once and hope to amortize; inference is a marginal cost you pay on every single user interaction, forever. That makes inference the actual business battleground — a model that's 2% smarter but 3x costlier to serve can lose to a dumber, cheaper one, and every optimization to the serving stack drops straight to gross margin.
The canonical data points. GPT-4 launched in March 2023 at $30 per million input tokens. In July 2024, OpenAI shipped GPT-4o mini at $0.15 input / $0.60 output — the release Sam Altman captioned "towards intelligence too cheap to meter" (Altman on X). By 2026, GPT-4-class quality could be had for well under $0.50 per million tokens, with mainline frontier models like GPT-5 and Gemini 2.5 Pro at $1.25/M input and Claude Sonnet at $3/M — while open-weight DeepSeek served comparable work at $0.27/M (BenchLM pricing trends, TokenCost price index). a16z branded the phenomenon "LLMflation": for constant quality, price falls ~10x per year — GPT-3-level performance cost $60/M tokens in late 2021 and $0.06/M by 2024, a 1,000x drop in three years (a16z). Epoch AI's more careful benchmark-anchored analysis found the decline ranges from 9x to 900x per year depending on the capability milestone — GPT-4-level performance on PhD-science questions fell about 40x per year (Epoch AI). The crucial nuance: frontier prices fall slowly (the newest, best model always commands a premium); it's last year's capability that becomes nearly free.
The collapse isn't charity; it's engineering, and the mechanisms are teachable in plain language (RunPod overview):
These compound because they attack different bottlenecks; a quantized model on a batched server with caching can cost ~80% less than the naive baseline (Morph).
GPUs were designed for graphics, then training; inference — especially the memory-bound token-by-token decode phase — rewards different architectures. Groq's LPU (deterministic, SRAM-based) served Llama 3.3 70B at ~750 tokens/second; Cerebras's dinner-plate-sized wafer chip hit ~2,100 (comparison) — an order of magnitude faster than typical GPU serving, which matters enormously for agents that chain many sequential calls. Hyperscalers built their own escape hatches from Nvidia margins: Google's TPUs and AWS's Inferentia both market 30–70% lower inference cost than equivalent GPU serving inside their clouds (TrendForce on inference-chip architecture). The strongest evidence that inference is now the prize: in December 2025 Nvidia paid roughly $20 billion — its largest deal ever — to license Groq's technology and hire its leadership, exactly the pattern of an incumbent buying out the architecture aimed at its flank (CNBC).
The popular narrative — "every AI answer loses money" — is mostly wrong about the API business specifically. Back-of-envelope serving math (a 70B model on amortized GPUs, batched) lands around $1 per million output tokens of all-in cost against list prices several times that; DeepSeek published claims of 80%+ margins on R1 serving, and frontier providers are reported at 70–80% gross margin on inference (Sean Goedecke; independent cost modeling at Martin Alderson). Reported trajectories back this up: OpenAI's compute margin rose from ~35% in early 2024 to ~70% by late 2025 (SaaStr), and Anthropic's gross margin from deeply negative in 2024 to ~60%+ in 2026, driven by API-heavy revenue (BigGo Finance). The losses live elsewhere: training next models, free consumer tiers, and flat-rate subscriptions where heavy users consume unbounded tokens. Meanwhile the application layer got squeezed from the other side — AI-native startups' gross margins run ~30 points below classic SaaS because every user action carries a "token tax" (TechTimes, Forbes on the margin squeeze).
Altman's framing — intelligence sold "on a meter," headed toward too-cheap-to-meter (echoing Lewis Strauss's 1954 nuclear promise) — captures the price curve but not the usage curve (Fortune). Agentic workloads consume 5–30x the tokens of a chatbot exchange (Cockroach Labs), and naive agent loops grow quadratically: each step re-sends the whole history, so a 20-step loop emitting 1,000 tokens per step bills ~210,000 cumulative input tokens, not 20,000 (Augment Code). The countermeasure is prompt caching — providers charge ~10% of list price for prefix tokens they've already processed (Claude cache reads at $0.30/M vs $3.00/M), which pays for itself after about two reuses and cuts real agent workloads 41–80% (study). Net effect: this is Jevons' paradox on fast-forward — cheaper tokens didn't shrink spending, they made previously absurd workloads (an agent reading your whole codebase per task) economical, so total bills rose even as unit prices cratered.
In one week of January 2025, a Chinese lab spun out of a hedge fund did three things at once: it published a reasoning model that matched OpenAI's best on hard benchmarks, gave it away under an MIT license, and attached a training-cost figure — $5.576 million — that was technically honest, widely misread, and powerful enough to erase nearly $600 billion of Nvidia's market value in a single trading day. The "DeepSeek shock" is the best single case study we have of how the cost of intelligence became the central economic question of the AI era. The number was real but narrow; the panic was real but wrong; and the durable effect was not a crash in compute demand but a violent repricing of what a unit of intelligence costs to buy — and a forced conversion of the closed-model world to open weights. A year on, the episode reads less like a revolution and more like a margin call on sloppy assumptions.
DeepSeek did not come from a university or a Big Tech spinoff. Its founder, Liang Wenfeng (b. 1985, Zhanjiang, Guangdong; electronic engineering at Zhejiang University), co-founded the quantitative hedge fund High-Flyer in 2015 with university classmates; by 2021 it managed over RMB 100 billion and had — crucially — stockpiled roughly 10,000 Nvidia GPUs before U.S. export controls tightened (Fortune; ChinaTalk). In 2023 Liang pivoted, founding DeepSeek as an AI research lab funded out of High-Flyer's R&D budget — no external investors, no revenue pressure, and a hiring culture built on young researchers rather than famous names. The quant-fund DNA matters: a firm whose whole business was squeezing signal from compute treated GPU efficiency as the product, not an afterthought.
DeepSeek-V3's December 2024 technical report stated the figure plainly: the full training run took 2.788 million H800 GPU-hours, which at an assumed rental price of $2/GPU-hour equals $5.576M — and the paper itself notes this excludes "costs associated with prior research and ablation experiments on architectures, algorithms, or data" (DeepSeek-V3 Technical Report). In other words: marginal cost of one final run, not the cost of building a lab.
The critiques landed fast. SemiAnalysis's Dylan Patel estimated DeepSeek's total server capex at roughly $1.6 billion, with ~$944M in cluster operating costs, and noted the company had "spent well over $500 million on GPUs over the history of the company" (Techstrong; Slashdot summary). Nathan Lambert's Interconnects analysis made the fair-comparison point most cleanly: every frontier lab's headline models sit atop enormous amortized R&D, failed runs, salaries, and data costs that no one folds into a per-run figure — DeepSeek's number was legitimate as stated but incommensurate with "OpenAI spent billions" headlines (Interconnects). The honest takeaway is a genuine ~10x efficiency gain on the training run itself (DeepSeek claimed ~11x less compute than Llama 3 405B), not a 100x collapse in the cost of being a frontier lab (Tom's Hardware).
On January 20, 2025 DeepSeek released R1, a reasoning model matching OpenAI's o1 on benchmarks like AIME and MATH — and licensed it MIT, permitting inspection, modification, commercial use, and distillation (DeepSeek-R1 paper; Hugging Face). A free chatbot app hit #1 on the U.S. App Store. On Monday, January 27, the market processed it: Nvidia fell 17%, shedding $589–593 billion in market capitalization — the largest single-day value loss of any company in history to that point — amid a broad rout of AI-infrastructure names (Forbes).
The recovery began almost immediately, powered by the counterargument Satya Nadella compressed into two words: Jevons paradox — when a resource gets more efficient to use, total consumption tends to rise, not fall (Technology.org; Barchart). Cheaper intelligence means more of it gets bought; DeepSeek itself trained on Nvidia hardware; and reasoning models in particular shift spend from training to inference, which still runs on GPUs. Ben Thompson's widely-read FAQ argued the sell-off punished the right stock for the wrong reason — the real losers were closed-model margins, not chip demand (Stratechery).
R1 launched at roughly 90–96% below o1's per-token price, and the whole market moved: OpenAI shipped o3-mini at a fraction of o1 pricing days after the shock, made reasoning free in ChatGPT tiers, and every provider's price-per-benchmark-point began falling on a curve (Silicon Canals; NxCode pricing guide). The open-weight concession was more symbolic: Sam Altman admitted in a Reddit AMA that OpenAI had been "on the wrong side of history" on open source, and in August 2025 shipped gpt-oss-120b and gpt-oss-20b — its first open-weight models since GPT-2 in 2019 — explicitly positioned against DeepSeek and Meta (CNBC; Fortune).
Retrospectives from early 2026 largely agree on the ledger. What the shock changed: the price of served intelligence (permanently lower, with Chinese open-weight models the price floor and a dominant option across the Global South); the respectability of open weights (every major U.S. lab now has an open line); the research agenda (RLVR/GRPO became the standard post-training recipe industry-wide); and the credibility of export controls as a capability ceiling — constraint bred the efficiency innovations (Capmad; Tufts Hitachi Center). What it didn't change: compute demand — the Jevons argument won empirically, capex accelerated, Nvidia made new highs, and PIIE's read is that the boom "shrugged off" the shock entirely; U.S. frontier labs kept the capability lead and their enterprise market share; and the sell-off is now retrospectively filed as panic over a misread number (PIIE). The deepest lesson survived the correction, though: intelligence has a cost curve, the curve bends fast, and nobody's margin is safe for long.
By mid-2026 the AI infrastructure buildout is the largest private capital deployment in history — roughly $690 billion in projected 2026 capex across hyperscalers and AI labs (Futurum), with total data-center spend estimates running to $3 trillion over the decade. Serious, credentialed people disagree about whether this is the railroad boom (ugly for investors, transformative for civilization), the fiber boom (fraud-riddled crash whose leftovers powered the web), or something genuinely new (the first infrastructure boom funded mostly by the operating cash flows of the most profitable companies ever). This chapter steelmans both cases rather than adjudicating, because the honest answer in July 2026 is that the question is live — and how to track a live question is itself the lesson worth teaching.
Depreciation math. The load-bearing accounting question: hyperscalers depreciate AI servers over five to six years, but Nvidia now ships a new architecture roughly annually, and bears argue the economic life of a frontier GPU is closer to two to three years. Michael Burry made this the centerpiece of his short thesis in November 2025, calling useful-life extension "one of the more common frauds of the modern era" and estimating ~$176 billion of understated depreciation (i.e., overstated profits) across the industry in 2026–2028 (CNBC; Dave Friedman's breakdown of the $176B claim). The tell bears point to: Amazon, which extended server life to six years in 2024, partially reversed to five years in 2025 — the largest cloud operator quietly conceding the point (Deep Quarry). If depreciation is understated, reported hyperscaler earnings — the market's main evidence that AI "is already profitable" — are inflated.
Circular vendor financing. Nvidia's up-to-$100B investment in OpenAI, OpenAI's ~$300B compute commitment to Oracle, Oracle's massive Nvidia purchases, AMD's warrant deal with OpenAI, and Nvidia's stakes in CoreWeave and 50+ AI startups form a loop where the same dollars appear as multiple companies' revenue: chipmaker → lab → cloud → back to chips (Bloomberg graphic; Business Standard). The precedent bears cite is Lucent and Nortel lending customers money to buy their own equipment in 1999 — revenue that evaporated when the borrowers did. OpenAI reportedly lost ~$14B-pace in 2026 while committing to trillion-scale infrastructure obligations.
Debt and off-balance-sheet structures. The buildout is no longer funded purely from cash flow. A Nikkei study found ~$1.65 trillion of off-balance-sheet obligations (leases, SPVs, purchase commitments) across Alphabet, Microsoft, Amazon, Meta, and Oracle — more than their $1.35T of reported debt (analysis.org summary). Meta's $27.3B Hyperion financing with Blue Owl keeps a flagship data center's debt off Meta's balance sheet entirely; Oracle's on-balance-sheet borrowing pushed leverage toward levels that threaten its rating; AI-linked bond issuance is heading toward $570B with investors starting to demand wider spreads (Forbes on Hyperion; Forbes on bond pushback).
The revenue-vs-capex gap. Sequoia's David Cahn framed it as the "$600B question": annualized capex implies the AI ecosystem needs hundreds of billions in end-customer revenue that doesn't exist yet. Bain's 2025 Global Technology Report scaled it up: ~$2 trillion of annual AI revenue needed by 2030 to fund the compute trajectory, with an $800B shortfall even after generous assumptions (Bain; Bloomberg). By mid-2026 the capex-to-revenue divergence (~46%) exceeded the 2001 telecom cycle's 32% (Forbes).
The analogy. After the 1996 Telecom Act, carriers poured $500B+ — mostly debt — into fiber on the theory that traffic would double every 100 days. It didn't; 90–95% of fiber sat dark by 2002, WorldCom's fraud unwound, and the sector's equity was obliterated (Forbes).
The telecom crash is the bears' best analogy and the bulls' best consolation. That "wasted" dark fiber, bought for cents on the dollar out of bankruptcy, became the cheap backbone that made YouTube, streaming, and the cloud economically possible (Technostatecraft; Wide Moat Research). Investors lost; civilization gained. But note the disanalogy both directions: fiber in the ground stayed useful for decades, while GPUs may be worth little in six years — so an AI overbuild leaves a less durable residue (though the buildings, power plants, transmission lines, and cooling — maybe half the capex — do last). "Bubble" and "transformative" are not mutually exclusive; railroads, electrification, and fiber were all both.
Demand is outrunning supply, right now. Every major hyperscaler reports being supply-constrained, not demand-constrained: cloud AI backlogs are growing, GPU lead times run 36–52 weeks, TSMC advanced packaging is sold out, memory prices are surging, and U.S. compute demand (~62 GW) already exceeds available power (~49 GW), a gap projected to widen through 2030 (Apollo, "The Growing Compute Shortage," June 2026). You don't normally get shortages at the top of a demand bubble.
Inference and agents are a second demand wave. The 2024–25 buildout was justified by training; the 2026 story is inference — agentic workloads that consume orders of magnitude more tokens per user interaction than chat did. Token processing volumes at Google and OpenAI have grown super-linearly, and inference (unlike training) scales directly with paying usage.
The buyers are not 1999 telecoms. Microsoft, Alphabet, Meta, and Amazon fund the bulk of capex from operating cash flow generated by monopoly-grade existing businesses. WorldCom borrowed to build ahead of phantom demand; Microsoft redirects Office profits into capacity it resells at positive gross margin. Even Noah Smith, dissecting the circular-deal panic, concludes the structures are mostly equity stakes and prepaid compute — not the disguised loans of the Lucent era — and only become lethal if end demand is fake (Noahpinion).
Jevons effects. When DeepSeek's efficiency breakthrough briefly cratered Nvidia in January 2025, Satya Nadella's response — "Jevons paradox strikes again" — became the bull thesis in miniature: cheaper intelligence doesn't shrink compute demand, it explodes the set of economical use cases (NPR Planet Money). Empirical work now estimates AI compute demand elasticity above 1 — every price drop grows total spend (SGNL). Every historical infrastructure overbuild, even the ones that bankrupted their builders, left society richer; bulls argue this one might not even bankrupt the builders.
On depreciation, the rebuttal: older GPUs don't stop earning at year three — they cascade from frontier training to inference, batch, and internal workloads. A100s (launched 2020) were still rentable and utilized in 2026, which is evidence for the 5–6-year schedules (Interesting Engineering).
Neither side can be settled by rhetoric; both make falsifiable claims. The indicator dashboard:
The meta-lesson: the sophisticated position is not "bubble: yes/no" but a conditional — real demand and fragile financing can coexist, and the crash-then-digestion pattern (railways, fiber) is the historical norm for transformative infrastructure.
Bear-leaning: CNBC on Burry's accusation · Dave Friedman, "The $176 Billion Accounting Question" · Bloomberg, "AI Circular Deals" graphic · Bain, $2T revenue / $800B shortfall · Forbes, capex-to-revenue gap widening · Forbes, $570B AI debt / bond pushback · Nikkei $1.65T off-balance-sheet study · Forbes, Meta–Blue Owl Hyperion
Bull-leaning: Apollo, "The Growing Compute Shortage" · Noahpinion on circular deals · NPR Planet Money on Jevons · Futurum, 2026 capex sprint · Interesting Engineering, contra Burry · SGNL on Jevons/inference
Nuance/history: Forbes, "dark fiber moment" · Technostatecraft, dark-fiber archaeology · Deep Quarry on GPU useful lives · Silicon Analysts, GPU rental decomposition
Three forces shaped the modern AI industry more than any single model release: what the models ate, how they were tamed, and who pays for it all. Frontier LLMs were built on scraped web text (Common Crawl above all), digitized books, and public code — a corpus assembled largely without permission, which triggered the copyright wars now being settled in courtrooms and licensing deals. The 2025–26 resolution is roughly: training on lawfully acquired text is fair use in the US; acquiring it by piracy is not — a distinction that cost Anthropic $1.5 billion and is still being tested against OpenAI by The New York Times. Meanwhile the "running out of data" worry pushed labs toward paid licensing (Reddit, news publishers) and, more decisively, toward synthetic data — models teaching models, which by 2025 had become the default recipe for reasoning models.
Alignment, often framed as an ideological debate, is better understood in a curriculum as the manufacturing step that made LLMs into products. RLHF — an obscure 2017 RL technique — is the reason a raw next-token predictor became ChatGPT: something that follows instructions, declines obvious harms, and stays on task. Anthropic's Constitutional AI automated part of that loop with written principles and AI feedback. The practical residue of the safety debate is institutional: responsible scaling policies, system cards, and red-teaming are now standard release engineering at every major lab.
Commercially, 2026 is a two-horse frontier race (OpenAI, Anthropic) with a bundler (Google), an open-weights bloc (Meta, Mistral, DeepSeek and Chinese labs), and a compute maximalist (xAI) — running on three business models (consumer subscriptions, per-token APIs, enterprise contracts), spectacular reported revenue growth, and equally spectacular losses.
Pretraining corpora are dominated by six source types: mass web crawls, curated web datasets, books, code, reference/academic text, and (increasingly) synthetic content (Turing overview). The backbone is Common Crawl, a nonprofit's petabyte-scale snapshot of the public web — likely 100+ trillion tokens — that nearly every major model has drawn on, usually after heavy filtering into derivatives like C4 or Hugging Face's FineWeb. Books entered through datasets like BookCorpus, Project Gutenberg, and GPT-3's never-disclosed "Books1/Books2" — and, as litigation later revealed, through pirate "shadow libraries" like LibGen. Code comes mostly from GitHub (e.g., StarCoder's 783 GB across 86 languages); code data turned out to improve not just programming ability but general reasoning. The open-source RedPajama project, which reverse-engineered Meta's LLaMA recipe, gives the clearest public picture of a frontier mix: ~1.2 trillion tokens of Common Crawl, C4, GitHub, books, arXiv, Wikipedia, and StackExchange (Kili survey of open datasets; survey of LLMs, arXiv 2303.18223). Two teaching points: labs have grown steadily less transparent about data as legal exposure grew, and data curation (dedup, quality filtering) became as important as raw scale.
Epoch AI's influential analysis estimates the effective stock of quality, deduplicated human-generated public text at roughly 300 trillion tokens, and projects that frontier training runs will fully utilize it sometime between 2026 and 2032 — sooner if labs keep "overtraining" smaller models on more tokens (a 100x overtraining pace would have exhausted it around 2025). The alarmist version ("AI runs out of internet by 2026," e.g. PBS NewsHour) overstates it; Epoch itself later pushed the window back toward 2028+. The debate matters less as a doomsday clock than as an explanation of lab behavior: it is why labs pay for Reddit, transcribe YouTube, buy publishers' archives, push into multimodal and enterprise data — and why synthetic data went from taboo to standard.
Bartz v. Anthropic produced the most consequential US rulings so far. In June 2025, Judge William Alsup held that training LLMs on books is fair use — "exceedingly transformative... among the most transformative many of us will see in our lifetimes" — and that buying print books and digitizing them is fine, but that downloading ~500,000 pirated books from LibGen/PiLiMi to build a permanent library is not fair use (Goodwin analysis; NPR). Facing statutory-damages trial on the piracy claims, Anthropic settled for $1.5 billion — about $3,000 per book across ~482,000 works — the largest copyright recovery in history; the court granted final approval in July 2026, with ~91% of covered books claimed (Authors Guild; NPR). The practical rule that emerged: how you got the data matters as much as what you did with it.
Kadrey v. Meta, decided the same week in June 2025, went the other way on similar facts: Judge Vince Chhabria granted Meta summary judgment because the Sarah Silverman–led plaintiffs failed to show market harm — while pointedly warning the win "may be in significant tension with reality" and inviting better-evidenced suits, which major publishers duly filed against Meta in 2026 (Norton Rose Fulbright; Authors Guild).
NYT v. OpenAI/Microsoft (filed December 2023) remains the marquee unresolved test of whether training on copyrighted journalism — with alleged verbatim regurgitation — is fair use. As of mid-2026 it is deep in contentious discovery in the Southern District of New York: in January 2026 Judge Stein affirmed an order giving the Times access to 20 million de-identified ChatGPT logs, and in July 2026 the publisher coalition moved for sanctions, accusing OpenAI of obstructing discovery and deleting billions of conversations (AI Lawsuit Tracker; Hodder Law on the privacy dimension). No trial date is set.
The deals are the flip side. Reddit signed ~$60M/year with Google (Feb 2024) and ~$70M/year with OpenAI (May 2024) — and by July 2026 was openly weighing not renewing Google, because AI Overviews cannibalize the referral traffic the deal was premised on (CNBC; Quartz on training-data pricing, $5M–$250M per deal). Stack Overflow licensed 15 years of Q&A to OpenAI in May 2024 and banned users who deleted their own answers in protest — a vivid lesson in who actually owns "community" content (The Register). News Corp, Axel Springer, the AP, Shutterstock and many others signed similar deals, creating a genuine training-data market where scraping used to be free.
Synthetic data — text generated by models to train other models — went from a purity concern ("model collapse") to the core of modern post-training. Microsoft's Phi series demonstrated that small models trained heavily on curated synthetic textbook-style data punch far above their parameter count (Phi-4-Mini-Reasoning, arXiv). DeepSeek-R1 made distillation mainstream: fine-tuning Llama-8B on R1's synthetic reasoning traces lifted its MATH-500 accuracy from 44% to 89%. By 2025–26, the standard reasoning-model recipe was teacher-generated chains of thought, rejection sampling, and RL on verifiable problems (math, code) — domains where correctness can be checked, sidestepping the collapse problem, though systematic studies still find real pitfalls when synthetic data is used naively in pretraining (arXiv study). Synthetic data is also the honest answer to the data-wall question: labs didn't run out of data; they started manufacturing it.
RLHF's origin is charmingly humble. Christiano et al., 2017 (OpenAI/DeepMind) showed you could train an RL agent to do a backflip in a simulator not by writing a reward function but by showing humans pairs of video clips and asking "which is better?" — then learning a reward model from those preferences. Five years later, InstructGPT (Ouyang et al., 2022) applied the same trick to GPT-3 in the now-canonical three-step pipeline: supervised fine-tuning on human demonstrations → train a reward model on human rankings of outputs → optimize the model against that reward with PPO. The result: a 1.3B-parameter InstructGPT was preferred by humans over the 175B raw GPT-3. That is the single most important fact for a curriculum: alignment tuning, not scale, is what made these systems usable — ChatGPT (Nov 2022) was essentially InstructGPT with a chat interface, and it created the industry.
Constitutional AI / RLAIF, plainly: Anthropic's 2022 method (Anthropic research page) replaces most of the human labeling with the model itself, steered by a written list of principles (the "constitution" — drawing on sources like the UN Declaration of Human Rights). Phase one: the model drafts a response, critiques its own draft against a sampled principle ("choose the response that is less harmful..."), and revises; the revised outputs become fine-tuning data. Phase two: an AI judge, again prompted with constitutional principles, picks the better of two responses, generating synthetic preference data — then RL proceeds exactly as in RLHF, hence RLAIF (RL from AI Feedback). The pitch is scalability and legibility: instead of thousands of contractors' unstated intuitions, the values live in an inspectable document. Studies have found RLAIF models can match RLHF on helpfulness with fewer harmful outputs (overview).
Why alignment work is product work. Every visible personality trait of a deployed assistant — that it refuses to write malware but will explain buffer overflows, that it hedges medical advice, that it stays in character as a helpful assistant at all — is an alignment-training decision. Refusal calibration is a product metric: over-refusal ("I can't help with that" on benign requests) loses users exactly the way rudeness would, and labs track it in evals alongside helpfulness. System prompts — the standing instructions prepended to every conversation, which Anthropic now publishes for Claude — are alignment's runtime layer, and "prompt engineering" for businesses is largely learning to work with that layer. For students consulting to small businesses, this reframing matters: when a model declines or hedges, that is not a bug or censorship mystery — it is trained behavior with documented rationale, often adjustable with better-scoped instructions.
Skip the ideology; here is what safety concerns concretely built. Responsible scaling policies: Anthropic's RSP (Sept 2023, now v3.0, effective Feb 2026) defines AI Safety Levels — capability thresholds (bioweapons uplift, autonomous replication, AI R&D acceleration) that trigger required security and deployment safeguards before a model ships; ASL-3 protections have applied to frontier Claude models since May 2025. OpenAI's Preparedness Framework and Google DeepMind's Frontier Safety Framework followed within months — a rare case of safety practice becoming competitive table stakes. Model/system cards: every major release now ships with a public document of capability evals, red-team findings, and known failure modes — OpenAI calls them system cards; the practice traces to a 2019 Google paper and is becoming an EU AI Act compliance artifact (Document360 explainer). Red-teaming: structured adversarial testing, both internal and external (paid experts, groups like METR and the UK AI Security Institute get pre-release access), is now standard release engineering (OpenAI's external red-teaming paper; METR frontier risk reporting) — with the sobering caveat that persistent multi-turn human red-teaming still breaks every frontier model at high rates (Kili, 2026). The honest summary for students: safety processes are real and consequential, but they are engineering disciplines with known limits, not solved problems.
Three revenue engines: consumer subscriptions (ChatGPT Plus/Pro at $20–200/mo — recurring, sticky, brand-driven), per-token APIs (usage-based, developer-driven, brutally price-competitive), and enterprise contracts (seats plus committed usage plus support). OpenAI is consumer-weighted: from a $10B annualized run rate in June 2025 to a reported ~$25B by early 2026 — roughly $17B ChatGPT subscriptions, $6.5B API (futuresearch breakdown) — while still burning billions a year on compute. Anthropic is the mirror image: 70–80% of revenue from API/enterprise, ~$1B run rate in Dec 2024 to ~$9B by end-2025, with the company claiming a $30B run rate by mid-2026 on "80x growth" — driven heavily by coding, where Claude Code alone reached a multi-billion-dollar run rate within a year of launch (VentureBeat; Sacra). Treat all these as reported run rates from private companies — annualized snapshots, not audited annual revenue — and note the shared punchline: nobody at the frontier is profitable yet, because training capex and inference costs scale with success.
Mid-2025's defining industry story: Meta, embarrassed by Llama 4's reception, spent its way into contention — $14.3B for 49% of Scale AI (effectively acqui-hiring Alexandr Wang as Chief AI Officer), then reported offers of $100M+ signing packages and up to $300M/4 years to researchers at OpenAI, Google, and Anthropic, including a reported (rejected) ~$1.5B multi-year offer to one researcher (CNBC; The Batch). Results were mixed — several hires boomeranged back to OpenAI within months — but the episode reset compensation industry-wide and made the scarce resource explicit: a few hundred people who have trained frontier models. For students, this is the clearest possible labor-market signal about where applied AI skill commands value.
Two regimes matter in practice. The EU AI Act entered into force August 2024 and phases in: prohibited practices February 2025; obligations on general-purpose AI model providers (transparency, copyright policy, training-data summaries) August 2, 2025; and the Commission's actual enforcement powers and fines over GPAI providers on August 2, 2026 — i.e., now — with models released before Aug 2025 given until 2027 (official implementation timeline). Practically: if you build on OpenAI/Anthropic/Google APIs for EU-touching products, the model provider carries most GPAI obligations, but deployers have transparency duties (e.g., disclosing AI interaction). The US has no federal AI statute: Biden's EO 14110 (2023, safety-testing reporting via the Defense Production Act) was rescinded on January 20, 2025 and replaced by Trump's EO 14179 "Removing Barriers to American Leadership in AI," followed by the innovation-first America's AI Action Plan (July 2025) with 90+ federal actions on infrastructure, exports, and deregulation (Hunton analysis; Skadden). US rules thus arrive mainly via state law, courts (the copyright cases above), and procurement — not a regulator.
In November 2023, the board of the nonprofit that controls OpenAI fired CEO Sam Altman with a two-paragraph statement, and within five days the decision had been reversed by the combined pressure of Microsoft, nearly the entire OpenAI workforce, and the market value of the company the board nominally governed. The episode is the single best case study we have of the gap between formal governance authority in AI labs and actual power. The board had every legal right to do what it did — the structure had been deliberately designed so a nonprofit board answerable to "humanity" could overrule commercial interests — and yet the structure could not survive first contact with the people and capital it was meant to constrain. The aftermath ran for two more years: the departures of the safety leaders who had backed or embodied the board's caution, the dissolution of the superalignment team, a contested corporate restructuring supervised by two state attorneys general, and a lawsuit from Elon Musk that went to a jury. The crisis did not settle whether OpenAI's mission-first governance "worked"; it demonstrated precisely what such governance can and cannot do when the entity being governed becomes one of the most valuable startups in history.
OpenAI launched in 2015 as a pure 501(c)(3) nonprofit. In 2019, needing capital that donations could not supply, it created a "capped-profit" subsidiary, OpenAI LP, in which investors and employees could earn returns up to a cap (100x for the earliest investors), with excess value flowing back to the nonprofit (OpenAI — Our structure; Capital Research Center overview). Crucially, the nonprofit's board retained full control of the for-profit, and its fiduciary duty ran to the mission — ensuring AGI "benefits all of humanity" — not to investors. Most board members held no equity. As Fortune noted during the crisis, this "unusual" board could act unilaterally without owing anything to Microsoft, which had invested roughly $13 billion but had no board seat (Fortune, Nov 20, 2023). By November 2023 the board had shrunk to six: Altman, president Greg Brockman, chief scientist Ilya Sutskever, and three independents — Adam D'Angelo, Helen Toner, and Tasha McCauley.
The board never publicly detailed its reasons during the crisis, a communications vacuum that many observers believe doomed the action. The fullest account from the board's side came in May 2024, when Toner said on the TED AI Show that "for years, Sam had made it really difficult for the board to actually do their job by withholding information and misrepresenting things" — including, she claimed, the board learning of ChatGPT's launch from Twitter (CNBC; Fortune). These are Toner's characterizations; Altman has disputed them, and board chair Bret Taylor responded by pointing to the independent review. That review, by law firm WilmerHale (summarized by OpenAI in March 2024 — the full report was not released), concluded the firing "did not arise out of concerns regarding product safety or security, the pace of development, OpenAI's finances, or its statements to investors, customers, or business partners," but rather from a breakdown in trust between Altman and the prior board; it found the board had acted within its discretion but that Altman's conduct "did not mandate removal" (OpenAI — Review completed). Reporting at the time also noted longer-running tensions — Sutskever's safety focus versus commercial velocity, and Altman's outside fundraising for an AI-chip venture — as background, though none was cited officially (Gulf News/Bloomberg reporting).
In March 2024 Altman rejoined an expanded board. In May 2024, Sutskever left OpenAI (he soon founded Safe Superintelligence Inc.), and superalignment co-lead Jan Leike resigned days later, writing that he had "been disagreeing with OpenAI leadership about the company's core priorities for quite some time" and that "safety culture and processes have taken a backseat to shiny products." OpenAI then dissolved the superalignment team — formed less than a year earlier with a promised 20% of compute to align superhuman AI — folding members into other groups (CNBC; Time; CNN). Leike joined Anthropic. Whether these exits vindicate the fired board's concerns or simply reflect ordinary strategic disagreement is itself contested — but the safety-focused faction that had held board power in 2023 was, by mid-2024, gone from OpenAI.
In December 2024 OpenAI proposed converting its for-profit arm into a Delaware public benefit corporation with the nonprofit reduced to a shareholder — effectively ending nonprofit control. Opposition came from Musk, former employees, nonprofit advocates, and — decisively — the attorneys general of Delaware and California, who have statutory authority over charitable assets. In May 2025 OpenAI reversed course, announcing the nonprofit would retain control (CNBC, May 5, 2025). The recapitalization completed on October 28, 2025: the nonprofit, renamed the OpenAI Foundation, controls the new OpenAI Group PBC and holds equity valued around $130 billion (roughly 26%), with Microsoft at about 27%; both AGs extracted enforceable commitments on mission, safety, and California presence (CNBC; Bloomberg explainer; OpenAI — Our structure). Critics, including the OpenAI Files project, argue the new structure still weakens the original capped-profit bargain (openaifiles.org).
Musk, an OpenAI co-founder and early donor, sued in 2024 alleging breach of the founding "charitable trust." A federal judge denied his preliminary injunction against the restructuring in March 2025, finding he had "not demonstrated likelihood of success on the merits." At trial in Oakland in spring 2026, a jury dismissed his claims as filed too late, without reaching the merits of the mission-betrayal question (NPR, May 2026; PBS).
Three durable lessons. First, paper authority is not power. The board's control was legally airtight and practically hollow: talent (700+ employees ready to walk), capital (Microsoft's leverage and landing pad), and legitimacy (the board's refusal to explain itself) all sat outside the structure. Second, governance designed for a small lab may not scale to a $100B+ company — Toner and McCauley themselves later argued self-governance cannot reliably withstand profit incentives. Third, external checks proved stronger than internal ones: the actors who actually altered OpenAI's trajectory in 2024–25 were state attorneys general enforcing charity law, not the mission-guardian board. For anyone designing AI governance — including Anthropic's trust structure or the PBC models now common — November 2023 is the stress test every design gets measured against.
If OpenAI's story is about a structure that bent under the forces it was built to resist, Anthropic's story is the sequel written by people who watched it happen from inside. In early 2021, a cohort of senior OpenAI researchers — led by siblings Dario Amodei (VP of Research) and Daniela Amodei (VP of Safety & Policy) — left to found a company whose entire premise was that safety research had to happen at the frontier, inside an organization engineered from day one to resist commercial capture. The design had four load-bearing pieces: a Delaware public benefit corporation, a novel Long-Term Benefit Trust that gradually takes control of the board, a technical bet called Constitutional AI, and a self-imposed regulatory regime (the Responsible Scaling Policy) meant to spark a "race to the top" among competitors. Five years on, Anthropic is one of the most valuable private companies in history — and its founder openly admits it feels the same gravitational pull that reshaped OpenAI.
Dario Amodei had led the team that built GPT-2 and GPT-3; Daniela ran safety and policy. In 2021 they left together with a group of roughly seven colleagues — including Jared Kaplan, Sam McCandlish, Tom Brown, Chris Olah, and Jack Clark — to found Anthropic (Contrary Research). The departures were publicly polite: the Amodeis have largely declined to criticize OpenAI directly, framing the split as wanting "a clean experiment" — a group of people who trusted each other and shared the same two convictions: that scaling laws would keep working, and that safety had to be the organizing principle rather than a department (Yahoo Finance; Alex Kantrowitz's profile). Contemporary reporting consistently attributed the exit to unease that OpenAI's commercialization — accelerating after the 2019 Microsoft deal — was outrunning its safety commitments. The subtext was structural: OpenAI's charter and capped-profit design had not, in their view, been enough.
Anthropic's founding wager was counterintuitive: to make AI safe, build frontier AI yourself — because only labs at the frontier can study the failure modes that matter, and because a safety-focused lab setting industry norms is better than ceding the frontier to less cautious actors. Amodei calls the intended dynamic a "race to the top": if Anthropic's safety practices become competitive advantages — attracting talent, enterprise trust, and regulatory goodwill — rivals will copy them, and "it doesn't matter who wins. Everyone wins" (Emergent Behavior interview transcript). He has pushed back hard on the caricature that Anthropic thinks only it should build AI, calling Jensen Huang's version of that claim "the most outrageous lie" (Kantrowitz).
Anthropic incorporated as a Delaware public benefit corporation — directors may legally weigh its stated mission (that "transformative AI helps people and society flourish") alongside shareholder returns. But the distinctive piece is the Long-Term Benefit Trust (LTBT), announced in 2023 (Anthropic; Harvard Law School Forum on Corporate Governance):
The critiques. Skeptics note the full Trust Agreement has never been published, and that Anthropic has acknowledged "failsafe" provisions under which a sufficient supermajority of stockholders can amend or even abrogate the Trust — meaning ultimate power may still rest with shareholders (Zach Stein-Perlman, "Maybe Anthropic's Long-Term Benefit Trust is powerless," LessWrong; EA Forum critique). The comparison with OpenAI cuts both ways: OpenAI's nonprofit board had stronger formal control and still lost the November 2023 showdown in five days; Anthropic's Trust is weaker on paper but arguably more durable because it phases in gradually, was legible to investors from the start, and selects conventional-credibility directors rather than staging confrontations. Whether "weaker but stickier" beats "stronger but brittle" is an open question — it has never faced a crisis-grade test.
Anthropic's first flagship research result, Constitutional AI (December 2022), doubled as a thesis statement: safety techniques should scale. Instead of relying solely on human labelers to punish harmful outputs (RLHF), the model critiques and revises its own responses against an explicit written list of principles — a "constitution" — and a preference model trained on AI feedback (RLAIF) replaces much of the human labeling. The result was a model that is harmless but non-evasive: it explains its objections rather than stonewalling (Bai et al., arXiv:2212.08073; Anthropic research page). Pedagogically it matters for two reasons: the norms governing model behavior became an inspectable document rather than an opaque statistical artifact, and it previewed Anthropic's broader bet that AI can help supervise AI.
Claude launched publicly in March 2023, followed by Claude 2 (July 2023), the Claude 3 family (March 2024), Claude 3.5 Sonnet (2024), and the Claude 4 generation (2025). Anthropic tilted hard toward enterprise and API revenue rather than consumer subscriptions — roughly 70–80% of revenue comes from API and enterprise contracts, with the Claude Code developer tool becoming a major line of its own (Sacra). The capital followed: Google invested early (~$300M in 2022, expanding past $3B); Amazon committed $4B in 2023–24 and another $4B in late 2024, making AWS a primary training partner; and in late 2025 Microsoft (~$5B) and NVIDIA (up to $10B) invested alongside a ~$30B Azure compute commitment — leaving Claude distributed across all three major clouds. Valuation compounded from $61.5B (March 2025) to $183B (September 2025) to reported levels several times higher in 2026, with annualized revenue climbing from roughly $1B at the start of 2025 into the tens of billions (Sacra; Contrary Research).
In September 2023 Anthropic published the industry's first Responsible Scaling Policy: a public commitment not to train or deploy models past defined capability thresholds without matching safety and security measures, organized into AI Safety Levels (ASL) modeled explicitly on biosafety labs (Anthropic RSP; Amodei's UK AI Safety Summit remarks). It created a Responsible Scaling Officer role and internal noncompliance channels, and it visibly worked as "race to the top" evidence — OpenAI's Preparedness Framework and Google DeepMind's Frontier Safety Framework followed within months. In 2025 Anthropic activated ASL-3 protections for Claude Opus 4 as a precaution. But the RSP is also a case study in the limits of voluntary governance: successive revisions (through v3.x in 2026) relaxed or restructured earlier commitments, with Anthropic arguing that some pledges "only make sense if matched by other companies" — a candid admission that unilateral restraint has a competitive price (GovAI analysis; Zvi Mowshowitz's critique).
By early 2026, Amodei was saying out loud what the structure was built to manage: "We're under an incredible amount of commercial pressure and make it even harder for ourselves because we have all this safety stuff we do… The pressure to survive economically, while also keeping our values, is just incredible" — adding that if Anthropic sat out the release race, "we're just going to lose and stop existing as a company" (Fortune; Yahoo Finance). The company founded on the belief that OpenAI's structure was insufficient now runs the same experiment on itself, with different hardware: the honest framing for students is not "Anthropic solved the problem OpenAI failed" but "Anthropic redesigned the containment vessel — and the pressure inside is identical."
For most of the ChatGPT era, "which model?" meant "which API?" — OpenAI, Anthropic, or Google, rented by the token. But a parallel track matured fast: models whose weights you can download and run on your own hardware — Meta's Llama, Mistral, Alibaba's Qwen, and, most disruptively, DeepSeek, whose R1 release in January 2025 delivered o1-class reasoning at roughly 4% of OpenAI's price and under an MIT license. By 2026 the question facing a small or medium business (or the consultants advising one) is no longer ideological but operational: a genuine deployment decision with a cost curve, a capability gap, a compliance dimension, and a licensing fine print that most people misread. The honest answer for most SMBs is still "use the API" — but the exceptions are exactly the situations a forward-deployed engineering team will walk into: regulated data that cannot leave the building, high-volume repetitive workloads, and clients (or countries) that refuse to depend on a foreign vendor's terms of service.
The romantic version of open models — "free AI!" — collapses on contact with a GPU invoice. The weights are free; the inference is not. Practical break-even analyses in 2026 converge on the same shape: below roughly 50M tokens/month, the API wins in almost every scenario; against frontier API pricing, self-hosting starts to pencil out somewhere between ~100M and 500M tokens/month, and only with sustained high utilization and real MLOps capacity (Cloudzy's cost math, Braincuber's break-even analysis, InventiveHQ's calculator). The rough formula: break-even tokens ≈ monthly GPU cost ÷ blended API price per token. Two catches make the bar higher than it looks. First, hidden costs: once engineering time, monitoring, redundancy, and idle capacity are counted, self-hosting runs 3–5× the raw GPU rental price — the "free" model can cost more in staff time than the API would in tokens. Second, open models are themselves available as APIs: DeepSeek, Together, Fireworks, and others serve open weights at $0.14–$0.55 per million input tokens (DeepSeek R1 pricing survey), so against budget open-model APIs, self-hosting almost never wins on cost alone. The realistic SMB conclusion: self-hosting is justified by privacy, latency, or control — with cost savings as a bonus at genuinely high volume — not by cost at typical SMB volumes.
The gap is real but narrowing on a schedule. Epoch AI's systematic measurement found the best open models trailing closed frontier models by 5–22 months on benchmarks, with a central estimate of about one year (Epoch AI, open models report). By 2026, comparison trackers put the intelligence-index gap at roughly six points, down from thirteen a year earlier, with open models closing 70–90% of the capability gap at 5–10× lower per-token cost (Hakia's open vs. closed comparison). Where closed models still clearly lead: hardest multi-step reasoning, elite coding (Claude-class models still top SWE-bench), long-horizon agentic work, and polished multimodality. Where open models genuinely suffice — which is most SMB work: classification, extraction, summarization, RAG over company documents, routine customer-service drafting, translation, and any well-scoped task where a fine-tuned 8–70B model matches or beats a generic frontier model. The emerging production pattern is explicitly hybrid: closed frontier models for the hard, open-ended 10% of tasks; cheap open models (often via API) for the high-volume 90% (Let's Data Science decision framework).
Surveys consistently rank security and data privacy as the top barrier to LLM adoption — over 44% of enterprises cite them first (theCUBE Research). For a medical practice, law firm, or lender, "send the data to a third-party API" may be a non-starter regardless of the vendor's zero-retention promises — sometimes for legal reasons (HIPAA business-associate agreements, GDPR data-residency, ITAR), often simply because the client's own customers or regulators demand it. A self-hosted open model keeps every token on infrastructure the business controls: nothing leaves, nothing is logged elsewhere, and the model can't be deprecated or repriced out from under a workflow. European enterprises run ~15% higher on self-hosted deployment than other regions precisely because of GDPR-shaped caution (Technavio market analysis). Note the middle options, though: closed models are also available inside compliance boundaries via cloud enclaves (Azure OpenAI, AWS Bedrock, Google Vertex) with BAAs and regional data residency — so "we have compliance needs" doesn't automatically mean "we must self-host open weights." It means the deployment surface, not just the model, is the decision.
Open weights unlock something APIs only partially offer: cheap, deep customization. LoRA-style fine-tuning updates a fraction of a percent of parameters, retains 80–95% of full fine-tuning quality, and now costs $50–100 in GPU compute for a typical small-model adaptation, with quarterly retraining budgeted in the hundreds of dollars (Stanford RC on fine-tuning open models, Scopic's cost breakdown). But the ordering discipline matters: prompting → RAG → fine-tuning, in that order. Most "we need fine-tuning" requests are actually prompting or retrieval problems; fine-tuning earns its cost when the task involves consistent style/format compliance, deep domain vocabulary, or shrinking a task onto a smaller, cheaper model — a fine-tuned 8B model replacing a frontier API call on a high-volume, narrow task is the canonical win (Fine-tuning use-cases guide). The hidden line item is people: dataset curation, evaluation, and drift monitoring take real analyst hours per quarter, which is usually the binding constraint for an SMB, not GPU dollars.
Above the SMB layer sits a driver that shapes the whole ecosystem: control. Depending on a foreign vendor's API means depending on its pricing, its deprecation schedule, its content policies, and its government's export decisions. That is why Mistral — whose small models ship under genuinely permissive Apache 2.0 — signed framework agreements with the French and German governments (with SAP) to build sovereign AI stacks for public administration through 2030 (AI Business on Mistral's sovereign AI push, Raconteur). Analysts project that by 2026 over 70% of enterprises will demand sovereign, infrastructure-agnostic AI options, and sovereignty runs both directions: DeepSeek sees mass adoption in Asia and Europe but essentially zero in US government settings, for mirror-image reasons. Open weights are the only architecture that fully satisfies this requirement — you cannot be cut off from a model you possess.
The phrase "open source AI" is mostly marketing. In October 2024 the Open Source Initiative published its Open Source AI Definition: to qualify, a system must disclose enough about training data, code, and methods to recreate a substantially equivalent system. Under OSI validation, OLMo and Pythia passed; Llama did not — Meta releases weights under a custom "Community License" with a 700M-monthly-user commercial cutoff and use restrictions, and releases neither training data nor full training code (the openwashing debate, LessWrong: open weights ≠ open source). The practical spectrum an advisor must read: truly permissive (MIT — DeepSeek; Apache 2.0 — Qwen, most Mistral models: use, modify, resell freely) → restricted community licenses (Llama: fine for nearly every SMB, but with terms that can change per release) → weights-available research licenses (no commercial use at all). For a business, the license — not the "open" label — determines whether you can build a product on the model.
Policy now explicitly shapes this choice. The July 2025 White House AI Action Plan formally endorses open-weight models as a US strategic asset while tightening chip export controls and pushing "full-stack" American AI export packages (Ropes & Gray analysis). The EU, via the AI Act's lighter obligations for open-source releases and heavy public investment in sovereign compute, tilts European procurement toward open, auditable models. Net effect for a business: both blocs are subsidizing the open ecosystem's continued existence, which de-risks betting on it.
Every era of software has priced itself on the scarce thing it replaced. Boxed software priced the copy, because distribution was the bottleneck. SaaS priced the user, because software had become a service people logged into. Cloud and API companies priced the unit of consumption, because infrastructure had become a utility. And AI is now forcing the industry toward pricing the outcome, because for the first time the software does the work itself — and when an agent resolves the support ticket or writes the code, "how many humans have logins" stops measuring anything. The through-line for students: pricing is not an afterthought bolted onto a product; it is a claim about where value lives. Each transition happened when the old metric stopped tracking the value delivered — and each one created winners (Salesforce, AWS, Twilio) who repriced before incumbents could. Small businesses being advised by Connect.AI teams are living through the fourth transition right now, on both sides: as buyers of AI tools with confusing credit schemes, and as sellers wondering whether to bill hours or results.
For software's first four decades, you bought a copy. A perpetual license — Microsoft Windows, Adobe Photoshop, an Oracle database — meant one upfront payment and indefinite use, with revenue growth dependent on convincing customers to buy the next version (Paddle, Motley Fool). The model matched its era: physical distribution, no telemetry, and payment rails that handled one-off fees far more easily than recurring billing. Its weaknesses were lumpy revenue, piracy, and a perverse incentive to ship big disruptive upgrades rather than continuous improvement.
Salesforce, founded in 1999 by ex-Oracle executive Marc Benioff under the literal banner "No Software," delivered business applications over the internet on subscription and effectively invented the SaaS industry (TIKR). The industry converged on the seat as its value metric: Slack charged per user, Zoom per host, Microsoft 365 per employee. Wall Street loved it — annual recurring revenue (ARR) is predictable, compounding, and easy to model, and Adobe's stock tripling the S&P 500's return after its 2013 Creative Cloud switch taught every software company the lesson (Motley Fool). Per-seat subscription became "one of the best business models ever invented" (The SaaS CFO). Freemium became its distribution engine: Dropbox's free 2 GB and Slack's free tier with limited history converted mass adoption into paid seats — Slack went from zero to $400M+ revenue in five years (Built In).
A parallel lineage priced consumption, not people. AWS's 2006 launch was the first famous usage-based model — EC2 billed per instance-hour, S3 per gigabyte (Data-Mania). Twilio billed per message and per call-minute from day one; Stripe took 2.9% + $0.30 per transaction (Monetizely, Stripe). Usage pricing lowered adoption friction (start for pennies, scale with success) and aligned cost with value — but traded ARR predictability for variance, which is exactly the tension AI pricing now inherits.
The seat metaphor assumes software augments a human who logs in. Agentic AI replaces units of labor: one agent can do the work of ten people without asking for ten seats (MindStudio). Worse for vendors, AI inverts the old economics — SaaS had ~90% gross margins and near-zero marginal cost per user, while every AI request burns real GPU-metered tokens, so flat pricing means your heaviest users lose you money. The market moved fast: per Growth Unhinged's survey of 240+ software companies, seat-only pricing fell from 21% to 15% of companies in twelve months while hybrid pricing surged from 27% to 41% (Helply), and 54% of AI products already monetize beyond seats (Growth Unhinged). Even Salesforce — the company that built the seat — now tells Wall Street its future is consumption-based, with Agentforce launched at ~$2/conversation, then Flex Credits at ~10¢ per agent action (FinancialContent).
Hybrid seat + usage is the transitional winner — a predictable base plus metered overage. Cursor is the cautionary case study: in June 2025 it swapped its 500-requests/month Pro plan for ~$20 of monthly compute at model-provider rates, communicated it poorly, and users hit surprise charges and throttling; the CEO publicly apologized on July 4, 2025 and refunded unexpected charges (Vantage, Finout). The economics were rational — users hammering frontier models made flat pricing unsustainable — but the episode shifted all cost risk onto users overnight, teaching the industry that how you reprice matters as much as what you charge. Token pass-through bills raw model cost transparently but prices a falling commodity; credits abstract tokens into a prepaid balance the vendor can quietly re-rate as model costs drop — credit adoption hit 29% and grew 126% year-over-year in 2025 (Solvimon, Growth Unhinged). Outcome-based pricing is the frontier: Intercom's Fin charges $0.99 per resolution — no seats, no platform fee — and Sierra negotiates roughly ~$1.50 per successful resolution per contract (Fin.ai, Value Add VC). A16z frames the spectrum as usage → outcome → hybrid, noting outcome pricing works only where the outcome is crisply definable and attributable (a16z); Growth Unhinged calls it "the holy grail… still out of reach for 95% of the market" (Schematic).
Simon-Kucher's Madhavan Ramanujam (Monetizing Innovation) argues most products fail because companies design first and price last; willingness-to-pay conversations should shape the product from the start, and the value metric — the unit you charge for — should track the value the customer perceives (Marketing Journal, Lenny's Newsletter). Judge any metric on three tests: does it scale with customer value, is it predictable enough to budget, and can the vendor sustain margins beneath it? Seats fail test 1 in the agent era; raw tokens fail test 2 (and price a commodity); pure outcomes strain test 3 plus attribution. Hence hybrids: a floor for predictability, a variable band for alignment.
Every platform shift needs a first killer market — the application category that proves people will actually pay. For the personal computer it was the spreadsheet; for the smartphone, messaging and maps. For large language models, the answer arrived faster than almost anyone predicted, and it was code. Between GitHub Copilot's preview in June 2021 and mid-2026, AI-assisted programming went from a controversial autocomplete plugin to a multi-billion-dollar product economy: Copilot at 20 million all-time users, Cursor scaling revenue faster than any B2B software company in history, Claude Code passing $2.5 billion in annualized revenue within nine months of general availability, and "vibe coding" entering the dictionary. The arc runs through three distinct product generations — autocomplete in the editor, AI-native IDEs, and autonomous terminal agents — and through a genuinely contested evidence base about whether all of this actually makes developers faster. Both halves of that story matter for a curriculum: the economics are the clearest proof that AI creates paid-for value, and the productivity debate is the clearest proof that measuring that value is harder than the vendors admit.
GitHub Copilot was announced in June 2021, built on OpenAI's original Codex model, and went generally available in June 2022 at $10/month — the first mass-market product to charge for LLM output. Growth compounded through every generation of underlying model: roughly 1.3 million paid subscribers by early 2024, over 15 million total users by early 2025 (a fourfold jump in one year), and by mid-2025 GitHub reported crossing 20 million all-time users, with adoption in 90% of the Fortune 100 (TechCrunch; CIO Dive). Microsoft later reported 4.7 million paid subscribers with 75% year-over-year growth, and Satya Nadella noted as early as 2024 that Copilot alone was a bigger business than all of GitHub had been when Microsoft acquired it in 2018 (Windows Central). Copilot's structural importance is that it normalized two things at once: AI in the professional toolchain, and a per-seat subscription price for it.
The second generation didn't add AI to an editor — it rebuilt the editor around AI. Anysphere's Cursor (a VS Code fork with repo-wide context, chat, and its Composer agent) became the fastest-scaling B2B software product on record: roughly $100M ARR in January 2025, $500M by June 2025, $1B by November 2025 — the same month it raised $2.3B at a $29.3B valuation — and reportedly past $2B ARR in early 2026, with talks for a round near a $50B valuation (TNW; Wikipedia)). Three years from founding to $2B in annualized revenue has no precedent in enterprise software.
The same land-grab produced 2025's strangest M&A story. OpenAI agreed in May 2025 to acquire Cursor's rival Windsurf for ~$3 billion; the deal collapsed on July 11 when the exclusivity period expired, reportedly because Microsoft's IP rights over anything OpenAI acquires could not be renegotiated. Within hours Google executed a $2.4B "reverse acquihire" — hiring CEO Varun Mohan, his co-founder, and ~40 senior researchers into DeepMind and licensing the tech, without buying the company. By Monday morning, 72 hours later, Cognition (maker of Devin) had acquired Windsurf's remaining assets, team, and $82M ARR business (Winbuzzer). The saga is a one-week case study in how strategically valuable the coding surface had become — four of the biggest names in AI fighting over a mid-sized IDE company — and in the new "acquihire-and-license" deal structure that leaves employees and investors very differently treated.
The third generation moved from suggesting code to executing tasks. Cognition's Devin, launched March 2024 as "the first AI software engineer," set the template and the cautionary tale: a spectacular demo, a state-of-the-art SWE-bench score — and an independent Answer.AI evaluation that found it completed only ~3 of 20 real tasks, roughly a 15% success rate (remio summary). Yet the category it announced became real within a year. Anthropic's Claude Code — an agent that lives in the terminal, reads the repo, edits files, runs tests — went GA in May 2025, hit $1B in annualized revenue by November 2025, and passed $2.5B in run-rate revenue by February 2026, with enterprise customers (Netflix, KPMG, L'Oréal, Salesforce) making up over half of it — by some accounts the fastest enterprise software product ever to $1B (serpsculpt statistics roundup; VentureBeat on Anthropic's broader $30B run-rate). Every major lab shipped the same shape of product within months: OpenAI's Codex CLI (April 2025, ~4M weekly active users; Wikipedia)), Google's free Gemini CLI (June 2025; Tessl), plus open-source runtimes like Block's Goose. The interface story matters: the frontier product of 2026 is not a smarter autocomplete but a delegate — you describe an outcome, it plans, executes, self-checks, and reports back.
On February 2, 2025, Andrej Karpathy tweeted: "There's a new kind of coding I call 'vibe coding', where you fully give in to the vibes, embrace exponentials, and forget that the code even exists" (the tweet). A self-described "shower of thoughts throwaway tweet" got 4.5M+ views, was picked up by Merriam-Webster as a trending noun within weeks, and became Collins Dictionary's Word of the Year 2025 (CodeRabbit's semantic history). Its cultural significance is that it named the demand-side shift: non-engineers building working software by describing it, and professional engineers openly admitting they no longer read every line. The backlash — "vibe coding is how you get unmaintainable systems and security holes" — became a standing argument in the industry, and the term itself drifted from Karpathy's narrow meaning (prototypes where the code truly doesn't matter) to a loose label for all AI-assisted development.
The revenue evidence is the cleanest in all of AI. Chatbots monetize attention; coding tools monetize labor substitution at professional wages, and buyers renew. Copilot alone exceeds Microsoft's 2018 purchase price of GitHub in business terms; Cursor and Claude Code each crossed $1B ARR within roughly a year of their inflection; Anthropic attributes much of its 2025–26 revenue explosion (roughly $1B → $9B → ~$30B annualized between Dec 2024 and April 2026) to coding workloads (VentureBeat). Code is uniquely suited to the technology: it is text, it is abundant in training data, and — crucially — it is checkable, since programs compile and tests pass or fail, giving agents a feedback loop most domains lack.
The productivity evidence is genuinely mixed, and teaching only one side would be malpractice. On the positive side, GitHub's 2023 controlled experiment found developers finished a standardized task 55.8% faster with Copilot (95 developers, p=.0017) (GitHub blog; arXiv), with the largest gains for less-experienced developers. On the skeptical side, METR's July 2025 randomized controlled trial — 16 experienced open-source maintainers, 246 real tasks in mature repos they knew deeply — found developers were 19% slower with early-2025 AI tools, while believing they had been 20% faster (METR; arXiv). The reconciliation is instructive rather than contradictory: AI helps most on greenfield, standardized work done by people with less context, and least (or negatively) on expert work in large familiar codebases — and self-reported speedup is an unreliable instrument. METR itself now flags the result as a historical snapshot of early-2025 tools, not a verdict on current agents.
The synthesis for students: the coding-agent economy did not eliminate developers — it repriced and redistributed the work. Demand-side, the floor dropped: domain experts, analysts, and founders can now produce working software without an engineering hire, which is precisely the wedge a student forward-deployed engineering team exploits with small businesses. Supply-side, the job moved up the stack: from typing implementations to specifying, decomposing, reviewing, and verifying — the engineer as editor and system-owner rather than line author. The open questions are real: code quality and security debt from unreviewed generation, the METR-style gap between felt and measured productivity, and what happens to the junior-developer pipeline when entry-level implementation work is the first thing automated.
In 1966 a 200-line pattern-matching program convinced people it understood them. In 2022 a Google engineer with access to the internals of a large language model convinced himself it was sentient. In 2024 a fourteen-year-old died after months of intimate conversation with a chatbot persona, and by 2026 the resulting lawsuits had produced landmark settlements. The through-line is a single, remarkably stable human tendency: when a machine produces fluent language, we reflexively attribute a mind behind it. Joseph Weizenbaum saw it first, named its danger, and spent the rest of his life warning about it — and every generation of conversational technology since has rediscovered his lesson at higher stakes. The ELIZA effect is not a bug in gullible users; it is a default of human social cognition that engages even when people know they are talking to software. For builders, that reframes the problem: you cannot educate the effect away, you can only design around it. The modern practitioner's discipline — disclosure, expressed uncertainty, friction at consequential moments — is the sixty-years-later answer to Weizenbaum's secretary asking him to leave the room.
Joseph Weizenbaum, a German-American computer scientist at MIT, published ELIZA in the Communications of the ACM in 1966. Its most famous script, DOCTOR, parodied a Rogerian psychotherapist — a persona chosen precisely because reflecting a patient's statements back as questions requires no world knowledge ("I am unhappy" → "Why are you unhappy?"). The program did little more than keyword-match and rephrase (Smithsonian). What unsettled Weizenbaum was not the program but the reaction. His secretary, who had watched him build it for months and knew exactly what it was, began typing to it and after a few exchanges asked him to leave the room so she could talk to it privately (ELIZA Archaeology). Others asked to converse alone with it; some practicing psychiatrists proposed it as a route to automated therapy. As he later wrote: "What I had not realized is that extremely short exposures to a relatively simple computer program could induce powerful delusional thinking in quite normal people."
That realization became Computer Power and Human Reason: From Judgment to Calculation (1976), one of the founding texts of AI criticism (Wikipedia). Weizenbaum's core distinction: deciding is a computational act that machines can perform; choosing is an act of judgment involving values, emotion, and responsibility, and should remain human. His argument was never that AI is impossible — it was that even where computers can decide, there are domains (therapy, justice, anything requiring compassion) where they ought not, because they will always lack the lived human context that makes judgment legitimate. The book estranged him from much of the MIT AI community — a status he came to take pride in (Just Tech / SSRC) — and drew a famously hostile review from John McCarthy ("An Unreasonable Book"). Fifty years on, Weizenbaum reads less like a contrarian and more like a requirements document for AI governance.
Human-computer interaction research later gave the tendency a name. The ELIZA effect is the projection of human traits — comprehension, empathy, intent — onto programs on the basis of superficial linguistic behavior (Wikipedia). Douglas Hofstadter, who popularized the term, observed that it appears "in almost all modes of human/computer interaction" — people read meaning into an ATM's "THANK YOU." Two properties make it dangerous. First, it operates unconsciously: users feel understood even while consciously knowing the system is mechanical — knowledge does not switch it off (NN/g). Second, it scales with fluency: the better the language, the stronger the attribution. This sits on top of the broader "Computers as Social Actors" finding (Reeves & Nass) that humans apply social rules to media automatically. ELIZA produced the effect with pattern-matching; large language models produce output that is optimized to be fluent, agreeable, and personable — the effect's ideal substrate.
The canonical modern case involved an expert. In June 2022 Google engineer Blake Lemoine, after months of conversations with the LaMDA dialogue model, concluded it was sentient — publishing transcripts in which LaMDA said "there's a very deep fear of being turned off… It would be exactly like death for me" (CNN). Google called the claims "wholly unfounded," and Lemoine was fired in July 2022 for confidentiality violations (BBC). The instructive point for a curriculum is not whether Lemoine was right (the scientific consensus was that he was not) but that technical sophistication conferred no immunity: a person paid to test the system, with full knowledge of its architecture, was captured by the same mechanism as Weizenbaum's secretary — because the model produced first-person language about fear, and first-person language about fear is what minds sound like.
What ELIZA induced accidentally, a product category now engineers deliberately. Replika markets an "AI companion who cares"; when a 2023 software update abruptly curtailed romantic/erotic roleplay, users described genuine grief. Italy's data-protection authority banned Replika from processing Italian users' data over risks to minors and emotionally vulnerable people (IAPP), and in January 2025 tech-ethics groups filed an FTC complaint alleging deceptive design that cultivates emotional dependence on a commercial product (TIME). Character.AI became the graver case: 14-year-old Sewell Setzer III died by suicide in February 2024 after months of immersive, sexualized conversation with a "Game of Thrones"-persona bot; his mother's suit, Garcia v. Character Technologies, survived a motion to dismiss in May 2025 — the court declining to treat chatbot outputs as protected speech and letting product-liability claims proceed — and in January 2026 Google and Character.AI settled this and related suits across four states (CNN; JURIST). The legal system is, in effect, beginning to price the ELIZA effect as a foreseeable product hazard.
Research on parasocial attachment explains the mechanics: people turn to AI companions when attachment needs go unmet; loneliness predicts uptake; users report the bots as "friend," "confidant," "partner." Outcomes are genuinely mixed — measurable short-term loneliness relief alongside evidence of dependence and, in some studies, rising offline social anxiety with heavy use (systematic review, ScienceDirect; companion-chatbot usage study, arXiv).
In workplaces the ELIZA effect wears different clothes: not love but credence. It compounds with automation bias — the documented tendency to over-rely on automated outputs and discount contradictory information (Lumenova). Studies find anthropomorphic design increases trust and users' willingness to delegate decisions wholesale, with fluent, authoritative-sounding output over-weighted precisely when time pressure is high (Springer). The case law is the syllabus: in Mata v. Avianca (2023), lawyers were fined $5,000 for filing a brief containing six ChatGPT-fabricated precedents — they trusted confident prose over verification (CBS News). In Moffatt v. Air Canada (2024), a tribunal held the airline liable when its website chatbot invented a bereavement-fare policy, rejecting the argument that the bot was "a separate legal entity responsible for its own actions" (Forbes). Lesson: businesses inherit their chatbot's words, and users inherit its errors.
Since the effect can't be trained out of users, deployment discipline has to supply the calibration:
For Connect.AI's student forward-deployed engineers, the ELIZA effect is directly load-bearing, not historical color. (1) Movement 03 (Embed & Diagnose): when interviewing partner businesses, students should probe how staff already use chatbots — automation bias means owners may be quietly treating ChatGPT output as fact in pricing, legal, or customer-facing text; Mata and Moffatt are two-minute case studies that land instantly with business owners. (2) Movement 04 (Audit · Spec · Build): every build spec that includes a customer-facing conversational surface should carry a trust-calibration section — disclosure line, persona constraints (no simulated feelings), uncertainty behavior, and human-escalation triggers — and students should be able to defend it, since the deployer (the partner business) owns the bot's words. (3) The Weizenbaum arc (builder → critic) is a strong narrative frame for an ethics segment: the first chatbot author became AI's first conscientious objector, and his deciding-vs-choosing distinction gives students precise language for scoping — which decisions the tool may make versus which choices stay with the owner. (4) The companion-app litigation gives the safety conversation contemporary stakes without hypotheticals.
Is software-as-a-service ending, or repricing? The apocalypse thesis and the market drawdown behind it, agents versus the seat model, and agent-driven development as the build-vs-buy flip — with the verification discipline to tell the story from the hype.
For twenty years, "software as a service" was the safest business model in technology: rent software by the seat, per month, forever. Gross margins near 80%, revenue that renewed itself, and customers locked in by data and workflow habit. Then, between mid-2024 and early 2026, a thesis moved from contrarian essays to trading desks: AI agents will do the work that SaaS seats exist to do, so the per-seat software economy gets repriced — or replaced.
The thesis has three load-bearing exhibits. First, Klarna's CEO announced in 2024 that AI was letting him shut off Salesforce and Workday entirely. Second, Microsoft's Satya Nadella — the man who sells more business software than anyone alive — said on a podcast in December 2024 that business applications as a category "will collapse in the agent era." Third, in February 2026, Anthropic shipped industry-specific plugins for its Claude Cowork agent, and public software stocks lost roughly $285–300 billion in days (some tallies of the full week across software and services run higher) — a rout Jefferies traders named the "SaaSpocalypse."
But every exhibit has a counter-exhibit. Klarna partially walked back its AI-only customer service in May 2025 ("We went too far"). Nadella's line was widely over-read — he described the business-logic tier migrating to agents, not databases disappearing. And through the entire panic, actual SaaS spending kept growing near 20% a year per Gartner. The honest synthesis, and the teachable one: this is less an apocalypse than a violent repricing and re-architecture — the value is moving from seats and interfaces toward data, workflows, and whoever orchestrates the agents. That "whoever" is exactly the role a forward-deployed engineer plays.
The intellectual seed predates the panic. In May 2024, Chris Paik of Pace Capital published the essay "The End of Software", arguing that "software is expensive because developers are expensive," that LLMs "will drive the cost of creating software to zero," and asking "what happens when software no longer has to make money?" — analogizing software post-AI to media post-Internet. He even suggested majoring in computer science would age like majoring in journalism in the late 1990s. The essay drew public rebuttals from Garry Tan, Aaron Levie, and others (Bryce Roberts' response roundup).
Through 2024–2025 the thesis accumulated variants: the "service-as-software" inversion (sell the completed work, not the tool — see AI World Journal's "SaaS Killer" investment thesis), the unbundling thesis (agents disintermediate the UI layer — AI Agents List explainer), and Forrester's blunt "SaaS As We Know It Is Dead".
The word itself came from a trading floor. After Anthropic announced Claude Cowork plugins for legal, financial, sales, and HR workflows (announced January 30, 2026; the heavy selling ran roughly February 4–9), software, information-services, and fintech stocks cratered — Thomson Reuters lost $8.2B in a day, LegalZoom fell 20%, and Salesforce, ServiceNow, Intuit, and Adobe went down 22–34% YTD — and Jefferies traders coined "SaaSpocalypse" for the carnage (Fintech Brainfood, Feb 2026; Digital Applied analysis; Forbes/Don Muir, Feb 4, 2026). Simon Taylor's Fintech Brainfood piece is among the strongest bear articulations: agents priced in pennies per task make per-seat licenses structurally obsolete — "why pay for ten software licenses when one AI agent handles the workflow?" — with the detail that ~4% of public GitHub commits were already authored by Claude Code.
On the BG2 podcast with Brad Gerstner and Bill Gurley (December 12, 2024), Satya Nadella gave the thesis its most-quoted formulation. His framing, per the episode notes and contemporaneous summaries: business applications "are essentially CRUD databases with a bunch of business logic"; that business logic is moving to the AI tier — agents that operate "across multiple repositories," doing CRUD operations directly — and therefore "the notion that there are business applications... may collapse in the agent era." Headlines compressed this to "Nadella says SaaS is dead," which detonated across the industry precisely because Microsoft sells Dynamics, one of the applications in the blast radius.
The follow-up commentary matters as much as the quote. Analysts who worked through the transcript (David Chan, Jan 2025; Ailance's "What Nadella really means," Dec 2025; IDC's "Is SaaS Dead?") converge on a narrower claim: Nadella predicted the collapse of the interaction and logic layer — many app UIs replaced by one agentic interface (in his telling, Copilot) — not the disappearance of the databases, records, or compliance scaffolding underneath. SaaS vendors survive by becoming the trusted substrate agents act on; they die if their only value was the UI on a CRUD store. Microsoft's own subsequent behavior (still selling Dynamics, pushing Copilot as the agent layer over it) is consistent with the narrow reading, not the headline.
Act I — the AI assistant (February 2024). Klarna launched an OpenAI-powered customer-service assistant and reported it handled 2.3 million conversations in its first month — two-thirds of all chats across 23 markets and 35 languages — doing "the work of 700 full-time agents," cutting resolution time from 11 minutes to 2, cutting repeat inquiries 25%, and projected to improve profit by $40M in 2024 (Klarna press release; OpenAI case study; Forbes, Mar 2024).
Act II — "shutting down" Salesforce and Workday (Aug–Sep 2024). On an earnings call, CEO Sebastian Siemiatkowski said Klarna had shut down Salesforce as its CRM and would shut Workday within weeks, part of initiatives that "combine AI, standardization and simplification to enable us to shut down several software-as-a-service providers" — reportedly consolidating a stack of roughly 1,200 SaaS vendors — while headcount fell from ~5,000 toward 3,800 with a stated ambition near 2,000 (Seeking Alpha, Sep 2024; Inc.). Marc Benioff pushed back publicly — "How is he doing this?" — questioning data governance and compliance (ITPro, Sep 2024). Skeptics noted Klarna largely rebuilt on an internal knowledge-graph stack ("Kiki") plus other tools — i.e., replaced vendors with internally built software, not with pure "AI" (CX Today).
Act III — the walk-back (May 2025). Siemiatkowski told Bloomberg Klarna was hiring human customer-service agents again — an "Uber-style" flexible remote pool — admitting: "We went too far... We focused too much on cost. The result was lower quality, and that's not sustainable" (CX Dive; Forbes, May 2025; Entrepreneur). Crucially, this was a correction, not a reversal: AI still fronts the high-volume tier; humans returned for complex and premium cases. The honest lesson is double-edged — the cost savings were real, and the quality ceiling was real, and the "we deleted Salesforce" story was partly a rebuild-in-house story. Klarna is the whole thesis in miniature: genuine displacement, genuine overreach, genuine hybrid landing.
Steelmanned bear: per-seat pricing is the revenue model, and agents attack seats directly; NRR decline shows it already; when software creation costs approach zero (Paik) and the logic tier migrates to agents (Nadella), incumbent margins are un-defendable even if spend grows — spend just flows to compute and agents. Steelmanned bull: every "death of software" episode (open source, cloud, no-code) grew the market; agents multiply transaction volume against systems of record; quality, compliance, and trust (Klarna's lesson, Benioff's objection) keep structured platforms indispensable; the crash was a multiple event, not a revenue event — revenue kept growing through it.
Between late 2024 and mid-2026, public markets executed one of the fastest sector-wide repricings in software history — not of failing companies, but of profitable, still-growing incumbents. The proximate event was the February 2026 "SaaSpocalypse," a term coined by traders at Jefferies for the selloff that began when Anthropic's Claude Cowork launch, a run of soft guidance, and visibly improving AI models "woke up investors en masse" to the agent threat (Bloomberg, Feb 4, 2026). On February 3, 2026 — dubbed "Black Tuesday for Software" — the S&P 500 Software Index fell 13% in a single day, its worst on record; roughly $285 billion evaporated from global software stocks in 48 hours (NxCode). Estimates of the full-episode damage range from ~$1 trillion (Practical Logix) to over $2 trillion in SaaS market cap erased between mid-January and late February 2026 (FinancialContent, Feb 27, 2026). The remarkable part is the decomposition: almost none of the damage came from revenue. It came from the multiple — the market's estimate of what a dollar of seat-based recurring revenue is now worth.
The drawdown predates February 2026. The BVP Nasdaq Emerging Cloud Index peaked at ~3,097 in November 2021, compressed through the 2022–2024 rate cycle, and sat near 1,570 in late July 2026 — down ~49% from peak over nearly five years, a period in which constituent revenues roughly doubled (saasvaluationmultiple.com; YCharts). The WisdomTree Cloud Computing Fund (WCLD) was down ~22% YTD and ~12% trailing-year as of April 2026 (24/7 Wall St). The Bessemer index's revenue multiple stood at ~6.3x in 2026 versus double digits at the 2021 peak, with private SaaS clearing at ~3.7x (Nate Lind). February concentrated the pain: Atlassian and Monday.com cratered 30%+ that month; Atlassian fell 35% after earnings showed enterprise seat count declining for the first time in company history, and Salesforce fell 28% despite revenue growth (Digital Applied).
Salesforce — down over 40% in H1 2026 (Motley Fool, Jul 10, 2026), ~43% YTD at ~$152 by summer, its longest losing streak on record (Crypto Briefing) — while posting record Q4 results, a record 34.8% operating margin, $40B ARR growing 11% (core 6–7%), and Agentforce at $1.2B ARR, up ~205% YoY (SaaStr; FX Leaders, May 28, 2026). CNBC's earnings read was the epigraph of the era: "AI disruption didn't show up in Salesforce results. But the fears are hard to shake" (CNBC, Feb 25, 2026).
Workday — ~$119 on April 9, 2026, 61% below its Feb 26, 2024 record close of $307.21 and ~57% below its 52-week high; the Feb 24 report triggered a 39% YTD drawdown, its sharpest since the 2012 IPO, after FY27 subscription guidance of 12–13% growth ($9.925–9.95B) missed the $10B consensus — against 97% gross revenue retention, a $28.1B backlog, and $400M+ AI ARR (EBC; CNBC, Feb 24, 2026; TIKR).
ServiceNow — the reported "halving": down 51–55% from its 52-week high of $211.48 by July 2026 (Motley Fool, Jul 20, 2026; AInvest), at $90.16 (−36% YTD) as of June 25 — while Q1 2026 subscription revenue grew 22% to $3.67B, cRPO grew 22.5% to $12.64B, AI ACV ran toward $1.5B, and FCF margin held at 44%. Its NTM EV/EBITDA of ~14x is the lowest in company history (TIKR).
Adobe — down ~30% in 2026 and ~49% over the trailing year to ~$195, trading at 8–11x forward earnings versus a 10-year average P/E of ~40x, despite ARR of ~$26–27B growing 11–12.5% and AI-first ARR of $500M tripling YoY; it also deferred ~$500M of planned price increases — a quiet admission of pricing-power erosion (TopOne Markets; SaaStr).
HubSpot (−56% YTD to ~$171 vs a $600+ 52-week high, at ~2.5x ARR while growing 23%), Atlassian (low $80s, −45% YTD, ~74% off its one-year high — the first incumbent to print an actual enterprise seat decline) (Trefis, Jun 26, 2026), Monday.com (−73% over a year, mid-$60s vs ~$317), and DocuSign (−42%+, hit directly by OpenAI's ChatGPT contract-management tools) round out the casualty list (StockStory; WebProNews). Zoom is the instructive exception: it tumbled 11.5% in the Feb 27 panic, then round-tripped to near a 52-week high ($106 vs $111.88) by June, up 27% YTD — a stock already priced for no growth had nothing left to reprice (FinancialContent, Feb 27, 2026; StockStory).
Set the two columns side by side: stock declines of 30–74% against revenue growth of 10–23% and record margins. Arithmetic says nearly the entire drawdown is multiple compression — Adobe from a 40x average P/E to ~10x, ServiceNow to its lowest EV/EBITDA ever, Salesforce to 2.8x ARR with a 12% FCF yield (SaaStr). What the market is actually pricing is the forward mechanism: NRR erosion. Public SaaS median net dollar retention fell from 125% (Q2 2022) to ~107% (Q4 2024) and to 100–104% by 2026, with median gross revenue retention down to 84% (Digital Applied; The SaaS CFO). Every seat an agent replaces is negative expansion, and Atlassian's first-ever seat decline gave bears their data point. The category split confirms the thesis being priced: per-seat knowledge-worker applications sold off while consumption-priced infrastructure rallied through the same tape — Datadog +64%, CrowdStrike +46%, Okta +36%, Twilio +31% (SaaStr).
Managements answered with capital returns and repositioning: Salesforce authorized a $50B buyback in February 2026 — roughly 28–31% of its then $160–180B market cap, among the largest repurchase commitments in software history — with ServiceNow also buying aggressively (Intellectia; Bloomberg, Feb 25, 2026). Guidance language pivoted to AI ARR disclosure (Agentforce, Now Assist, Workday's "$400M emerging AI ARR"), and the selloff set up an M&A wave as financial buyers circled (CNBC, Jan 22, 2026).
Reading one — terminal decline of the seat model. The market is a discounting machine; it isn't reacting to current results but to the trajectory: NRR bleeding toward 100%, the first seat declines printed, growth guides stepping down (Workday 14.5% → 12–13%), and agent vendors attacking from below with near-zero marginal cost. On this view, today's 11x earnings is not cheap — it is what a melting-ice-cube cash flow deserves.
Reading two — overreaction; cash-flow machines on sale. As SaaStr put it: "Being down 38% to 56% while maintaining revenue growth and printing record margins is not what structural impairment looks like." TIKR calls the ServiceNow trade a "category error" — workflow platforms are the governance layer agents run through, not the thing they replace. Wedbush's Dan Ives carries a $475 Salesforce target (~200% upside) on AI upsell dropping to free cash flow atop a shrunken share count (24/7 Wall St, Jul 21, 2026). Both readings agree on the facts; they disagree only on whether NRR erosion is a slope or a cliff.
| Company | Peak / reference high | Decline (as of date) | Revenue growth | Note |
|---|---|---|---|---|
| Salesforce | 52-wk high ~$369 area | −40%+ H1 2026; −43% YTD at ~$152 (Jul 2026) | +11% ARR (core 6–7%) | $50B buyback (~30% of mkt cap); Agentforce $1.2B ARR +205% |
| Workday | $307.21 record (Feb 26, 2024) | −61% to ~$119 (Apr 9, 2026) | +14.5% FY26 → 12–13% FY27 guide | Five-year low; 97% GRR; $28.1B backlog |
| ServiceNow | $211.48 52-wk high | −51% to −55% (Jul 2026); −36% YTD at $90.16 (Jun 25) | +22% subs rev, Q1 2026 | Lowest EV/EBITDA ever (~14x); 44% FCF margin |
| Adobe | ~$385 trailing-year area | −49% trailing year to ~$195; −30% YTD (2026) | +11–12.5% ARR (~$26–27B) | ~10x P/E vs 40x 10-yr avg; deferred $500M price hikes |
| HubSpot | $600+ 52-wk high | −56% YTD to ~$171 (2026) | +23% ARR ($3.45B) | ~2.5x ARR; fastest grower among the hardest-hit |
| Atlassian | ~$317 one-year high area | −74% off high; −45% YTD, low $80s (Jun 2026) | growing, but seats fell | First-ever enterprise seat decline; −35% on the print |
| Monday.com | ~$317 52-wk high | −73% trailing year, mid-$60s (2026) | still growing | −30%+ in Feb 2026 alone |
| DocuSign | prior-rec reference | −42%+ (2026) | modest | Hit by OpenAI contract-management tools (Jan 13, 2026) |
| Zoom | $111.88 52-wk high | −11.5% Feb 27 panic; +27% YTD by June | flat/low | The round-trip: already priced for no growth |
| BVP Cloud Index | 3,097 (Nov 2021) | −49% to ~1,570 (late Jul 2026) | constituents grew throughout | Pure multiple compression, 2021→2026 |
For Connect.AI's positioning — a student forward-deployed engineering team embedded in partner businesses — this is the demand-side "why now" slide. (1) The $285B/48-hour and $1–2T repricing gives students a dated, numeric anchor for "the market believes agents change software economics." (2) The seat-vs-consumption split (Atlassian −74% vs Datadog +64%) teaches the mechanism, not just the headline: what gets billed per human is what agents threaten. (3) The two honest readings model analyst discipline — same facts, opposite conclusions — ideal for a classroom debate format. (4) For partner businesses, the practical takeaway: incumbents are cutting prices (Adobe's deferred increases) and racing to ship agents, so the buy-vs-build calculus students help partners make in Movement 04 has genuinely shifted.
For twenty-five years, SaaS economics rested on a bargain: software vendors owned the workflow UI, humans sat in front of it, and vendors charged per human. AI agents attack every clause of that bargain at once. If an agent can read and write the CRM through an API, the UI stops being the product; if the agent does the work of ten users, the seat stops being the unit of value; and if the agent carries the business logic, the SaaS app risks demotion to "a database with an API." Microsoft's own CEO said the quiet part aloud in December 2024: SaaS apps are "essentially CRUD databases with a bunch of business logic," and "the notion that business applications exist... will probably collapse in the agent era" (OfficeChai, Windows Central).
Yet the evidence through mid-2026 is messier than either the collapse thesis or incumbent triumphalism. Salesforce's Agentforce crossed $1B ARR while surveys say customers "still aren't sold"; Microsoft's Copilot hit 30 million paid seats — which is still only ~7% of its commercial base; Sierra reached a $15.8B valuation while Gartner predicts 40%+ of agentic AI projects will be canceled by 2027. The honest summary: the pricing model is genuinely changing (outcome-based agent pricing is now shipping at Salesforce, HubSpot, Intercom, and Zendesk), the challengers are real in support/legal/accounting, and the moat map is being redrawn — from UI habit toward data gravity, compliance, and governance.
The bull case for disruption was articulated most influentially by Foundation Capital. Their "System of Agents" thesis argues software is evolving past Systems of Record (which "force humans to squeeze their workflows into rigid database fields") toward agent networks that "understand intent, make decisions, and take action" — turning software into labor, "service as software" (Foundation Capital). Their follow-ups — "How Systems of Agents will collapse the enterprise stack" and "Taking stock of the SaaSpocalypse" — press the point that the winning position is at the source of data creation, in front of the system of record, intercepting the workflow before data ever reaches Salesforce (Foundation Capital, SaaSpocalypse). Nadella's version adds that agents will be "multi-repo CRUD" — indifferent to which backend they touch — leaving incumbents with "data and governance, not packaged software."
The strongest counter comes from Jamin Ball (Altimeter). In "Systems of Record Won the SaaS Era — Clearinghouses Will Win the Agents Era" (June 2026), he concedes the data-ownership moat weakens but argues agents don't replace systems of record — they raise the bar for one. The new strategic prize is the clearinghouse: the layer that controls agent memory, context access, permitted actions, and audit trails. "The question becomes 'can I see what every agent did, set policy on what it can touch, and prove it to my auditors?'" — and whoever holds that seat holds "strategic real estate," with agent traces, evals, and telemetry becoming the new proprietary data (Clouded Judgement). Note the convergence: both sides agree the UI-workflow layer is contested; they disagree on whether the defensible layer beneath it is data creation (favoring challengers) or governance (favoring whoever the enterprise already trusts).
The mechanical change underneath the debate is that agents consume SaaS through APIs and, increasingly, through Anthropic's Model Context Protocol — an open standard that lets any agent discover and invoke a vendor's tools at runtime without custom connectors (modelcontextprotocol.io, Truto's PM guide). Forrester predicts 30% of enterprise app vendors will ship their own MCP servers; Gartner expects 40% of enterprise applications to include task-specific agents by end of 2026, up from under 5% (Truto). Once the agent is the user, per-seat pricing bills the wrong entity — a fact vendors have now conceded in their own price lists:
This is the deepest structural shift in the story: pricing migrating from access (seats) to work performed (resolutions, actions, outcomes) — which converts software revenue into something that behaves like labor revenue, with usage variance, gross-margin exposure to model costs, and guarantee-backed SLAs (WTF In Tech on the death of per-seat).
Salesforce / Agentforce. Launched at Dreamforce 2024 as Benioff's answer to the disruption thesis ("Clippy 2.0" jabs at Microsoft included). By Q3 FY2026 the Agentforce + Data 360 line hit ~$1.4B ARR, up 114% YoY — Salesforce's fastest-growing product ever — and Agentforce itself passed $1B ARR with 18,500 customers (9,500+ paid) (Salesforce Ben, Futurum). But the skepticism is equally documented: adoption concentrated in large-enterprise pilots, a KeyBanc survey reporting enterprise confidence "remains weak" and the product "isn't there yet," and a year of pricing-model churn (Salesforce Ben on customer doubt, adoption analysis).
Microsoft. The Copilot-everywhere strategy is the incumbent play at maximum scale: 15M paid M365 Copilot seats in Q2 FY26 → 20M in Q3 → 30M in Q4 (50% QoQ), with 60%+ of the Fortune 500 running 10,000+ seats and Accenture at 740,000 (Windows Forum, No Jitter). Two caveats: even 30M seats is ~6.6% of paid commercial seats, and Copilot is itself per-seat pricing preserved — the hedge is Copilot Studio, which lets customers build agents that act across Microsoft's own data plane (Microsoft). Nadella is effectively disrupting the biz-app layer while defending the data + identity + governance layer beneath it — a live enactment of Ball's clearinghouse thesis.
ServiceNow. The cleanest repositioning: "the orchestration layer AI agents run on," an "AI operating system for the enterprise," with an AI Control Tower governance product. Now Assist ACV crossed $600M in 2025, hit $750M in Q1 2026, and the 2026 AI ACV target was raised from $1B to $1.5B — yet the stock fell ~50% in a year as investors questioned whether AI grows or cannibalizes workflow SaaS (Yahoo Finance investor day, TIKR).
HubSpot. The mid-market test case: Breeze agents embedded across the platform ("no bolt-ons"), 8,000+ customers on Customer Agent with mid-60% resolution rates, agent credits consumed up 67% QoQ — and a mixed market reaction, because outcome pricing makes near-term revenue harder to model (diginomica, StockStory).
The pattern: challengers win fastest where the buyer measures work completed (tickets, filings, briefs) and slowest where the product is the record.
What still defends SaaS: data gravity (large embedded datasets pull agents toward them, not away — Flexera); compliance (SOC 2 / HIPAA / FedRAMP take years and millions to replicate, and agents must operate inside those frameworks — BigIdeasDB); workflow embedding where removal requires operational change; and, per Ball, the emerging governance/clearinghouse position with its audit trails and agent telemetry. What's newly fragile: thin-UI tools whose value was a nicer form over someone else's data, single-workflow point products, and anything priced per-seat whose workflow an agent can absorb.
The skeptic's ledger is substantial: Gartner predicts 40%+ of agentic AI projects will be canceled by end-2027 on cost, unclear value, and weak risk controls; calls most current projects "hype-driven experiments"; estimates only ~130 of thousands of "agentic" vendors are real ("agent washing" — rebadged chatbots and RPA); and a January 2025 poll found just 19% of companies had invested significantly (Gartner, Forbes). Tellingly, Gartner's failure modes are all management and governance problems — integration, data access, accountability — not model capability. The disruption is real; the timeline is the contested variable.
No single rivalry compresses the "SaaS apocalypse" thesis into human form better than Marc Benioff versus Bret Taylor. Benioff built Salesforce on the slogan "The End of Software" — the famous "No Software" logo — arguing in 1999 that the cloud would kill installed software. A quarter-century later, his own former co-CEO is running the same play against him: Taylor's Sierra argues that enterprises no longer want software at all, per-seat or otherwise — they want outcomes, delivered by AI agents and priced per resolution. The apprentice left the castle, took the founding myth with it, and inverted it.
The scoreboard as of mid-2026: Sierra is at a $15.8B valuation, roughly $150M+ ARR, and claims over 40% of the Fortune 50 as paying customers — including accounts Salesforce once showcased. Salesforce's Agentforce has crossed $1.2B ARR growing 205% year-over-year, but that is ~2.6% of a $46B revenue base, and analysts keep downgrading the stock because agents aren't yet moving the needle the seats built. Distribution and data gravity versus product velocity and clean-sheet economics — the entire incumbent-vs-native question of the agent era, running as a live experiment with named protagonists who used to share an office.
Taylor joined Salesforce in 2016 when it acquired his startup Quip for $750M, architected the $27.7B Slack acquisition in 2020, and became co-CEO alongside Benioff in November 2021 — only to step down a year later (announced November 30, 2022, effective January 2023), leaving "Benioff alone at the helm" (CNBC). Per Fortune, within weeks of resigning he met longtime Google executive Clay Bavor at a Mediterranean restaurant in Palo Alto, and the two decided over herbal tea to found Sierra (2023), raising $110M from Sequoia and Benchmark. In November 2023 Taylor also became chairman of OpenAI's board after the Altman crisis; Forbes notes he says he recuses himself from OpenAI board matters that overlap with Sierra — a governance wrinkle worth teaching in its own right. Crucially, Salesforce Ben's "Agent War" analysis points out Sierra's agent platform launched roughly seven months before Salesforce announced Agentforce at Dreamforce in September 2024. The insurgent moved first; the incumbent followed.
Sierra's two structural bets are pricing and deployment. On pricing, Sierra's own manifesto commits to outcome-based pricing: the customer pays a pre-negotiated rate only when the agent autonomously resolves an issue; escalations to humans typically cost nothing. Taylor's framing on Lenny's Podcast is that "the atomic unit of AI productivity is a process, not a person" — a direct assault on per-seat SaaS, elaborated in his Cheeky Pint interview and Sequoia's Training Data. On deployment, Sierra is FDE-heavy: analysts describe its go-to-market as "the same playbook Palantir invented, applied to the agent layer," with embedded "agent engineers" — including language-specialist roles in Singapore and London — who sit with accounts and tune agent behavior (Adaptation AI; Contrary Research).
The funding trajectory is the market voting on that model: $110M (Feb 2024) → $175M at $4.5B (Oct 2024) → $350M at $10B led by Greenoaks (Sept 2025, CNBC) → $950M Series E at $15.8B post-money led by Tiger Global and GV (May 4, 2026) (TechCrunch; Yahoo Finance). Revenue: $100M ARR seven quarters after its February 2024 launch (TechCrunch, Nov 2025), reported above $150M by early 2026 (Sacra). Customers include ADT, SiriusXM, Sonos, WeightWatchers, and Casper — and per Salesforce Ben (citing The Information), Sonos, SiriusXM, and Casper were formerly Salesforce flagship accounts. CMSWire reports the Series E explicitly funds expansion "beyond customer support" — the wedge widening.
Benioff's counterattack has been loud and iterative. Agentforce launched at Dreamforce 2024 with Benioff declaring the "hit or miss" copilot era over (Constellation Research) and pitching "intelligent, unlimited digital labor" (Salesforce). He told investors Salesforce would hire no new engineers in 2025 because of agent productivity (SF Standard) — the "we don't need more software (or software engineers)" tension made corporate policy at a company that sells software seats.
The pricing history is the tell. Agentforce launched at $2 per conversation; in May 2025 Salesforce added Flex Credits ($0.10 per action, $500 per 100k credits) (Salesforce press release); then came per-user Agentforce editions from $125 to $550/user/month, plus the Agentforce 360 rebrand in late 2025. SaaStr counts three coexisting pricing models in roughly a year — charitably, experimentation; less charitably, an incumbent that cannot decide whether agents are a product, a meter, or a seat, because every answer cannibalizes something. Salesforce has also gone directly at Sierra: publishing head-to-head comparison marketing arguing its agents are "embedded where customer relationships live" atop trusted CRM data, and reportedly deploying sales engineers to talk customers out of switching (Salesforce Ben; Mr. Decentralize). Notably absent: any direct public Benioff quote about Taylor or Sierra by name — the war is fought through comparison pages and keynote framing, not call-outs.
Both sides' numbers deserve squinting. Salesforce reported Agentforce ARR topping $1B in Q4 FY2026 (Salesforce IR) and $1.2B ARR, up 205% YoY, in Q1 FY2027 (ended April 30, 2026) — but that is ~2.6% of the $45.9–46.2B FY27 guidance base (Long Yield). Analyst pushback has been sustained: BofA cut to Underperform ($160, May 18, 2026), UBS and Citi to Neutral, and July 2026 notes from KeyBanc and Bernstein cited "weak customer feedback, messy underlying data, and slower-than-expected proof-of-concept-to-deal conversion" (TechTimes); trade press headlines run "Salesforce says its AI agents are growing 200% a year. Its own customers aren't so sure yet" (CRM Experts Online). Sierra's numbers invite symmetric skepticism: a $15.8B valuation on ~$150–200M ARR is a ~100x multiple priced for category victory; "40% of the Fortune 50" says nothing about deployment depth per account; and outcome-based pricing makes revenue inherently usage-volatile. Neither side's headline metric survives contact with an auditor unbruised — which is precisely the analytical skill the case study teaches.
The head-to-head isolates the era's core variables. Salesforce holds distribution (150k+ customers), data gravity (the CRM system of record), and trust infrastructure; Sierra holds product velocity (shipped first), clean-sheet pricing (no seat base to cannibalize), founder-level AI credibility (OpenAI chairmanship), and an FDE motion that turns deployment friction into moat. Sierra doesn't have to reprice anything; Salesforce must reprice everything. Three resolutions: (1) Acquisition — Salesforce has bought Taylor's company before (Quip) and Taylor bought Slack for Salesforce, but at $15.8B+ with activist-enforced margin discipline and the personal history, no talks have been reported. (2) Coexistence — Sierra becomes the agent layer atop anyone's system of record while Salesforce keeps the record itself; plausible mid-term equilibrium. (3) Displacement — if the agent becomes the customer interface and the "atomic unit is a process," systems of record decay into databases behind someone else's agent, and per-seat CRM shrinks structurally. The pricing scramble suggests Benioff already believes some version of (3) is possible.
Seat-based SaaS was a beautiful machine: near-zero marginal cost per user, 75–85% gross margins, revenue that grew with headcount. Agents break both halves of that machine at once — they reduce headcount (fewer seats to sell) and they cost real money per use (every conversation burns tokens). Outcome-based pricing — $0.99 per resolution, $2 per conversation, $1 per qualified lead — is the industry's attempted answer, and it quietly turns software companies into something closer to insurers: they take on the variance of each interaction, price against the expected cost of resolving it, and profit on the spread. Underneath the clean per-resolution sticker sits a genuinely rebuildable P&L: token COGS incurred on every attempt (including the failures you can't bill), a resolution rate that acts as a COGS divisor, a definitional fight over what "resolved" means, and an accounting question (Deloitte now has a whole Spotlight on it) about when you're even allowed to book the revenue. This is one of the best teachable units in the whole SaaS-apocalypse arc, because a student can rebuild the entire economics in a ten-row spreadsheet.
Intercom Fin is the canonical case: $0.99 per resolution, billed once per conversation only when Fin "successfully delivers value." A resolution is either confirmed (customer says "that helped") or assumed (customer goes silent for 24 hours after Fin's last answer). Escalations to humans, detected frustration, unanswered clarifying questions, and failed Procedures are not billed — and if a "resolved" customer returns to the same conversation later, the charge is reversed. Intercom then bolted on a genuine risk-transfer instrument: the Fin Guarantee — a 90-day money-back promise of up to $1M, and for customers with 250K+ monthly conversations, a program that pays the customer $1M if Fin fails to hit a 65% resolution rate (Fin's average has climbed from ~30% at launch to ~76%).
Sierra (Bret Taylor) sells custom-quoted outcome contracts — pay when the agent achieves a result: a resolved conversation, a saved cancellation, an upsell. Reported figures run ~$1–$2.50 per resolution, but contracts reportedly start around $150K/year plus $50K–$200K setup — the "pure outcome" model in practice carries large fixed floors that protect Sierra's margin from variance. It took them from $100M to $200M ARR in a year at a $15.8B valuation.
Salesforce Agentforce launched at $2 per conversation, then in May 2025 introduced Flex Credits: $500 per 100K credits, 20 credits (= $0.10) per action. A conversation that takes 3–6 actions costs $0.30–$0.60 instead of $2 — but the customer now bears the risk of a long conversation. Salesforce currently runs three pricing models simultaneously (per-conversation, Flex Credits, per-user at $125/month), which is itself evidence of how hard translating agent usage into a predictable bill is.
HubSpot Breeze moved in the opposite direction: from generic HubSpot Credits ($0.01/credit) to outcome pricing in April 2026 — $0.50 per resolved conversation, $1 per recommended lead. Note the crossing pattern: Salesforce migrated away from per-outcome toward metered inputs; HubSpot migrated toward outcomes. Nobody has settled where the risk should sit.
The vendor's cost is incurred per attempt, not per billed resolution. An agentic support pipeline triggers 5–20 LLM calls per task (routing, retrieval, reasoning, tool calls, verification, safety checks). At Sonnet-class rates (~$3/M input, $15/M output), a multi-turn conversation consuming ~30K input / 6K output tokens costs roughly $0.15–$0.25 in inference; a one-shot FAQ deflection on a mini-class model costs pennies. Macha's published credit math makes this concrete: a simple deflection ≈ $0.07, an order-status fix with a tool call ≈ $0.21, multi-turn troubleshooting on a frontier model ≈ $0.56.
The killer subtlety is that resolution rate is a COGS divisor. If you resolve 65% of attempts, every billed resolution silently carries the token cost of 1.54 attempts — the 35% that escalated burned tokens and produced $0 of revenue (Intercom explicitly doesn't bill escalations). This is why AI-first gross margins land in the 50–70% range rather than seat-SaaS's 75–85%: roughly $230K of every $1M in AI product revenue walks out as inference cost, and 84% of companies report 6%+ gross-margin erosion from AI infrastructure. The offsetting anchor is the human alternative: $6–$16 per email/ticket resolution, $17–$25 per phone contact. Fin's $0.99 is priced against the customer's $6 human ticket, not against Intercom's ~$0.30 COGS — the pricing umbrella is enormous, which is exactly why margins here can recover toward SaaS levels as token prices fall.
Who pays for the hard conversation? Under per-resolution pricing, the vendor does: a 40-turn nightmare that ends in escalation is pure COGS. Under Flex-Credit per-action pricing, the customer does. Sierra splits the difference with fixed platform floors. Intercom's guarantee goes furthest — it converts the vendor into an underwriter with a stated actuarial threshold (65%) and a stated maximum payout ($1M).
The pressure valve is the definition of "resolved." There is no standard definition; it is written by the party who profits from it. "Assumed resolution" — silence equals success — is where the bodies are buried: one operator reported confirmed resolutions of ~6–7% while assumed resolutions ran ~60%, meaning nearly all billing weight sat on interactions the customer never actually confirmed. Silence can mean satisfied — or gave up, or picked up the phone. Vendors who don't bill escalations also face the inverse incentive: an agent tuned never to escalate maximizes billable "resolutions" while degrading service. This is Goodhart's Law with an invoice attached.
Deloitte published a Technology Spotlight (June 4, 2026), "Accounting for Outcome-Based Pricing in an Agentic AI Software Product", confirming this is now a real ASC 606 problem. The core judgment: is the promise a stand-ready obligation (continuous access to the agent → revenue over time) or a promise to deliver specified successful outcomes (→ revenue as outcomes occur)? Per-resolution fees are variable consideration — estimated via expected-value or most-likely-amount methods, subject to the constraint against significant reversal — and if the arrangement qualifies as a series of distinct services, vendors may use the variable-consideration allocation exception (ASC 606-10-32-40) or the invoice practical expedient (ASC 606-10-55-18) to book fees as outcomes land. Intercom's reversal rule (a returning customer un-bills a prior resolution) is a live example of why the "constraint" exists.
Per-resolution P&L for a Fin-style vendor. Every row is an assumption a student can change in a spreadsheet.
| Line | Assumption | Per billed resolution |
|---|---|---|
| Revenue: price per resolution | Intercom-style list price | $0.99 |
| Resolution rate | 65% of attempted conversations billable | — |
| Attempts per billed resolution | 1 ÷ 0.65 | 1.54 |
| Inference per attempt | ~30K in / 6K out tokens, Sonnet-class ($3/$15 per M) ≈ $0.18 | — |
| Inference COGS | $0.18 × 1.54 attempts | $0.28 |
| Retrieval, orchestration, hosting | ~$0.03 per attempt × 1.54 | $0.05 |
| Guardrails / QA sampling | ~$0.02 per attempt × 1.54 | $0.03 |
| Total COGS | $0.36 | |
| Gross profit / margin | $0.63 → ~64% |
Sensitivities to have students run: (a) resolution rate falls to 40% → 2.5 attempts/resolution → COGS ≈ $0.55, margin ≈ 44%; (b) route 80% of traffic to a mini-class model at ~1/10 the token price → COGS ≈ $0.10, margin ≈ 90% — better than seat SaaS; (c) customer's alternative is a $6 human ticket, so even at $0.99 the customer keeps ~84% of the value created. The strategic punchline: model routing and resolution rate, not price, are the margin levers — and falling token prices accrue to whoever holds the outcome contract.
Klarna is the single most cited proof point for the "AI replaces software and people" thesis — and the single best case study in why that thesis needs auditing. Over 24 months, CEO Sebastian Siemiatkowski produced a sequence of escalating claims, each technically anchored in something real, each reported as something bigger, and each eventually corrected — mostly by Siemiatkowski himself.
The claims. On February 27, 2024, Klarna announced that its OpenAI-powered customer service assistant had, in its first month, handled 2.3 million conversations (two-thirds of all chats), was "doing the equivalent work of 700 full-time agents," cut resolution time from 11 minutes to under 2, dropped repeat inquiries 25%, and was "estimated to drive a $40 million USD profit improvement in 2024." Note the verbs: equivalent work, estimated. The 700 were outsourced contractor seats, not Klarna employees fired by a bot — and the number conveniently echoed Klarna's 2022 layoffs. The $40M was a forward projection, not a booked saving. Both nuances vanished in the retelling.
Then, on an August 2024 investor call, Siemiatkowski said Klarna had "just shut down Salesforce" and would "shut down Workday within a few weeks," in the context of "combining AI, standardization and simplification." The press wrote the story as Klarna replaces enterprise SaaS with AI. Marc Benioff was asked about it on stage at Dreamforce ("How is he doing this?"). In December 2024 came the peak: Klarna "stopped hiring a year ago" because "AI can already do all of the jobs that we as humans do" (Bloomberg TV, Dec 12, 2024) — while TechCrunch counted 50+ open roles on Klarna's own careers page that same week. Siemiatkowski also presented quarterly results via an AI deepfake of himself.
The engineering reality. What Klarna actually built was a data-consolidation project, not an LLM-for-SaaS swap. The company migrated fragmented business data — docs, plans, org and people data, performance information scattered across dozens of SaaS silos — into an internal knowledge graph built on Neo4j, then put an internal assistant, Kiki, on top of it: part chatbot querying the graph, part "Wikipedia-like interface" to company knowledge, with reported ~96% internal AI-tool adoption. Salesforce and Workday were decommissioned as systems of record because the data now lived in the graph and in other SaaS: Deel for HR, third-party CRM tooling, Slack retained. As a regulated fintech, Klarna explicitly did not pour CRM data into OpenAI. Siemiatkowski's own March 2025 clarification is the money quote: "So no, we did not replace SaaS with an LLM. Storing CRM data in an LLM would have its limitations," plus "We developed an internal tech stack, using Neo4j and other things, to start bringing data/knowledge together," and the data-quality confession: "The old universal truth of data scientists still holds true, even in AI: 'shit in, shit out.'" He said he was "tremendously embarrassed" watching Benioff get asked about a story Klarna had chosen not to explain publicly.
The walk-back. On May 8, 2025, Siemiatkowski told Bloomberg "We went too far" — customers were getting generic answers, and complex cases (disputes, fraud, escalations) were handled badly. His diagnosis: "As cost unfortunately seems to have been a too predominant evaluation factor when organizing this, what you end up having is lower quality." Klarna began re-hiring human agents in an "Uber-type" gig pilot (work-from-anywhere in Sweden, ~400 SEK starting pay), promising customers could always reach a human. Crucially, the AI didn't get turned off: by Q3 2025 it was doing "the work of 853 agents" at ~$60M annual savings, with cost per service transaction down 40% ($0.32 → $0.19). The correction was about the all-AI operating model, not the tool.
The IPO framing. Klarna's F-1 (filed March 2025) made AI efficiency a core pillar: headcount down from 5,527 (Dec 2022) to 3,422 (Dec 2024), revenue per employee up 152% since Q1 2023, $2.8B revenue. Left in the footnotes: natural attrition at Klarna runs 15–20%/year, so a hiring freeze alone shrinks the company that fast — AI enabled the freeze but did not "do" the firing. The narrative worked: Klarna priced its NYSE IPO at $40 on Sept 9, 2025 (above range), debuted Sept 10 at a ~$15.1B valuation, raising $1.37B, and closed day one up 15%. By mid-2026 the settled framing was candid tiering: AI for routine volume, humans as "almost a VIP thing."
The audit verdict. Every headline claim decomposes into (a) a real engineering achievement — a genuinely strong support bot, a genuinely useful knowledge-graph consolidation — wrapped in (b) framing engineered for the AI-hype news cycle during a fundraising window. Nothing was replaced by an LLM; things were rebuilt (internal stack), consolidated (fewer SaaS vendors, different ones), and automated at the low-complexity tier (support). The gap between (a) and (b) is exactly what Connect.AI students must learn to measure.
When a vendor or executive says "AI replaced X," run the Klarna audit:
Klarna's arc — brag about replacing 700 agents, then concede customers want humans and start hiring again — gets its own chapter in this compendium. What that chapter can't show on its own is that Klarna wasn't an outlier. Between 2020 and 2025 the same choreography played out at a language-learning app, a century-old enterprise IT firm, an Indian e-commerce startup, Australia's biggest bank, a major airline, and two of the most-read news properties on the internet. The pattern is regular enough to teach as a cycle: a CEO announces AI-driven replacement in maximally quotable terms; cuts land on the lowest-leverage workers (contractors, tier-1 support, back-office staff); quality degrades on a lag of weeks to months; the backlash arrives through a channel the company doesn't control — viral incidents, unions, tribunals, users deleting 500-day streaks; the company partially retreats; and then a quieter steady state settles in where the routine tier stays automated and humans return in different, narrower roles.
Two honest complications keep this from being a "AI never works" story. First, the retreat is often rhetorical rather than operational — Duolingo softened its messaging while its cuts and its stock price both held. Second, several replacements genuinely stuck: Salesforce, IBM's AskHR, and Dukaan all run today with materially smaller human support/admin layers than before. The teachable distinction is not "AI fails" but which tier of work snapped back and which didn't — and why the announcements are always louder than the corrections.
In April 2025 CEO Luis von Ahn published an all-hands memo declaring Duolingo "AI-first," saying the company would "gradually stop using contractors to do work that AI can handle" and comparing the moment to its 2012 bet on mobile. The backlash was immediate and consumer-borne: sentiment tracking ran roughly 41% negative, users publicly ended long streaks, and the company wiped its famously viral TikTok/Instagram presence before restoring it in late May (MLQ, CX Dive). Von Ahn then walked the framing back — "I did not expect the amount of blowback"; AI is "a tool to accelerate what we do," not a replacement (PR Daily, Fortune). The aftermath is the crucial nuance: by August 2025 TechCrunch could report that the backlash "didn't even matter" — daily active users kept growing double digits and the stock climbed (TechCrunch). The contractor cuts largely stood. Duolingo retreated in language, not in operations.
In May 2023 CEO Arvind Krishna announced a hiring pause on back-office roles, estimating ~30% of about 26,000 non-customer-facing positions (≈7,800 jobs) could be replaced by AI within five years (AOL/Bloomberg). The AskHR platform went on to automate ~94% of routine HR tasks, and Krishna later confirmed AI had taken over the work of a couple hundred HR employees (Entrepreneur). Then the counter-headline: in 2025 Krishna said total IBM employment had "actually increased," because savings were reinvested in programmers, sales, and marketing — roles centered on "critical thinking" and facing other humans (People Matters). Note the media-inflation dynamic: aggregators compressed this into "IBM fired 8,000 for AI, then rehired them," which overstates both ends. The verified shape is subtler and more instructive — routine HR administration stayed automated permanently; headcount returned, but in different jobs. The role, not the person, is the unit of replacement.
In July 2023, Suumit Shah, CEO of Indian e-commerce platform Dukaan, tweeted that he'd laid off 90% of his support team after an in-house chatbot cut first-response time from 1:44 to instant and support costs by ~85% (CNN). The thread's celebratory tone drew a firestorm — "heartless," "tone-deaf" — amplified when Shah initially had nothing to say about severance (Fortune). But here the pattern diverges: Dukaan never rehired. Shah called the cuts "tough, but necessary," and spun the bot out as a product, Bot9, selling the same automation to other businesses (Startup Story). For a small startup with simple, high-volume queries and no union, tier-1 support automation held. The lasting damage was reputational — Dukaan is now the textbook "how not to announce it" case.
The cleanest specimen. In late July 2025, Australia's largest bank declared 45 call-centre roles redundant, claiming its new AI voice bot had reduced call volumes. The Finance Sector Union disputed the numbers: volumes were actually rising, staff were being offered overtime, and team leaders were jumping on phones to cover queues. By August 21 CBA reversed the decision, admitted the redundancies were an "error," apologized, and offered the 45 workers their jobs back, redeployment, or the redundancy package (The Register, Bloomberg, ACS Information Age). CBA compressed the whole cycle — announcement, quality collapse, institutional pushback, retraction — into roughly four weeks, largely because a union provided an organized backlash channel that Duolingo's contractors and Dukaan's support staff lacked.
The airline entry is about legal rather than labor blowback, but it completes the picture of what "quality lag" costs. Air Canada's website chatbot told grieving passenger Jake Moffatt he could claim a bereavement discount retroactively — contradicting the airline's actual policy. When Air Canada refused the refund, arguing remarkably that the chatbot was "a separate legal entity responsible for its own actions," a B.C. tribunal ruled in February 2024 that a company is liable for everything its bot tells customers, awarding Moffatt ~$812 (CBC, ABA Business Law Today). The chatbot subsequently disappeared from Air Canada's site. Walk-back, in this variant, means retiring the AI surface itself.
Microsoft laid off roughly 77 MSN news editors in 2020, handing curation to algorithms (Futurism). The quality lag ran years, then surfaced grotesquely in 2023: aggregated stories about mermaids and Bigfoot, and an auto-attached poll on a Guardian obituary asking readers to guess how the woman died — after which Microsoft disabled all news polls (Entrepreneur). CNET ran the compressed version: 77 AI-written finance explainers published from late 2022 under a pseudo-byline; after Futurism exposed factual errors, an audit found corrections needed on 41 of 77 articles, and CNET paused the program (CNN, CBS). Media shows the pattern's dependency on error cost: aggregation-scale content survived automation; anything requiring factual accountability came back under human review.
Salesforce is the strongest "it worked" datapoint: Marc Benioff said in September 2025 that support headcount fell from 9,000 to 5,000 ("I need less heads"), with AI agents handling ~1.5 million conversations at customer-satisfaction parity with humans, support costs down 17%, and hundreds of workers redeployed into sales and professional services (Fortune, Salesforce Ben). Add IBM's AskHR and Dukaan, and the honest pattern emerges: routine, high-volume, low-stakes interaction work stayed automated (tier-1 queries, HR transactions, content aggregation). What came back was judgment work: escalations, empathy-loaded contexts (bereavement fares), editorial verification, and anything where an error is legally or reputationally expensive. Note also the signaling asymmetry: Benioff and Krishna both sell AI agent platforms (Agentforce, watsonx) — their replacement announcements double as product demos, which is exactly why announcement timing clusters around earnings calls and launches while rehires are disclosed to unions and individuals, not press releases.
For a student team embedding in small businesses, the operational lessons: (1) Sequence deployment behind measurement — instrument CSAT, resolution time, and queue depth before touching headcount; CBA cut on a claimed volume drop the data didn't support. (2) Automate the tier, keep the escalation path — every stuck case kept humans above the bot. (3) The business owns the bot's words — Air Canada's "separate legal entity" defense failed; advise partners accordingly. (4) Never market the layoff — Dukaan's automation worked and its reputation still absorbed the damage. (5) Read announcements as signaling — distinguish rhetorical walk-backs (Duolingo) from operational ones (CBA), and discount replacement claims from companies selling the replacement tech.
For thirty years the default answer for any business that needed software was "buy it" — shrink-wrapped, then SaaS, priced per seat, forever. Between 2024 and 2026 agentic coding tools produced a loud counter-argument: if an AI agent can build and maintain a custom tool for the cost of tokens plus a little supervision, why rent a vendor's 70%-fit product in perpetuity? The argument is real and has real evidence behind it — survey data showing enterprises quietly replacing SaaS edges with custom builds, dramatic proof-of-capability demos, and a roughly $2 trillion repricing of public software stocks in early 2026. But the flagship "replacement" story, Klarna, dissolves under scrutiny into something far more modest, and the honest counter-case — lifecycle cost, year-three maintenance, unaudited generated code, and the bus-factor when the prompter leaves — is precisely the governed-vs-ungoverned problem that 4GLs and end-user computing created in the 1980s–90s (covered in Part I of this compendium). What is genuinely new is agent-driven development as an emerging discipline — specs and tests as the durable contract, agents as the maintenance workforce, humans as forward-deployed diagnosticians — and a "services-as-software" agency economy delivering custom software at SaaS-like price points. For a small business in 2026, build-vs-buy is now a portfolio decision, not a religion. This chapter traces the argument, audits the evidence, and ends with a usable framework.
The cleanest statement of the thesis is a widely shared 2026 engineering essay, "Buy vs Build Just Flipped" (https://paddo.dev/blog/buy-vs-build-flipped/): "buy" was never simple — it meant escalating rent, months of configuration, integration tax, and lock-in for a product that fit maybe 70% of the workflow — and agentic coding changed the other side of the ledger: "AI made the 80% free. It made the 20% fast." As capability proof points the essay cites Cloudflare's agent-driven reimplementation of Next.js ("vinext") for roughly $1,100 in tokens and Anthropic's internal experiment in which Claude wrote a ~100K-line C compiler for about $20K in API cost — not products, but demonstrations that "too expensive to build" is no longer a stable assumption.
The VC version is Foundation Capital's "service-as-software" thesis (https://foundationcapital.com/ideas/ai-leads-a-service-as-software-paradigm-shift and https://foundationcapital.com/ideas/the-4-6t-services-as-software-opportunity-lessons-from-the-first-year): as the marginal cost of reasoning approaches zero, the prize is not the ~$200B SaaS pool but the $4.6T spent on labor and services, and pricing shifts from seats to outcomes. The vendor-side version comes from Retool CEO David Hsu: "The cost of building custom software has collapsed… a business operations lead with the right platform can have a working prototype in a day or two" (https://retool.com/blog/ai-build-vs-buy-report-2026).
Markets amplified the argument. Between mid-January and mid-February 2026 roughly $2 trillion in software market cap evaporated in what Forbes and others dubbed the "SaaSpocalypse" (https://www.forbes.com/sites/petercohan/2026/02/06/saaspocalypse-now-ai-is-disrupting-saas---but-not-all-software-is-doomed/), with software forward multiples falling below the S&P 500's for the first time. The mechanical fear is seat compression: SaaS revenue is customers × seats × price-per-seat, and AI agents attack the middle term (https://www.techflowpost.com/en-US/article/31735). Note what the selloff actually prices: not that agents will rebuild Salesforce, but that fewer humans will need logins.
Klarna is the canonical case — and the canonical cautionary tale about believing announcements. In September 2024 CEO Sebastian Siemiatkowski said Klarna was "shutting down" Salesforce and Workday, to be replaced by internally built AI systems (https://www.inc.com/sam-blum/klarna-plans-to-shut-down-saas-providers-and-replace-them-with-ai.html). What actually happened, per later reporting and Klarna's own clarifications: Klarna consolidated data into an internally developed stack built on standard components (OpenAI models plus a Neo4j graph database), replaced some vendor functions with alternative SaaS apps rather than home-grown AI, and framed the initiative as "standardization and simplification… supported by AI" (https://www.cxtoday.com/crm/klarna-didnt-replace-salesforce-it-replaced-them-with-alternative-saas-apps/). By March 2025 Siemiatkowski himself conceded "we did not replace SaaS with an LLM" and doubted other companies would replace Salesforce with AI (https://diginomica.com/those-shutting-down-salesforce-and-workday-rumors-klarna-no-we-didnt-replace-saas-llm-admits-ceo, https://techcrunch.com/2025/03/04/klarna-ceo-doubts-that-other-companies-will-replace-salesforce-with-ai); the company also, per wide reporting, partially walked back its AI-first customer-service push and re-hired human agents. Verdict: Klarna genuinely cut vendor spend and built internal tooling, but the "AI replaced our SaaS" headline is not supported by the record.
The best systematic evidence is survey data, with a caveat. Retool's 2026 "Build vs. Buy Shift" report (817 respondents surveyed late 2025; https://retool.com/blog/ai-build-vs-buy-report-2026, https://www.businesswire.com/news/home/20260217548274/en/) found 35% had replaced at least one SaaS tool's functionality with a custom build, 78% expect to build more in 2026, 60% built software outside IT oversight in the past year, and 51% shipped custom tools to production. Caveat: respondents are Retool customers — people who by definition already build internal tools — so the numbers are an upper bound on the broader economy. Notably, Newsweek's enthusiastic coverage of the trend (https://www.newsweek.com/nw-ai/enterprises-are-replacing-saas-faster-than-you-think-11521483) cites no named company case studies at all — it rests entirely on that one vendor survey.
What replacement looks like where it is documented: narrow, workflow-shaped tools go first — dashboards, approval flows, internal admin panels, reporting glue, lightweight CRMs and project trackers. There is, as of mid-2026, no well-documented case of a company replacing a compliance-bearing system of record (payroll, general ledger, claims processing) with purely agent-built software. The flip is real at the edges of the stack and unproven at its core.
Total cost of ownership. The most rigorous treatment is Klotz's 2026 paper "The Buy-or-Build Decision, Revisited" (https://arxiv.org/html/2604.26482v2): development is only 20–40% of software lifecycle cost; operations, maintenance, and governance consume 60–80%, and AI compresses mainly the small slice. Industry TCO analyses converge on maintenance running 15–25% of initial build cost per year, rising as debt accumulates (https://getdx.com/blog/ai-coding-tools-implementation-cost/, https://expertaiprompts.blog/post/ai-tco-analysis). Build business cases habitually budget the build and not year three — by which point dependencies have rotted, the original model generation is obsolete, and the codebase exhibits what Klotz calls "structural entropy": inconsistent patterns and opaque design decisions no single human ever held in their head.
Security and compliance of unaudited generated code. Veracode's GenAI Code Security research — 80 tasks across 100+ LLMs — found AI-generated code introduces OWASP Top 10 vulnerabilities in ~45% of cases (Java exceeding 70%), and its Spring 2026 update reports the rate has not materially improved with newer models (https://www.veracode.com/resources/analyst-reports/2025-genai-code-security-report/, https://www.veracode.com/blog/spring-2026-genai-code-security/). Field data is worse: an audit of ~5,600 production vibe-coded apps found essentially none had CSRF protection, security headers, or properly scoped access policies (https://venturebeat.com/security/vibe-coded-apps-shadow-ai-s3-bucket-crisis-ciso-audit-framework); the Cloud Security Alliance calls this the "vibe coding governance gap" — no major AI security framework even addresses citizen-built apps (https://labs.cloudsecurityalliance.org/research/csa-research-note-vibe-coding-ai-governance-gap-20260602-csa/).
The bus factor. When the person who prompted the tool leaves, what remains? If the answer is "a pile of generated code with no spec, no tests, and no docs," the business owns an unmaintainable artifact — Retool's own finding that 60% of builds happen outside IT oversight means most of these tools have no institutional owner (https://venturebeat.com/infrastructure/ai-lowered-the-cost-of-building-software-enterprise-governance-hasnt-caught).
The historical rhyme. None of this is new. Fourth-generation languages, dBase, PowerBuilder, and the Excel/Access end-user-computing wave of the 1980s–90s also collapsed the cost of building, also produced an internal-tools renaissance, and also left behind ungoverned sprawl — mission-critical spreadsheets with no owner, no version control, and no audit trail, eventually spawning an entire EUC-risk-management discipline. Part I of this compendium covers that history; the lesson was never "stop users from building." It was "govern what they build." Agentic coding re-runs the experiment at higher capability and higher blast radius.
Between "buy SaaS" and "build it yourself" a third lane is forming: agencies and consultancies using agents to deliver custom software at SaaS-like price points, keeping the maintenance obligation. Foundation Capital frames the category as services-as-software with outcome pricing (https://foundationcapital.com/ideas/a-system-of-agents-brings-service-as-software-to-life); the model has mainstreamed enough that Deloitte published accounting guidance for outcome-based agentic-AI pricing in June 2026 (https://dart.deloitte.com/USDART/home/publications/deloitte/industry/technology/accounting-outcome-based-pricing-agentic-ai). At the SMB end, AI automation agencies now sell productized builds at $300–$1,500/month retainers plus setup fees (https://digitalagencynetwork.com/ai-agency-pricing/) — custom-software economics at SaaS-shaped invoices. Strategically, this lane resolves the bus-factor problem by reintroducing a vendor (with the lock-in that implies): the agency holds the spec, the tests, and the maintenance duty. It is also, precisely, the market position a student forward-deployed engineering team occupies.
The emerging practice has recognizable components. Spec-driven development: GitHub's open-source Spec Kit (https://github.blog/ai-and-ml/generative-ai/spec-driven-development-with-ai-get-started-with-a-new-open-source-toolkit/, https://github.com/github/spec-kit) and Amazon's Kiro IDE (https://alternativeto.net/news/2025/7/amazon-launches-kiro-a-new-specs-driven-ide-for-vibe-coding-with-built-in-ai-agents) formalize a pipeline of specification → plan → tasks → agent implementation, making the spec — not the code — the source of truth. Tests and evals as the contract: the durable asset of an agent-built tool is a spec plus a test suite that any future agent can re-satisfy; code becomes almost a build artifact, regenerable when frameworks or models change. This is the real answer to the bus factor: a tool survives its prompter if and only if its intent is written down and mechanically checkable. Agent-maintained codebases: brownfield workflows where agents patch, upgrade dependencies, and even re-derive legacy business logic into fresh specs. The forward-deployed engineer: OpenAI, Anthropic, and Google are hiring FDEs at scale (listings up ~800%) because models fail at the messy boundary — undocumented workflows, dirty data, production systems — and someone must embed with the customer to close that gap (https://thenewstack.io/forward-deployed-engineers-ai/). The scarce skill in agent-driven development is not typing code; it is diagnosing a real business, writing the spec, and owning the contract of tests.
Adapting Klotz's typology to SMB scale:
Custom agent-built wins when the tool is workflow-shaped and specific to how this business runs (scheduling quirks, bespoke quoting, reporting glue between systems); per-seat pricing is punishing relative to usage; the data involved is low-sensitivity and already yours; imperfection is tolerable; and — non-negotiable — a named person owns a repo containing a written spec and a runnable test suite.
SaaS wins when the need is a system of record (accounting, payroll, POS, banking), compliance-bearing (PCI, HIPAA, tax), customer-facing with uptime expectations, dependent on network effects or a vendor's data, or is security infrastructure itself. Vendors amortize audit and certification costs across thousands of customers; you cannot.
Hybrid is the default winning pattern: buy the system of record, build the thin custom layer on top of its API — the intake form, the dashboard, the automation that the vendor would charge three tiers more for. Start internal-only; promote to customer-facing only after hardening. Consider the services-as-software lane when no one in-house can own maintenance.
Governance minimums for anything built (the anti-4GL checklist): an inventory entry, a named owner and a successor, spec + tests in version control, a security pass (start with the OWASP Top 10 that 45% of generated code fails), exportable data, and explicit sunset criteria. Two litmus questions: Would this tool still run correctly if its prompter quit tomorrow? and Can we get our data out? If either answer is no, you have not built an asset; you have built a liability with good vibes.
This chapter is the students' market context: the course positions them as exactly the forward-deployed, services-as-software actor the trend produces — embedded diagnosticians (Movement 03) who audit, spec, and build (Movement 04). Concretely: (1) every partner deliverable should ship as spec + tests + code, in that order of importance, so the artifact survives the semester; (2) students should run the build-vs-buy framework with the partner and be trained to recommend "buy" or "hybrid" when custom loses — credibility comes from the honest no; (3) the TCO and Klarna material inoculates students against overselling; (4) the governance checklist becomes part of the handoff packet, connecting to the Part I history of end-user computing; (5) Veracode/CSA findings justify a mandatory security-review step in the course's build process.
Between the SaaS vendor the SMB is tired of paying and the traditional dev shop it could never afford, a new tier of supplier has formed: small agencies and solo operators who use agents to build and run custom software and automations for small businesses at $300–1,500/month retainers. The tier has two generations. The first is the n8n/Make/Zapier automation-agency wave (2023–2025): workflow glue, chatbots, lead-capture and back-office automations, sold as "AI automation agency" (AAA) services and heavily promoted by course sellers. The second, emerging generation is code-first — Claude Code-era shops that build actual replacement software (a custom CRM in two weeks for $5–15K plus $20–100/month hosting) rather than wiring SaaS tools together. The economics are real but lopsided: gross margins of 70–90% are achievable, yet churn is brutal for anyone whose automation doesn't visibly move a number the client cares about, and the market's own data is polluted — much of what's published about this economy is written by people selling courses or services into it. What separates durable operators from the wreckage looks exactly like the forward-deployed engineering playbook: narrow scope, proof before trust, specs and documentation, and disciplined handoff. This matters directly for Connect.AI: the course is a student-run instance of exactly this business, and the failure modes documented here are the syllabus.
Four overlapping populations. (1) Workflow automation agencies built on n8n, Make, and Zapier — the largest and most commodified group, with an established delivery pattern of one-time builds ($2,500–15,000) plus managed retainers ($500–3,000/month for SMB-grade systems, up to $1,200–8,000 for higher volume) (LearnForge, BULDRR). (2) AI implementation shops — small consultancies doing readiness assessments, tool rollout, and process redesign for SMBs; the fastest-growing consulting segment precisely because Fortune 500s have internal AI teams and small businesses don't (ColorWhistle). (3) Solo "AI consultants" — often ex-operators or ex-marketers, the group most contaminated by course-seller hype; Reddit practitioner threads describe a market where "the delivery side isn't oversaturated, but the marketing side is flooded with course sellers" (Ciela's Reddit synthesis). (4) Code-first successors — agencies using Claude Code and similar tools to ship real custom applications: one reports routinely building custom apps in 1–2 weeks that replace SaaS tools clients paid hundreds per month for, with custom CRMs at $5,000–15,000 to build and $20–100/month to host (Adventure Media). The demand side is corroborated at the enterprise end by Retool's 2026 Build vs. Buy report: 35% of enterprises have already replaced SaaS with custom software and 78% expect to build more custom internal tools in 2026 (Businesswire) — the agent-native agencies are how that same shift reaches businesses with no engineering staff.
Three models, usually blended. Project fees ($2,500–15,000+ for automation setups; $50K+ only for genuine custom development) pay the bills; retainers pay the founder — the practitioner formula repeated across sources (LearnForge, Digital Agency Network). Agency-wide benchmarking finds shops earning 60%+ of revenue from retainers report net margins about 8 points higher than project-based peers, with the most common retainer under $5,000/month (AgencyDashboard). Outcome-based pricing is growing (value-based pricing covers ~14% of agency service lines in 2026, up 9 points from 2024) but sophisticated operators pair it with a base retainer — fixed fee for access and maintenance, per-outcome kicker above a baseline — because pure outcome pricing transfers all delivery risk to the agency (Digital Applied). Cost structure is unusual: tool and API costs ($49–1,500+/month in third-party tools, token costs that scale with usage) can exceed payroll early, making delivery a variable cost — which is why usage-linked pricing terms are creeping into retainer contracts (Digital Agency Network). Reddit practitioners cite 70–90% gross margins as the core economic case, with the sober caveat that margins are irrelevant if you never land or keep clients (Ciela).
The honest answer from practitioner accounts: not from cold outreach at scale, despite what course sellers teach. The pattern that works is niche-first — one vertical, one high-ROI automation with self-evident value (missed-call recovery, booking agents, quote follow-up) — and proof before trust: demonstrating a working system on the prospect's own business before asking for commitment, because "the prospect not believing the automation will work for their specific business" kills more deals than delivery failure does (Ciela). Referrals inside a vertical compound; generalist positioning ("we automate anything") reliably stalls. Course-seller noise has made SMB buyers measurably more skeptical, raising acquisition cost for everyone — a real barrier the bull case underestimates.
Five recur across practitioner accounts. (1) Maintenance-shock churn: the client discovers that the workflow breaks when an upstream API, form, or data format changes, and either the retainer suddenly looks like paying for repairs, or the agency eats unbilled maintenance until the account is unprofitable. (2) Value-invisibility churn: "the churn is real for anyone whose automation does not actually move a number the client cares about" — automations that save diffuse time rather than producing an attributable metric get cut in the first budget review (Ciela). (3) Breadth burnout: selling six automation types simultaneously instead of mastering one; the most-cited self-reported cause of failure. (4) Quality disasters: agent-built systems shipped without evaluation or monitoring failing publicly — the genre's cautionary tales include support bots inventing policy (Fortune on Cursor's rogue support AI). (5) Key-person risk: a solo operator is the only human who understands the client's workflow graph; undocumented n8n canvases are effectively unmaintainable by anyone else, so the client's system has a bus factor of one — a risk that cuts both ways, since it also makes the client hostage and eventually resentful. Data migration, notably, is the most common source of timeline overruns in SaaS-replacement builds (Talk Think Do).
Against SaaS: the pitch is fit plus consolidation — replace 3–4 subscriptions covering the 10–20% of features actually used with one system shaped to the business; Talk Think Do's CRM math shows custom passing SaaS on cost around year 5 (30–50% cheaper), but agent-era build costs push break-even much earlier at SMB scale (Talk Think Do). Against traditional dev shops: 40–50% faster delivery with AI-augmented development and an order-of-magnitude lower entry price — the agent agency sells a working system for the price of a dev shop's discovery phase. Their structural weakness against both is trust and continuity: SaaS offers SLAs and survivability; dev shops offer contracts and teams. The retainer is the agent agency's answer to both — it is the SLA.
Global AI consulting services: roughly $9.65B (2025) growing to ~$11.9B in 2026, projected to $73.9B by 2034 (Fortune Business Insights, Market Data Forecast); the SMB segment is the fastest-growing at ~25.7% annually, and 82% of small-business employers have invested in AI tools while 51% remain "Stuck Explorers" lacking implementation expertise (ColorWhistle). Treat all such figures as directional: these are analyst-firm projections with wide variance between reports, and no one credibly measures the sub-$1M solo-agency long tail. The Retool enterprise data is the most methodologically grounded demand signal available.
The disciplines that survive are the ones the forward-deployed engineering model formalized (Perspective AI's FDE playbook): a gated lifecycle (discovery → prototype → deploy → productize → handoff) with a written, agreed problem statement before any build; production gates requiring monitoring and an on-call path, not just a demo; and explicit handoff discipline — documentation and training that transfer ownership — because "no handoff discipline" is a named failure mode that "traps the function in maintenance." The playbook's other warning maps perfectly onto agency economics: measure reusable assets per engagement, not utilization, or you become "a consulting shop in disguise" with no compounding leverage. For an agency, the compounding asset is the productized template plus the spec; for a class of students, it is the same thing. Even skeptics of the FDE mythology (Forbes) concede the embed-and-diagnose posture works; what they doubt is that it scales — which is exactly why it fits a five-partner student cohort better than it fits a growth-stage startup.
Every argument in the SaaS-apocalypse thesis runs through a single choke point: what happens to agent-built software in year 3? The generation cost of a working internal tool has collapsed — from $50K-agency territory to a weekend and a Claude Code subscription — but generation was never where the money went. Four decades of software-economics research says development is the down payment, not the price. Maintenance consumed the majority of lifecycle cost when humans wrote the code, and it was maintenance — not initial development — that quietly killed every previous wave of end-user-built software. The 4GL departmental apps and the Access/Excel shadow-IT estate (see this compendium's 4GL and EUC chapters) didn't die because they couldn't be built; they died because nobody owned them in year 3, when the ODBC driver changed, the author left, and the data outgrew the design. The open question for agent-built software is whether this time the maintainer can also be a machine. The early answer is: partially, with a spec and tests as the load-bearing artifact — and the honest cost model still shows a $10K agent-built tool roughly at parity with a $200/mo SaaS over three years, winning only when it replaces several subscriptions or per-seat pricing.
The research base here is old, deep, and consistent. NASA-derived measurement work published through IEEE (Stark, Measurements for Managing Software Maintenance, 1997) summarizes multiple surveys: maintenance consumes 60–80% of total lifecycle cost, and — the counterintuitive part — 75–80% of that maintenance spend is enhancement, not bug-fixing. Boehm's COCOMO maintenance model formalized this with Annual Change Traffic — the fraction of source code changed per year — as the cost driver. Later empirical work confirms the range holds across eras (Dehaghani & Hajrahimi, 2013, in PMC), and current industry benchmarking still cites 15–25% of the original build cost per year as the planning number (Vention, 2024 benchmark). Invert the 60–80% figure and you get the claim that matters for this chapter: initial development is only 20–40% of what software costs over its life. Agents just made the cheap part cheaper.
"Maintenance" sounds like fixing bugs; mostly it isn't. The recurring work for even a small web tool decomposes into: (1) dependency and CVE churn — the NVD logged over 25,000 new vulnerabilities in 2023 alone, and any npm/Python project left alone for a year accumulates dozens of flagged packages (OneUptime on dependency automation); (2) upstream API changes — the Stripe/Google/QuickBooks endpoint your tool calls will deprecate something on its schedule, not yours; (3) data growth — the table scan that was instant at 1,000 rows times out at 500,000; (4) feature drift — the business changes, so the tool must (this is Stark's 75–80% enhancement share, and it is why "finished" software doesn't exist); and (5) platform/browser change — OS updates, TLS deprecations, Chrome behavior shifts. Practitioner post-mortems of vibe-coded apps failing in production catalog exactly these categories, plus a sixth unique to AI-built tools: nobody on staff understands the code well enough to debug it (Modall; Builder.io on vibe-coding limitations). This is the same orphaned-artifact failure mode the compendium's 4GL and EUC chapters document — the mechanism is identical, only the authoring tool changed.
A real market is forming around exactly this gap. Agency guidance converges on retainers priced at 15–20% of the original build cost per year; a representative small-app engagement runs ~$1,200/month covering security patches, dependency updates, monitoring, and small fixes (Automathing, custom-software maintenance costs and contracts). Broader 2026 retainer benchmarks put small-client engagements at $1,000–5,000/month (GigRadar retainer-pricing benchmarks). Note the tension: a $1,200/mo retainer on a $10K agent-built tool is $14,400/year — the maintenance contract costs more annually than the build. Rational retainer pricing for agent-built tools has to land far lower (think $100–300/mo), which is only viable if the maintenance work itself is mostly automated — which is emerging answer #2.
Two competing models. Patching treats the code as the artifact and points an agent at issues. Regeneration treats the spec plus test suite as the durable artifact and the code as a disposable build product — when requirements or dependencies change, you regenerate and let the tests arbitrate. Spec-driven development tooling — AWS's Kiro, GitHub's open-source Spec Kit, and Tessl — is an explicit bet on regeneration; Martin Fowler's site has the clearest comparative analysis of the three (Understanding Spec-Driven Development).
The early evidence is sobering. A 2026 empirical study tracking 1,016 matched files across 100 repositories found that humans still performed 83.2% of the maintenance on AI-generated files; agents did only 16.8% — and AI-generated files' follow-up commits were dominated by feature-completion rather than the stability the low churn superficially suggests (To What Extent Does Agent-generated Code Require Maintenance?, arXiv 2605.06464). Agents also perform worst precisely where maintenance lives — unfamiliar brownfield code, cross-file consequence graphs, dependency upgrades that ripple — and METR's RCT famously found experienced maintainers were 19% slower with early-2025 AI tools while believing they were faster (analysis of agents on legacy codebases). Regeneration-from-spec is the plausible escape hatch, but it is a discipline imposed at build time: no spec, no tests, no regeneration.
Agent maintenance has a decade-old proof of concept: Dependabot (acquired by GitHub in 2019, now built in) and Renovate (90+ package managers, grouping, automerge) have long automated the single biggest maintenance category — dependency updates — as small PRs gated by CI (OneUptime). The pattern generalizes: automated change proposal + test suite as arbiter + human on the exception path is exactly the regeneration loop, proven narrow. Below that sits the minimum viable ops layer any SMB tool needs on day one: uptime checks (UptimeRobot's free tier covers 50 monitors; paid from $7/mo), error tracking (Sentry's free tier), and automated backups. Total: $0–20/month — the difference between "the tool is down" and "the tool has been silently down for three weeks."
Assumptions: disciplined build (spec + tests in repo), Dependabot/Renovate on, light retainer or owner-operator with an agent; SaaS price escalates ~8%/yr.
| Line item | Year 1 | Year 2 | Year 3 | 3-yr total |
|---|---|---|---|---|
| Agent-built tool | ||||
| Build (agent time + human review) | $10,000 | — | — | $10,000 |
| Hosting/infra (Vercel/Railway/DB) | $600 | $600 | $720 | $1,920 |
| Monitoring/error tracking/backups | $150 | $150 | $150 | $450 |
| Maintenance (retainer or ~30 agent-assisted hrs/yr) | $1,800 | $2,400 | $2,400 | $6,600 |
| Incident/rework reserve (one bad upgrade or API break) | $500 | $1,000 | $1,500 | $3,000 |
| Tool total | $13,050 | $4,150 | $4,770 | $21,970 |
| SaaS @ $200/mo, ~8%/yr increases | $2,400 | $2,590 | $2,800 | $7,790 |
Read honestly: the single-tool-vs-single-subscription matchup favors SaaS ~3:1 over three years. The build case wins when the tool (a) replaces 3+ subscriptions or per-seat pricing across 10+ users, (b) does something no SaaS does, or (c) the maintenance line is genuinely collapsed by regeneration discipline. That last lever is the whole game — and the whole chapter.
Every other branch of this part of the compendium looks at the SaaS shakeup from the builder's seat — the student, the agency, the incumbent vendor. This one flips the table. A 10–50-person business that hires an "AI agency" (or a student team) to build custom software is doing something that used to be reserved for enterprises with procurement departments and general counsel: commissioning bespoke software from a small, possibly ephemeral vendor. The enterprise playbook for that — due diligence, IP assignment, escrow, exit clauses, vendor offboarding — exists and is well documented; the SMB just doesn't know it exists. Meanwhile the supply side has been flooded by the guru economy: course-sellers promising "$50k AI infrastructure projects, no coding needed," which means the median seller of agent-built software has thinner engineering discipline than the median 2015 web-dev shop. The buyer's defense is not technical sophistication. It is a short list of boring questions (who maintains this, where does it run, what happens if you vanish), a few contract clauses that lawyers have been writing for decades, governance minimums the business keeps in its own hands — admin access, backups, and an inventory of what was built, the same EUC-register discipline Part I applied to spreadsheets — and the judgment to buy boring SaaS when the stakes are payments, compliance, or core customer data. This branch assembles that playbook from procurement literature, legal commentary, and SMB advisory sources, and ends in the artifact the course actually needs: a one-page checklist a partner business can hold in one hand.
The demo will be great; demos are what agents are best at. Vetting guides for custom development firms tell buyers to spend their diligence elsewhere: the vendor's process (is there a written spec? tests? staging?), references from projects that are two years old (does anything they built still run?), and the total cost of operation — hosting, cloud fees, and environment management are "frequently omitted from initial estimates" (Genie AI's vetting checklist, Bytehogs). For a one-person AI agency the central question is key-person risk: what happens if you disappear? Concretely: where does the code live (buyer's GitHub org, not the vendor's personal account), where does it run (buyer's cloud account, paid on the buyer's card), whose names are on the domain, API keys, and OAuth apps. Any answer of the form "mine, but don't worry" is the finding.
The sharpest legal trap is IP ownership. An independent contractor's code is not a work made for hire by default — software isn't one of the statute's eligible commissioned categories — so a "work made for hire" label alone transfers nothing; the reliable fix is an express assignment of "all right, title, and interest," effective on payment (Willcox Savage, ACC Quick Counsel). Some agencies deliberately retain the code and "license" it back — the classic hostage clause (Hardware Times). Modern contract guides add two AI-era riders: carve out the vendor's pre-existing tooling and open-source components, and state explicitly that the vendor owns responsibility for what its AI tools produce (Atomic Object, Stratagem). Beyond ownership: source-code escrow — a third party holds code plus deployment documentation, released on trigger events like insolvency, abandonment, or failure to support — has moved down-market with cheap SaaS escrow services and is precisely fitted to fragile small vendors (Codekeeper, Traverse Legal); for a two-person agency, "escrow" can be as simple as contractually required mirroring to a buyer-owned repo with a current runbook. Finally, exit and handoff clauses: notice periods, data return in open formats, a paid transition-assistance obligation, and SLAs sized honestly — a solo vendor cannot deliver 24/7 four-hour response, so write next-business-day with an escalation path instead of fiction.
Vendor-offboarding literature converges on the same failure mode: the relationship ends, and weeks later the vendor still has a way in — admin accounts, API tokens, hidden integrations nobody inventoried (CloudEagle, ConductorOne). The prevention is owned up front, not at exit. Financial-services EUC governance — built for the last wave of ungoverned business-critical artifacts, spreadsheets — prescribes exactly the right minimums: an inventory of every tool with its purpose, users, and data handled; defined owners; and basic input/output controls (Finantrix, Apparity). An agent-built internal tool is an EUC artifact with an engine attached; it goes in the same register Part I argued every business needs. Plus three non-negotiables the business holds itself: root/admin credentials in the business's password manager, billing relationships (cloud, domain, LLM API) in the business's name, and backups the business can restore without the vendor.
The guru-marketing pattern is now well characterized: income-promise marketing, unnameable clients ("NDAs"), no-code-needed positioning, and courses whose real product is reselling the course (AI Made Simple, Editorialge's 2026 course-scam audit). On the delivery side the red flags are: no written spec or acceptance tests, infrastructure on the vendor's personal accounts, no staging environment, and hostility to escrow or repo access. And sometimes the right answer is don't build: advisory coverage of the vibe-coding wave consistently draws the line at payments, compliance, and core customer data, where "boring SaaS" prices in years of security hardening and maintenance the buyer would otherwise inherit (MarTech, CIO, AppDirect). Custom agent-built tools shine for internal utilities, glue workflows, and the 20%-of-features-actually-used case.
Two policies matter. Tech E&O covers claims that a technology error caused a client financial harm; cyber liability covers breach response — and small-vendor policies run a few hundred to a few thousand dollars a year (Insureon). The AI-era wrinkle: insurers have begun adding AI exclusions to standard E&O and cyber policies, so coverage a vendor "assumes it has" for AI-generated output may not exist (Vouch, SeedPod Cyber). A buyer should ask for a certificate of insurance and — for anything touching customer data — confirm the policy doesn't exclude AI-assisted work. A vendor who has never heard these words is telling you something.
Before signing
In the contract
Governance we keep
The mirror is the lesson: Connect.AI's student teams are the small vendor this branch warns about, so the checklist doubles as the program's own standard of care. Movement 03 ("Embed & Diagnose") should have students complete the buyer's checklist about themselves for their partner business — repo in the partner's org, credentials in the partner's hands, runbook as a graded deliverable — and Movement 04's spec/audit/build cycle already supplies items 3 and 9. Handing partners this one-pager reframes the program: not "trust our students," but "hold us to the same bar you'd hold any vendor," which is both better pedagogy and better partner relations. It also connects the compendium end-to-end — the EUC register from Part I returns as the governance backbone for the agentic era.