The Agentic Loop: Three loops in a trench coat

btables 76 points 21 comments July 14, 2026
www.bobbytables.io · View on Hacker News

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

Semantic search powered by Rivestack pgvector
14,015 stories · 131,331 chunks indexed