awesome-loop-engineering
AGENTS.md62 starsChanged 4 months agoCC0-1.0View on GitHub
This repository curates resources for the new AI/coding-agent meaning of Loop Engineering. Include resources that help readers design, run, verify, evaluate, or critique recurring AI-agent systems that sit above prompt, context, and harness engineering. A good entry should explain how a loop discovers work, delegates to agents, supplies context, bounds tools and permissions, verifies results, persists state, decides next actions, retries, or escalates. Do not include unrelated uses of "loop": Never create commits with AI-assistant co-author trailers or any non-owner…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- docs/llms.txtllms.txt
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Do not include unrelated uses of "loop":
- Distinctive: line 20
Keep README.md as the canonical English source.
- Distinctive: line 22
Keep annotations short, specific, and builder-oriented.
- Distinctive: line 23
Prefer primary sources, official docs, papers, and implementation-heavy write-ups.
- Distinctive: line 24
If a resource is generic agent, prompt, context, or harness content, include it only when the annotation clearly explains its loop-design …
- Very specific: line 25
Update README.zh-CN.md only for translated overview content.
- Very specific: line 26
When adding a new category, update README.md, CONTRIBUTING.md, PR templates, and issue templates together.
- Distinctive: line 27
Do not add generated marketing copy or unsupported hype.
- Very specific: line 31
Never create commits with AI-assistant co-author trailers or any non-owner author/committer identity.
- Distinctive: line 33
When committing from an AI agent, do not use plain git commit if the environment may append co-author trailers.
- Distinctive: line 57
When two sources overlap, prefer:
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository Guidance For AI Agents
This repository curates resources for the new AI/coding-agent meaning of Loop Engineering.
Scope
Include resources that help readers design, run, verify, evaluate, or critique recurring AI-agent systems that sit above prompt, context, and harness engineering. A good entry should explain how a loop discovers work, delegates to agents, supplies context, bounds tools and permissions, verifies results, persists state, decides next actions, retries, or escalates.
Do not include unrelated uses of "loop":
- software event loops;
- UI/game loops;
- control theory;
- growth loops;
- generic workflow automation;
- non-AI feedback loops.
Editing Rules
- Keep
README.mdas the canonical English source. - Preserve the four-layer framing when editing the intro, scope, or mental model: prompt, context, and harness engineering improve one run; Loop Engineering governs repeated agent work over time.
- Keep annotations short, specific, and builder-oriented.
- Prefer primary sources, official docs, papers, and implementation-heavy write-ups.
- If a resource is generic agent, prompt, context, or harness content, include it only when the annotation clearly explains its loop-design relevance.
- Update
README.zh-CN.mdonly for translated overview content; do not let it drift into a separate resource list unless maintained. - When adding a new category, update
README.md,CONTRIBUTING.md, PR templates, and issue templates together. - Do not add generated marketing copy or unsupported hype.
Commit Identity Rule
Never create commits with AI-assistant co-author trailers or any non-owner author/committer identity. All commits in this repository must be authored and committed as ChaoYue0307 <hechaoyue0307@gmail.com>.
When committing from an AI agent, do not use plain git commit if the environment may append co-author trailers. Create commits with explicit identity instead:
git add <files>
PARENT="$(git rev-parse HEAD)"
TREE="$(git write-tree)"
NEW="$(GIT_AUTHOR_NAME='ChaoYue0307' GIT_AUTHOR_EMAIL='hechaoyue0307@gmail.com' GIT_COMMITTER_NAME='ChaoYue0307' GIT_COMMITTER_EMAIL='hechaoyue0307@gmail.com' git commit-tree "$TREE" -p "$PARENT" -m "Commit message")"
git update-ref refs/heads/main "$NEW" "$PARENT"Before pushing, verify:
python scripts/check_commit_identity.pyEntry Format
- 📄 **Paper** [Title](https://example.com) - One sentence explaining the resource's contribution to Loop Engineering.Quality Preference
When two sources overlap, prefer:
- primary source or official docs;
- implementation details over commentary;
- stable URLs over social posts;
- practical loop design over broad AI-agent trend coverage.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

