AI Engineering#

AI engineering is not machine learning. You are not training a model — you are building a reliable system around one you did not train, cannot fully predict, and pay for by the token. This page covers the parts you touch every week, each with a mental model first and code second. Press Play on any animation to watch the idea move.

Everything on this page answers one question: how do you get dependable behaviour out of a component that is probabilistic, stateless, expensive per token, and will confidently make things up? Every technique below — prompting, structured output, retrieval, tool calling, evaluation, caching, guardrails — is one answer to one part of that question. None of them makes the model correct. They make the system correct.

16 Topics • Mental Models, Interactive Animations & Worked Questions
Unit 1

Talking to the Model#

How a single request works: what the model sees, why its output varies, and how to make answers reliable and parseable.

Unit 2

Knowledge & Tools#

Connecting the model to the outside world: tools it can call, context it can remember and knowledge it can retrieve.

Unit 3

Agents#

Letting the model act in a loop, and deciding when a fixed workflow, several agents or a human should be in charge.

Unit 4

Shipping to Production#

Proving the system works, keeping it fast and affordable, and stopping it from failing in ways that matter.