AGENTS.md@src/srtctl/backendsA

AGENTS.md@src/srtctl/backends from nvidia/srt-slurm is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add nvidia/srt-slurm/src/srtctl/backends/AGENTS.md@git:20261013.4406bb7

Pins git:20261013.4406bb7 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
nvidia/srt-slurm
Path
src/srtctl/backends/AGENTS.md
Versions recorded
8
Latest version
git:20261013.4406bb7, committed Oct 13, 2026
First version recorded
Sep 29, 2026
Size
7,038 bytes
Repository stars
93
License
a license file GitHub does not identify

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Backends

Rules for `src/srtctl/backends/`. Every consumer asks a backend through `Backend` (`backends/base.py`); see the Design Rules in the root `CLAUDE.md`.

## Adding a New Backend

1. Create `backends/<name>.py` with a frozen dataclass inheriting `Backend`. Keep schema fields, including the bound `roles`, on the concrete dataclass.
2. Supply `type` and implement the required abstract launch hooks:
   - `allocate_endpoints()` - Logical worker allocation
   - `endpoints_to_processes()` - Physical process mapping; every port through `NodePortAllocator`
   - `build_worker_command(process, runtime)` - Command construction
3. Inherit optional defaults and override only where the engine needs different behavior:
   - `get_srun_config()` - Defaults to per-process launching without MPI; override MPI settings and launch strategy as needed
   - `get_config_for_mode(mode)` / `get_environment_for_mode(mode)` - Read the bound role's arguments and environment
   - `get_process_environment(process)` - Defaults to `{}`; override for per-process env derived from `Process` ports
   - `mooncake_kv_store` / `get_mooncake_worker_env(...)` - Default to `None` / `{}`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nvidia/srt-slurm/src/srtctl/backends/AGENTS.md@sha256:6d30d0d010f96818

The line at the top of this page pins the label git:20261013.4406bb7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_f73nnrtpuu3bqr2o.svg)](https://markdownregistry.com/a/art_f73nnrtpuu3bqr2o)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 8 versions of this file, between Sep 29, 2026 and Oct 13, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261013.4406bb7 latest2026-10-13 4406bb7 7,038 BA view · diff
git:20261010.009a4fa2026-10-10 009a4fa 6,352 BA view · diff
git:20261008.9c443952026-10-08 9c44395 5,906 BA view · diff
git:20261007.4acc18e2026-10-07 4acc18e 5,615 BA view · diff
git:20261003.104e6592026-10-03 104e659 5,307 BA view · diff
git:20261001.a154f372026-10-01 a154f37 5,162 BA view · diff
git:20260929.6f139092026-09-29 6f13909 5,095 BA view · diff
git:20260929.92fbe042026-09-29 92fbe04 4,992 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (7038 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nvidia/srt-slurm · 93 stars · license a license file GitHub does not identify · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_f73nnrtpuu3bqr2o
GET https://markdownregistry.com/api/v1/resolve?ref=nvidia/srt-slurm/src/srtctl/backends/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/6d30d0d010f96818f9a2ef7477da89243c93605ba97bccb1abd3f8b6653521d1

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from nvidia/srt-slurm

add-config-field SKILL.md skill
nvidia/srt-slurm · .agents/skills/add-config-field/SKILL.md · Add, rename, or re-type a recipe or srtslurm.yaml field in srt-slurm so that it ships complete (schema, resolver…
git:20261003.104e659 · audit A · 93 stars
design-rule-sweep SKILL.md skill
nvidia/srt-slurm · .agents/skills/design-rule-sweep/SKILL.md · Periodic cleanup of srt-slurm drift - shrink the Design Rule baselines, fix stale agent docs, and open small focused…
git:20260929.92fbe04 · audit A · 93 stars
dsight-query SKILL.md skill
nvidia/srt-slurm · .agents/skills/dsight-query/SKILL.md · Analyze existing DSight reports through the read-only SQLite-backed CLI, Python or MCP query interface. Use when…
git:20261003.898e695 · audit A · 93 stars
perf-goal-writer SKILL.md skill
nvidia/srt-slurm · .agents/skills/perf-goal-writer/SKILL.md · Write or refine a ready-to-use /goal prompt for a performance benchmark, regression investigation or optimization…
git:20261003.7f76be2 · audit A · 93 stars
validate-without-cluster SKILL.md skill
nvidia/srt-slurm · .agents/skills/validate-without-cluster/SKILL.md · Verify an srt-slurm change end to end without SLURM or GPUs, using dry-run, the mock orchestrator, and the launch…
git:20260929.92fbe04 · audit A · 93 stars
AGENTS.md AGENTS.md file
nvidia/srt-slurm · AGENTS.md
git:20261012.edaa72f · audit A · 93 stars
CLAUDE.md CLAUDE.md file
nvidia/srt-slurm · CLAUDE.md
git:20261012.edaa72f · audit A · 93 stars
AGENTS.md@docs AGENTS.md file
nvidia/srt-slurm · docs/AGENTS.md
git:20261003.7f76be2 · audit A · 93 stars
AGENTS.md@src/srtctl/benchmarks AGENTS.md file
nvidia/srt-slurm · src/srtctl/benchmarks/AGENTS.md
git:20261003.7f76be2 · audit A · 93 stars
AGENTS.md@src/srtctl/cli AGENTS.md file
nvidia/srt-slurm · src/srtctl/cli/AGENTS.md
git:20261003.104e659 · audit A · 93 stars
AGENTS.md@src/srtctl/core AGENTS.md file
nvidia/srt-slurm · src/srtctl/core/AGENTS.md
git:20261016.ae3d687 · audit A · 93 stars
AGENTS.md@src/srtctl/dsight AGENTS.md file
nvidia/srt-slurm · src/srtctl/dsight/AGENTS.md
git:20261003.898e695 · audit A · 93 stars

Every file in nvidia/srt-slurm

Browse by kind, by grade A, or by owner.