row_id stringlengths 8 8 | section stringclasses 21
values | section_slug stringclasses 21
values | resource_type stringclasses 9
values | marker stringclasses 9
values | title stringlengths 3 102 | url stringlengths 9 158 | url_kind stringclasses 2
values | domain stringlengths 0 26 | annotation stringlengths 25 304 | description stringlengths 25 304 | key_contribution stringlengths 25 335 | novelty stringclasses 39
values | impact stringclasses 21
values | signal stringclasses 13
values | signal_strength stringclasses 3
values | source_readme stringclasses 1
value | source_line stringlengths 3 3 | source_url stringlengths 80 80 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ale-0001 | Concept Guides | concept-guides | Template | 🧾 | Canonical Definition | DEFINITION.md | local_path | Short definition, positioning, minimal loop test, and citation note. | Short definition, positioning, minimal loop test, and citation note. | Provides a reusable project artifact: Short definition, positioning, minimal loop test, and citation note. | Repository-native artifact that makes an otherwise informal practice concrete and reusable. | Clarifies the scope, vocabulary, and boundaries of Loop Engineering so the list does not drift into generic agent material. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 177 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L177 | |
ale-0002 | Concept Guides | concept-guides | Template | 🧾 | Loop Engineering Manifesto | MANIFESTO.md | local_path | Concise statement of the concept, commitments, non-goals, and success standard. | Concise statement of the concept, commitments, non-goals, and success standard. | Provides a reusable project artifact: Concise statement of the concept, commitments, non-goals, and success standard. | Repository-native artifact that makes an otherwise informal practice concrete and reusable. | Clarifies the scope, vocabulary, and boundaries of Loop Engineering so the list does not drift into generic agent material. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 178 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L178 | |
ale-0003 | Concept Guides | concept-guides | Template | 🧾 | Loop Engineering Taxonomy | TAXONOMY.md | local_path | Classification by trigger, intake, verification, state model, topology, and operating domain. | Classification by trigger, intake, verification, state model, topology, and operating domain. | Provides a reusable project artifact: Classification by trigger, intake, verification, state model, topology, and operating domain. | Repository-native artifact that makes an otherwise informal practice concrete and reusable. | Clarifies the scope, vocabulary, and boundaries of Loop Engineering so the list does not drift into generic agent material. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 179 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L179 | |
ale-0004 | Concept Guides | concept-guides | Critique | ⚠️ | Loop Engineering Anti-Patterns | ANTI-PATTERNS.md | local_path | Common failure modes such as prompt loops with no contract, infinite retries, model self-approval, hidden state, and unsafe autonomy. | Common failure modes such as prompt loops with no contract, infinite retries, model self-approval, hidden state, and unsafe autonomy. | Names a risk or boundary condition: Common failure modes such as prompt loops with no contract, infinite retries, model self-approval, hidden state, and unsafe autonomy. | Repository-native artifact that makes an otherwise informal practice concrete and reusable. | Clarifies the scope, vocabulary, and boundaries of Loop Engineering so the list does not drift into generic agent material. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 180 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L180 | |
ale-0005 | Concept Guides | concept-guides | Template | 🧾 | Comparison Guide | COMPARISON.md | local_path | Distinguishes Loop Engineering from prompt engineering, context engineering, harness engineering, workflow automation, agent workflows, and evaluation loops. | Distinguishes Loop Engineering from prompt engineering, context engineering, harness engineering, workflow automation, agent workflows, and evaluation loops. | Provides a reusable project artifact: Distinguishes Loop Engineering from prompt engineering, context engineering, harness engineering, workflow automation, agent workflows, and evaluation loops. | Repository-native artifact that makes an otherwise informal practice concrete and reusable. | Clarifies the scope, vocabulary, and boundaries of Loop Engineering so the list does not drift into generic agent material. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 181 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L181 | |
ale-0006 | Concept Guides | concept-guides | Template | 🧾 | Sourced Signals And Quotes | QUOTES.md | local_path | Short sourced signals from linked public materials that anchor the emerging concept. | Short sourced signals from linked public materials that anchor the emerging concept. | Provides a reusable project artifact: Short sourced signals from linked public materials that anchor the emerging concept. | Repository-native artifact that makes an otherwise informal practice concrete and reusable. | Clarifies the scope, vocabulary, and boundaries of Loop Engineering so the list does not drift into generic agent material. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 182 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L182 | |
ale-0007 | Concept Guides | concept-guides | Template | 🧾 | Outreach Kit | meta/OUTREACH.md | local_path | Conservative messages for inviting corrections, sources, and real-world loop patterns. | Conservative messages for inviting corrections, sources, and real-world loop patterns. | Provides a reusable project artifact: Conservative messages for inviting corrections, sources, and real-world loop patterns. | Repository-native artifact that makes an otherwise informal practice concrete and reusable. | Clarifies the scope, vocabulary, and boundaries of Loop Engineering so the list does not drift into generic agent material. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 183 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L183 | |
ale-0008 | Start Here | start-here | Blog | 📝 | Loop Engineering | https://addyosmani.com/blog/loop-engineering/ | external | addyosmani.com | Addy Osmani's framing of loop engineering as the layer above manually prompting coding agents, with concrete primitives across Codex and Claude Code. | Addy Osmani's framing of loop engineering as the layer above manually prompting coding agents, with concrete primitives across Codex and Claude Code. | Addy Osmani's framing of loop engineering as the layer above manually prompting coding agents, with concrete primitives across Codex and Claude Code. | Captures the early community framing of Loop Engineering as repeated agent delegation rather than prompt craft. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 223 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L223 |
ale-0009 | Start Here | start-here | Blog | 📝 | Loop Engineering | https://addyo.substack.com/p/loop-engineering | external | addyo.substack.com | Substack version of the same essay; useful for the original discussion trail and quotations from Peter Steinberger and Boris Cherny. | Substack version of the same essay; useful for the original discussion trail and quotations from Peter Steinberger and Boris Cherny. | Substack version of the same essay; useful for the original discussion trail and quotations from Peter Steinberger and Boris Cherny. | Captures the early community framing of Loop Engineering as repeated agent delegation rather than prompt craft. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 224 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L224 |
ale-0010 | Start Here | start-here | Blog | 📝 | Peter Steinberger on designing loops | https://x.com/steipete/status/2063697162748260627 | external | x.com | The June 2026 post - "you shouldn't be prompting coding agents anymore, you should be designing loops that prompt your agents" - that catalyzed the current discussion. | The June 2026 post - "you shouldn't be prompting coding agents anymore, you should be designing loops that prompt your agents" - that catalyzed the current discussion. | The June 2026 post - "you shouldn't be prompting coding agents anymore, you should be designing loops that prompt your agents" - that catalyzed the current discussion. | Captures the early community framing of Loop Engineering as repeated agent delegation rather than prompt craft. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 225 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L225 |
ale-0011 | Start Here | start-here | Blog | 📝 | Boris Cherny: five tips for running Opus autonomously for hours or days | https://x.com/bcherny/status/2063792263067754658 | external | x.com | The Claude Code creator's compact loop recipe: auto-mode permissions, dynamic workflows, `/goal` or `/loop`, the cloud runner, and end-to-end self-verification. | The Claude Code creator's compact loop recipe: auto-mode permissions, dynamic workflows, `/goal` or `/loop`, the cloud runner, and end-to-end self-verification. | The Claude Code creator's compact loop recipe: auto-mode permissions, dynamic workflows, `/goal` or `/loop`, the cloud runner, and end-to-end self-verification. | The agent workflow includes explicit self-checking or gated completion. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 226 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L226 |
ale-0012 | Start Here | start-here | Blog | 📝 | Loop Engineering | https://cobusgreyling.substack.com/p/loop-engineering | external | cobusgreyling.substack.com | Concise explanation of the shift from prompting agents to designing loops that discover work, delegate, verify, persist, and continue. | Concise explanation of the shift from prompting agents to designing loops that discover work, delegate, verify, persist, and continue. | Concise explanation of the shift from prompting agents to designing loops that discover work, delegate, verify, persist, and continue. | State persistence is explicit enough for repeated runs and handoff. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 227 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L227 |
ale-0013 | Start Here | start-here | Blog | 📝 | Loop Engineering: The Guide for AI Agents | https://lushbinary.com/blog/loop-engineering-ai-coding-agents-guide/ | external | lushbinary.com | Practical guide that breaks the pattern into automations, worktrees, skills, connectors, subagents, and state. | Practical guide that breaks the pattern into automations, worktrees, skills, connectors, subagents, and state. | Practical guide that breaks the pattern into automations, worktrees, skills, connectors, subagents, and state. | Workspace isolation is part of the loop design, not an afterthought. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 228 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L228 |
ale-0014 | Start Here | start-here | Blog | 📝 | Stop Prompting. Design the Loop. | https://www.pulumi.com/blog/stop-prompting-design-the-loop/ | external | www.pulumi.com | Practical breakdown of loop building blocks - automations, worktrees, skills, connectors, subagents - plus external memory and verification through oracles such as tests and builds. | Practical breakdown of loop building blocks - automations, worktrees, skills, connectors, subagents - plus external memory and verification through oracles such as tests and builds. | Practical breakdown of loop building blocks - automations, worktrees, skills, connectors, subagents - plus external memory and verification through oracles such as tests and builds. | Workspace isolation is part of the loop design, not an afterthought. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 229 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L229 |
ale-0015 | Start Here | start-here | Blog | 📝 | Writing Loops, Not Prompts, Explained | https://rico.codes/loops-not-prompts | external | rico.codes | Rico Kahler's break-even model for when a recurring task justifies building a loop instead of prompting, with stop conditions, evidence collection, and an execution-horizon framing for moving from execution-bound to judgment-bound work. | Rico Kahler's break-even model for when a recurring task justifies building a loop instead of prompting, with stop conditions, evidence collection, and an execution-horizon framing for moving from execution-bound to judgment-bound work. | Rico Kahler's break-even model for when a recurring task justifies building a loop instead of prompting, with stop conditions, evidence collection, and an execution-horizon framing for moving from execution-bound to judgment-bound work. | Captures the early community framing of Loop Engineering as repeated agent delegation rather than prompt craft. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 230 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L230 |
ale-0016 | Start Here | start-here | Blog | 📝 | Loop Engineering: A Guide for Engineers and Practitioners | https://medium.com/@adnanmasood/loop-engineering-a-guide-for-engineers-and-practitioners-893bb65ea943 | external | medium.com | Adnan Masood's practitioner guide that organizes loop design into triggers, topologies, verifiers, and termination rules, with coverage of failure modes, cost control, and observability for production agent loops. | Adnan Masood's practitioner guide that organizes loop design into triggers, topologies, verifiers, and termination rules, with coverage of failure modes, cost control, and observability for production agent loops. | Adnan Masood's practitioner guide that organizes loop design into triggers, topologies, verifiers, and termination rules, with coverage of failure modes, cost control, and observability for production agent loops. | The resource is directly reusable as a starting artifact. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 231 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L231 |
ale-0017 | Start Here | start-here | Blog | 📝 | Loop Engineering: When Generation Gets Cheap, Judgment Gets Expensive | https://sderosiaux.substack.com/p/loop-engineering-cheap-generation | external | sderosiaux.substack.com | Stephane Derosiaux's essay on the economics of the loop layer (generation becomes abundant while judgment becomes the bottleneck), proposing evaluator agents that must act rather than merely review, and cataloging failure modes such as unverified merges and quota depletion. | Stephane Derosiaux's essay on the economics of the loop layer (generation becomes abundant while judgment becomes the bottleneck), proposing evaluator agents that must act rather than merely review, and cataloging failure modes such as unverified merges and quota depletion. | Stephane Derosiaux's essay on the economics of the loop layer (generation becomes abundant while judgment becomes the bottleneck), proposing evaluator agents that must act rather than merely review, and cataloging failure modes such as unverified merges and quota depletion. | Captures the early community framing of Loop Engineering as repeated agent delegation rather than prompt craft. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 232 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L232 |
ale-0018 | Start Here | start-here | Blog | 📝 | Andrew Ng on Loop Engineering and the Three Loops of AI-Native Product Development | https://x.com/AndrewYNg/status/2071988145667928442 | external | x.com | Andrew Ng's letter laying out three product-development loops (agentic coding in minutes, developer feedback in hours, external feedback in days) and arguing that human-in-the-loop persists wherever the human knows something the AI does not. | Andrew Ng's letter laying out three product-development loops (agentic coding in minutes, developer feedback in hours, external feedback in days) and arguing that human-in-the-loop persists wherever the human knows something the AI does not. | Andrew Ng's letter laying out three product-development loops (agentic coding in minutes, developer feedback in hours, external feedback in days) and arguing that human-in-the-loop persists wherever the human knows something the AI does not. | State persistence is explicit enough for repeated runs and handoff. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 233 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L233 |
ale-0019 | Start Here | start-here | Blog | 📝 | From Prompting Agents to Loop Engineering | https://x.com/omarsar0/status/2068008743153832264 | external | x.com | DAIR.AI founder Elvis Saravia's X article examining the claim that you should stop prompting coding agents and start designing loops that prompt them for you. | DAIR.AI founder Elvis Saravia's X article examining the claim that you should stop prompting coding agents and start designing loops that prompt them for you. | DAIR.AI founder Elvis Saravia's X article examining the claim that you should stop prompting coding agents and start designing loops that prompt them for you. | Captures the early community framing of Loop Engineering as repeated agent delegation rather than prompt craft. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 234 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L234 |
ale-0020 | Start Here | start-here | Blog | 📝 | I Now Just Write Loops To Prompt Claude Code: Claude Code Creator Boris Cherny | https://officechai.com/ai/i-now-just-write-loops-to-prompt-claude-code-claude-code-creator-boris-cherny/ | external | officechai.com | Coverage of Boris Cherny's "my job is to write loops" workflow. | Coverage of Boris Cherny's "my job is to write loops" workflow. | Coverage of Boris Cherny's "my job is to write loops" workflow. | Captures the early community framing of Loop Engineering as repeated agent delegation rather than prompt craft. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 235 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L235 |
ale-0021 | Start Here | start-here | Blog | 📝 | My Lord! AI Programming Undergoes Another Major Shift | https://eu.36kr.com/en/p/3844224911346184 | external | eu.36kr.com | Broad coverage of the Boris Cherny and Peter Steinberger discussion, including the distinction between cold-start scripts and persistent agent loops. | Broad coverage of the Boris Cherny and Peter Steinberger discussion, including the distinction between cold-start scripts and persistent agent loops. | Broad coverage of the Boris Cherny and Peter Steinberger discussion, including the distinction between cold-start scripts and persistent agent loops. | State persistence is explicit enough for repeated runs and handoff. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 236 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L236 |
ale-0022 | Start Here | start-here | Blog | 📝 | The Anthropic leader who built Claude Code ditched prompting - now he writes loops | https://thenewstack.io/loop-engineering/ | external | thenewstack.io | The New Stack's report on Boris Cherny's shift from prompting to loop writing and what it changes about developer workflow. | The New Stack's report on Boris Cherny's shift from prompting to loop writing and what it changes about developer workflow. | The New Stack's report on Boris Cherny's shift from prompting to loop writing and what it changes about developer workflow. | Captures the early community framing of Loop Engineering as repeated agent delegation rather than prompt craft. | Gives readers the origin story and first-principles framing for the new AI/coding-agent use of Loop Engineering. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 237 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L237 |
ale-0023 | Pattern Library | pattern-library | Pattern | 🔁 | PR babysitter | patterns/pr-babysitter.md | local_path | Repeatedly checks review comments, CI, merge conflicts, stale threads, and readiness to merge. | Repeatedly checks review comments, CI, merge conflicts, stale threads, and readiness to merge. | Provides a reusable loop pattern: Repeatedly checks review comments, CI, merge conflicts, stale threads, and readiness to merge. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 305 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L305 | |
ale-0024 | Pattern Library | pattern-library | Pattern | 🔁 | CI repair loop | patterns/ci-repair-loop.md | local_path | Reproduces failing checks, patches narrowly, reruns evidence, and escalates when failures are outside scope. | Reproduces failing checks, patches narrowly, reruns evidence, and escalates when failures are outside scope. | Provides a reusable loop pattern: Reproduces failing checks, patches narrowly, reruns evidence, and escalates when failures are outside scope. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 306 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L306 | |
ale-0025 | Pattern Library | pattern-library | Pattern | 🔁 | Docs drift collector | patterns/docs-drift-collector.md | local_path | Finds mismatches between docs and code, proposes small patches, and verifies examples. | Finds mismatches between docs and code, proposes small patches, and verifies examples. | Provides a reusable loop pattern: Finds mismatches between docs and code, proposes small patches, and verifies examples. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 307 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L307 | |
ale-0026 | Pattern Library | pattern-library | Pattern | 🔁 | Deploy verifier | patterns/deploy-verifier.md | local_path | Watches rollout signals, compares them with release expectations, and stops on anomalies. | Watches rollout signals, compares them with release expectations, and stops on anomalies. | Provides a reusable loop pattern: Watches rollout signals, compares them with release expectations, and stops on anomalies. | Verification is promoted from a final check to a loop-control signal. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 308 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L308 | |
ale-0027 | Pattern Library | pattern-library | Pattern | 🔁 | Feedback clusterer | patterns/feedback-clusterer.md | local_path | Periodically groups GitHub, Linear, Slack, support, or social feedback into actionable themes. | Periodically groups GitHub, Linear, Slack, support, or social feedback into actionable themes. | Provides a reusable loop pattern: Periodically groups GitHub, Linear, Slack, support, or social feedback into actionable themes. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 309 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L309 | |
ale-0028 | Pattern Library | pattern-library | Pattern | 🔁 | Dependency triage loop | patterns/dependency-triage-loop.md | local_path | Classifies dependency updates, applies safe groups, verifies them, and escalates risky upgrades. | Classifies dependency updates, applies safe groups, verifies them, and escalates risky upgrades. | Provides a reusable loop pattern: Classifies dependency updates, applies safe groups, verifies them, and escalates risky upgrades. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 310 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L310 | |
ale-0029 | Pattern Library | pattern-library | Pattern | 🔁 | Evaluation regression loop | patterns/evaluation-regression-loop.md | local_path | Investigates degraded agent evals with baseline traces, targeted reruns, and repair proposals. | Investigates degraded agent evals with baseline traces, targeted reruns, and repair proposals. | Provides a reusable loop pattern: Investigates degraded agent evals with baseline traces, targeted reruns, and repair proposals. | Evaluation data is used as the feedback signal for improving loop behavior. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 311 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L311 | |
ale-0030 | Pattern Library | pattern-library | Pattern | 🔁 | Security review loop | patterns/security-review-loop.md | local_path | Reviews sensitive diffs with evidence-backed findings, safe permissions, and human approval boundaries. | Reviews sensitive diffs with evidence-backed findings, safe permissions, and human approval boundaries. | Provides a reusable loop pattern: Reviews sensitive diffs with evidence-backed findings, safe permissions, and human approval boundaries. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 312 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L312 | |
ale-0031 | Pattern Library | pattern-library | Pattern | 🔁 | Cost-control loop | patterns/cost-control-loop.md | local_path | Monitors agent workflow spend, identifies waste, proposes scoped savings, and preserves quality gates. | Monitors agent workflow spend, identifies waste, proposes scoped savings, and preserves quality gates. | Provides a reusable loop pattern: Monitors agent workflow spend, identifies waste, proposes scoped savings, and preserves quality gates. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 313 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L313 | |
ale-0032 | Pattern Library | pattern-library | Pattern | 🔁 | Bug hunting loop | patterns/bug-hunting-loop.md | local_path | Discovers, reproduces, minimizes, and reports bugs with concrete evidence. | Discovers, reproduces, minimizes, and reports bugs with concrete evidence. | Provides a reusable loop pattern: Discovers, reproduces, minimizes, and reports bugs with concrete evidence. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 314 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L314 | |
ale-0033 | Pattern Library | pattern-library | Pattern | 🔁 | Enterprise approval loop | patterns/enterprise-approval-loop.md | local_path | Drives a permissioned change through required gates and approvers with a full audit trail. | Drives a permissioned change through required gates and approvers with a full audit trail. | Provides a reusable loop pattern: Drives a permissioned change through required gates and approvers with a full audit trail. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 315 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L315 | |
ale-0034 | Pattern Library | pattern-library | Pattern | 🔁 | Incident response loop | patterns/incident-response-loop.md | local_path | Triages an alert into an owned, evidence-backed incident with a postmortem seed. | Triages an alert into an owned, evidence-backed incident with a postmortem seed. | Provides a reusable loop pattern: Triages an alert into an owned, evidence-backed incident with a postmortem seed. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 316 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L316 | |
ale-0035 | Pattern Library | pattern-library | Pattern | 🔁 | Data-quality loop | patterns/data-quality-loop.md | local_path | Validates each dataset refresh against quality rules and quarantines bad versions. | Validates each dataset refresh against quality rules and quarantines bad versions. | Provides a reusable loop pattern: Validates each dataset refresh against quality rules and quarantines bad versions. | The list is made machine-readable as a tabular dataset rather than only a Markdown page. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 317 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L317 | |
ale-0036 | Pattern Library | pattern-library | Pattern | 🔁 | Release-note loop | patterns/release-note-loop.md | local_path | Drafts release notes from merged commits, issues, and PRs with linked evidence. | Drafts release notes from merged commits, issues, and PRs with linked evidence. | Provides a reusable loop pattern: Drafts release notes from merged commits, issues, and PRs with linked evidence. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 318 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L318 | |
ale-0037 | Pattern Library | pattern-library | Pattern | 🔁 | Model-routing loop | patterns/model-routing-loop.md | local_path | Routes tasks across models on measured quality, latency, privacy, and cost. | Routes tasks across models on measured quality, latency, privacy, and cost. | Provides a reusable loop pattern: Routes tasks across models on measured quality, latency, privacy, and cost. | Turns common recurring-agent jobs into named patterns with gates, budgets, and escalation paths. | Translates the abstract loop contract into operational patterns with triggers, gates, budgets, and escalation paths. | Repository-native artifact maintained in this project; signal comes from local validation and reuse. | medium | README.md | 319 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L319 | |
ale-0038 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Automations - Codex app | https://developers.openai.com/codex/app/automations | external | developers.openai.com | Codex background automations for recurring tasks, triage inboxes, skills, and worktree isolation. | Codex background automations for recurring tasks, triage inboxes, skills, and worktree isolation. | Codex background automations for recurring tasks, triage inboxes, skills, and worktree isolation. | Workspace isolation is part of the loop design, not an afterthought. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 325 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L325 |
ale-0039 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Follow a goal - Codex use cases | https://developers.openai.com/codex/use-cases/follow-goals | external | developers.openai.com | Official guidance for durable objectives with stopping conditions, validation commands, checkpoints, and progress logs. | Official guidance for durable objectives with stopping conditions, validation commands, checkpoints, and progress logs. | Official guidance for durable objectives with stopping conditions, validation commands, checkpoints, and progress logs. | Primary-source operational guidance rather than commentary. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 326 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L326 |
ale-0040 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Worktrees - Codex app | https://developers.openai.com/codex/app/worktrees | external | developers.openai.com | Codex worktree model for isolated parallel tasks and handoffs between local and background workspaces. | Codex worktree model for isolated parallel tasks and handoffs between local and background workspaces. | Codex worktree model for isolated parallel tasks and handoffs between local and background workspaces. | Workspace isolation is part of the loop design, not an afterthought. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 327 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L327 |
ale-0041 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Prompting - Codex | https://developers.openai.com/codex/prompting | external | developers.openai.com | Explains the Codex loop, threads, context, and `/goal` mode. | Explains the Codex loop, threads, context, and `/goal` mode. | Explains the Codex loop, threads, context, and `/goal` mode. | Context is managed as durable loop state rather than a single prompt payload. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 328 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L328 |
ale-0042 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Customization - Codex | https://developers.openai.com/codex/concepts/customization | external | developers.openai.com | Maps `AGENTS.md`, memories, skills, MCP, and subagents into a coherent customization stack. | Maps `AGENTS.md`, memories, skills, MCP, and subagents into a coherent customization stack. | Maps `AGENTS.md`, memories, skills, MCP, and subagents into a coherent customization stack. | Persistent memory is treated as an external runtime artifact. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 329 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L329 |
ale-0043 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Agent Skills - Codex | https://developers.openai.com/codex/skills | external | developers.openai.com | Official skill format for reusable workflows, scripts, MCP dependencies, invocation policy, and plugin packaging. | Official skill format for reusable workflows, scripts, MCP dependencies, invocation policy, and plugin packaging. | Official skill format for reusable workflows, scripts, MCP dependencies, invocation policy, and plugin packaging. | Primary-source operational guidance rather than commentary. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 330 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L330 |
ale-0044 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Plugins - Codex | https://developers.openai.com/codex/plugins | external | developers.openai.com | Bundles skills, app integrations, and MCP servers into reusable loop capabilities. | Bundles skills, app integrations, and MCP servers into reusable loop capabilities. | Bundles skills, app integrations, and MCP servers into reusable loop capabilities. | Breaks loop design into operational primitives that can be combined across agents and runtimes. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 331 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L331 |
ale-0045 | Core Loop Primitives | core-loop-primitives | Tool | 🧰 | dotskills | https://github.com/vincentkoc/dotskills | external | github.com | A `.skills` registry of curated Codex and OpenClaw skills, framed as an "ADE Loop" (Agent Development Environment to registry to Skills Gym) where reusable skills are developed, shared, and evaluated across runs. | A `.skills` registry of curated Codex and OpenClaw skills, framed as an "ADE Loop" (Agent Development Environment to registry to Skills Gym) where reusable skills are developed, shared, and evaluated across runs. | Provides an implementation surface for loop builders: A `.skills` registry of curated Codex and OpenClaw skills, framed as an "ADE Loop" (Agent Development Environment to registry to Skills Gym) where reusable skills are developed, shared, and evaluated across runs. | Breaks loop design into operational primitives that can be combined across agents and runtimes. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Source repository or implementation artifact that can be inspected directly. | high | README.md | 332 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L332 |
ale-0046 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Slash commands in Codex CLI | https://developers.openai.com/codex/cli/slash-commands | external | developers.openai.com | CLI commands for switching agent threads, browsing skills, inspecting MCP tools, and using subagent workflows. | CLI commands for switching agent threads, browsing skills, inspecting MCP tools, and using subagent workflows. | CLI commands for switching agent threads, browsing skills, inspecting MCP tools, and using subagent workflows. | The work separates roles across agents, verifiers, or orchestration layers. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 333 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L333 |
ale-0047 | Core Loop Primitives | core-loop-primitives | Pattern | 🔁 | Autonomous Loops | https://claudecodeguide.dev/docs/patterns/autonomous-loops | external | claudecodeguide.dev | Claude Code pattern using task files, stop hooks, restart behavior, hard limits, and a kill switch. | Claude Code pattern using task files, stop hooks, restart behavior, hard limits, and a kill switch. | Provides a reusable loop pattern: Claude Code pattern using task files, stop hooks, restart behavior, hard limits, and a kill switch. | Breaks loop design into operational primitives that can be combined across agents and runtimes. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Operational pattern or playbook; signal comes from reusable loop structure and practical transferability. | medium | README.md | 334 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L334 |
ale-0048 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Claude Code Glossary | https://code.claude.com/docs/en/glossary.md | external | code.claude.com | Defines the agentic loop, hooks, subagents, skills, MCP, and related primitives in Claude Code terminology. | Defines the agentic loop, hooks, subagents, skills, MCP, and related primitives in Claude Code terminology. | Defines the agentic loop, hooks, subagents, skills, MCP, and related primitives in Claude Code terminology. | The work separates roles across agents, verifiers, or orchestration layers. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 335 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L335 |
ale-0049 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Keep Claude working toward a goal | https://code.claude.com/docs/en/goal | external | code.claude.com | `/goal` runs turn after turn until a completion condition is met by a verifier. | `/goal` runs turn after turn until a completion condition is met by a verifier. | `/goal` runs turn after turn until a completion condition is met by a verifier. | Verification is promoted from a final check to a loop-control signal. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 336 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L336 |
ale-0050 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Run prompts on a schedule | https://code.claude.com/docs/en/scheduled-tasks | external | code.claude.com | `/loop`, scheduled tasks, reminders, monitor tools, and session-scoped recurring prompts. | `/loop`, scheduled tasks, reminders, monitor tools, and session-scoped recurring prompts. | `/loop`, scheduled tasks, reminders, monitor tools, and session-scoped recurring prompts. | The trigger or cadence is explicit, making the workflow recurring rather than one-off. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 337 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L337 |
ale-0051 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Automate work with routines | https://code.claude.com/docs/en/routines | external | code.claude.com | Claude Code routines: persistent cloud automations triggered by schedules, API calls, or GitHub events, with connectors, scoped environments, and branch-push limits. | Claude Code routines: persistent cloud automations triggered by schedules, API calls, or GitHub events, with connectors, scoped environments, and branch-push limits. | Claude Code routines: persistent cloud automations triggered by schedules, API calls, or GitHub events, with connectors, scoped environments, and branch-push limits. | The trigger or cadence is explicit, making the workflow recurring rather than one-off. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 338 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L338 |
ale-0052 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Desktop scheduled tasks | https://code.claude.com/docs/en/desktop-scheduled-tasks | external | code.claude.com | Local recurring runs on your own machine, with the persistence, file-access, permission, worktree, and missed-run trade-offs that distinguish them from `/loop` and cloud routines. | Local recurring runs on your own machine, with the persistence, file-access, permission, worktree, and missed-run trade-offs that distinguish them from `/loop` and cloud routines. | Local recurring runs on your own machine, with the persistence, file-access, permission, worktree, and missed-run trade-offs that distinguish them from `/loop` and cloud routines. | Workspace isolation is part of the loop design, not an afterthought. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 339 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L339 |
ale-0053 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Run parallel sessions with worktrees | https://code.claude.com/docs/en/worktrees | external | code.claude.com | Worktree isolation for parallel sessions and subagents so concurrent edits do not collide. | Worktree isolation for parallel sessions and subagents so concurrent edits do not collide. | Worktree isolation for parallel sessions and subagents so concurrent edits do not collide. | Workspace isolation is part of the loop design, not an afterthought. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 340 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L340 |
ale-0054 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Automate actions with hooks | https://code.claude.com/docs/en/hooks-guide | external | code.claude.com | Claude Code hooks guide for deterministic lifecycle control around model actions. | Claude Code hooks guide for deterministic lifecycle control around model actions. | Claude Code hooks guide for deterministic lifecycle control around model actions. | The resource is directly reusable as a starting artifact. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 341 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L341 |
ale-0055 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Hooks reference | https://code.claude.com/docs/en/hooks.md | external | code.claude.com | Event-level reference for session, turn, tool-call, and subagent hooks. | Event-level reference for session, turn, tool-call, and subagent hooks. | Event-level reference for session, turn, tool-call, and subagent hooks. | The work separates roles across agents, verifiers, or orchestration layers. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 342 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L342 |
ale-0056 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Common workflows - Claude Code | https://code.claude.com/docs/en/common-workflows | external | code.claude.com | Practical workflows for worktrees, subagents, CI, batch processing, planning, and resuming prior work. | Practical workflows for worktrees, subagents, CI, batch processing, planning, and resuming prior work. | Practical workflows for worktrees, subagents, CI, batch processing, planning, and resuming prior work. | Workspace isolation is part of the loop design, not an afterthought. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 343 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L343 |
ale-0057 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Manage multiple agents with agent view | https://code.claude.com/docs/en/agent-view.md | external | code.claude.com | Dashboard for dispatching, monitoring, and attaching to background agent sessions. | Dashboard for dispatching, monitoring, and attaching to background agent sessions. | Dashboard for dispatching, monitoring, and attaching to background agent sessions. | Breaks loop design into operational primitives that can be combined across agents and runtimes. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 344 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L344 |
ale-0058 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Run agents in parallel | https://code.claude.com/docs/en/agents.md | external | code.claude.com | Compares agent view, subagents, agent teams, worktrees, tasks, and workflows for parallel work. | Compares agent view, subagents, agent teams, worktrees, tasks, and workflows for parallel work. | Compares agent view, subagents, agent teams, worktrees, tasks, and workflows for parallel work. | Workspace isolation is part of the loop design, not an afterthought. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 345 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L345 |
ale-0059 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Orchestrate subagents at scale with dynamic workflows | https://code.claude.com/docs/en/workflows | external | code.claude.com | Moves loop state and branching into workflow scripts so large tasks do not overload the conversation context. | Moves loop state and branching into workflow scripts so large tasks do not overload the conversation context. | Moves loop state and branching into workflow scripts so large tasks do not overload the conversation context. | Context is managed as durable loop state rather than a single prompt payload. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 346 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L346 |
ale-0060 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Create plugins | https://code.claude.com/docs/en/plugins | external | code.claude.com | Packaging model-invoked skills, agents, hooks, MCP servers, monitors, and settings as shareable loop components. | Packaging model-invoked skills, agents, hooks, MCP servers, monitors, and settings as shareable loop components. | Packaging model-invoked skills, agents, hooks, MCP servers, monitors, and settings as shareable loop components. | Breaks loop design into operational primitives that can be combined across agents and runtimes. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 347 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L347 |
ale-0061 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Model Context Protocol | https://modelcontextprotocol.io/docs/getting-started/intro | external | modelcontextprotocol.io | Standard protocol for exposing tools and data sources to agent loops. | Standard protocol for exposing tools and data sources to agent loops. | Standard protocol for exposing tools and data sources to agent loops. | Context is managed as durable loop state rather than a single prompt payload. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 348 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L348 |
ale-0062 | Core Loop Primitives | core-loop-primitives | Docs | 📚 | Allowing GitHub Copilot CLI to work autonomously | https://docs.github.com/en/copilot/concepts/agents/copilot-cli/autopilot | external | docs.github.com | Copilot CLI autopilot mode plus `/every` and `/after` scheduling, turning the CLI into an unattended loop that runs steps until a task is complete. | Copilot CLI autopilot mode plus `/every` and `/after` scheduling, turning the CLI into an unattended loop that runs steps until a task is complete. | Copilot CLI autopilot mode plus `/every` and `/after` scheduling, turning the CLI into an unattended loop that runs steps until a task is complete. | The trigger or cadence is explicit, making the workflow recurring rather than one-off. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 349 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L349 |
ale-0063 | Core Loop Primitives | core-loop-primitives | Tool | 🧰 | opencode-scheduler | https://github.com/different-ai/opencode-scheduler | external | github.com | OpenCode plugin that runs recurring agent jobs through OS-native schedulers (launchd on macOS, systemd on Linux), with workdir-scoped jobs, timeouts, and skipped ticks when the previous run is still active. | OpenCode plugin that runs recurring agent jobs through OS-native schedulers (launchd on macOS, systemd on Linux), with workdir-scoped jobs, timeouts, and skipped ticks when the previous run is still active. | Provides an implementation surface for loop builders: OpenCode plugin that runs recurring agent jobs through OS-native schedulers (launchd on macOS, systemd on Linux), with workdir-scoped jobs, timeouts, and skipped ticks when the previous run is still active. | Breaks loop design into operational primitives that can be combined across agents and runtimes. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Source repository or implementation artifact that can be inspected directly. | high | README.md | 350 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L350 |
ale-0064 | Core Loop Primitives | core-loop-primitives | Tool | 🧰 | Agent-Loop-Skills | https://github.com/gaasher/Agent-Loop-Skills | external | github.com | Reusable verification-gated loops (autoresearch, scientific writing, data analysis, code and prompt optimization, red-teaming) packaged as open-standard Agent Skills, each with a feedback signal, run ledger, and termination conditions. | Reusable verification-gated loops (autoresearch, scientific writing, data analysis, code and prompt optimization, red-teaming) packaged as open-standard Agent Skills, each with a feedback signal, run ledger, and termination conditions. | Provides an implementation surface for loop builders: Reusable verification-gated loops (autoresearch, scientific writing, data analysis, code and prompt optimization, red-teaming) packaged as open-standard Agent Skills, each with a feedback signal, run ledger, and termination conditions. | Verification is promoted from a final check to a loop-control signal. | Turns the concept into concrete loop mechanics: triggers, state, tools, worktrees, permissions, and recurring execution. | Source repository or implementation artifact that can be inspected directly. | high | README.md | 351 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L351 |
ale-0065 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Run long horizon tasks with Codex | https://developers.openai.com/blog/run-long-horizon-tasks-with-codex | external | developers.openai.com | OpenAI's runbook for plan-edit-test-observe-repair-document-repeat work, including specs, plans, status logs, and validation gates. | OpenAI's runbook for plan-edit-test-observe-repair-document-repeat work, including specs, plans, status logs, and validation gates. | OpenAI's runbook for plan-edit-test-observe-repair-document-repeat work, including specs, plans, status logs, and validation gates. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 357 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L357 |
ale-0066 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Best practices - Codex | https://developers.openai.com/codex/learn/best-practices | external | developers.openai.com | Official best practices for context, `AGENTS.md`, MCP, skills, subagents, and automations. | Official best practices for context, `AGENTS.md`, MCP, skills, subagents, and automations. | Official best practices for context, `AGENTS.md`, MCP, skills, subagents, and automations. | Primary-source operational guidance rather than commentary. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 358 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L358 |
ale-0067 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Agents SDK | https://developers.openai.com/api/docs/guides/agents | external | developers.openai.com | OpenAI guide for agent orchestration, tool execution, approvals, state, guardrails, and observability. | OpenAI guide for agent orchestration, tool execution, approvals, state, guardrails, and observability. | OpenAI guide for agent orchestration, tool execution, approvals, state, guardrails, and observability. | Orchestration and control flow are made explicit and inspectable. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 359 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L359 |
ale-0068 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Agents - OpenAI Agents SDK | https://openai.github.io/openai-agents-python/agents/ | external | openai.github.io | SDK primitives for agents, tools, handoffs, guardrails, and runner-managed loops. | SDK primitives for agents, tools, handoffs, guardrails, and runner-managed loops. | SDK primitives for agents, tools, handoffs, guardrails, and runner-managed loops. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 360 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L360 |
ale-0069 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Running agents | https://developers.openai.com/api/docs/guides/agents/running-agents | external | developers.openai.com | OpenAI guide to turns, state, approvals, sessions, and continuation in the SDK runtime loop. | OpenAI guide to turns, state, approvals, sessions, and continuation in the SDK runtime loop. | OpenAI guide to turns, state, approvals, sessions, and continuation in the SDK runtime loop. | State persistence is explicit enough for repeated runs and handoff. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 361 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L361 |
ale-0070 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Integrations and observability | https://developers.openai.com/api/docs/guides/agents/integrations-observability | external | developers.openai.com | OpenAI guide to MCP wiring and traces as the basis for debugging and evaluation loops. | OpenAI guide to MCP wiring and traces as the basis for debugging and evaluation loops. | OpenAI guide to MCP wiring and traces as the basis for debugging and evaluation loops. | Evaluation data is used as the feedback signal for improving loop behavior. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 362 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L362 |
ale-0071 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Sandbox Agents | https://developers.openai.com/api/docs/guides/agents/sandboxes | external | developers.openai.com | Splits the harness control plane from the sandbox execution plane for long-running file and command work. | Splits the harness control plane from the sandbox execution plane for long-running file and command work. | Splits the harness control plane from the sandbox execution plane for long-running file and command work. | Execution isolation and permission boundaries are part of the design. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 363 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L363 |
ale-0072 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Guardrails and human review | https://developers.openai.com/api/docs/guides/agents/guardrails-approvals | external | developers.openai.com | Approval and validation boundaries for sensitive agent actions. | Approval and validation boundaries for sensitive agent actions. | Approval and validation boundaries for sensitive agent actions. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 364 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L364 |
ale-0073 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Building agents with the Claude Agent SDK | https://code.claude.com/docs/en/agent-sdk/overview.md | external | code.claude.com | Claude SDK overview for tool-using agents, subagents, state, permissions, and streaming. | Claude SDK overview for tool-using agents, subagents, state, permissions, and streaming. | Claude SDK overview for tool-using agents, subagents, state, permissions, and streaming. | The work separates roles across agents, verifiers, or orchestration layers. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 365 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L365 |
ale-0074 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | How the agent loop works | https://code.claude.com/docs/en/agent-sdk/agent-loop | external | code.claude.com | Official walkthrough of the inner agent loop that outer recurring loops build on. | Official walkthrough of the inner agent loop that outer recurring loops build on. | Official walkthrough of the inner agent loop that outer recurring loops build on. | Primary-source operational guidance rather than commentary. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 366 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L366 |
ale-0075 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Extend Claude with skills | https://code.claude.com/docs/en/skills | external | code.claude.com | Claude Code skill system for reusable loop instructions and assets. | Claude Code skill system for reusable loop instructions and assets. | Claude Code skill system for reusable loop instructions and assets. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 367 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L367 |
ale-0076 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Create custom subagents | https://code.claude.com/docs/en/sub-agents | external | code.claude.com | Claude Code custom subagents with isolated context, model choice, and tool permissions. | Claude Code custom subagents with isolated context, model choice, and tool permissions. | Claude Code custom subagents with isolated context, model choice, and tool permissions. | Context is managed as durable loop state rather than a single prompt payload. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 368 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L368 |
ale-0077 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | GitHub Agentic Workflows | https://github.github.com/gh-aw/ | external | github.github.com | Repository automation that runs coding agents in GitHub Actions on events or schedules with guardrails. | Repository automation that runs coding agents in GitHub Actions on events or schedules with guardrails. | Repository automation that runs coding agents in GitHub Actions on events or schedules with guardrails. | The trigger or cadence is explicit, making the workflow recurring rather than one-off. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 369 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L369 |
ale-0078 | Official Runtime Guides | official-runtime-guides | Blog | 📝 | GitHub Agentic Workflows technical preview | https://github.blog/changelog/2026-02-13-github-agentic-workflows-are-now-in-technical-preview/ | external | github.blog | Changelog announcement for Markdown-defined agentic workflows in GitHub Actions. | Changelog announcement for Markdown-defined agentic workflows in GitHub Actions. | Changelog announcement for Markdown-defined agentic workflows in GitHub Actions. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 370 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L370 |
ale-0079 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Continuous AI | https://githubnext.com/projects/continuous-ai/ | external | githubnext.com | GitHub Next's umbrella framing for CI/CD-style AI automation across the software lifecycle, the category that agentic workflows demonstrate. | GitHub Next's umbrella framing for CI/CD-style AI automation across the software lifecycle, the category that agentic workflows demonstrate. | GitHub Next's umbrella framing for CI/CD-style AI automation across the software lifecycle, the category that agentic workflows demonstrate. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 371 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L371 |
ale-0080 | Official Runtime Guides | official-runtime-guides | Blog | 📝 | Automate repository tasks with GitHub Agentic Workflows | https://github.blog/ai-and-ml/automate-repository-tasks-with-github-agentic-workflows/ | external | github.blog | Official walkthrough of writing Markdown-defined agentic workflows with guardrails for triage, QA, and docs chores. | Official walkthrough of writing Markdown-defined agentic workflows with guardrails for triage, QA, and docs chores. | Official walkthrough of writing Markdown-defined agentic workflows with guardrails for triage, QA, and docs chores. | Primary-source operational guidance rather than commentary. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 372 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L372 |
ale-0081 | Official Runtime Guides | official-runtime-guides | Blog | 📝 | Continuous AI in practice: What developers can automate today with agentic CI | https://github.blog/ai-and-ml/generative-ai/continuous-ai-in-practice-what-developers-can-automate-today-with-agentic-ci/ | external | github.blog | Concrete agentic-CI automations available today, with recurring patterns for triage, review, and documentation upkeep. | Concrete agentic-CI automations available today, with recurring patterns for triage, review, and documentation upkeep. | Concrete agentic-CI automations available today, with recurring patterns for triage, review, and documentation upkeep. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 373 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L373 |
ale-0082 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | About GitHub Copilot coding agent | https://docs.github.com/en/copilot/concepts/agents/coding-agent/about-coding-agent | external | docs.github.com | GitHub's autonomous coding agent: assign an issue, the agent works in an isolated Actions-powered workspace, and a reviewable pull request comes back. | GitHub's autonomous coding agent: assign an issue, the agent works in an isolated Actions-powered workspace, and a reviewable pull request comes back. | GitHub's autonomous coding agent: assign an issue, the agent works in an isolated Actions-powered workspace, and a reviewable pull request comes back. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 374 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L374 |
ale-0083 | Official Runtime Guides | official-runtime-guides | Blog | 📝 | GitHub Copilot: Meet the new coding agent | https://github.blog/news-insights/product-news/github-copilot-meet-the-new-coding-agent/ | external | github.blog | Launch overview of the issue-to-PR delegation loop, including iteration on review feedback. | Launch overview of the issue-to-PR delegation loop, including iteration on review feedback. | Launch overview of the issue-to-PR delegation loop, including iteration on review feedback. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Practitioner essay or field note; signal comes from concrete experience, framing, examples, or adoption discussion. | contextual | README.md | 375 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L375 |
ale-0084 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Jules | https://jules.google/docs | external | jules.google | Google's asynchronous coding agent that plans, executes tasks in isolated cloud VMs, and returns reviewable diffs. | Google's asynchronous coding agent that plans, executes tasks in isolated cloud VMs, and returns reviewable diffs. | Google's asynchronous coding agent that plans, executes tasks in isolated cloud VMs, and returns reviewable diffs. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 376 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L376 |
ale-0085 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Cursor cloud agents | https://cursor.com/docs/cloud-agent | external | cursor.com | Remote agents that work asynchronously in isolated environments and hand results back for review. | Remote agents that work asynchronously in isolated environments and hand results back for review. | Remote agents that work asynchronously in isolated environments and hand results back for review. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 377 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L377 |
ale-0086 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Devin Docs | https://docs.devin.ai/get-started/devin-intro | external | docs.devin.ai | Documentation for a long-running autonomous software engineer with sessions, playbooks, knowledge, and review boundaries. | Documentation for a long-running autonomous software engineer with sessions, playbooks, knowledge, and review boundaries. | Documentation for a long-running autonomous software engineer with sessions, playbooks, knowledge, and review boundaries. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 378 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L378 |
ale-0087 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Writing effective tools for AI agents | https://www.anthropic.com/engineering/writing-tools-for-agents | external | www.anthropic.com | Anthropic's guidance on evaluating and improving tool specs using agentic loops and realistic tasks. | Anthropic's guidance on evaluating and improving tool specs using agentic loops and realistic tasks. | Anthropic's guidance on evaluating and improving tool specs using agentic loops and realistic tasks. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 379 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L379 |
ale-0088 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Introducing advanced tool use on the Claude Developer Platform | https://www.anthropic.com/engineering/advanced-tool-use?e45d281a_page=3 | external | www.anthropic.com | Tool search, programmatic tool calling, and tool-use examples for scaling large tool libraries without flooding context. | Tool search, programmatic tool calling, and tool-use examples for scaling large tool libraries without flooding context. | Tool search, programmatic tool calling, and tool-use examples for scaling large tool libraries without flooding context. | Context is managed as durable loop state rather than a single prompt payload. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 380 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L380 |
ale-0089 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Effective harnesses for long-running agents | https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents | external | www.anthropic.com | Anthropic's guidance for agents that work across many context windows: durable progress artifacts, environment setup, and self-verification. | Anthropic's guidance for agents that work across many context windows: durable progress artifacts, environment setup, and self-verification. | Anthropic's guidance for agents that work across many context windows: durable progress artifacts, environment setup, and self-verification. | Durable execution and replay are treated as first-class loop infrastructure. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 381 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L381 |
ale-0090 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Claude Code best practices | https://code.claude.com/docs/en/best-practices | external | code.claude.com | Widely cited workflow guidance that underlies many recurring Claude Code loops. | Widely cited workflow guidance that underlies many recurring Claude Code loops. | Widely cited workflow guidance that underlies many recurring Claude Code loops. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary official documentation for a platform, SDK, or standard. | high | README.md | 382 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L382 |
ale-0091 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Cursor 3.8: Improvements to Cursor Automations | https://cursor.com/changelog/06-18-26 | external | cursor.com | Cursor 3.8 changelog introducing an /automate skill that configures an automation's triggers, instructions, and tools from a plain-language description, plus Slack emoji-reaction and five new GitHub event triggers for dispatching cloud agents. | Cursor 3.8 changelog introducing an /automate skill that configures an automation's triggers, instructions, and tools from a plain-language description, plus Slack emoji-reaction and five new GitHub event triggers for dispatching cloud agents. | Cursor 3.8 changelog introducing an /automate skill that configures an automation's triggers, instructions, and tools from a plain-language description, plus Slack emoji-reaction and five new GitHub event triggers for dispatching cloud agents. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 383 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L383 |
ale-0092 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | GitHub Copilot for Jira Is Now Generally Available | https://github.blog/changelog/2026-06-25-github-copilot-for-jira-is-now-generally-available/ | external | github.blog | General availability of Copilot for Jira: delegate a Jira issue to the Copilot coding agent, monitor session progress inside the issue, and send follow-up instructions that continue the same draft pull request instead of starting a new one. | General availability of Copilot for Jira: delegate a Jira issue to the Copilot coding agent, monitor session progress inside the issue, and send follow-up instructions that continue the same draft pull request instead of starting a new one. | General availability of Copilot for Jira: delegate a Jira issue to the Copilot coding agent, monitor session progress inside the issue, and send follow-up instructions that continue the same draft pull request instead of starting a new one. | Shows how production platforms expose loops through concrete tools, permissions, skills, agents, and automation features. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 384 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L384 |
ale-0093 | Official Runtime Guides | official-runtime-guides | Docs | 📚 | Claude Managed Agents: Scheduled Deployments and Vaults | https://claude.com/blog/whats-new-in-claude-managed-agents | external | claude.com | Scheduled deployments for Claude Managed Agents, where each cron firing starts a fresh session to complete the task, plus environment-variable vaults that let sandboxed agents authenticate tools while the real secret attaches only at the network boundary. | Scheduled deployments for Claude Managed Agents, where each cron firing starts a fresh session to complete the task, plus environment-variable vaults that let sandboxed agents authenticate tools while the real secret attaches only at the network boundary. | Scheduled deployments for Claude Managed Agents, where each cron firing starts a fresh session to complete the task, plus environment-variable vaults that let sandboxed agents authenticate tools while the real secret attaches only at the network boundary. | The trigger or cadence is explicit, making the workflow recurring rather than one-off. | Anchors implementation choices in primary vendor and framework documentation instead of second-hand summaries. | Primary documentation from a platform, SDK, standard, or framework; strong implementation signal. | high | README.md | 385 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L385 |
ale-0094 | Research Foundations | research-foundations | Paper | 📄 | ReAct: Synergizing Reasoning and Acting in Language Models | https://arxiv.org/abs/2210.03629 | external | arxiv.org | Foundational reason-act-observe loop for tool-using language agents. | Foundational reason-act-observe loop for tool-using language agents. | Foundational reason-act-observe loop for tool-using language agents. | Connects Loop Engineering to prior agent-loop and feedback-loop research. | Connects Loop Engineering to prior work on agent loops, planning, reflection, feedback, and long-horizon autonomy. | Research preprint with stable arXiv identifier. | high | README.md | 391 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L391 |
ale-0095 | Research Foundations | research-foundations | Paper | 📄 | Reflexion: Language Agents with Verbal Reinforcement Learning | https://arxiv.org/abs/2303.11366 | external | arxiv.org | Converts environment feedback into written reflections stored in memory for future attempts. | Converts environment feedback into written reflections stored in memory for future attempts. | Converts environment feedback into written reflections stored in memory for future attempts. | Persistent memory is treated as an external runtime artifact. | Connects Loop Engineering to prior work on agent loops, planning, reflection, feedback, and long-horizon autonomy. | Research preprint with stable arXiv identifier. | high | README.md | 392 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L392 |
ale-0096 | Research Foundations | research-foundations | Paper | 📄 | Self-Refine: Iterative Refinement with Self-Feedback | https://arxiv.org/abs/2303.17651 | external | arxiv.org | Generate-feedback-refine loop where a model improves outputs over repeated passes. | Generate-feedback-refine loop where a model improves outputs over repeated passes. | Generate-feedback-refine loop where a model improves outputs over repeated passes. | Connects Loop Engineering to prior agent-loop and feedback-loop research. | Connects Loop Engineering to prior work on agent loops, planning, reflection, feedback, and long-horizon autonomy. | Research preprint with stable arXiv identifier. | high | README.md | 393 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L393 |
ale-0097 | Research Foundations | research-foundations | Paper | 📄 | CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquing | https://arxiv.org/abs/2305.11738 | external | arxiv.org | Uses tools to ground critique and correction rather than relying only on introspection. | Uses tools to ground critique and correction rather than relying only on introspection. | Uses tools to ground critique and correction rather than relying only on introspection. | Connects Loop Engineering to prior agent-loop and feedback-loop research. | Connects Loop Engineering to prior work on agent loops, planning, reflection, feedback, and long-horizon autonomy. | Research preprint with stable arXiv identifier. | high | README.md | 394 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L394 |
ale-0098 | Research Foundations | research-foundations | Paper | 📄 | Tree of Thoughts | https://arxiv.org/abs/2305.10601 | external | arxiv.org | Search over multiple reasoning branches; relevant when loop design needs exploration before committing. | Search over multiple reasoning branches; relevant when loop design needs exploration before committing. | Search over multiple reasoning branches; relevant when loop design needs exploration before committing. | Connects Loop Engineering to prior agent-loop and feedback-loop research. | Connects Loop Engineering to prior work on agent loops, planning, reflection, feedback, and long-horizon autonomy. | Research preprint with stable arXiv identifier. | high | README.md | 395 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L395 |
ale-0099 | Research Foundations | research-foundations | Paper | 📄 | Graph of Thoughts | https://arxiv.org/abs/2308.09687 | external | arxiv.org | Generalizes thought structures beyond chains and trees, useful for complex loop planning and aggregation. | Generalizes thought structures beyond chains and trees, useful for complex loop planning and aggregation. | Generalizes thought structures beyond chains and trees, useful for complex loop planning and aggregation. | Control flow is represented as an inspectable graph rather than an opaque prompt loop. | Connects Loop Engineering to prior work on agent loops, planning, reflection, feedback, and long-horizon autonomy. | Research preprint with stable arXiv identifier. | high | README.md | 396 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L396 |
ale-0100 | Research Foundations | research-foundations | Paper | 📄 | Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models | https://arxiv.org/abs/2310.04406 | external | arxiv.org | Combines search, action, and environment feedback for language agents. | Combines search, action, and environment feedback for language agents. | Combines search, action, and environment feedback for language agents. | Connects Loop Engineering to prior agent-loop and feedback-loop research. | Connects Loop Engineering to prior work on agent loops, planning, reflection, feedback, and long-horizon autonomy. | Research preprint with stable arXiv identifier. | high | README.md | 397 | https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md#L397 |
- Contents
- Why This Repo Exists
- Mental Model
- How To Use This List
- Reading Paths
- Choose Your Loop
- Canonical Definition
- Concept Guides
- Maintainer Picks
- Repository Highlights
- Resource Type Legend
- Start Here
- Scope Boundary
- The Loop Contract
- Loop Design Checklist
- Loop Maturity Model
- Pattern Library
- Core Loop Primitives
- Official Runtime Guides
- Research Foundations
- Agent Workflow Patterns
- Coding-Agent Loop Systems
- Verification And Feedback Gates
- Securing Unattended Loops
- State, Memory, And Context Persistence
- Orchestration And Multi-Agent Delegation
- Benchmarks And Evaluation
- Operations Playbooks
- Templates And Patterns
- Examples And Schema
- Community Gallery
- Critiques, Risks, And Limitations
- Adjacent Awesome Lists
- Discovery And Distribution
- Roadmap And Discussion
- Contributing
- Citation
Awesome Loop Engineering
Curated resources and practical patterns for designing recurring, stateful, verified AI-agent loops.
English | 中文 | Español | Français | Deutsch | 日本語 | 한국어 | Português | Help translate | Landing page | Hugging Face dataset
Awesome Loop Engineering is a curated, implementation-oriented field guide to Loop Engineering: the layer above prompt, context, and harness engineering for designing recurring AI-agent systems.
Prompt engineering improves what you ask the model. Context engineering improves what the model can see. Harness engineering improves the tools, permissions, sandboxes, and checks around one agent run. Loop Engineering sits above all three: it is the emerging AI and coding-agent practice of moving from manually prompting agents turn by turn to designing loops that do the prompting, supervision, verification, state updates, and re-triggering for you.
A loop discovers work, hands it to one or more agents, checks the result, records state, decides what should happen next, and runs again on a cadence or until a verifiable goal is reached.
This repository is about the new AI-agent meaning of Loop Engineering. It is not about software event loops, control theory, growth loops, generic workflow automation, or non-AI feedback systems.
Quick orientation for first-time visitors:
- What it is: the layer that governs how agent work is discovered, delegated, verified, retried, and escalated over time, not just for a single run.
- Why it matters now: As coding agents move from one-off prompts to background automation, the design challenge shifts from "what do I ask?" to "how does the system keep working reliably?" This list exists because no existing collection focused on that layer.
- Who this is for: builders of AI agents, coding agents, and orchestration systems; reliability and eval engineers; teams adding recurring agent loops to production infrastructure.
- Where to start: Canonical Definition, Loop Contract, Start Here, then Pattern Library.
Contents
- Why This Repo Exists
- Mental Model
- How To Use This List
- Reading Paths
- Choose Your Loop
- Canonical Definition
- Concept Guides
- Maintainer Picks
- Repository Highlights
- Resource Type Legend
- Start Here
- Scope Boundary
- The Loop Contract
- Loop Design Checklist
- Loop Maturity Model
- Pattern Library
- Core Loop Primitives
- Official Runtime Guides
- Research Foundations
- Agent Workflow Patterns
- Coding-Agent Loop Systems
- Verification And Feedback Gates
- Securing Unattended Loops
- State, Memory, And Context Persistence
- Orchestration And Multi-Agent Delegation
- Benchmarks And Evaluation
- Operations Playbooks
- Templates And Patterns
- Examples And Schema
- Community Gallery
- Critiques, Risks, And Limitations
- Adjacent Awesome Lists
- Discovery And Distribution
- Roadmap And Discussion
- Citation
Why This Repo Exists
Loop Engineering is becoming a distinct craft because the leverage point is moving from better single prompts, richer context, and stronger harnesses to recurring systems that decide when and how agents should run. Mature agent workflows now combine goals, state, work isolation, tool permissions, feedback gates, retries, escalation, and receipts. This list exists to make that craft easier to learn, compare, and practice without mixing it with unrelated loop concepts or generic AI-agent hype.
Mental Model
Prompt engineering asks: what should I say to the model?
Context engineering asks: what state and knowledge should the model see?
Harness engineering asks: what tools, permissions, tests, sandboxes, and feedback should surround the agent?
Loop engineering asks: what recurring system should discover work, delegate to agents, verify results, persist state, decide next actions, and re-run when the human is no longer in the inner loop?
Prompt, context, and harness engineering make one agent run better. Loop Engineering makes agent work repeatable, observable, and governable over time.
Loop shape:
Objective
-> Trigger / cadence
-> Discover / intake work
-> Delegate to agents
-> Act in an isolated workspace
-> Verify with tests, evals, traces, or reviewers
-> if failed: feed back the evidence and retry
-> if passed: persist state and decide what happens next
-> Repeat, report, open a PR, or escalate to a human
How To Use This List
Start with the first-read resources and the Loop Contract if the term is new. For implementation work, move through core primitives, runtime guides, templates, and patterns. For reliability work, focus on verification gates, state persistence, critiques, and limitations. Contributions should prefer primary sources, official docs, papers, and implementation-heavy write-ups.
Reading Paths
Choose a path based on your intent.
- Learn the concept: canonical definition, mental model, comparison guide, and the Loop Contract.
- Implement a loop: core primitives, official runtime guides, the pattern library, and examples.
- Improve reliability or evals: verification gates, benchmarks, critiques, and limitations.
- Contribute: the community gallery, templates, and contribution guide.
Choose Your Loop
Start from the problem you have, not the pattern you want. Find the pattern name below, then open its full write-up in the Pattern Library section, or compare every pattern in the pattern matrix, which also links each one by symptom.
| When you say... | Reach for the loop |
|---|---|
| "My PR is stuck" | PR babysitter |
| "CI keeps failing" | CI repair loop |
| "The docs may be stale" | Docs drift collector |
| "A deploy needs monitoring" | Deploy verifier |
| "Feedback is noisy" | Feedback clusterer |
| "Dependency updates pile up" | Dependency triage loop |
| "Agent evals regressed" | Evaluation regression loop |
| "Sensitive changes need review" | Security review loop |
| "Agent spend is rising" | Cost-control loop |
| "I need recurring bug discovery" | Bug hunting loop |
| "A change needs sign-off" | Enterprise approval loop |
| "An incident just paged" | Incident response loop |
| "A dataset keeps drifting" | Data-quality loop |
| "Release notes are a chore" | Release-note loop |
| "Model choice is ad hoc" | Model-routing loop |
Not sure which runtime should run it? See the runtime selection guide.
Canonical Definition
Loop Engineering is the AI and coding-agent practice of designing recurring systems that discover work, delegate it to agents, verify results, persist state, decide next actions, and run again on a cadence, event, or until a verifiable goal is reached.
Concept Guides
These repository-native guides define the concept, boundaries, and practical artifacts without relying on vendor-specific terminology.
- 🧾 Template Canonical Definition - Short definition, positioning, minimal loop test, and citation note.
- 🧾 Template Loop Engineering Manifesto - Concise statement of the concept, commitments, non-goals, and success standard.
- 🧾 Template Loop Engineering Taxonomy - Classification by trigger, intake, verification, state model, topology, and operating domain.
- ⚠️ Critique Loop Engineering Anti-Patterns - Common failure modes such as prompt loops with no contract, infinite retries, model self-approval, hidden state, and unsafe autonomy.
- 🧾 Template Comparison Guide - Distinguishes Loop Engineering from prompt engineering, context engineering, harness engineering, workflow automation, agent workflows, and evaluation loops.
- 🧾 Template Sourced Signals And Quotes - Short sourced signals from linked public materials that anchor the emerging concept.
- 🧾 Template Outreach Kit - Conservative messages for inviting corrections, sources, and real-world loop patterns.
Maintainer Picks
A compact path through the repository. Each resource is linked in full in the section named in parentheses.
- Concept: Addy Osmani's Loop Engineering essay frames the practice (Start Here), and the Canonical Definition and Manifesto fix the scope and principles (Concept Guides).
- Practice: the Codex long-horizon runbook and Claude's scheduled-task docs cover the core mechanics (Core Loop Primitives), then the PR babysitter and CI repair patterns turn the contract into operating models (Pattern Library).
- Reliability: "Give It Backpressure" and "Building Effective Agents" make verification the learning signal (Verification And Feedback Gates), with the Anti-Patterns guide listing failure modes to avoid (Concept Guides).
- Reusable artifacts: the loop contract schema and validated example specs make the contract concrete (Examples And Schema), and the Loop Gallery is the format for sharing real or anonymized loops (Community Gallery).
Repository Highlights
Beyond the curated list, this repository also maintains:
- 338 curated resource rows with tabular exports
- 15 operational loop patterns with a comparison matrix
- 15 schema-validated loop contracts
- 6 runnable loop templates
- A community gallery for real or anonymized loops
- 8 language entry points
- A standalone landing page and a Hugging Face dataset mirror
- An active discussion thread for Loop Engineering patterns
Resource Type Legend
- 📄 Paper: academic paper, preprint, or technical report.
- 📝 Blog: essay, field note, article, or practitioner write-up.
- 📚 Docs: official product, API, SDK, or platform documentation.
- 🧰 Tool: repository, framework, SDK, runtime, or implementation.
- 🧪 Benchmark: benchmark, eval suite, leaderboard, or evaluation dataset.
- 🔁 Pattern: real-world loop pattern, operational playbook, or reusable workflow.
- 🧾 Template: template, checklist, schema, repository guide, or contribution artifact.
- 🧭 List: adjacent awesome list, ecosystem map, or curated collection.
- ⚠️ Critique: risk analysis, limitation, caveat, or skeptical take.
Start Here
Direct resources about the new AI/coding-agent meaning of Loop Engineering.
- 📝 Blog Loop Engineering - Addy Osmani's framing of loop engineering as the layer above manually prompting coding agents, with concrete primitives across Codex and Claude Code.
- 📝 Blog Loop Engineering - Substack version of the same essay; useful for the original discussion trail and quotations from Peter Steinberger and Boris Cherny.
- 📝 Blog Peter Steinberger on designing loops - The June 2026 post - "you shouldn't be prompting coding agents anymore, you should be designing loops that prompt your agents" - that catalyzed the current discussion.
- 📝 Blog Boris Cherny: five tips for running Opus autonomously for hours or days - The Claude Code creator's compact loop recipe: auto-mode permissions, dynamic workflows,
/goalor/loop, the cloud runner, and end-to-end self-verification. - 📝 Blog Loop Engineering - Concise explanation of the shift from prompting agents to designing loops that discover work, delegate, verify, persist, and continue.
- 📝 Blog Loop Engineering: The Guide for AI Agents - Practical guide that breaks the pattern into automations, worktrees, skills, connectors, subagents, and state.
- 📝 Blog Stop Prompting. Design the Loop. - Practical breakdown of loop building blocks - automations, worktrees, skills, connectors, subagents - plus external memory and verification through oracles such as tests and builds.
- 📝 Blog Writing Loops, Not Prompts, Explained - Rico Kahler's break-even model for when a recurring task justifies building a loop instead of prompting, with stop conditions, evidence collection, and an execution-horizon framing for moving from execution-bound to judgment-bound work.
- 📝 Blog Loop Engineering: A Guide for Engineers and Practitioners - Adnan Masood's practitioner guide that organizes loop design into triggers, topologies, verifiers, and termination rules, with coverage of failure modes, cost control, and observability for production agent loops.
- 📝 Blog Loop Engineering: When Generation Gets Cheap, Judgment Gets Expensive - Stephane Derosiaux's essay on the economics of the loop layer (generation becomes abundant while judgment becomes the bottleneck), proposing evaluator agents that must act rather than merely review, and cataloging failure modes such as unverified merges and quota depletion.
- 📝 Blog Andrew Ng on Loop Engineering and the Three Loops of AI-Native Product Development - Andrew Ng's letter laying out three product-development loops (agentic coding in minutes, developer feedback in hours, external feedback in days) and arguing that human-in-the-loop persists wherever the human knows something the AI does not.
- 📝 Blog From Prompting Agents to Loop Engineering - DAIR.AI founder Elvis Saravia's X article examining the claim that you should stop prompting coding agents and start designing loops that prompt them for you.
- 📝 Blog I Now Just Write Loops To Prompt Claude Code: Claude Code Creator Boris Cherny - Coverage of Boris Cherny's "my job is to write loops" workflow.
- 📝 Blog My Lord! AI Programming Undergoes Another Major Shift - Broad coverage of the Boris Cherny and Peter Steinberger discussion, including the distinction between cold-start scripts and persistent agent loops.
- 📝 Blog The Anthropic leader who built Claude Code ditched prompting - now he writes loops - The New Stack's report on Boris Cherny's shift from prompting to loop writing and what it changes about developer workflow.
Scope Boundary
| In scope | Out of scope |
|---|---|
| AI/coding-agent loops that coordinate prompts, context, harnesses, verification, and state over repeated agent runs | Software event loops, UI/game loops, or control theory loops |
| Scheduled, goal-driven, or event-triggered agent work | Generic cron jobs with no agentic reasoning or verification |
| Agent loops with durable state, worktrees, checkpoints, traces, or progress files | One-off prompt examples with no loop, state, or feedback signal |
| Verification loops using tests, CI, evals, reviewers, or deterministic gates | Pure AI news, generic product pages, or marketing copy |
| Multi-agent maker/checker/delegation patterns | Broad agent lists without specific loop-design relevance |
The Loop Contract
A useful loop has a contract. If one of these is missing, the loop usually becomes either a manual prompt habit or an unsafe background automation. Prompt, context, and harness choices are ingredients; the loop contract is the operating layer that connects them over time.
| Part | Design question | Common artifact |
|---|---|---|
| Objective | What should the loop optimize for? | Goal, issue, PRD, runbook |
| Trigger | When does the loop run? | Schedule, webhook, /loop, /goal, automation |
| Discover / Intake | How does the loop find work? | GitHub queries, Linear filters, CI failures, feedback stream |
| Workspace | Where can the agent act safely? | Worktree, sandbox, branch, container |
| Context | What durable knowledge should it load? | AGENTS.md, CLAUDE.md, SKILL.md, docs |
| Delegation | Which agent does which job? | Explorer, implementer, reviewer, judge |
| Verification | What says "yes" or "no"? | Tests, typecheck, lint, evals, trace graders |
| State | What survives the next run? | Progress file, database checkpoint, trace, issue comment |
| Budget | When should it stop spending? | Max turns, max retries, token budget, time box |
| Escalation | When does a human take over? | PR, issue, Slack alert, triage inbox |
| Exit | How does the loop know it is done? | Acceptance criteria, passing checks, no work found |
Good loop documentation should make the contract visible. A reader should be able to tell what triggers the loop, what state it reads, what it is allowed to change, how it verifies progress, and when it stops.
Loop Design Checklist
| Check | Question |
|---|---|
| Name one objective | Does the loop optimize for a specific outcome instead of a vague goal such as "improve the repo"? |
| Define the intake | Where does work enter: PR comments, CI failures, issues, logs, eval failures, feedback, or schedule? |
| Isolate execution | Does the agent act in a worktree, sandbox, branch, container, or read-only mode? |
| Write the feedback signal first | Do tests, typechecks, lint, evals, policy checks, or trace graders exist before retries begin? |
| Persist state outside the model | Does progress survive in files, issue comments, checkpoints, traces, or a database? |
| Separate maker and checker | Does something other than the acting agent decide whether the work is done? |
| Put a budget on autonomy | Are runtime, turns, retries, token spend, and concurrent workers capped? |
| Design escalation | Is it clear when the loop should open a PR, file an issue, ask a human, or stop? |
| Keep receipts | Are commands, evidence, changed files, and stop reasons recorded? |
Loop Maturity Model
| Level | Name | Description |
|---|---|---|
| 0 | Manual prompting | A human reads state and writes the next prompt. |
| 1 | Scripted retry | A shell/script loop feeds errors back to an agent. |
| 2 | Scheduled loop | The agent runs on a cadence and reports findings. |
| 3 | Stateful loop | Progress survives across sessions through files, issues, checkpoints, or traces. |
| 4 | Self-verifying loop | Deterministic checks or evaluator agents gate completion. |
| 5 | Multi-agent loop | Specialized agents split discovery, implementation, review, and judgment. |
| 6 | Production-supervised loop | Observability, budgets, approvals, rollback, and human escalation are first-class. |
Most teams should climb this model slowly. A reliable Level 3 loop with clear state and deterministic checks is usually more valuable than a flashy Level 5 loop with vague goals.
Pattern Library
Practical loop patterns translate the abstract contract into runnable operating models. Each pattern documents the trigger, discover/intake step, agents, workspace, state, verification gates, retry budget, escalation path, and loop instruction.
- 🔁 Pattern PR babysitter - Repeatedly checks review comments, CI, merge conflicts, stale threads, and readiness to merge.
- 🔁 Pattern CI repair loop - Reproduces failing checks, patches narrowly, reruns evidence, and escalates when failures are outside scope.
- 🔁 Pattern Docs drift collector - Finds mismatches between docs and code, proposes small patches, and verifies examples.
- 🔁 Pattern Deploy verifier - Watches rollout signals, compares them with release expectations, and stops on anomalies.
- 🔁 Pattern Feedback clusterer - Periodically groups GitHub, Linear, Slack, support, or social feedback into actionable themes.
- 🔁 Pattern Dependency triage loop - Classifies dependency updates, applies safe groups, verifies them, and escalates risky upgrades.
- 🔁 Pattern Evaluation regression loop - Investigates degraded agent evals with baseline traces, targeted reruns, and repair proposals.
- 🔁 Pattern Security review loop - Reviews sensitive diffs with evidence-backed findings, safe permissions, and human approval boundaries.
- 🔁 Pattern Cost-control loop - Monitors agent workflow spend, identifies waste, proposes scoped savings, and preserves quality gates.
- 🔁 Pattern Bug hunting loop - Discovers, reproduces, minimizes, and reports bugs with concrete evidence.
- 🔁 Pattern Enterprise approval loop - Drives a permissioned change through required gates and approvers with a full audit trail.
- 🔁 Pattern Incident response loop - Triages an alert into an owned, evidence-backed incident with a postmortem seed.
- 🔁 Pattern Data-quality loop - Validates each dataset refresh against quality rules and quarantines bad versions.
- 🔁 Pattern Release-note loop - Drafts release notes from merged commits, issues, and PRs with linked evidence.
- 🔁 Pattern Model-routing loop - Routes tasks across models on measured quality, latency, privacy, and cost.
Core Loop Primitives
Feature-level building blocks you assemble a loop from: schedulers, goals, worktrees, hooks, skills, plugins, and protocols.
- 📚 Docs Automations - Codex app - Codex background automations for recurring tasks, triage inboxes, skills, and worktree isolation.
- 📚 Docs Follow a goal - Codex use cases - Official guidance for durable objectives with stopping conditions, validation commands, checkpoints, and progress logs.
- 📚 Docs Worktrees - Codex app - Codex worktree model for isolated parallel tasks and handoffs between local and background workspaces.
- 📚 Docs Prompting - Codex - Explains the Codex loop, threads, context, and
/goalmode. - 📚 Docs Customization - Codex - Maps
AGENTS.md, memories, skills, MCP, and subagents into a coherent customization stack. - 📚 Docs Agent Skills - Codex - Official skill format for reusable workflows, scripts, MCP dependencies, invocation policy, and plugin packaging.
- 📚 Docs Plugins - Codex - Bundles skills, app integrations, and MCP servers into reusable loop capabilities.
- 🧰 Tool dotskills - A
.skillsregistry of curated Codex and OpenClaw skills, framed as an "ADE Loop" (Agent Development Environment to registry to Skills Gym) where reusable skills are developed, shared, and evaluated across runs. - 📚 Docs Slash commands in Codex CLI - CLI commands for switching agent threads, browsing skills, inspecting MCP tools, and using subagent workflows.
- 🔁 Pattern Autonomous Loops - Claude Code pattern using task files, stop hooks, restart behavior, hard limits, and a kill switch.
- 📚 Docs Claude Code Glossary - Defines the agentic loop, hooks, subagents, skills, MCP, and related primitives in Claude Code terminology.
- 📚 Docs Keep Claude working toward a goal -
/goalruns turn after turn until a completion condition is met by a verifier. - 📚 Docs Run prompts on a schedule -
/loop, scheduled tasks, reminders, monitor tools, and session-scoped recurring prompts. - 📚 Docs Automate work with routines - Claude Code routines: persistent cloud automations triggered by schedules, API calls, or GitHub events, with connectors, scoped environments, and branch-push limits.
- 📚 Docs Desktop scheduled tasks - Local recurring runs on your own machine, with the persistence, file-access, permission, worktree, and missed-run trade-offs that distinguish them from
/loopand cloud routines. - 📚 Docs Run parallel sessions with worktrees - Worktree isolation for parallel sessions and subagents so concurrent edits do not collide.
- 📚 Docs Automate actions with hooks - Claude Code hooks guide for deterministic lifecycle control around model actions.
- 📚 Docs Hooks reference - Event-level reference for session, turn, tool-call, and subagent hooks.
- 📚 Docs Common workflows - Claude Code - Practical workflows for worktrees, subagents, CI, batch processing, planning, and resuming prior work.
- 📚 Docs Manage multiple agents with agent view - Dashboard for dispatching, monitoring, and attaching to background agent sessions.
- 📚 Docs Run agents in parallel - Compares agent view, subagents, agent teams, worktrees, tasks, and workflows for parallel work.
- 📚 Docs Orchestrate subagents at scale with dynamic workflows - Moves loop state and branching into workflow scripts so large tasks do not overload the conversation context.
- 📚 Docs Create plugins - Packaging model-invoked skills, agents, hooks, MCP servers, monitors, and settings as shareable loop components.
- 📚 Docs Model Context Protocol - Standard protocol for exposing tools and data sources to agent loops.
- 📚 Docs Allowing GitHub Copilot CLI to work autonomously - Copilot CLI autopilot mode plus
/everyand/afterscheduling, turning the CLI into an unattended loop that runs steps until a task is complete. - 🧰 Tool opencode-scheduler - OpenCode plugin that runs recurring agent jobs through OS-native schedulers (launchd on macOS, systemd on Linux), with workdir-scoped jobs, timeouts, and skipped ticks when the previous run is still active.
- 🧰 Tool Agent-Loop-Skills - Reusable verification-gated loops (autoresearch, scientific writing, data analysis, code and prompt optimization, red-teaming) packaged as open-standard Agent Skills, each with a feedback signal, run ledger, and termination conditions.
Official Runtime Guides
End-to-end operating guides and release notes from the runtime vendors themselves: how each platform expects you to run recurring agent work.
- 📚 Docs Run long horizon tasks with Codex - OpenAI's runbook for plan-edit-test-observe-repair-document-repeat work, including specs, plans, status logs, and validation gates.
- 📚 Docs Best practices - Codex - Official best practices for context,
AGENTS.md, MCP, skills, subagents, and automations. - 📚 Docs Agents SDK - OpenAI guide for agent orchestration, tool execution, approvals, state, guardrails, and observability.
- 📚 Docs Agents - OpenAI Agents SDK - SDK primitives for agents, tools, handoffs, guardrails, and runner-managed loops.
- 📚 Docs Running agents - OpenAI guide to turns, state, approvals, sessions, and continuation in the SDK runtime loop.
- 📚 Docs Integrations and observability - OpenAI guide to MCP wiring and traces as the basis for debugging and evaluation loops.
- 📚 Docs Sandbox Agents - Splits the harness control plane from the sandbox execution plane for long-running file and command work.
- 📚 Docs Guardrails and human review - Approval and validation boundaries for sensitive agent actions.
- 📚 Docs Building agents with the Claude Agent SDK - Claude SDK overview for tool-using agents, subagents, state, permissions, and streaming.
- 📚 Docs How the agent loop works - Official walkthrough of the inner agent loop that outer recurring loops build on.
- 📚 Docs Extend Claude with skills - Claude Code skill system for reusable loop instructions and assets.
- 📚 Docs Create custom subagents - Claude Code custom subagents with isolated context, model choice, and tool permissions.
- 📚 Docs GitHub Agentic Workflows - Repository automation that runs coding agents in GitHub Actions on events or schedules with guardrails.
- 📝 Blog GitHub Agentic Workflows technical preview - Changelog announcement for Markdown-defined agentic workflows in GitHub Actions.
- 📚 Docs Continuous AI - GitHub Next's umbrella framing for CI/CD-style AI automation across the software lifecycle, the category that agentic workflows demonstrate.
- 📝 Blog Automate repository tasks with GitHub Agentic Workflows - Official walkthrough of writing Markdown-defined agentic workflows with guardrails for triage, QA, and docs chores.
- 📝 Blog Continuous AI in practice: What developers can automate today with agentic CI - Concrete agentic-CI automations available today, with recurring patterns for triage, review, and documentation upkeep.
- 📚 Docs About GitHub Copilot coding agent - GitHub's autonomous coding agent: assign an issue, the agent works in an isolated Actions-powered workspace, and a reviewable pull request comes back.
- 📝 Blog GitHub Copilot: Meet the new coding agent - Launch overview of the issue-to-PR delegation loop, including iteration on review feedback.
- 📚 Docs Jules - Google's asynchronous coding agent that plans, executes tasks in isolated cloud VMs, and returns reviewable diffs.
- 📚 Docs Cursor cloud agents - Remote agents that work asynchronously in isolated environments and hand results back for review.
- 📚 Docs Devin Docs - Documentation for a long-running autonomous software engineer with sessions, playbooks, knowledge, and review boundaries.
- 📚 Docs Writing effective tools for AI agents - Anthropic's guidance on evaluating and improving tool specs using agentic loops and realistic tasks.
- 📚 Docs Introducing advanced tool use on the Claude Developer Platform - Tool search, programmatic tool calling, and tool-use examples for scaling large tool libraries without flooding context.
- 📚 Docs Effective harnesses for long-running agents - Anthropic's guidance for agents that work across many context windows: durable progress artifacts, environment setup, and self-verification.
- 📚 Docs Claude Code best practices - Widely cited workflow guidance that underlies many recurring Claude Code loops.
- 📚 Docs Cursor 3.8: Improvements to Cursor Automations - Cursor 3.8 changelog introducing an /automate skill that configures an automation's triggers, instructions, and tools from a plain-language description, plus Slack emoji-reaction and five new GitHub event triggers for dispatching cloud agents.
- 📚 Docs GitHub Copilot for Jira Is Now Generally Available - General availability of Copilot for Jira: delegate a Jira issue to the Copilot coding agent, monitor session progress inside the issue, and send follow-up instructions that continue the same draft pull request instead of starting a new one.
- 📚 Docs Claude Managed Agents: Scheduled Deployments and Vaults - Scheduled deployments for Claude Managed Agents, where each cron firing starts a fresh session to complete the task, plus environment-variable vaults that let sandboxed agents authenticate tools while the real secret attaches only at the network boundary.
Research Foundations
Loop Engineering is new as a practice name, but it builds on years of agent-loop, feedback, planning, and self-correction research.
- 📄 Paper ReAct: Synergizing Reasoning and Acting in Language Models - Foundational reason-act-observe loop for tool-using language agents.
- 📄 Paper Reflexion: Language Agents with Verbal Reinforcement Learning - Converts environment feedback into written reflections stored in memory for future attempts.
- 📄 Paper Self-Refine: Iterative Refinement with Self-Feedback - Generate-feedback-refine loop where a model improves outputs over repeated passes.
- 📄 Paper CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquing - Uses tools to ground critique and correction rather than relying only on introspection.
- 📄 Paper Tree of Thoughts - Search over multiple reasoning branches; relevant when loop design needs exploration before committing.
- 📄 Paper Graph of Thoughts - Generalizes thought structures beyond chains and trees, useful for complex loop planning and aggregation.
- 📄 Paper Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models - Combines search, action, and environment feedback for language agents.
- 📄 Paper Voyager: An Open-Ended Embodied Agent with Large Language Models - Demonstrates lifelong skill acquisition through iterative exploration, feedback, and a skill library.
- 📄 Paper Generative Agents: Interactive Simulacra of Human Behavior - Introduces reflection and memory mechanisms for long-running agent behavior.
- 📄 Paper Measuring AI Ability to Complete Long Software Tasks - METR's task-length time horizon metric; grounds why loop budgets, checkpoints, and escalation matter as autonomous work gets longer.
- 📝 Blog Measuring AI Ability to Complete Long Tasks - Accessible summary of the 50% task-completion time horizon and its doubling trend.
- 📄 Paper Reflection-Driven Control for Trustworthy Code Agents - Elevates reflection from an external pass to an internal control loop that monitors the agent's decision path during generation and constrains risky steps with low overhead.
- 📄 Paper Hyperagents - Self-referential agents that fold task-solving and self-modification into editable programs, extending the Darwin Godel Machine toward open-ended self-improvement, the loop where an agent rewrites its own improvement mechanism across runs.
- 📄 Paper PARC: An Autonomous Self-Reflective Coding Agent for Robust Execution of Long-Horizon Tasks - Hierarchical plan-execute-assess loops that detect and correct strategic errors during multi-hour autonomous runs.
- 📄 Paper When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agents - Measures how agents drift from intent when specifications arrive incrementally across a long loop, and proposes a mitigation that recovers most of the loss.
- 🧰 Tool Reflexion code - Reference implementation and experiments for verbal reinforcement loops.
- 📄 Paper Stop Hand-Holding Your Coding Agent: Engineering the Loops that Replace Step-by-Step Prompting - Position paper that formalizes the loop specification (trigger, goal, verification step, stopping rule, memory) as a reusable artifact handed to an agent harness, with a taxonomy, a five-level verification ladder, and a hand-coded analysis of fifty real-world loops.
- 📄 Paper From Question Answering to Task Completion: A Survey on Agent System and Harness Design - Survey that decomposes the agent execution harness into six runtime responsibilities (observation, context, control, action, state, verification) and argues task performance emerges from the interaction of model, runtime, task structure, and evaluation rather than the model alone.
- 📄 Paper MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systems - Self-evolution loop where the agent rewrites its own source code, with each change anchored to a production failure and accepted only after deterministic replay verification with rollback, lifting a four-task mean grader score from 0.25 to 0.61 without human intervention.
- 📝 Blog METR Time Horizon 1.1 - Update to METR's time-horizon methodology, expanding the task suite to 228 tasks (31 at 8+ hours), migrating to the open-source Inspect framework, and revising the post-2023 capability doubling time to roughly 131 days.
Agent Workflow Patterns
These resources are included when they help design the higher-level loop around agents, not merely because they describe agents in general.
- 📚 Docs Building Effective Agents - Anthropic's canonical guide to workflows and agents, including evaluator-optimizer and orchestrator-workers patterns.
- 📝 Blog How we built our multi-agent research system - Detailed orchestrator-worker system with planning, memory, subagents, citation passes, and iterative research loops.
- 📄 Paper Building Effective AI Agents: Architecture Patterns and Implementation Frameworks - PDF overview of agent architecture patterns, including generator-evaluator loops.
- 📝 Blog AI Agent Architectures - System-design overview of ReAct, reflection, planning, tool use, memory, and control strategies.
- 📝 Blog What Are Agentic Workflows? - Accessible taxonomy of planning, tool use, reflection, and memory patterns.
- 📝 Blog Agent Planning & Reflection Patterns - Visual explanation of plan-execute, observe, reflect, retry, and stop patterns.
- 📝 Blog Agentic Design Patterns - Practical overview of ReAct, reflection, tool use, planning, and how to combine them in real-world agents.
- 🔁 Pattern 12 Factor Agents - Operating principles for production agents, including explicit prompts, state ownership, and pause-resume behavior.
- 🔁 Pattern Durable Execution for Agentic Workflows - Explains checkpointing, event-sourced journals, replay, and recovery for long-running agent workflows.
- 📄 Paper Code as Agent Harness - Organizes agent infrastructure into harness interface, feedback-driven control, and multi-agent scaling for executable, verifiable, stateful systems; maps the harness layer that loops build on.
- 📄 Paper Agentic Agile-V: From Vibe Coding to Verified Engineering - Proposes a task-level SCOPE-V loop (Specify, Constrain, Orchestrate, Prove, Evolve, Verify) with human approval gates, arguing agentic coding needs process control and independent verification, not better prompts.
- 📄 Paper Harness Engineering for Language Agents: The Harness Layer as Control, Agency, and Runtime - Decomposes the harness layer that loops build on into control, agency, and runtime, audits 63 harness works, and proposes a HarnessCard so reported agent gains can be separated from harness effects.
- 📄 Paper Agentic Software Engineering: Foundational Pillars and a Research Roadmap - Splits agentic SE into an Agent Command Environment for human orchestration and an Agent Execution Environment for agent task execution, a research roadmap for the layers recurring loops run inside.
- 📝 Blog The Art of Loop Engineering - LangChain's account of four stacked loops around agents (core execution, rubric-based verification, event-driven triggers, and trace-driven self-improvement) using a documentation-writing agent as the running example.
- 🧰 Tool Loopy - Library of reusable AI-agent loops with verification checks and stopping conditions, plus an installable skill for finding, adapting, and designing repeatable agent workflows.
Coding-Agent Loop Systems
- 🧰 Tool SWE-agent - Agent-computer interface and autonomous software engineering agent for repository tasks.
- 📄 Paper SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering - Paper behind SWE-agent and its interface design.
- 🧰 Tool mini-SWE-agent - Minimal coding agent that is useful for understanding the core loop without a large framework.
- 🧰 Tool OpenHands - Open platform for AI software developers as generalist agents.
- 📄 Paper OpenHands: An Open Platform for AI Software Developers as Generalist Agents - Paper describing OpenHands, CodeActAgent, benchmarks, and generalist agent evaluation.
- 🧰 Tool Agentless - Workflow-based approach for software issue resolution using localization, repair, and patch validation.
- 📄 Paper Agentless: Demystifying LLM-based Software Engineering Agents - Useful contrast case: strong results through structured workflow rather than a fully open-ended agent.
- 🧰 Tool AutoCodeRover - Autonomous program improvement system for issue localization, patch generation, and validation.
- 📄 Paper AutoCodeRover: Autonomous Program Improvement - Paper on autonomous code repair loops over real repositories.
- 🔁 Pattern Ralph - Geoffrey Huntley's original Ralph technique: run one agent in a bare loop with fresh context per iteration and the filesystem plus specs as memory.
- 🔁 Pattern everything is a ralph loop - Follow-up essay arguing the loop, not the agent, is the durable engineering unit: one task per iteration, deterministic context, and verification inside the loop.
- 🧰 Tool how-to-ralph-wiggum - Reference repository documenting the Ralph Wiggum technique end to end, from the bare loop script to guardrails and conventions.
- 📝 Blog A Brief History of Ralph - Traces how the bare-loop technique spread from a provocation to a production practice among early adopters.
- 🔁 Pattern Ralph Copilot - Language-agnostic Ralph loop implementation using fresh context, filesystem memory,
PRD.md, andPROGRESS.md. - 🔁 Pattern Compound Engineering - Every's named plan-work-review-compound loop, where each run feeds lessons back into
AGENTS.md-style memory so the next loop is easier; the self-improving counterpart to Ralph. - 🧰 Tool Gas Town - Steve Yegge's multi-agent orchestrator that runs 20-30 parallel coding agents with coordinator, worker, and merge-queue roles; the structured-orchestration end of the spectrum that Ralph anchors with bare iteration.
- 🧰 Tool Amp - Agentic coding tool built around threads, subagents, and an opinionated harness, with an owner's manual that documents loop-style operating practices.
- 🧰 Tool karl - Autonomous multi-agent development loop with planner, reviewer, architect, tester, developer, deployment, and retry phases.
- 🔁 Pattern joelclaw agent-loop skill - Durable Planner-Implementor-Reviewer-Judge coding loops via Inngest events and progress files.
- 🧭 List SWE-bench reading list - Maintained map of software engineering agent systems and related papers.
- 📄 Paper TraceCoder: A Trace-Driven Multi-Agent Framework for Automated Debugging of LLM-Generated Code - ICSE'26 observe-analyze-repair loop with instrumentation, analysis, and repair agents, a history-learning mechanism, and a rollback to the last good state; iteration alone drives most of the gain.
- 📄 Paper The Kitchen Loop: User-Spec-Driven Development for a Self-Evolving Codebase - A production loop where an agent exercises a spec surface as a synthetic power user behind ground-truth tests and quality gates, sustaining 285+ self-correcting iterations and 1,000+ merged PRs with zero detected regressions.
- 📄 Paper Inside the Scaffold: A Source-Code Taxonomy of Coding Agent Architectures - Dissects 13 open-source coding-agent scaffolds and identifies five composable loop primitives (ReAct, generate-test-repair, plan-execute, retry, tree search) that real agents layer, mapping how control loop, tools, and state combine.
- 📄 Paper A Self-Improving Coding Agent - An agent that edits its own code and tools and re-runs against a benchmark, lifting itself from 17% to 53% on a SWE-bench Verified subset, a concrete self-modifying improvement loop.
- 📝 Blog Factory 2.0: From Coding Agents to Software Factories - Factory's software-factory pattern, where Automations coordinate recurring workflows with shared objectives and memory, Missions run multi-agent execution over hours or days, and Droid Computers give agents persistent remote execution across the SDLC.
- 🧰 Tool Ralph - Ryan Carson's PRD-driven Ralph implementation that re-runs Amp or Claude Code with a fresh instance per iteration, gates each story on typecheck and tests, and persists state in prd.json, progress.txt, and Git history until every story passes.
- 🧰 Tool ARIS (Auto-Research-In-Sleep) - Markdown-only skills that run autonomous overnight ML research loops on Claude Code, Codex, or other LLM agents, iterating idea discovery and experiments with cross-model review as the verification gate.
- 🧰 Tool ralph-claude-code - Loop runner that repeatedly re-executes Claude Code against project requirements, using dual-condition exit detection, rate limiting, and a circuit breaker to decide when the loop should stop.
- 🧰 Tool AutoAgent - Meta-agent that autonomously edits its own harness (system prompt, tools, orchestration), re-runs the benchmark, and keeps or discards each change by score, with an author-reported top SpreadsheetBench result from a 24-hour unattended run.
- 🧰 Tool ralph-orchestrator - Multi-backend implementation of the Ralph Wiggum technique that keeps a coding agent looping until task completion, using role-scoped hat personas that coordinate through events, with human-in-the-loop controls and a monitoring dashboard.
- 🧰 Tool zeroshot - CLI that runs a planner, an implementer, and independent validators in isolated environments, looping until a change is verified or rejected with reproducible failures.
- 🧰 Tool ralphex - Extended Ralph loop runner that creates a Git branch per plan, executes tasks in fresh sessions with a commit after each, runs a multi-phase review pipeline with parallel review agents, and archives the completed plan.
- 🧰 Tool Loki Mode - Autonomous spec-to-app loop that runs Reason-Act-Reflect-Verify cycles behind quality gates, with completion gated by a blind three-reviewer council and a deterministic evidence receipt that rejects empty diffs and failing tests.
- 🧰 Tool ralph (iannuttall) - File-based Ralph-style agent loop that executes one JSON PRD story per iteration with fresh model context, using Git and on-disk state as memory across Claude, Codex, Droid, and OpenCode backends.
- 🧰 Tool ralph-loop-agent - Vercel Labs implementation of the Ralph loop for the AI SDK: an outer loop re-runs the agent with verifier feedback until a verifyCompletion check passes or iteration, token, or cost stop conditions trigger.
- 🧰 Tool Open Ralph Wiggum - Agent-agnostic CLI that runs the Ralph Wiggum loop by feeding the same prompt to a fresh agent instance each iteration, with task tracking, live status monitoring, and mid-loop context injection across six coding-agent backends.
- 📝 Blog Superpowers 6 - Release notes doubling as a case study of an unattended overnight autoresearch loop that ran 25 harness experiments against the project's own eval suite, roughly halving orchestration runtime and cutting token spend about 60%.
Verification And Feedback Gates
These resources include harness and observability mechanisms that loops compose into exit gates, receipts, and retry signals.
- 📝 Blog Why Agentic Systems Must Produce Deterministic Outputs to Scale - Argues for deterministic boundaries, contracts, and execution gates around probabilistic agent reasoning.
- 🔁 Pattern Stop Babysitting Your Coding Agent. Give It Backpressure. - Explains how to turn tests, linters, builds, traces, and other signals into feedback loops for coding agents.
- 🔁 Pattern How to Build a Self-Verification Loop in Claude Code - Uses hooks to enforce syntax, intent, and regression checks before an agent can finish.
- 📝 Blog How to build a better agent harness with traces and evals - Trace-evaluate-debug-refine loop for improving agent behavior from real runs.
- 📝 Blog Better Harness: A Recipe for Harness Hill-Climbing with Evals - LangChain's recipe for using evals as the learning signal for harness improvement.
- 📝 Blog Improving Deep Agents with harness engineering - Practical discussion of self-verification, traces, middleware, and loop detection for coding agents.
- 📚 Docs OpenAI agent evals - Evaluation guidance for moving from traces to repeatable grading of agent workflows.
- 🧰 Tool Promptfoo OpenAI Agents provider - Testing and assertions for multi-turn agent workflows, tools, state, handoffs, sandboxes, and traces.
- 🧰 Tool Inspect AI - UK AISI evaluation framework with solvers, scorers, sandboxing, tool use, MCP, and log viewing.
- 📚 Docs OpenTelemetry Semantic Conventions for Generative AI Systems - Portable tracing conventions for model calls, tool calls, and agent workflows.
- 🧰 Tool AgentOps - Monitoring, replay, cost tracking, benchmarking, and tracing for agent sessions.
- 🧰 Tool Langfuse - Open-source LLM engineering platform with tracing, evaluations, and metrics that loops can read back as feedback signals.
- 🧰 Tool LangSmith - Tracing, evaluation, and monitoring platform for inspecting and grading agent runs across iterations.
- 🧰 Tool Arize Phoenix - Open-source AI observability for tracing, evaluating, and debugging agent behavior from real runs.
- 🧰 Tool Braintrust - Evaluation and observability platform with experiments, datasets, and CI integration for gating agent changes.
- 🧰 Tool Weave - Weights & Biases toolkit for tracing, evaluating, and monitoring agent applications over time.
- 📄 Paper Agentic Verification of Software Systems - Pairs a coding agent with a theorem prover (AutoRocq) in a generate-and-validate loop, turning formal proof into the exit gate for trusted automatic programming.
- 📄 Paper Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses - A closed loop that turns each harness edit into a falsifiable contract verified against trajectory outcomes, so the harness evolves from observability instead of trial and error.
- 📄 Paper A Trace-Based Assurance Framework for Agentic AI Orchestration: Contracts, Testing, and Governance - Treats execution traces as the assurance substrate, pairing machine-checkable contracts, testing, and governance so recurring agent orchestration stays verifiable and auditable.
- 📄 Paper Meta-Harness: End-to-End Optimization of Model Harnesses - Optimizes the surrounding harness (tools, prompts, control flow) end to end against task outcomes, turning harness tuning into a measurable improvement loop instead of manual trial and error.
- 📄 Paper Self-Evolving Agents with Anytime-Valid Certificates - Confines self-modification to a small steering adapter around a frozen base model and gates each change with anytime-valid statistical tests that emit auditable certificates, reporting solve-count gains and logged regression prevention on a SWE-bench Verified subset.
- 📄 Paper Delayed Verification Destabilizes Multi-Agent LLM Belief - Models verifier-corrector loops in multi-agent LLM systems as delayed consensus, deriving a stability threshold where verification that is too strong or too late turns factual consensus into oscillation, plus a greedy corrector-placement algorithm validated on five open models.
- 📄 Paper Lean4Agent: Formal Modeling and Verification for Agent Workflow and Trajectory - Models agent workflows and trajectories in Lean 4 dependent types so semantic consistency is machine-checked rather than judged by an LLM, with verification-passing workflows outperforming failing ones by about 12% on software-engineering benchmarks.
- 📄 Paper Regimes: An Auditable, Held-Out-Gated Improvement Loop - Event-sourced agent runtime whose self-improvement loop gates every proposed repair behind static checks, sandbox execution, and held-out evaluation before adoption, keeping the full decision trail replayable.
- 📄 Paper Agentic CLEAR: Automating Multi-Level Evaluation of LLM Agents - Automated evaluation framework from IBM Research that grades agent behavior at system, trace, and node granularity without predefined error taxonomies, producing feedback aligned with human-annotated errors and predictive of task success.
- 📝 Blog Agentic Code Review - Addy Osmani argues that review, not code generation, is the bottleneck in agentic workflows, proposing risk-tiered verification depth, heterogeneous AI reviewers, and hard CI gates while warning against closed loops of models with correlated blind spots.
- 📝 Blog Using DSPy to Evaluate and Improve Datasette Agent's SQL System Prompts - Simon Willison wires a DSPy evaluation harness to a live Datasette instance with real tool calls and gold-standard metrics, then uses the eval traces to find and fix weaknesses in the agent's SQL system prompt.
- 🧰 Tool agentops - Independent verification layer for coding agents where a change only counts as done after a different model or a real test checks it, with the verdict recorded in the repo via a tamper-evident ledger.
- 🧰 Tool HALO (Hierarchical Agent Loop Optimizer) - Analyzes production agent traces to find harness-level failure modes, hands its report to a coding agent to apply fixes, and repeats the collect-analyze-fix-redeploy cycle, reporting AppWorld gains from harness changes alone.
Securing Unattended Loops
A loop that runs while nobody watches needs stronger boundaries than an interactive session. These resources cover the main risks: untrusted intake content, over-broad permissions, and unsandboxed execution.
- ⚠️ Critique The lethal trifecta for AI agents - Simon Willison's rule of thumb: private data, untrusted content, and an exfiltration channel must never meet inside one unattended agent.
- ⚠️ Critique Prompt injection series - Ongoing series on the core unsolved vulnerability for loops whose intake includes content written by strangers.
- 📚 Docs Agentic AI - Threats and Mitigations - OWASP threat model for agentic systems, useful when reviewing intake, memory, tool, and delegation boundaries.
- 📚 Docs Designing AI agents to resist prompt injection - OpenAI's official defense-in-depth guidance: least privilege, sandboxed tools, output verification, and human confirmation for the high-impact actions an unattended loop might take.
- 🧰 Tool sandbox-runtime - Anthropic's OS-level filesystem and network sandboxing for arbitrary processes without requiring a container.
- 🧰 Tool E2B - Open-source isolated cloud sandboxes for running untrusted, AI-generated code inside agent loops.
- 📚 Docs Modal Sandboxes - Secure sandboxed execution for agent-driven code with resource limits and network controls.
- 🧰 Tool Daytona - Infrastructure for running AI-generated code in fast, isolated sandboxes.
- 🧰 Tool peerd - Browser-extension harness that runs the agent loop entirely client-side with user-supplied keys, sandboxed compute, and per-environment actor agents that hold only their tools and no API keys, isolating the orchestrator from untrusted content as a prompt-injection boundary.
State, Memory, And Context Persistence
This section focuses on durable loop state and cross-run context. For context-window design as its own lower layer, see the adjacent Context Engineering lists.
- 📚 Docs Effective Context Engineering for AI Agents - Anthropic guide to context as managed runtime state rather than a prompt dump.
- 📝 Blog Agent Harnesses: the Infrastructure Layer Your LLM Agent Actually Needs - Covers execution loops, state, checkpointing, observers, and replayability.
- 📝 Blog The Agent Loop Is the New OS - Frames the agent loop as an OS-like boundary with context as RAM and tools as I/O.
- 📝 Blog Harness engineering for coding agent users - Martin Fowler article on feedforward, feedback, and outer harnesses for coding agents.
- 📝 Blog Context Engineering - Simon Willison's framing of context engineering, useful for distinguishing context state from loop orchestration.
- 📝 Blog Agentic Coding in 2026 - Sourcegraph on supplying deterministic, large-codebase context and code intelligence so recurring agent runs reuse durable repository state instead of rediscovering it each time.
- 📝 Blog Agentic AI State Management with ScyllaDB and LangGraph - Durable agent state with checkpointers, write-ahead logs, and time-travel branching.
- 🧰 Tool Mem0 - Open-source memory layer for retaining user, session, and agent state across repeated agent sessions.
- 🧰 Tool Letta - Stateful agent framework from the MemGPT line with persistent, self-editing memory across runs.
- 🧰 Tool Zep - Temporal knowledge graph memory that tracks how facts about users and systems change across sessions.
- 🧰 Tool LangMem - SDK for extracting, consolidating, and retrieving long-term agent memory between loop runs.
- 🧰 Tool Beads - Git-plus-SQLite issue and memory store that agents read and write with a
bdCLI, giving recurring loops durable task state and progress that survives context resets. - 📄 Paper ARC: Active and Reflection-driven Context Management for Long-Horizon Agents - Treats context as a managed runtime artifact, reorganizing the working context when degradation or context rot is detected across a long run.
- 📄 Paper Memory for Autonomous LLM Agents: Mechanisms, Evaluation, and Emerging Frontiers - Formalizes agent memory as a write-manage-read loop and surveys compression, retrieval, reflective self-improvement, and policy-learned management across recurring runs.
- 📄 Paper Externalization in LLM Agents: A Unified Review of Memory, Skills, Protocols and Harness Engineering - Reviews how durable state, reusable skills, protocols, and the harness move out of model weights into external infrastructure, the substrate that lets loops persist progress and reuse capability across runs.
- 📄 Paper Meta Context Engineering via Agentic Skill Evolution - A bi-level loop where a meta-agent evolves reusable skills while a base-agent optimizes context, co-evolving the harness and context artifacts across runs (ICML 2026).
- 📄 Paper Are We Ready for an Agent-Native Memory System? - Evaluates twelve agent memory systems across five workloads from a data-management perspective, decomposing memory into representation, extraction, retrieval, and maintenance modules and finding localized maintenance more cost-efficient than global reorganization.
- 📄 Paper Self-Evolving World Models for LLM Agent Planning - Evolves a deployment-time world model while the agent and model weights stay frozen, retrieving observed transitions, distilling rules from prediction-observation mismatches, and filtering low-confidence forecasts so each run's errors improve later planning.
- 📄 Paper Rethinking Continual Experience Internalization for Self-Evolving LLM Agents - Finds that naively re-internalizing accumulated experience causes progressive capability collapse across self-improvement iterations, and identifies what keeps the loop stable: principle-level abstractions, step-wise injection for tool use, and off-policy distillation from stronger teacher trajectories.
- 🧰 Tool GenericAgent - Self-evolving agent that grows a skill tree from a small seed, crystallizing completed runs into layered memory and reusable skills, with a master-worker mode for long-horizon goals.
Orchestration And Multi-Agent Delegation
- 🧰 Tool AutoGen - Multi-agent programming framework for conversations, tool use, and orchestration; active development has moved to the Microsoft Agent Framework.
- 🧰 Tool Microsoft Agent Framework - Microsoft's successor to AutoGen and Semantic Kernel for building and orchestrating multi-agent workflows in Python and .NET.
- 🧰 Tool LangGraph - Graph-based framework for controllable agent workflows, persistence, and human-in-the-loop steps.
- 🧰 Tool CrewAI - Framework for multi-agent workflows organized around roles, tasks, and crews.
- 📚 Docs LlamaIndex Workflows - Event-driven workflow abstraction for agentic applications.
- 📚 Docs OpenAI Agents SDK handoffs - First-class delegation between specialized agents.
- 📚 Docs Agent Protocol - API protocol for agent interaction, useful for separating loop managers from agent runtimes.
- 🧰 Tool AgentKit - TypeScript toolkit for durable, event-driven agents on workflow infrastructure.
- 🧰 Tool deepagents - LangChain project for deeper, longer-running agents with middleware and harness patterns.
- 📚 Docs Temporal for AI - Durable execution for long-running agent workflows: crash-proof state, automatic retries, and human-in-the-loop signals.
- 🧰 Tool Restate - Durable execution runtime for building resilient, stateful agents and workflows that survive failures mid-loop.
- 🧰 Tool DBOS - Lightweight Postgres-backed durable execution library for crash-proof agent workflows, queues, and scheduled triggers.
- 🧰 Tool Composio Agent Orchestrator - Orchestrates parallel coding agents in isolated worktrees that plan tasks, fix CI failures, respond to reviews, and manage their own PR lifecycle.
- 🧰 Tool Omnigent - Databricks' open-source meta-harness and control plane that runs Claude Code, Codex, Cursor, and Pi under shared policies, with budget caps and human-approval gates enforced at the harness layer rather than in prompts.
- 📄 Paper From Agent Loops to Structured Graphs: A Scheduler-Theoretic Framework for LLM Agent Execution - Replaces opaque agent loops with immutable plan-version DAGs and a planning-execution-recovery split, giving inspectable scheduling, deterministic recovery, escalation, and termination guarantees.
- 🧰 Tool Eve - Vercel's TypeScript-native agent framework with durable execution, sandboxed compute, and OpenTelemetry tracing built in, so recurring agent work persists, replays, and is observable across runs by default.
- 📄 Paper Verified Multi-Agent Orchestration: A Plan-Execute-Verify-Replan Framework - Decomposes work into a dependency-aware DAG, runs domain agents in parallel, and uses an LLM verifier to drive adaptive replanning with configurable stop conditions, the verify-and-replan core of a reliable loop.
- 📄 Paper From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents - Organizes how agent workflows are fixed ahead of time or generated and revised per run, and which evaluation signals drive that choice, a map of the design space for recurring loops.
- 🧰 Tool Agent-as-a-Router - Agentic model routing for coding agents reframed as a context-action-feedback loop (ACRouter: orchestrator, verifier, memory) that learns which LLM to route each task to from execution feedback rather than frozen priors, with the CodeRouterBench benchmark across 8 frontier models.
- 📝 Blog Amp: Custom Agents - Amp's plugin-defined custom agents that run as the main agent or as subagents, spawn parallel workers, join tool pipelines, and use thread actions to build background review threads that report results back to a parent thread.
- 🧰 Tool AgentsMesh - Self-hosted control plane for running fleets of coding agents across your own machines, with scheduling, per-pod Git worktree isolation, Kanban work tracking, and merge-request integration.
- 🧰 Tool Bernstein - Deterministic Python orchestrator that runs parallel CLI coding agents in isolated Git worktrees, gates merges on tests, lint, and type checks, and records every scheduling decision in a tamper-evident audit log.
- 🧰 Tool Aeon - Autonomous agent framework that runs Claude Code unattended on GitHub Actions, dispatching skills on cron or reactive triggers with per-run quality scoring, persistent memory, and self-healing skill repair.
- 🧰 Tool h5i - Gives each coding agent an isolated sandboxed Git worktree, dispatches one task to a team that peer-reviews each other's candidates, then replays and tests each candidate with a neutral verifier before merging the winner.
Benchmarks And Evaluation
- 🧪 Benchmark SWE-bench - Benchmark for resolving real GitHub issues through code editing and tests.
- 📄 Paper SWE-bench: Can Language Models Resolve Real-World GitHub Issues? - Original SWE-bench paper.
- 📄 Paper SWE-bench Goes Live - Dynamic benchmark designed to reduce overfitting to static issue sets.
- 🧪 Benchmark Terminal-Bench - Benchmark for agents operating in terminal environments.
- 🧰 Tool Terminal-Bench repository - Open-source benchmark and harness for hard terminal tasks.
- 📄 Paper AgentBench - Multi-environment benchmark for evaluating LLMs as agents.
- 📄 Paper WebArena - Realistic web environment for autonomous agents.
- 📄 Paper OSWorld - Benchmark for multimodal agents operating full computer environments.
- 📄 Paper ToolBench - Tool-use benchmark and dataset for tool-augmented agents.
- 📄 Paper GAIA - Benchmark for general AI assistants requiring reasoning, tool use, and multi-step work.
- 📄 Paper Tau-bench - Benchmark for tool-agent-user interactions in realistic domains.
- 📄 Paper VisualWebArena - Visually grounded web-agent benchmark extending WebArena.
- 📄 Paper AppWorld - Benchmark of interactive app tasks with state-based and execution-based evaluation.
- 📄 Paper Vending-Bench - Benchmark for long-term coherence of autonomous agents; documents how small errors compound over very long loop horizons.
- 🧪 Benchmark Vending-Bench leaderboard - Live long-horizon coherence results from Andon Labs.
- 📄 Paper SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarios - Release-note-derived evolution tasks where agents score far below isolated-issue benchmarks, quantifying the long-horizon gap loops must manage.
- 📄 Paper EvoSkills: Self-Evolving Agent Skills via Co-Evolutionary Verification - A skill generator and a co-evolving surrogate verifier improve multi-file skill packages over iterations, evaluated on the SkillsBench benchmark of structured skill bundles.
- 📄 Paper SaaSBench: Coding Agents in Long-Horizon Enterprise SaaS Engineering - Benchmark for agents on multi-dependency, interactive enterprise tasks, with automated evaluation that probes where long-horizon loops break down.
- 📄 Paper RoadmapBench: Evaluating Long-Horizon Agentic Software Development Across Version Upgrades - 115 real version-upgrade tasks across 17 repositories requiring multi-file changes (median ~3,700 lines), stressing how far agent loops sustain coherent, large-scale work.
- 📄 Paper RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Code - Multi-file refactoring tasks that require tracking and carrying state across many steps, isolating the durable-state weakness that breaks long agent loops.
- 📄 Paper RigorBench: Benchmarking Engineering Process Discipline in Autonomous AI Coding Agents - Scores planning, verification coverage, recovery, abstention, and atomic transitions (not just whether code passes), measuring the loop discipline that separates reliable agents from reckless trial-and-error.
- 📄 Paper SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks - Quantifies structural erosion and verbosity creep across iteration checkpoints in native harnesses like Claude Code and Codex, evidence for why loops need verification and budgets.
- 📄 Paper LongCLI-Bench: A Preliminary Benchmark for Long-horizon Agentic Programming in Command-Line Interfaces - Long-horizon CLI tasks where most runs stall below 30% completion, mapping where unattended loops break down.
- 🧪 Benchmark Can LLM-as-a-Judge Reliably Verify Rubrics in Agentic Scenarios? - Benchmark of 2,458 instances across research and coding domains measuring how reliably LLM judges verify rubrics on agent outputs, finding substantial noise even in strong models and quantifying the trade-offs of prompt design, batched evaluation, and majority voting.
- 🧪 Benchmark SentinelBench: A Benchmark for Long-Running Monitoring Agents - Microsoft Research benchmark of 100 tasks across 10 synthetic web environments that evaluates long-running monitoring agents on whether they wait or act appropriately, scoring task completion, response speed, and resource efficiency.
- 🧪 Benchmark SWE-Together: Evaluating Coding Agents in Interactive User Sessions - Multi-session coding benchmark of 109 repository-level tasks reconstructed from 11,260 recorded user-agent sessions, replayed with an LLM user simulator and scored on final correctness and the number of corrective feedback turns.
- 🧪 Benchmark The Long-Horizon Task Mirage? Diagnosing Where and Why Agentic Systems Break - Cross-domain diagnostic benchmark that scales task horizon through depth and breadth extension, then attributes failures across 3,100+ agent trajectories to a seven-category taxonomy via a trajectory-grounded LLM judge validated against human annotation.
- 📄 Paper Beyond pass@1: A Reliability Science Framework for Long-Horizon LLM Agents - Reliability metrics for long-horizon agents (reliability decay, variance amplification, graceful degradation, meltdown onset) measured over roughly 24,000 episodes across 10 models, showing capability and reliability rankings diverge as tasks lengthen.
- 🧪 Benchmark SEAGym: An Evaluation Environment for Self-Evolving LLM Agents - Evaluation environment that measures whether a self-evolving agent's modifications to prompts, memory, and tools generalize to held-out tasks, using train, validation, and test splits and cost metrics on Terminal-Bench 2.0 and HLE.
- 🧪 Benchmark EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions - Benchmark of 26 evolving coding tasks across 227 evaluation rounds using cumulative executable tests to check that agents keep prior requirements working as specifications change, with top agents reaching only about 50% on multi-turn success metrics.
- 📄 Paper On the Reliability of Computer Use Agents - Repeated-execution study on OSWorld decomposing why computer-use agents fail tasks they previously completed, separating execution stochasticity, task-specification ambiguity, and behavioral variability as distinct causes of unreliability.
- 📄 Paper AgentLens: Revealing the Lucky Pass Problem in SWE-Agent Evaluation - Grades over 2,600 SWE-agent trajectories across eight models to show that a meaningful share of passes are lucky trial-and-error successes, replacing binary pass/fail with process-quality tiers that shift model rankings.
- 🧪 Benchmark ORLoopBench: Solver-in-the-Loop Benchmarks for Self-Correction - Formalizes infeasible-model debugging as a solver-in-the-loop process where each action triggers solver re-execution and infeasibility recomputation, giving deterministic verification for iterative repair in operations research.
- 🧪 Benchmark LongDS-Bench: On the Failure of Long-Horizon Agentic Data Analysis - Benchmark of 68 real-world data-analysis tasks built from Kaggle notebooks spanning 2,225 interactive turns, finding that long-horizon errors account for 52-69% of agent failures and that maintaining a correct analytical state is the core bottleneck.
- 🧪 Benchmark MemoryArena: Benchmarking Agent Memory in Interdependent Multi-Session Agentic Tasks - Multi-session benchmark of interdependent agentic tasks where agents must distill earlier sessions into memory and use it to guide later actions, showing that near-saturated scores on long-context memory benchmarks fail to transfer.
- 🧪 Benchmark Momento: Evaluating Persistent Memory and Reasoning with Multi-Session Agentic Conversations - Benchmark for persistent, tool-mediated task completion across multiple sessions, finding that agents fail by treating prior-session history as current context instead of stale state that needs re-validation.
- 🧪 Benchmark π-Bench: Evaluating Proactive Personal Assistant Agents in Long-Horizon Workflows - Benchmark of 100 multi-turn tasks across 5 user personas with hidden intents, inter-task dependencies, and cross-session continuity, measuring agent proactivity separately from task completion in long-horizon trajectories.
- 🧪 Benchmark Can LLM Agents Be CFOs? Benchmarking Long-Horizon Resource Allocation - A 132-month CFO simulation where agents repeat a monthly cycle of liquidity management, financial closings, and financing decisions with compounding state, and only 15.4% of trials survive the full horizon.
Operations Playbooks
- 📝 Blog Agentic Engineering: The Agent Loop - Minimal mental model for the loop underlying agent operation.
- 📝 Blog The agent loop: ReAct, plan-and-execute, reflection - Practical walkthrough of the base loop and common variants.
- 📝 Blog How to Build an Agent - Thorsten Ball's demystification of the inner agent loop: a model, a loop, and enough tokens.
- 📝 Blog Agentic Coding Recommendations - Armin Ronacher's field notes on which practices hold up when agents do most of the work.
- 📝 Blog Coding Agents 101: The Art of Actually Getting Things Done - Practical delegation guidance from the Devin team on scoping tasks agents can actually finish.
- 📝 Blog How Anthropic teams use Claude Code - Cross-team field report of real recurring agent workflows in engineering, security, and data science.
- 📝 Blog How Boris Uses Claude Code - Unofficial but concrete compilation of Boris Cherny's autonomous setups: parallel worktrees, auto mode,
/loop,/schedule, dynamic workflows, and/goalcompletion conditions. - 📝 Blog Agent of the Day: Copilot Agent PR Analysis - Official walkthrough of a daily scheduled agentic workflow that ingests PR data, analyzes it, and publishes findings to a Discussion, a concrete recurring loop with trigger, intake, analysis, and output.
Templates And Patterns
Reusable patterns that contributors can turn into future examples, templates, or playbooks.
- 🧾 Template Resource entry template - Format for adding a single resource with evidence quality and category fit.
- 🧾 Template Loop pattern template - Template for documenting an operational loop such as PR babysitting, CI repair, or feedback clustering.
- 🧾 Template Loop contract schema - Machine-readable schema for portable loop specs.
- 🧾 Template Loop contract preview script - Dependency-free demo that validates and renders a loop contract JSON file.
- 🧾 Template Translation guide - How to add or maintain a language translation without drifting from the canonical English list.
- 🧾 Template Pattern library index - Practical loop patterns with triggers, state, verification gates, budgets, and escalation paths.
All fifteen documented patterns, including PR babysitting, CI repair, feedback clustering, deploy verification, and docs drift collection, live in the Pattern Library section with a full write-up each. Proposals for new patterns are welcome via issues or PRs.
Examples And Schema
Concrete examples make the loop contract easier to adapt to real repositories.
- 🔁 Pattern Example loop specs - Human-readable walkthroughs for PR babysitting, CI repair, and docs drift collection.
- 🧾 Template Loop contract library - Schema-validated loop contracts for every pattern-library loop, from PR babysitting to model routing.
- 🧾 Template Runnable test-repair loop - Dependency-light reference loop script with a verification gate, retry budget, durable progress log, repeat-failure detection, and escalation exit.
- 🧾 Template Runnable loop guide - Maps the script line by line to the Loop Contract and shows how to drive it with Claude Code, Codex CLI, or any agent CLI.
Preview an example locally:
python3 scripts/preview_loop_contract.py examples/pr-babysitter-loop.json
Community Gallery
The gallery is for real-world or realistic loop examples contributed by the community.
Running a real loop? Share it, real or anonymized, in the patterns discussion linked under Roadmap And Discussion below. Use the minimum useful case study and anonymization checklists so others can learn from it safely.
- 🧾 Template Loop gallery guide - Quality bar for contributed loop examples with receipts and lessons learned.
- 🧾 Template Loop gallery template - Markdown template for sharing a loop's trigger, intake, state, verification, escalation, and safety notes.
- 🔁 Pattern PR babysitter reference loop - Reference gallery entry for keeping a pull request moving.
- 🔁 Pattern CI repair reference loop - Reference gallery entry for turning failing CI into a verified patch or escalation.
- 🔁 Pattern Docs drift reference loop - Reference gallery entry for recurring docs/code consistency checks.
Critiques, Risks, And Limitations
- ⚠️ Critique Most Developers Do Not Need Agent Loops Yet - Useful caution against adopting loops before the task, signal, and economics justify them.
- ⚠️ Critique Engineering Agentic Systems for Reliability - Cautions that agentic systems fail at boundaries when permissions, verification, traceability, and escalation are weak.
- ⚠️ Critique Self-Correcting Agents: Reflexion, CRITIC, and ReAct Loops Compared - Compares self-correction patterns and their cost/failure tradeoffs.
- ⚠️ Critique How to Build an AI Agent Harness: A 2026 Complete Guide - Broad guide with useful warnings on data readiness, permissions, context management, and evaluation.
- ⚠️ Critique Harness Engineering vs Prompt Engineering vs Context Engineering Explained - Adjacent framing that helps avoid confusing loop engineering with the surrounding harness discipline.
- 📄 Paper Position: Coding Benchmarks Are Misaligned with Agentic Software Engineering - Argues benchmark scores conflate the model with the harness and penalize valid alternatives, so headline numbers hide which loop and harness choices actually move performance.
- 📄 Paper Understanding the Challenges in Iterative Generative Optimization with LLMs - Empirically isolates three hidden design choices that make self-improving agent loops succeed or fail - starting artifacts, credit horizons over execution traces, and batching strategy - explaining why iterative refinement loops stay brittle in production.
- 📄 Paper The Illusion of Multi-Agent Advantage - Systematic evaluation showing automatically generated multi-agent systems consistently underperform chain-of-thought self-consistency while costing up to 10x more, cautioning that auto-designed orchestration adds complexity without functional benefit.
- ⚠️ Critique The Coming Loop - Flask creator Armin Ronacher's skeptical essay on harness loops, examining what continuously re-driving agents past their natural stopping points does to code quality, review capacity, and human understanding of the resulting systems.
- ⚠️ Critique Loop Engineering, the Latest AI Buzzword, Still Needs Humans in the Loop - The Register's report on the June 2026 loop-engineering discussion, collecting the Steinberger, Osmani, and Cherny quotes while arguing that vendor token-consumption incentives and model non-determinism keep humans in the loop.
Adjacent Awesome Lists
- 🧭 List Awesome Harness Engineering - Comprehensive list for the agent harness layer that Loop Engineering builds on.
- 🧭 List Awesome Harness Engineering - High-signal harness list with strong categories for context, guardrails, specs, evals, runtimes, and benchmarks.
- 🧭 List Awesome Agent Harness - Curated tools and resources for environments, constraints, and feedback around coding agents.
- 🧭 List Awesome Context Engineering - Survey-style list for context engineering across LLMs and agents.
- 🧭 List Awesome Prompt Engineering - Classic adjacent list for prompt techniques and prompting resources.
- 🧭 List Awesome LLM Agents - General list of LLM agent papers, frameworks, and applications.
- 🧭 List Awesome AI Agents - Broad AI agent ecosystem map.
- 🧭 List Awesome CLI Coding Agents - Directory of terminal-native coding agents, parallel runners, autonomous loops, and the harnesses that orchestrate them.
- 🧭 List Awesome Self-Evolving Agents - Survey-style list of agents that improve themselves over repeated runs, an adjacent angle on long-running loops with memory and verification.
- 🧭 List Awesome AI Agent Papers - Curated 2026 research collection across agent engineering, memory, evaluation, workflows, and autonomous systems, a paper-level feeder for loop-design foundations.
- 🧭 List awesome-ralph - Curated directory for the Ralph technique, collecting official resources, implementations, playbooks, tutorials, and community channels for running coding agents in automated loops until specifications are fulfilled.
Discovery And Distribution
Prefer this list as a website or as structured data?
- 🧾 Template Landing page - SEO-friendly entry point for the repository.
- 🧭 List Hugging Face dataset mirror - Synced dataset repo with the full project plus generated
data/resources.csvanddata/resources.jsonlresource sheets. - 🧾 Template Landing page source - Source for the static landing page.
- 🧾 Template Sitemap - Crawl hints for the landing page and core repository pages.
- 🧾 Template Robots file - Allows indexing and points crawlers to the sitemap.
For launch copy and backlink strategy, use the distribution checklist.
Roadmap And Discussion
- 🧾 Template Roadmap - Near-term work, pattern priorities, gallery goals, and open questions.
- 🧾 Template Launch article - Shareable explanation of the concept and repository.
- 🧾 Template Discussion guide - Suggested discussion categories, starter prompts, and moderation standard.
- 🔁 Pattern Show your Loop Engineering patterns - Community discussion for real or anonymized loop examples.
Contributing
Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.
This repository uses a strict curation standard to keep the list focused, verifiable, and useful for builders. Maintainers can use the maintenance guide for link checks, identity checks, and periodic refreshes.
For community expectations and support channels, see CODE_OF_CONDUCT.md, SUPPORT.md, and SECURITY.md.
Fast path for adding a resource:
- Check that it is about AI/coding-agent Loop Engineering or a direct foundation for it.
- Search the README to avoid duplicates.
- Pick the most specific category.
- Add one entry using this format:
- 📄 **Paper** [Title](https://example.com) - One sentence explaining the resource's contribution to Loop Engineering.
- Open a pull request and explain the category fit, source type, and why builders should care.
Fast path for contributing a loop pattern: start from the loop pattern template or loop contract schema, include trigger, discover/intake, delegation, workspace, context, verification, durable state, budget, escalation, and exit, then open a pattern suggestion issue if you want feedback before writing the full pattern.
Good submissions should answer three questions:
- Is this about the new AI/coding-agent meaning of Loop Engineering or a direct foundation for it?
- Does it help someone design, run, verify, evaluate, or critique recurring agent systems that coordinate prompting, context, harnesses, verification, and state?
- Is the source stable, public, and specific enough to be useful?
Citation
If this repository is useful in your work, please cite it with:
@misc{chaoyue2026awesome_loop_engineering,
author = {He, Chaoyue},
title = {Awesome Loop Engineering},
year = {2026},
howpublished = {\url{https://github.com/ChaoYue0307/awesome-loop-engineering}},
note = {Curated resources for Loop Engineering}
}
Reusable blurb (for blog posts, talks, internal docs, or community posts):
Loop Engineering is the practice of designing recurring AI-agent and coding-agent systems that discover work, delegate to agents, verify results, persist state, and retry or escalate on a cadence or until a goal is reached. Awesome Loop Engineering is a curated, implementation-focused resource collection for this practice: github.com/ChaoYue0307/awesome-loop-engineering
- Downloads last month
- 761