Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.
TypeScript agentic-aiai-agentsai-codinganthropicautomationclaudeclaude-codecodexcoding-agentsdevops-automationdevtoolsgithub-actionsgrokllmloop-engineeringmcpprompt-engineering
Loop Budget — loop-engineering (reference repo)
Dogfood file for the patterns that maintain this repository.
Daily limits
| Loop | Max runs/day | Max tokens/day | Max sub-agent spawns/run |
|---|---|---|---|
| Daily Triage | 1 | 100k | 0 (L1) |
| Validate/Audit (CI) | 96 | 500k | 0 |
| Changelog Drafter | 1 | 100k | 2 |
On budget exceed
- Pause schedulers / disable high-cadence workflows
- Append event to
loop-run-log.md - Open maintainer issue
Kill switch
- Label:
loop-pause-all - Resume only after cleared in
STATE.md
Estimate spend
npx @cobusgreyling/loop-cost --pattern daily-triage --level L1