agentleFS
NVIDIAKnown publisherNVIDIA/NeMo-Retriever/AGENTS.md

NeMo-Retriever

AGENTS.md3k starsChanged 4 months agoApache-2.0View on GitHub

These standards apply to AI coding agents working in this repository (Cursor, Claude Code, and compatible hosts). NVIDIA NeMo Retriever Library (NRL) is the multimodal extraction and retrieval library formerly known in docs as NV-Ingest. Published customer documentation lives primarily under docs/docs/extraction/ and builds with MkDocs (docs/mkdocs.yml). Library and Helm sources live under nemo_retriever/. Select the documentation path from current host capabilities. Do not ask the user to classify themselves or store repository-scoped identity state during a normal documentation task.

Trending

Quiet since September.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the NVIDIA/NeMo-Retriever repository that our weekly crawl found: only 3 in all, so this is a hint, not a trend. There is no adoption data for this file yet.
  • 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 repository4 other files it gives its agents.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

19 rules. About 1 is common, 13 are distinctive, and 5 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    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
  • could be automatic: a setting could enforce it
  1. Very specific:

    Treat docs/docs/extraction/ and related MkDocs pages as the source of truth for user-facing NRL documentation.

    line 21
  2. Distinctive:

    Before completing a code change, determine whether it changes a user-visible surface.

    line 22
  3. Very specific:

    When it does and the host supports subagents, start a documentation authoring subagent while the primary agent continues the implementation.

    line 23
  4. Very specific:

    If the host cannot run subagents, read docs/AGENTS.md in the primary task, complete the documentation work, and run its documented …

    line 25
  5. Distinctive:

    Do not document defaults or behavior that main does not have yet.

    line 26
  6. Distinctive:

    Do not ask the user to classify themselves or store repository-scoped identity state during a normal documentation task.

    line 33
  7. Very specific:

    Check whether the current agent exposes dori_handle or dori_route and dori_collections.

    line 36
  8. Distinctive:

    If the user explicitly asks not to use DORI, use the Writing Style Guide instead.

    line 38
  9. Distinctive:

    When those tools are available, list the installed collections.

    line 40
  10. Very specific:

    If a collection source contains tech-docs/skill-library, use DORI for task routing.

    line 41
  11. Distinctive:

    If the collection is missing, inaccessible, or cannot be verified, continue with the Writing Style Guide.

    line 43
  12. Distinctive:

    When the DORI tools are unavailable, continue with the Writing Style Guide.

    line 46
  13. Distinctive:

    Do not inspect a shell-visible CLI, install software, or configure the host during a normal documentation task.

    line 47
  14. Distinctive:

    Use NVIDIA DORI Setup only when the user explicitly asks to install or configure DORI.

    line 49
  15. Distinctive:

    Prefer small, focused diffs that match existing style.

    line 57
  16. Distinctive:

    Do not invent APIs, CLI flags, Helm keys, or defaults.

    line 58
  17. Common:

    Never commit secrets, API keys, or credentials.

    line 59
  18. Distinctive:

    Do not add lint, hooks, or CI from agent guidance alone.

    line 60
  19. Distinctive:

    Do not create or modify CLAUDE.md as part of documentation-agent setup.

    line 61

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

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

Agent Instructions — NeMo Retriever

These standards apply to AI coding agents working in this repository (Cursor, Claude Code, and compatible hosts).

Project Overview

NVIDIA NeMo Retriever Library (NRL) is the multimodal extraction and retrieval library formerly known in docs as NV-Ingest. Published customer documentation lives primarily under docs/docs/extraction/ and builds with MkDocs (docs/mkdocs.yml). Library and Helm sources live under nemo_retriever/.

Repository Map

PathPurpose
docs/docs/extraction/Published NRL extraction documentation (MkDocs)
docs/mkdocs.ymlNav, redirects, and MkDocs config
nemo_retriever/Library source, CLI, Helm chart, and in-repo README examples
nemo_retriever/tests/Library tests
.github/workflows/CI, including NRL docs publish workflows

Documentation

  • Treat docs/docs/extraction/ and related MkDocs pages as the source of truth for user-facing NRL documentation. Follow docs/AGENTS.md.
  • Before completing a code change, determine whether it changes a user-visible surface. This includes a public API, CLI, configuration, Helm values or defaults, workflow, error message or error contract, supported file type, or other supported product behavior.
  • When it does and the host supports subagents, start a documentation authoring subagent while the primary agent continues the implementation. Direct it to read docs/AGENTS.md, update the affected docs, and run validation. Give it the changed sources and user-visible impact.
  • Reconcile the authoring subagent's documentation changes and validation evidence before completing the implementation. Include the required documentation in the same change when the repository workflow allows a combined PR. If policy requires a docs-only follow-up PR, open that PR in the same task and link it from the code PR.
  • If the host cannot run subagents, read docs/AGENTS.md in the primary task, complete the documentation work, and run its documented validation. Do not omit required documentation because parallel execution is unavailable.
  • Do not document defaults or behavior that main does not have yet.
  • Documentation PRs that change published NRL prose must stay docs-scoped. Do not change nemo_retriever/src/**, tests, Helm chart behavior, lockfiles, or runtime CI env on a docs PR unless the user explicitly requests eng work.
  • Verified product surfaces that often need docs updates: Python create_ingestor / GraphIngestor APIs, retriever CLI, Helm chart README and values, support matrix and NIM defaults, authentication and environment variables, error and troubleshoot guidance, and release notes.

NVIDIA DORI Routing

Select the documentation path from current host capabilities. Do not ask the user to classify themselves or store repository-scoped identity state during a normal documentation task.

  1. Check whether the current agent exposes dori_handle or dori_route and dori_collections. If the user explicitly asks not to use DORI, use the Writing Style Guide instead.
  2. When those tools are available, list the installed collections.
    • If a collection source contains tech-docs/skill-library, use DORI for task routing.
    • If the collection is missing, inaccessible, or cannot be verified, continue with the Writing Style Guide.
  3. When the DORI tools are unavailable, continue with the Writing Style Guide. Do not inspect a shell-visible CLI, install software, or configure the host during a normal documentation task.
  4. Use NVIDIA DORI Setup only when the user explicitly asks to install or configure DORI.

Capability detection does not approve installation or host configuration. DORI unavailability must not block documentation work.

Engineering Guardrails

  • Prefer small, focused diffs that match existing style.
  • Do not invent APIs, CLI flags, Helm keys, or defaults. Verify against checked-in source or tests.
  • Never commit secrets, API keys, or credentials.
  • Do not add lint, hooks, or CI from agent guidance alone. Those require a separately reviewed repository change.
  • Do not create or modify CLAUDE.md as part of documentation-agent setup.

Validation Shortcuts

Change typeValidation
Docs under docs/From docs/: python -m mkdocs build --strict --config-file mkdocs.yml when the environment supports it
Library codeRun the targeted tests that cover the changed modules
Docs-only PR scopegit diff --name-only upstream/main...HEAD (or origin/main...HEAD) and confirm no runtime/out-of-scope paths

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.