Back to Podcast Digest
Matthew Berman16m

7 INSANE loops you need to try right now

TL;DR

  • Loops remove humans from the equation: AI agents work autonomously toward goals defined by triggers (manual, scheduled, or action-based) and success criteria that are either verifiable or LLM-judged.

  • The Loop Library is free and ready to use: Berman launched a searchable collection of loops you can copy directly into tools like Codex or Claude Code using the /goal command.

  • Sub-50ms page load loop ran for 50 minutes: The agent continuously optimized every page until all loaded under the threshold, demonstrating how loops handle concrete, verifiable goals best.

  • Overnight loops keep codebases healthy: Scheduled loops can auto-update documentation, fix production errors, and refactor architecture while you sleep.

  • Two major caveats apply: Loops struggle with open-ended feature building (the AI's direction becomes unpredictable) and burn through tokens quickly, running anywhere from 10 minutes to days.

The Breakdown

Loops let AI coding agents work autonomously toward specified goals by combining a trigger with a measurable outcome, and Matthew Berman demonstrates seven production-ready examples while launching a free library of copy-paste prompts.

Was This Useful?

Share