TensorRT-Model-Connect AGENTS.md

A project instruction file for TensorRT-Model-Connect, a NVIDIA project for connecting and working with different AI model families.

In plain words
What is it for?
It guides agents through creating branches, opening pull requests, preserving contributor sign-offs, waiting for automated checks, and maintaining the documentation website.
Why use it?
It defines the required GitHub branch, pull-request, review, sign-off, and documentation practices. This helps prevent rejected changes and keeps contributions aligned with the repository’s rules.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/nvidia/tensorrt-model-connect/agents-md
Clone the repo
git clone --depth 1 https://github.com/NVIDIA/TensorRT-Model-Connect

Made for: Codex, OpenCode.

Per session 834 This file is loaded in full into every session.
When invoked 834 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00834 $0.00834
Opus 5 $0.00417 $0.00417
Sonnet 5 $0.00167 $0.00167
Haiku 4.5 $0.00083 $0.00083

Measured 2d ago against content hash 8fd3e6c8576a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

TensorRT-Model-Connect AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 79 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 79 lines · 834 tokens per session scan A 8fd3e6c8576a

Subscribe to this mod's changes

TensorRT-Model-Connect AGENTS.md is an instructions file published in the GitHub repository NVIDIA/TensorRT-Model-Connect (188 stars, last pushed 2d ago), licensed Apache-2.0. It adds 834 tokens to every session, about $0.0042 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.