Loop-engineering: 8 unattended agent loop patterns to run your repo while you sleep
JafarNajafov · x · 2026-10-06
A new "loop-engineering" approach: stop prompting and design the loop — agents discover work, do it, verify it, and save state. The repo ships 8 patterns (Daily Triage, PR Babysitter, CI Sweeper, Dependency Sweeper, Changelog Drafter, Post-Merge Cleanup, Issue Triage, Thin loop), one-command setup via npx @cobusgreyling/loop init, and works with Claude Code, Grok, Codex, and Opencode. A loop doctor command scores your "Loop Ready" level weighted by recent runs, and a staged rollout (L1 report-only → L2 assisted → L3 unattended after a week of verifier accuracy) keeps things safe. The repo openly documents failure modes like exploding token costs.
Related event: loop-engineering Repo Goes Viral with 8 Autonomous Agent Loop Patterns(2 posts)→
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29