Original Reddit post

I see a lot of discussion around building the “Agentic Loop” - but I think that’s too simple. I’ve been building agentic features since tool calling was available in Anthropic’s API and I wanted to breakdown where the seams of an “agentic loop” really are. So I broke it down into three layers:

  1. Inference Loop
  2. Tool Loop
  3. Human Loop I used Ruby for the pseudo code examples, but the shape stays the same between languages. submitted by /u/littlebobbyt

Originally posted by u/littlebobbyt on r/ArtificialInteligence