NVFlare
AGENTS.md979 starsChanged 3 months agoApache-2.0View on GitHub
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository15 other files it gives its agents.
- research/auto-fl-research/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- research/auto-fl-research/CLAUDE.mdCLAUDE.md
- autofl-nvflare-reportSkill
- autofl-nvflareSkill
- nvflare-autofl-reportSkill
- nvflare-autoflSkill
- nvflare-convert-huggingfaceSkill
- nvflare-convert-lightningSkill
- nvflare-convert-pytorchSkill
- nvflare-diagnose-jobSkill
- nvflare-fed-statsSkill
- nvflare-orientSkill
- nvflare-sharedSkill
- nvflare-example-skillSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
Prefer rg and rg --files for fast codebase search.
- Distinctive: line 5
Keep edits scoped to the task.
- Distinctive: line 6
Start with targeted tests for changed files, then run broader checks as needed.
- Very specific: line 7
Before pushing or opening a PR, run the project style check (./runtest.sh -s, or the closest scoped equivalent when justified).
- Distinctive: line 8
Read CLAUDE.md for shared repo guidance such as project overview, architecture notes, commands, package layout, and style/testing …
- Distinctive: line 12
When creating a PR intended for a specific release, assign the corresponding release milestone.
- Distinctive: line 13
Keep public GitHub PRs, issues, and comments self-contained.
- Very specific: line 18
Treat main as the development branch for the next NVFlare release.
- Very specific: line 20
Do not change those pins back to the latest stable release just to make pip install -r requirements.txt succeed.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
NVFlare Agent Notes
- To trigger CI/CD from a PR review thread, post a single-line comment exactly:
/build. - Prefer
rgandrg --filesfor fast codebase search. - Keep edits scoped to the task; do not modify unrelated files in a dirty worktree.
- Start with targeted tests for changed files, then run broader checks as needed.
- Before pushing or opening a PR, run the project style check (
./runtest.sh -s, or the closest scoped equivalent when justified). If it cannot be run, state that clearly before pushing. - Read
CLAUDE.mdfor shared repo guidance such as project overview, architecture notes, commands, package layout, and style/testing conventions. KeepAGENTS.mdlimited to agent-specific addenda.
Public Pull Requests
- When creating a PR intended for a specific release, assign the corresponding release milestone.
- Keep public GitHub PRs, issues, and comments self-contained. Do not include private Jira URLs or ticket identifiers; summarize the relevant requirements and context instead.
- For internal traceability, link from the Jira ticket to the public GitHub artifact, not from the public artifact to Jira.
Main Branch Versioning
- Treat
mainas the development branch for the next NVFlare release. - On
main, examplerequirements.txtfiles may intentionally pin the first upcoming NVFlare version that supports a new feature, even if that package is not published on PyPI yet. - Do not change those pins back to the latest stable release just to make
pip install -r requirements.txtsucceed. - The requirements pin is sufficient. Do not add temporary main-branch or install-from-source caveats solely because the pinned version is not published yet.
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.

