@Huahuazo: Boris Cherny, as head of Claude Code, has long said he doesn't manually write prompts—he writes automated loop programs to drive AI work. OpenClaw's creator has similar practical experience. The community calls this Loop Engineering, upgrading prompt engineering from...

X AI KOLs Timeline Tools

Summary

Introduces the open-source project Loop Engineering, which upgrades prompt engineering into building automated loop systems, providing multiple production-grade patterns and tools, and supporting Claude Code, Codex, etc.

Boris Cherny, as the head of Claude Code, has long said that he doesn't write prompts manually—he writes automated loop programs to drive AI work. OpenClaw's creator also has similar practical insights. The community calls this Loop Engineering, upgrading prompt engineering from "writing prompts" to "building systems." This open-source project turns this approach into a directly deployable solution: automations handle scheduled triggers, worktrees provide isolated environments, skills capture project context, plugins integrate external tools via MCP, sub-agents split the workflow into generation and validation stages, and the STATE file maintains cross-session memory. Seven field-tested production-grade patterns, each with implementations for four tools including Claude Code and Codex, along with three management tools: loop-audit, loop-init, and loop-cost. https://github.com/cobusgreyling/loop-engineering...
Original Article
View Cached Full Text

Cached at: 08/14/26, 03:28 AM

Start in 5 minutes · Quickstart · Pattern picker · Contribute · ⭐ Star

If this repo changed how you run agents, a star helps others find the patterns. Docs & small PRs: we aim to review within 48 hours.

→ Interactive showcase + pattern picker · Essay · Addy Osmani

| | [loop-gate](tools/loop-gate/) | Mechanical enforcement of the path denylist + auto-merge allowlist fromgate.yaml—npx @cobusgreyling/loop-gate check –action auto-merge –paths | | [loop-sandbox](tools/loop-sandbox/) | Ephemeral git worktree isolation + patch capture —npx @cobusgreyling/loop-sandbox run – | | [loop-action](tools/loop-action/) | GitHub Composite Action for running loops in CI —uses: cobusgreyling/loop-engineering/tools/loop-action@main| | Goal Engineering (https://github.com/cobusgreyling/goal-engineering) | **Companion:** loops discover, goals finish —/goal + stack cookbook (https://github.com/cobusgreyling/goal-engineering/blob/main/docs/stack-cookbook.md) (npx @cobusgreyling/goal doctor .) | | Memory Engineering (https://github.com/cobusgreyling/memory-engineering) | **Companion:** stop re-explaining the repo — tiers, budget, Memory Ready score (node tools/memory-init/cli.js .) | | Fleet Engineering (https://github.com/cobusgreyling/fleet-engineering) | **Companion:** govern populations of agents — registry, inbox, Fleet Ready score (npx @cobusgreyling/fleet-init .) | | [Stories](stories/) | Real wins and honest failures | ### Ecosystem stack `` memory-engineering → loop-engineering → harness-foundry → outerloop → fleet-engineering (persist) (patterns) (runtime) (verdict) (population) `` | Layer | You get | Start | |-------|---------|--------| | **Memory** | Tiers, recall budget, Memory Ready score | memory-engineering (https://github.com/cobusgreyling/memory-engineering) | | **Design** (this repo) | Patterns, starters, Loop Ready score | npx @cobusgreyling/loop init .thenloop doctor .| | **Runtime** | Versioned harness, traces, evolve |npx @cobusgreyling/loop init . –with-foundryor Foundry showcase (https://github.com/cobusgreyling/harness-foundry/blob/main/docs/showcase.md) | | **Govern** | Evidence, verdict, answerability | outerloop (https://github.com/cobusgreyling/outerloop) | | **Fleet** | Registry, inbox, budgets, kill switch |npx @cobusgreyling/fleet-init .· Fleet Ready (https://github.com/cobusgreyling/fleet-engineering/blob/main/docs/fleet-ready-score.md) | **Scale beyond one loop:** when agents forget across sessions, add memory-engineering (https://github.com/cobusgreyling/memory-engineering). When you have many agents/loops on a team, add fleet-engineering (https://github.com/cobusgreyling/fleet-engineering). **Next after Loop Ready 80+:** version the loop as a harness —loop-initprints the CTA automatically;loop-auditrecommends Foundry when the score is strong but.foundry/stack.yamlis missing. ### Community & announcements | Discussion | Summary | |------------|---------| | Contributor quickstart (https://github.com/cobusgreyling/loop-engineering/discussions/123) | **Help wanted:** opengood first issues— comment *I'll take this* to get assigned · see [Help wanted](#help-wanted) | | Community update (https://github.com/cobusgreyling/loop-engineering/discussions/145) | **July 4:** 5.5k stars, traffic sources, contributor merges | | Community week (Jul 8) (https://github.com/cobusgreyling/loop-engineering/discussions/219) | loop-worktree npm, MCP quickstart, tool appendices | | npm update (Jul 16) (https://github.com/cobusgreyling/loop-engineering/discussions/294) |loop-context1.2.0 +loop-worktree` 1.1.0 — daily budget, path locks | | Maintenance (Jul 10) (https://github.com/cobusgreyling/loop-engineering/discussions/241) | Doc sync, branch prune, loop-audit 1.6.0 follow-up | | Prior release notes (https://github.com/cobusgreyling/loop-engineering/discussions/89) | v1.5.0 — loop-sync, constraints, MCP server | | Add your project (https://github.com/cobusgreyling/loop-engineering/discussions/92) | Pinned: Loop Ready badge + adopters list |

Essay · Showcase · Cobus Greyling

Static chart (CI-updated daily). Live chart needs a GitHub token — stored in your browser only.

Similar Articles

@Lonely__MH: Prompts Are Dead, Loop Engineering Has Arrived! Recently, the concept of Loop Engineering in AI programming has sparked widespread discussion in the tech community. In a recent interview, Boris Cherny, head of Claude Code, shared what's happening inside the team…

X AI KOLs Timeline

Claude Code head Boris Cherny proposes that AI programming is shifting from prompt engineering to Loop Engineering. In the future, developers' core task will be designing automated loops rather than writing prompts—a trend that could level the development playing field.

@seclink: Developers are shifting from "one-shot prompts" to "agentic loops"—where AI like Anthropic's Claude sets its own goals, uses tools to execute actions, observes results, and iterates until the task succeeds. Boris Chern, developer of Claude Code...

X AI KOLs Following

Developers are moving from one-shot prompts to an 'agentic loop' model, letting AI autonomously set goals and iteratively execute tasks using tools. Claude Code developer Boris Cherny has abandoned traditional IDEs entirely, now running hundreds of agents to monitor issues and merge PRs—even doing so from his phone.

@aronhouyu: Loop Engineering - Many people still use Claude Code, Codex, or Cursor like a chatbot: drop a prompt → wait for response → copy it out → fix bugs → drop a new prompt... cycle...

X AI KOLs Timeline

Loop Engineering is a new methodology and open-source toolkit that replaces manual prompting of AI coding agents with automated loops. It provides pre-built patterns and CLI tools for tasks like PR review, CI checks, and dependency updates, enabling developers to design systems that autonomously direct agents.

@Xudong07452910: Open source project recommendation: loop-engineering — a practical framework that gives your AI coding agent self-looping and intelligent orchestration capabilities. loop-engineering is a very popular concept right now, offering practical patterns, starters, and CLI tools to help developers design systems…

X AI KOLs Timeline

loop-engineering is an open-source framework that provides self-looping and intelligent orchestration capabilities for AI coding agents (such as Claude Code, Codex, Cursor). It includes 7 production-grade loop patterns, practical CLI tools, and a five-data-block design, helping developers transition from manual prompting to systematic automation.