agentleFS
NVIDIAKnown publisherNVIDIA/TensorRT-Model-Connect/AGENTS.md

TensorRT-Model-Connect

AGENTS.md290 starsChanged 45 days agoApache-2.0View on GitHub

- Treat GitHub as the active repository for this project: https://github.com/NVIDIA/TensorRT-Model-Connect.git. - Use the local github remote for fetch, push, PR, and CI operations. - Do not push project changes to any non-GitHub legacy remote unless the user explicitly asks for that repository. - The GitHub default branch is main. - Do not push directly to GitHub main. - Start new work from github/main on a short-lived branch. - Push the branch to the GitHub remote and open a pull…

The file

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

12 rules. About 0 are common, 8 are distinctive, and 4 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.

  • 4

    Very specific

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

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

    Treat GitHub as the active repository for this project: https://github.com/NVIDIA/TensorRT-Model-Connect.git.

    line 5
  2. Very specific:

    Use the local github remote for fetch, push, PR, and CI operations.

    line 7
  3. Distinctive:

    Do not push project changes to any non-GitHub legacy remote unless the user explicitly asks for that repository.

    line 8
  4. Distinctive:

    Do not push directly to GitHub main.

    line 14
  5. Very specific:

    Start new work from github/main on a short-lived branch.

    line 15
  6. Distinctive:

    Wait for GitHub CI before merging.

    line 18
  7. Very specific:

    Avoid commit messages containing Claude.

    line 25
  8. Distinctive:

    Keep GitHub Pages dedicated to the documentation website.

    line 29
  9. Distinctive:

    Do not publish CI reports to GitHub Pages unless the user explicitly changes that decision.

    line 30
  10. Distinctive:

    Do keep validation criteria meaningful and aligned with the behavior under test.

    line 62
  11. Distinctive:

    Write repository documentation, code comments, user-facing messages, and PR text in English.

    line 64
  12. Distinctive:

    Never change the test passing criteria for the purpose of passing CI.

    line 67

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

Repository Target

  • Treat GitHub as the active repository for this project: https://github.com/NVIDIA/TensorRT-Model-Connect.git.
  • Use the local github remote for fetch, push, PR, and CI operations.
  • Do not push project changes to any non-GitHub legacy remote unless the user explicitly asks for that repository.

Branch And PR Flow

  • The GitHub default branch is main.
  • Do not push directly to GitHub main.
  • Start new work from github/main on a short-lived branch.
  • Push the branch to the GitHub remote and open a pull request targeting main.
  • Wait for GitHub CI before merging.
  • Merge with squash or rebase, matching the repository ruleset.
  • Sign off every commit introduced by a pull request with DCO using git commit --signoff; ensure the Signed-off-by email matches the commit author.
  • Preserve or re-add valid sign-offs when amending, rebasing, or cherry-picking commits, and never sign off on another author's behalf.
  • Avoid commit messages containing Claude; the GitHub ruleset rejects them.

GitHub Pages

  • Keep GitHub Pages dedicated to the documentation website.
  • Do not publish CI reports to GitHub Pages unless the user explicitly changes that decision.

Model-Family Ownership And Execution Philosophy

  • The model family is the unit of ownership, fault isolation, and horizontal scale. One team or agent must be able to implement, validate, change, and revert one family without changing or coordinating with another.
  • Each model family owns all model-specific code: configuration and weights, mathematical topology, engine composition, runtime orchestration, and model validation.
  • Duplicate model-specific code by design. Duplication keeps model-specific defects, merge conflicts, and rollbacks family-local; code similarity never justifies a cross-family abstraction.
  • Shared code is limited to model-agnostic contracts and mechanics. It contains no model topology, model semantics, model orchestration, model-specific validation logic or evidence, or family-specific behavior.
  • Generic family code defines only the mathematical computation graph and runtime orchestration. TensorRT owns all lowering to GPU execution, including fusion, tactic and kernel selection, scheduling, code generation, and hardware or version adaptation.
  • Generic family semantics do not depend on GPU, SM, CUDA, driver, or TensorRT version. Platform-specific failures are project topology or orchestration defects, or upstream TensorRT issues.
  • Platform specialization is limited to complete network offload, such as TensorRT Edge-LLM, and TVM-FFI BYOK kernel bindings. Target-specific plans, timing caches, and compiled kernels do not make the model family specialized.
  • Existing family-owned GPU helper kernels outside TVM-FFI BYOK violate this architecture and are temporary migration debt, not a supported specialization.

Dos And Don'ts

  • Do keep validation criteria meaningful and aligned with the behavior under test.
  • Write repository documentation, code comments, user-facing messages, and PR text in English. Preserve non-English model inputs, tokenizer data, and test fixtures when they are required to validate multilingual functionality.
  • Never change the test passing criteria for the purpose of passing CI. If you believe the test is faulty, escalate to a human

Repo Skills

  • Codex skills packaged for this repo are registered through .agents/plugins/marketplace.json.
  • The trtmc-agent-skills plugin is marked INSTALLED_BY_DEFAULT and exposes repo-local skills from plugins/trtmc-agent-skills/skills/.
  • If a skill below is not listed in the active runtime skills, load plugins/trtmc-agent-skills/skills/<name>/SKILL.md directly and follow it. Registration is through the Codex plugin path, so other agent runtimes do not list these; an empty runtime skill list is not evidence that no skill covers the task.
  • Consult the skill that matches the task before starting it:
TaskSkill
Onboard a Hugging Face model, or extend a family, to produce a bundletransform-model
TensorRT output disagrees with the reference, or validation fails numericallydebug-trt-mismatch
FP16/BF16 dtype threading and explicit FP32 boundariesfp16-trt-network
Evaluate a precision or quantization format for a modeloptimize-model-precision
Diagnose runtime cost, or produce performance evidenceprofile-model
Prepare a build or validation environment on an unfamiliar hostsetup-trtmc-environment
Publish a change as a pull requestsubmit-github-pr
Monitor PR CI, diagnose failed checks, rebase onto github/mainpr-babysitter
Turn a finding into a GitHub issuesubmit-github-bug-issue
Draft or review commit messages, PR titles, PR descriptions, merge messageswrite-git-messages
Keep the website, skills, commands, and architecture docs aligneddoc-sync
<!-- Collaborative review anchor: batch 2. -->

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.