Most 'agent' demos are just a for-loop with extra steps. The hard part isn't the loop, it's knowing when to STOP looping.