The Great Mental Models of AI Systems 25 lectures

A lecture series  ·  Revised July 2026  ·  Infrastructure, agents, and the harness between them

The Great Mental Models of AI Systems

Every other series on this site studies a model. This one studies everything a model sits inside of: the silicon and the network fabric that trains and serves it, the loop of reasoning and tool calls that turns it into an agent, and the software scaffold — permissions, context management, evaluation — that decides whether that agent is safe and effective or neither.

Scroll slowly ↓

A frontier model and a toy demo can share the same weights and produce wildly different results — because almost none of what separates them lives in the model.
It lives in how many GPUs talk to each other and how fast; in whether the serving stack pages its memory or wastes it; in whether the agent's tools are named well enough for the model to use them correctly; in whether a permission model stops a bad action before it runs. This series is about that surrounding machinery — three layers, one underneath the next: infrastructure, agents, and the harness engineering that ties an agent to its infrastructure safely.
I

The infrastructure problem

A model is only as fast as the hardware training and serving it, and hardware has physical limits — bandwidth, memory, power. Every parallelism strategy and every serving system is a negotiation with those limits.

II

The agency problem

A language model that only predicts the next token is not yet an agent. Reasoning loops, tool calls, memory, and multi-agent coordination are what turn prediction into action — and each adds a new way for that action to go wrong.

III

The trust problem

An agent that can act is an agent that can act badly. Harness engineering — tool design, context management, permissions, sandboxing, evaluation — is the discipline of making that risk bounded and measurable instead of hoped-for.