Loop Engineering: a Workflow to Run Coding Agents for 5 Straight Hours

kmeanskaran · x · 2026-11-29

kmeanskaran advocates "loop engineering" for everyday coding: write instructions and business expectations in markdown files, attach ground-truth data for evaluation, use YAML/JSON configs as entrypoints, wrap each step in bash scripts for running and debugging, and restrict git commits, DB writes and cloud operations. Run agents until the business expectations are met — they can work 5 hours straight iteratively improving the app. Route critical permission requests to your phone via email or a remote server. You still need clean system design, strict instructions and a strong eval framework; try it on personal projects first.

Original post →

More from coding & agent

coding & agent channel →