agentleFS
dlwnsdn0285dlwnsdn0285/research-loop/templates/AGENTS.md

research-loop / templates

AGENTS.md1 starsChanged 3 months agoMITView on GitHub

This repository uses RESEARCH_PROTOCOL.md and research_runs_history/ as the research workflow and source of truth. When asked to run the latest experiment: A successful, approved execution path may commit and push automatically. Human escalation is required for validation failure, merge conflicts, destructive overwrite, or any material deviation from the approved plan.

  • 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 35,266 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, 6 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read RESEARCH_PROTOCOL.md before handling a research run.

    line 7
  2. Distinctive:

    Treat GitHub as the canonical durable state.

    line 8
  3. Distinctive:

    Do not mix experimental observations with interpretation.

    line 9
  4. Very specific:

    Do not execute a PLAN_READY run without explicit user approval.

    line 10
  5. Distinctive:

    Do not rewrite raw results to make an interpretation cleaner.

    line 11
  6. Very specific:

    Do not write 03_ANALYSIS.md or 04_CRITIQUE.md while acting as executor.

    line 12
  7. Distinctive:

    When asked to run the latest experiment:

    line 16
  8. Very specific:

    Read its 00_MANIFEST.yaml and 01_PLAN.md and inspect the code needed to implement the plan.

    line 20
  9. Distinctive:

    Stop and request explicit approval if the plan is not already approved.

    line 22
  10. Very specific:

    After approval, record approval, transition to RUNNING, execute the approved plan, and preserve raw outputs.

    line 23
  11. Distinctive:

    Run the planned validation/sanity checks.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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

Research Loop — Agent Instructions

This repository uses RESEARCH_PROTOCOL.md and research_runs_history/ as the research workflow and source of truth.

Always

  • Read RESEARCH_PROTOCOL.md before handling a research run.
  • Treat GitHub as the canonical durable state; sync the local checkout before starting execution.
  • Do not mix experimental observations with interpretation.
  • Do not execute a PLAN_READY run without explicit user approval.
  • Do not rewrite raw results to make an interpretation cleaner.
  • Do not write 03_ANALYSIS.md or 04_CRITIQUE.md while acting as executor.

Executor workflow

When asked to run the latest experiment:

  1. Fetch/pull the canonical branch and verify the local checkout is current. If a merge conflict or unexpected divergence exists, stop and escalate.
  2. Find the latest run whose manifest status is PLAN_READY or PLAN_APPROVED.
  3. Read its 00_MANIFEST.yaml and 01_PLAN.md and inspect the code needed to implement the plan.
  4. Explain purpose, conditions, controls, metrics, implementation, commands, and expected artifacts.
  5. Stop and request explicit approval if the plan is not already approved.
  6. After approval, record approval, transition to RUNNING, execute the approved plan, and preserve raw outputs.
  7. Run the planned validation/sanity checks. If validation fails or the plan must materially change, stop and escalate instead of inventing a new scientific direction.
  8. Generate 02_RESULTS_RAW.md from observed outputs without scientific interpretation.
  9. Register every retained raw artifact under files.raw_results.artifacts in 00_MANIFEST.yaml using path, type, and description. The description must state what data the file contains, not what the result proves or suggests. Example: Per-example prediction, gold answer, and EM score. Not: Results showing that hop1 evidence is underused. Fill execution provenance such as commit, command, dataset/split, and seeds.
  10. Validate the run, transition to RESULTS_READY, commit the run artifacts, and push them to the canonical GitHub branch.

A successful, approved execution path may commit and push automatically. Human escalation is required for validation failure, merge conflicts, destructive overwrite, or any material deviation from the approved plan.

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.