cy0307 commited on
Commit
94fae0e
·
verified ·
1 Parent(s): 323eb8f

Sync from GitHub 6ddd4e5

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. docs/index.html +66 -1
README.md CHANGED
@@ -35,7 +35,7 @@ configs:
35
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/actions/workflows/quality.yml"><img src="https://img.shields.io/github/actions/workflow/status/ChaoYue0307/awesome-loop-engineering/quality.yml?branch=main&label=validate" alt="validate"></a>
36
  <a href="https://chaoyue0307.github.io/awesome-loop-engineering/"><img src="https://img.shields.io/badge/project-site-38bdf8" alt="project site"></a>
37
  <a href="https://huggingface.co/datasets/cy0307/awesome-loop-engineering"><img src="https://img.shields.io/badge/HF-dataset-ffcc4d" alt="Hugging Face dataset"></a>
38
- <img src="https://img.shields.io/badge/resources-259-a78bfa" alt="resources">
39
  <img src="https://img.shields.io/badge/patterns-15-38bdf8" alt="patterns">
40
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-CC0--1.0-64748b" alt="license"></a>
41
  <a href="CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-22c55e" alt="PRs welcome"></a>
 
35
  <a href="https://github.com/ChaoYue0307/awesome-loop-engineering/actions/workflows/quality.yml"><img src="https://img.shields.io/github/actions/workflow/status/ChaoYue0307/awesome-loop-engineering/quality.yml?branch=main&label=validate" alt="validate"></a>
36
  <a href="https://chaoyue0307.github.io/awesome-loop-engineering/"><img src="https://img.shields.io/badge/project-site-38bdf8" alt="project site"></a>
37
  <a href="https://huggingface.co/datasets/cy0307/awesome-loop-engineering"><img src="https://img.shields.io/badge/HF-dataset-ffcc4d" alt="Hugging Face dataset"></a>
38
+ <img src="https://img.shields.io/badge/resources-268-a78bfa" alt="resources">
39
  <img src="https://img.shields.io/badge/patterns-15-38bdf8" alt="patterns">
40
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-CC0--1.0-64748b" alt="license"></a>
41
  <a href="CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-22c55e" alt="PRs welcome"></a>
docs/index.html CHANGED
@@ -4,8 +4,9 @@
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
  <title>Awesome Loop Engineering</title>
7
- <meta name="description" content="A curated field guide to Loop Engineering: designing recurring AI-agent systems above prompt, context, and harness engineering.">
8
  <meta name="robots" content="index,follow">
 
9
  <link rel="canonical" href="https://chaoyue0307.github.io/awesome-loop-engineering/">
10
  <link rel="icon" href="assets/awesome-loop-engineering-logo.svg" type="image/svg+xml">
11
  <meta property="og:type" content="website">
@@ -181,6 +182,39 @@
181
  "author": { "@type": "Person", "name": "Chaoyue He" }
182
  }
183
  </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
  </head>
185
  <body>
186
  <header class="site">
@@ -193,6 +227,7 @@
193
  <a href="#patterns">Patterns</a>
194
  <a href="#runtimes">Runtimes</a>
195
  <a href="#resources">Resources</a>
 
196
  </nav>
197
  <span class="spacer"></span>
198
  <span class="ghs">
@@ -379,6 +414,36 @@
379
  </div>
380
  </section>
381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  <footer>
383
  <div class="wrap">
384
  <div class="cols">
 
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
  <title>Awesome Loop Engineering</title>
7
+ <meta name="description" content="A curated field guide to Loop Engineering: patterns, loop contracts, and runnable examples for designing recurring AI agent and coding-agent systems above prompt, context, and harness engineering.">
8
  <meta name="robots" content="index,follow">
9
+ <meta name="author" content="Chaoyue He">
10
  <link rel="canonical" href="https://chaoyue0307.github.io/awesome-loop-engineering/">
11
  <link rel="icon" href="assets/awesome-loop-engineering-logo.svg" type="image/svg+xml">
12
  <meta property="og:type" content="website">
 
182
  "author": { "@type": "Person", "name": "Chaoyue He" }
183
  }
184
  </script>
185
+ <script type="application/ld+json">
186
+ {
187
+ "@context": "https://schema.org",
188
+ "@type": "FAQPage",
189
+ "mainEntity": [
190
+ {
191
+ "@type": "Question",
192
+ "name": "What is loop engineering?",
193
+ "acceptedAnswer": { "@type": "Answer", "text": "Loop Engineering is the practice of designing recurring AI agent and coding-agent systems. Instead of prompting an agent turn by turn, you build a loop that discovers work, delegates it to agents, verifies the result against tests or other gates, persists state outside the model, decides what happens next, and runs again on a cadence or until a verifiable goal is reached." }
194
+ },
195
+ {
196
+ "@type": "Question",
197
+ "name": "How is loop engineering different from prompt, context, and harness engineering?",
198
+ "acceptedAnswer": { "@type": "Answer", "text": "Prompt engineering improves what you ask, context engineering improves what the model can see, and harness engineering improves the tools, permissions, and checks around a single run. Loop engineering sits above all three: it governs how agent work repeats, verifies, persists state, and escalates over time." }
199
+ },
200
+ {
201
+ "@type": "Question",
202
+ "name": "When should you use an agent loop?",
203
+ "acceptedAnswer": { "@type": "Answer", "text": "Use a loop when work recurs and a deterministic check can decide success, such as keeping a pull request moving, repairing failing CI, monitoring a deploy, or triaging dependency updates. If a task is one-off, or done depends only on a human's judgment, a single agent run is usually enough." }
204
+ },
205
+ {
206
+ "@type": "Question",
207
+ "name": "What is in a loop contract?",
208
+ "acceptedAnswer": { "@type": "Answer", "text": "A loop contract names the parts every reliable loop shares: objective, trigger, intake, workspace, context, delegation, a verification gate, durable state, budget, escalation, and an exit condition. The repository ships a JSON schema and validated example contracts for each pattern." }
209
+ },
210
+ {
211
+ "@type": "Question",
212
+ "name": "Which runtimes can run agent loops?",
213
+ "acceptedAnswer": { "@type": "Answer", "text": "The same loop can run as a Claude Code /loop or scheduled task, a Codex automation, a GitHub agentic workflow, a shell or cron wrapper, or a durable-execution runtime. The runtime selection guide compares persistence, file access, isolation, and permissions so you can choose deliberately." }
214
+ }
215
+ ]
216
+ }
217
+ </script>
218
  </head>
219
  <body>
220
  <header class="site">
 
227
  <a href="#patterns">Patterns</a>
228
  <a href="#runtimes">Runtimes</a>
229
  <a href="#resources">Resources</a>
230
+ <a href="#faq">FAQ</a>
231
  </nav>
232
  <span class="spacer"></span>
233
  <span class="ghs">
 
414
  </div>
415
  </section>
416
 
417
+ <section id="faq">
418
+ <div class="wrap">
419
+ <div class="eyebrow">FAQ</div>
420
+ <h2>Loop Engineering, answered</h2>
421
+ <p class="section-intro">Short answers to the questions people ask first.</p>
422
+ <div class="grid">
423
+ <div class="card">
424
+ <h3>What is loop engineering?</h3>
425
+ <p>Loop Engineering is the practice of designing recurring AI agent and coding-agent systems. Instead of prompting an agent turn by turn, you build a loop that discovers work, delegates it to agents, verifies the result against tests or other gates, persists state outside the model, decides what happens next, and runs again on a cadence or until a verifiable goal is reached.</p>
426
+ </div>
427
+ <div class="card">
428
+ <h3>How is loop engineering different from prompt, context, and harness engineering?</h3>
429
+ <p>Prompt engineering improves what you ask, context engineering improves what the model can see, and harness engineering improves the tools, permissions, and checks around a single run. Loop engineering sits above all three: it governs how agent work repeats, verifies, persists state, and escalates over time.</p>
430
+ </div>
431
+ <div class="card">
432
+ <h3>When should you use an agent loop?</h3>
433
+ <p>Use a loop when work recurs and a deterministic check can decide success, such as keeping a pull request moving, repairing failing CI, monitoring a deploy, or triaging dependency updates. If a task is one-off, or "done" depends only on a human's judgment, a single agent run is usually enough.</p>
434
+ </div>
435
+ <div class="card">
436
+ <h3>What is in a loop contract?</h3>
437
+ <p>A loop contract names the parts every reliable loop shares: objective, trigger, intake, workspace, context, delegation, a verification gate, durable state, budget, escalation, and an exit condition. The repository ships a JSON schema and validated example contracts for each pattern.</p>
438
+ </div>
439
+ <div class="card">
440
+ <h3>Which runtimes can run agent loops?</h3>
441
+ <p>The same loop can run as a Claude Code /loop or scheduled task, a Codex automation, a GitHub agentic workflow, a shell or cron wrapper, or a durable-execution runtime. The runtime selection guide compares persistence, file access, isolation, and permissions so you can choose deliberately.</p>
442
+ </div>
443
+ </div>
444
+ </div>
445
+ </section>
446
+
447
  <footer>
448
  <div class="wrap">
449
  <div class="cols">