Like subagents but much simpler, sequential and with more control for the user. Instead of describing the loop to the agent, just make a loop. No need to tell the agent about your control structure if you already know the control structure.
Source: [Hacker News](https://pi.dev/packages/pi-for-each)