# Loop Engineering: The 20-Step Roadmap From Prompter to Loop Designer

- **ID:** 647
- **Kind:** thread
- **URL:** https://x.com/eng_khairallah1/status/2075862184299565100
- **Authors:** Khairallah AL-Awady
- **Venue:** X
- **Published:** 2026
- **Source:** web
- **Language:** en
- **Access:** free
- **Tags:** loop-engineering, agents, verifier, react, x
- **Topics:** agent loops, prompt engineering, coding agents
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/647

## Summary

X article popularizing “loop engineering” (named in Addy Osmani’s essay; amplified after Claude Code’s Boris Cherny described his workflow as loops). Four phases: understand the 2023–2026 prompt→orchestration→context→loop stack and ReAct reason-act-observe; specify measurable done, an external verifier, layered exits, persistent state, and a human gate on irreversible actions; pick one repetitive checkable task, run it by hand, write a contract, watch, then tighten the verifier; then open vs closed loops, harness quality, cost routing, sub-agents, cron-scripted loops, and taste-as-reward. Discord post is a later quote-tweet with a GPT-5.6 Sol vs Claude Fable 5 speed video plus FOMO copy; the substantial artifact is the July 11 article.

## Attributes

- **Purpose:** Teach a 20-step path from typing prompts to designing unattended agent loops with verifiers and termination
- **Scale:** Article tweet ~677 likes / 111 retweets / ~2.01M views; quoting tweet ~65 likes / 12 retweets / ~21k views at fetch.
- **Time period:** X article 2026-07-11. Quoting tweet 2026-07-24. Discord posted 2026-07-25.
- **Author type:** human

## Research notes

- Primary: X article (id 2075850153924186113) via fxtwitter. Discord posted https://x.com/eng_khairallah1/status/2080654171267567861 which quotes the article and attaches a Sol vs Fable 5 video; cataloged the article as the follow-through. No paper/repo. How-to article, not a hosted corpus, so no datasets_local row.

## Similar entries

- [FrontierAgent](https://papers.projxon.ai/entries/716) (code, #716)
- [LibraryDesignBench: can agents design libraries other agents can use?](https://papers.projxon.ai/entries/819) (paper, #819)
- [ProgramBench: write-a-program-from-scratch SWE-agent benchmark; Muse Spark 1.3 results](https://papers.projxon.ai/entries/830) (benchmark, #830)
- [Prime Agent: A Self-Improving RLM Harness](https://papers.projxon.ai/entries/657) (other, #657)
- [Sentry: Learning to Recover from LLM Agent Failures at Test Time](https://papers.projxon.ai/entries/1272) (paper, #1272)
- [TraceML: What Auto-Research Agents Miss in Long-Horizon ML Development](https://papers.projxon.ai/entries/827) (paper, #827)
