Loop designs for coding agents
Reusable, tool-agnostic blueprints for agent loops — the recurring systems that prompt your agents instead of you prompting them task by task. Stop prompting. Start designing loops.
8 loops
Daily Triage Fan-out
Wakes up each morning, finds the day's broken CI, issues, and stale PRs, drafts a fix for each in its own worktree, and has a second agent review before opening PRs
Dependency Security Monitor
Checks your dependencies against vuln databases every day and reports only what newly changed — with a draft bump PR ready
Deploy Poller
Watches a deploy you just kicked off and tells you the moment it finishes — or breaks
Doc Drift Detector
Compares the codebase to its docs on a schedule and reports where they've drifted apart — undocumented APIs, stale examples, dead links
Flaky Test Finder
Runs the suite again and again across days, records every result, and surfaces the tests that fail without any code change
Maintenance Loop
A standing janitor: finishes in-progress work, tends the open PR, and runs cleanup passes when idle
PR Babysitter
Keeps one pull request green: fixes failing CI and answers review comments until it's mergeable
Ralph Build Loop
The canonical Ralph: feed the agent one spec file over and over until the whole thing is built and the checklist is empty