AI engineering now has four overlapping layers: prompt, context, harness and loop
victorialslocum · x · 2026-07-23
The post argues that AI engineering has accumulated too many overlapping names: prompt engineering, context engineering, harness engineering, and loop engineering. It proposes a simple stack:
- Prompt engineering: what you say in one message.
- Context engineering: what the model sees on a turn, including retrieval and compression.
- Harness engineering: the execution environment around the agent, including tools, guardrails, verification, observability, and memory.
- Loop engineering: the control structure that keeps rerunning the harness without a human clicking “go”.
The author says the boundaries are already fuzzy and that these terms mostly describe the same underlying problem: information, tools, and orchestration. The main takeaway is that the field may need to stop inventing new layer names too quickly.
Related event: AI Agent Engineering Shifts to Layers and Loops(5 posts)→
More from coding & agent
- Alex Townsend posts 200 open problems in numerical linear algebra for humans and AI agents — IgorCarron · 2026-09-11
- Kimi K2.8 Preview rolls out: near-K3 coding performance, 1M context for all tiers — teortaxesTex · 2026-09-11
- Looking for a classifier of software engineering task shapes to pick models per task — StewartalsopIII · 2026-09-11
- Steal this idea: prompt-to-hardware where agents assemble custom devices — paraschopra · 2026-09-11
- Model Is the Least Interesting Part: A Guide to Six Core AI Architectures from RAG to Multi-Agent — goyalshaliniuk · 2026-09-11
- Non-coder builds layered memory architecture: 20k tokens tracks a year of agent conversations — matteoianni · 2026-09-11