The Agentic Loop: Three loops in a trench coat
btables
76 points
21 comments
July 14, 2026
Related Discussions
Found 5 related stories in 99.8ms across 9,716 title embeddings via pgvector HNSW
- The Human Is the Loop burnto · 44 pts · August 12, 2026 · 62% similar
- The Four Horsemen of Agentic Coding haute_cuisine · 106 pts · October 02, 2026 · 57% similar
- On Next-Gen Transformer: Loops Are Not What You Need matt_d · 22 pts · September 10, 2026 · 48% similar
- Infrastructure Patterns for Agentic Applications jacobprall · 25 pts · July 29, 2026 · 47% similar
- Software Engineering in the Agentic Era silverpiranha · 18 pts · August 23, 2026 · 47% similar
Discussion Highlights (5 comments)
philipwhiuk
Aren't the loops the wrong way round in the diagram. The tightest loop is the inference loop, then the tool loop and then human loop?
swyx
there are more than 3: https://www.latent.space/p/loopcraft
tptacek
You can always find more loops if you want to write the next version of this post. Anything that runs software is a loop of instruction execution.
cheschire
Anyone have suggestions on implementing loops with a basic $20/mo subscription to claude or gemini? Any blog posts recommended?
bicepjai
I like how you found the pattern of 3 loops. I am working on a similar blog where I had human loop outside the inference loop :) human -> llm-> tool