agentleFS
ChaoYue0307ChaoYue0307/awesome-loop-engineering/AGENTS.md

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.

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
  1. Distinctive:

    Do not include unrelated uses of "loop":

    line 9
  2. Distinctive:

    Keep README.md as the canonical English source.

    line 20
  3. Distinctive:

    Keep annotations short, specific, and builder-oriented.

    line 22
  4. Distinctive:

    Prefer primary sources, official docs, papers, and implementation-heavy write-ups.

    line 23
  5. Distinctive:

    If a resource is generic agent, prompt, context, or harness content, include it only when the annotation clearly explains its loop-design …

    line 24
  6. Very specific:

    Update README.zh-CN.md only for translated overview content.

    line 25
  7. Very specific:

    When adding a new category, update README.md, CONTRIBUTING.md, PR templates, and issue templates together.

    line 26
  8. Distinctive:

    Do not add generated marketing copy or unsupported hype.

    line 27
  9. Very specific:

    Never create commits with AI-assistant co-author trailers or any non-owner author/committer identity.

    line 31
  10. Distinctive:

    When committing from an AI agent, do not use plain git commit if the environment may append co-author trailers.

    line 33
  11. Distinctive:

    When two sources overlap, prefer:

    line 57

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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.md as 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.md only 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.py

Entry Format

- 📄 **Paper** [Title](https://example.com) - One sentence explaining the resource's contribution to Loop Engineering.

Quality Preference

When two sources overlap, prefer:

  1. primary source or official docs;
  2. implementation details over commentary;
  3. stable URLs over social posts;
  4. practical loop design over broad AI-agent trend coverage.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.