Forget "Loop Engineering" — Agentic Engineering Is About This
"build the system that builds the system" is the mental model I want running my Hermes/automation work. The three-actors framing (engineers · agents · code) and the software-factory reframe are exactly how I want to think about designing workflows, not one-off agents.
Watch the original by IndyDevDan on YouTubeTL;DR
"Loop engineering" is a hype-y rebrand of the software development life cycle — and a misleading one (by that logic you'd also need "condition engineering," "function engineering," etc., forever). The better frame: you're building AI developer workflows inside a software factory — inputs go in, a workflow (code + agents) runs, results come out. There are three actors of value creation — engineers, agents, and code — and the whole game is placing each in the right spot at the right time. Code is the unsung hero (fast, deterministic, free), and the engineer's job shrinks to the two ends: planning/prompting and reviewing/validation. The highest-value work isn't writing prompts — it's building the system that builds the system.
Key takeaways
- "Loop engineering" is too small a word for what's happening — the loop is just one control-flow piece of a whole workflow.
- Three actors of value creation: engineers, agents, code. Agentic engineering = knowing when and where to place each.
- Code is the most reliable actor — reliability order is code > engineers > agents — and it's deterministic and costs zero tokens. Don't forget code in the AI hype.
- The atom of every workflow: engineer prompts → agent works → engineer reviews. Everything scales up from that.
- Deterministic code creates the loops: lint / format / type-check / test → pass or route back to the build agent. Wrap all validation into a single test agent — "add compute to add confidence."
- You show up only at the two ends — planning (start) and validation (end). Those are the two constraints of agentic engineering; don't add engineering effort in the middle except to build the system.
- Parallelize with isolation: worktrees (start here) → agent sandboxes (each agent its own computer) → many pipelines running plan→build→test→review→ship at once. Scale compute to scale impact.
- Then scale to the org: a ticket/Kanban system (that's just code) feeds an agentic layer (agents, prompts, skills, system prompts) — a scout agent finds context, a plan agent plans, build/test agents execute in a sandbox, CI/CD gates, engineer reviews, ship. Advanced teams even skip the human prompt because engineers work on the meta layer that compounds.
- The north star: "Build the system that builds the system."
The reframe: a software factory, not a loop
flowchart LR
P["Inputs / props<br/>(tickets, specs, requests)"] --> F["🏭 Software factory<br/>a workflow = code + agents"]
F --> R["Results / shipped work"]
"Forget loop engineering — focus your engineering time and tokens on building AI developer workflows."
The three actors of value creation
flowchart TD
subgraph ACTORS["Place each in the right spot"]
E["👤 Engineers<br/>plan + review (the two ends)"]
A["🤖 Agents<br/>do the work in the middle"]
C["⌨️ Code<br/>deterministic · free · light-speed"]
end
C -->|"most reliable"| REL["Reliability: code > engineers > agents"]
Everyone talks about agents and knows the cost of engineers, but code is the unsung hero — it runs the same way every time and has no token cost.
The workflow, scaled — engineer only at the ends
flowchart LR
PLAN["👤 Plan / prompt"] --> BUILD["🤖 Build agent"]
BUILD --> V["⌨️ lint · format · type-check · test<br/>(a Test Agent)"]
V -->|"fail → route back"| BUILD
V -->|"pass"| REVIEW["👤 Engineer review"]
REVIEW --> SHIP["🚀 Ship"]
The loops are just the pass/fail routing back to the build agent. You (the engineer) appear at planning and validation — everywhere else, add agents and code, not more of your own effort.
Scaling out: sandboxes → org pipeline
Push each agent into its own sandbox for full isolation and parallelism, then wire it to how the whole org works:
flowchart LR
T["Ticket / Kanban (just code)"] --> SCOUT["🤖 Scout agent<br/>finds code, docs, specs"]
SCOUT --> PLANA["🤖 Plan agent"]
PLANA --> BUILDA["🤖 Build agent (sandbox)"]
BUILDA --> TESTA["🤖 Test agent"]
TESTA -->|"loop until pass"| BUILDA
TESTA --> CI["⌨️ CI/CD"]
CI -->|"fail"| BUILDA
CI --> REV["👤 Engineer review"]
REV --> SHIP2["🚀 Ship"]
This is more than prompt, context, harness, or loop engineering — it's how a team moves as an organism, combining engineers, agents, and code into the most valuable stack. Whether you're a solo shop or an org, the highest-leverage thing you can do is design the workflow — build the system that builds the system.
Mitchell Miller