Skip to content

Agentic Engineering

An honest, curated reference on building with agents, for engineers at every level.

Most "agentic patterns" are ordinary design patterns with a language model dropped into one slot. A few are genuinely new. The trouble is that almost nobody tells you which is which, and the field is full of confident writing by people who never shipped any of it.

This reference is an attempt to fix that. Two rules hold it together.

1. One question sorts every pattern

Who makes the structural decision: the model, or your code?

If the model decides (it calls a tool, judges its own draft and loops, sizes its own work, picks a persona), you're looking at something genuinely new. If your code decides and the model is just the worker inside the structure (a dispatch table, a retry loop, a callback), you're looking at a pattern you already know, and calling it "agentic" is marketing.

Read the litmus test →

2. Every technique is labelled by how proven it is, and cites its evidence

Plenty of minor work gets dressed up as a breakthrough, and there's no reliable way to tell what's standard from what's hype. So every technique here carries two quiet signals, in plain prose (no rings, no radar):

  • A maturity lens. One honest line: is this the accepted default, proven-but-niche, still settling, or overclaimed?

    Lens Means
    Standard the accepted default. Reach for it without much debate
    Established proven and common, with known trade-offs
    Emerging gaining traction, still settling. Adopt deliberately
    Contested overclaimed or disputed. Here's the skeptical read
  • Cited evidence. Every non-obvious claim footnotes a source: paper, primary doc, or benchmark. Where I've shipped something myself, a From production callout adds the first-hand war story on top. Research and experience both count; sources are mandatory.

How the labelling works →

The map

The whole reference on one diagram. Rounded nodes are patterns where the model makes the structural decision (the genuinely new ones). Rectangles are patterns where your code decides (engineering you already know, with a model in one slot). Hexagons are capabilities, not patterns. Every diagram in this reference keeps that convention.

flowchart TB
    F["Part I · Foundations<br>the litmus test · workflow or agent ·<br>the augmented LLM · context engineering"]

    subgraph UNIT["Part II · The Unit — one augmented LLM"]
        direction LR
        TU("2.1 Tool Use")
        SO{{"2.2 Structured Output"}}
        MCP("2.3 Skills & MCP")
    end

    subgraph COMP["Part III · Composition — arranging many of them"]
        direction LR
        PC["3.1 Prompt Chaining"]
        RT["3.2 Dispatcher"]
        FO("3.3 Fan-Out")
        EO("3.4 Evaluator-Optimizer")
        SP("3.5 Specialist Panel")
    end

    subgraph OPS["Running it for real"]
        direction LR
        C["IV · Craft of Control"]
        K["V · Knowledge & Memory"]
        IO["VI · The I/O Boundary"]
        R["VII · Reliability"]
        P["VIII · Production"]
    end

    FR("Part IX · The Frontier<br>autonomy · multi-agent · protocols · sandboxing")

    F --> UNIT
    UNIT --> COMP
    COMP --> OPS
    OPS --> FR

Start at Foundations if the field is new to you; jump straight to The Unit if you're here for the patterns.

Where to start

This is a crowd-sourced reference

The judgement here is meant to be argued with. Anyone can open a pull request: to add a pattern, contribute a use case, sharpen a lens, or correct an error. One maintainer reviews everything, and holds each contribution to the same discipline the rest of the reference follows: a maturity lens, and cited evidence. Contributing →


Patterns drawn from a production system, recast in a commerce setting so the ideas travel without the domain baggage. The shapes are real; the store is a stand-in.