File size: 11,328 Bytes
9ec4919
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
07b0041
9ec4919
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Awesome Loop Engineering</title>
    <meta name="description" content="A curated field guide to Loop Engineering: designing recurring AI-agent systems above prompt, context, and harness engineering.">
    <meta name="robots" content="index,follow">
    <link rel="canonical" href="https://chaoyue0307.github.io/awesome-loop-engineering/">
    <meta property="og:type" content="website">
    <meta property="og:title" content="Awesome Loop Engineering">
    <meta property="og:description" content="Curated resources, patterns, examples, schema, and field guides for recurring AI-agent systems.">
    <meta property="og:url" content="https://chaoyue0307.github.io/awesome-loop-engineering/">
    <meta property="og:image" content="https://raw.githubusercontent.com/ChaoYue0307/awesome-loop-engineering/main/assets/awesome-loop-engineering-cover.png">
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="Awesome Loop Engineering">
    <meta name="twitter:description" content="A field guide for designing recurring AI-agent systems above prompt, context, and harness engineering.">
    <meta name="twitter:image" content="https://raw.githubusercontent.com/ChaoYue0307/awesome-loop-engineering/main/assets/awesome-loop-engineering-cover.png">
    <style>
      :root {
        color-scheme: dark;
        --bg: #0f172a;
        --panel: #111827;
        --muted: #cbd5e1;
        --text: #f8fafc;
        --accent: #38bdf8;
        --accent-2: #a78bfa;
        --border: rgba(148, 163, 184, 0.24);
      }
      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        background:
          radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.22), transparent 26rem),
          radial-gradient(circle at 90% 10%, rgba(167, 139, 250, 0.2), transparent 28rem),
          var(--bg);
        color: var(--text);
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        line-height: 1.6;
      }
      a {
        color: #7dd3fc;
        text-decoration: none;
      }
      a:hover {
        text-decoration: underline;
      }
      main {
        width: min(1120px, calc(100% - 32px));
        margin: 0 auto;
        padding: 48px 0 72px;
      }
      .hero {
        display: grid;
        gap: 28px;
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
        align-items: center;
      }
      .eyebrow {
        color: var(--accent);
        font-size: 0.82rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
      }
      h1 {
        margin: 10px 0 18px;
        font-size: clamp(2.4rem, 6vw, 5.4rem);
        line-height: 0.95;
        letter-spacing: -0.055em;
      }
      .lead {
        max-width: 760px;
        color: var(--muted);
        font-size: clamp(1.08rem, 2vw, 1.3rem);
      }
      .actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 28px;
      }
      .button {
        border: 1px solid var(--border);
        border-radius: 999px;
        padding: 11px 18px;
        background: rgba(15, 23, 42, 0.72);
        color: var(--text);
        font-weight: 700;
      }
      .button.primary {
        border-color: transparent;
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
        color: #08111f;
      }
      .visual {
        border: 1px solid var(--border);
        border-radius: 28px;
        overflow: hidden;
        background: rgba(17, 24, 39, 0.74);
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
      }
      .visual img {
        display: block;
        width: 100%;
      }
      .wide-visual {
        border: 1px solid var(--border);
        border-radius: 28px;
        overflow: hidden;
        background: rgba(17, 24, 39, 0.72);
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
      }
      .wide-visual img {
        display: block;
        width: 100%;
      }
      .section {
        margin-top: 56px;
      }
      .grid {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      .card {
        min-height: 100%;
        border: 1px solid var(--border);
        border-radius: 22px;
        padding: 22px;
        background: rgba(17, 24, 39, 0.72);
      }
      .card h2,
      .card h3 {
        margin: 0 0 10px;
        line-height: 1.2;
      }
      .card p,
      .card li {
        color: var(--muted);
      }
      .stack {
        display: grid;
        gap: 12px;
      }
      .layer {
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 16px 18px;
        background: rgba(15, 23, 42, 0.76);
      }
      .layer strong {
        color: var(--text);
      }
      .definition {
        border-left: 4px solid var(--accent);
        padding: 18px 22px;
        border-radius: 16px;
        background: rgba(15, 23, 42, 0.76);
        color: var(--muted);
      }
      footer {
        margin-top: 64px;
        color: #94a3b8;
        font-size: 0.95rem;
      }
      @media (max-width: 850px) {
        .hero,
        .grid {
          grid-template-columns: 1fr;
        }
        main {
          padding-top: 28px;
        }
      }
    </style>
    <script type="application/ld+json">
      {
        "@context": "https://schema.org",
        "@type": "CollectionPage",
        "name": "Awesome Loop Engineering",
        "url": "https://chaoyue0307.github.io/awesome-loop-engineering/",
        "description": "A curated field guide to Loop Engineering: designing recurring AI-agent systems above prompt, context, and harness engineering.",
        "isPartOf": {
          "@type": "WebSite",
          "name": "Awesome Loop Engineering",
          "url": "https://github.com/ChaoYue0307/awesome-loop-engineering"
        },
        "about": [
          "Loop Engineering",
          "AI agents",
          "Coding agents",
          "Agent workflows"
        ],
        "author": {
          "@type": "Person",
          "name": "Chaoyue He"
        }
      }
    </script>
  </head>
  <body>
    <main>
      <section class="hero">
        <div>
          <div class="eyebrow">Awesome Loop Engineering</div>
          <h1>Design loops, not just prompts.</h1>
          <p class="lead">
            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.
          </p>
          <div class="actions">
            <a class="button primary" href="https://github.com/ChaoYue0307/awesome-loop-engineering">Open GitHub Repo</a>
            <a class="button" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/DEFINITION.md">Read Definition</a>
            <a class="button" href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/examples/README.md">See Examples</a>
            <a class="button" href="https://huggingface.co/cy0307/awesome-loop-engineering">Hugging Face Mirror</a>
          </div>
        </div>
        <div class="visual">
          <img src="https://raw.githubusercontent.com/ChaoYue0307/awesome-loop-engineering/main/assets/loop-engineering-stack.svg" alt="Loop Engineering stack diagram">
        </div>
      </section>

      <section class="section">
        <div class="definition">
          <strong>Canonical definition:</strong>
          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.
        </div>
      </section>

      <section class="section wide-visual" aria-label="Loop Contract visual">
        <img src="https://raw.githubusercontent.com/ChaoYue0307/awesome-loop-engineering/main/assets/loop-contract-cards.svg" alt="Loop Contract cards">
      </section>

      <section class="section wide-visual" aria-label="Loop Engineering lifecycle visual">
        <img src="https://raw.githubusercontent.com/ChaoYue0307/awesome-loop-engineering/main/assets/loop-lifecycle.svg" alt="Loop Engineering lifecycle: Intake, Delegate, Act, Verify, Persist, Decide; Decide retries by feeding evidence back, escalates to a human, or exits when the goal is met">
      </section>

      <section class="section grid" aria-label="Engineering stack">
        <div class="card">
          <h2>The Stack</h2>
          <div class="stack">
            <div class="layer"><strong>Prompt Engineering</strong><br>What should I say to the model?</div>
            <div class="layer"><strong>Context Engineering</strong><br>What state and knowledge should the model see?</div>
            <div class="layer"><strong>Harness Engineering</strong><br>What tools, permissions, tests, and sandboxes surround one run?</div>
            <div class="layer"><strong>Loop Engineering</strong><br>What recurring system governs agent work over time?</div>
          </div>
        </div>
        <div class="card">
          <h2>What The Repo Contains</h2>
          <ul>
            <li>Curated papers, blogs, docs, tools, benchmarks, and patterns.</li>
            <li>Manifesto, taxonomy, comparison guide, and anti-patterns.</li>
            <li>Validated loop contract schema and example loop specs.</li>
            <li>Pattern library for PR, CI, docs, deploy, feedback, dependency, eval, security, cost, and bug-hunting loops.</li>
          </ul>
        </div>
        <div class="card">
          <h2>Contribute</h2>
          <p>
            Share resources, corrections, or real loop patterns with trigger, intake, delegation, verification, state, budget, escalation, and receipts.
          </p>
          <p><a href="https://github.com/ChaoYue0307/awesome-loop-engineering/issues/1">Join the community pattern thread</a></p>
        </div>
      </section>

      <section class="section grid" aria-label="Key links">
        <div class="card">
          <h3>Start Here</h3>
          <p>Use the README for the complete curated map and contribution path.</p>
          <p><a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/README.md">Read the README</a></p>
        </div>
        <div class="card">
          <h3>Field Guides</h3>
          <p>Understand the concept, boundaries, taxonomy, anti-patterns, and comparisons.</p>
          <p><a href="https://github.com/ChaoYue0307/awesome-loop-engineering/blob/main/MANIFESTO.md">Read the Manifesto</a></p>
        </div>
        <div class="card">
          <h3>Build A Loop</h3>
          <p>Start from validated JSON specs or the pattern template.</p>
          <p><a href="https://github.com/ChaoYue0307/awesome-loop-engineering/tree/main/examples">View examples</a></p>
        </div>
      </section>

      <footer>
        <p>
          This is an early curated map of an emerging practice, not a final standard.
          Original repository materials are released under CC0-1.0.
        </p>
      </footer>
    </main>
  </body>
</html>