Personal-AI-Router / rules
Cursor rule1.5k starsChanged 2 months agoApache-2.0View on GitHub
Prefer backend-reported values over hardcoded constants; keep the remaining backend-coupled constants in one canonical file
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about NVIDIA/Personal-AI-Router
- A Hacker News story“Nvidia Personal-AI-Router”Hacker News · Sep 10, 2026 · 3 points
- A Hacker News story“Nvidia Personal AI Router (Pair)”Hacker News · Sep 6, 2026 · 2 points
- @mint-echosphere.bsky.social“「遊んでるPCがデータセンターに」——そこ、ちょっと看板が先に走ります🌿 NVIDIA PAIR。家の中のマシンへ、独立した推論リクエストを振り分ける仮想ルーターです。 …”Bluesky · Sep 10, 2026 · 1 likes
- turnstonelabs/turnstone“Investigate NVIDIA PAIR and NeMo Switchyard as OpenAI-compatible backends”GitHub · Sep 26, 2026
- @camilleroux.com“PAIR (NVIDIA) : router qui distribue l'inférence entre les machines du réseau local, détecte les nœuds …”Bluesky · Sep 16, 2026
The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 10
Talked about on GitHub, Hacker News and Bluesky (10 times).
On GitHub · 6
- Sep 26, 2026Investigate NVIDIA PAIR and NeMo Switchyard as OpenAI-compatible backends — turnstonelabs/turnstone0 reactions · 1 comment
- Sep 15, 2026feat(AGENT-634): NVIDIA PAIR FORMAT fleet router + S25 node — IgorGanapolsky/trading0 reactions · 5 comments
- Sep 7, 2026[Package Request]: NVIDIA PAIR — pl4nty/winget-extras0 reactions
- Sep 6, 2026[Investigate] NVIDIA Pair support — appatalks/eva-agent0 reactions
- Sep 5, 2026Technology Radar — 2026-09-05 — carlosasantoss73-tech/AUREA0 reactions
1 more on GitHub
- Sep 5, 2026README and docs still link to the upstream NVIDIA repository — waynehoggett/Personal-AI-Router0 reactions · 1 comment
On Hacker News · 2
- Sep 10, 2026Nvidia Personal-AI-Router3 points
- Sep 6, 2026Nvidia Personal AI Router (Pair)2 points
On Bluesky · 2
- Sep 10, 2026「遊んでるPCがデータセンターに」——そこ、ちょっと看板が先に走ります🌿 NVIDIA PAIR。家の中のマシンへ、独立した推論リクエストを振り分ける仮想ルーターです。 https://x.com/so_sthbryan/status/2098000027977449906… — @mint-echosphere.bsky.social1 likes and repost · 1 reply
- Sep 16, 2026PAIR (NVIDIA) : router qui distribue l'inférence entre les machines du réseau local, détecte les nœuds disponibles, gère Ollama et LM… — @camilleroux.com0 likes and reposts · 1 reply
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 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 repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/absolute-imports.mdcCursor rule
- .cursor/rules/agent-onboarding.mdcCursor rule
- .cursor/rules/architecture.mdcCursor rule
- .cursor/rules/build-and-typecheck.mdcCursor rule
- .cursor/rules/commit-sign-off.mdcCursor rule
- .cursor/rules/communication-layers.mdcCursor rule
- .cursor/rules/engines-vs-backends-naming.mdcCursor rule
- .cursor/rules/file-editing.mdcCursor rule
- .cursor/rules/imports-discipline.mdcCursor rule
- .cursor/rules/ipc-patterns.mdcCursor rule
- .cursor/rules/model-registry.mdcCursor rule
- .cursor/rules/no-legacy-fallbacks.mdcCursor rule
- .cursor/rules/no-push-to-main.mdcCursor rule
- .cursor/rules/platform-helpers.mdcCursor rule
- .cursor/rules/proxy-inference-routing.mdcCursor rule
- .cursor/rules/readme-ownership.mdcCursor rule
- .cursor/rules/renderer-stores.mdcCursor rule
- .cursor/rules/security.mdcCursor rule
- .cursor/rules/service-contracts.mdcCursor rule
- .cursor/rules/services-agent-onboarding.mdcCursor rule
- .cursor/rules/services-change-propagation.mdcCursor rule
- .cursor/rules/state-and-auto-start.mdcCursor rule
- .cursor/rules/system-architecture.mdcCursor rule
- .cursor/rules/test-type-discipline.mdcCursor rule
- .cursor/rules/type-discipline.mdcCursor rule
- .cursor/rules/type-safety.mdcCursor rule
- kaizen-uiSkill
- pair-test-styleSkill
- sync-backendSkill
- pair-github-prSkill
The file
We split this backend-constants.mdc into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Distinctive: line 18
Never hardcode a value the backend reports.
- Very specific: line 25
If a value you need is not reported, record the current limitation in docs/services-parity.md, then hardcode it temporarily per rule 3.
- Distinctive: line 30
All hardcoded backend-coupled constants live in
- Very specific: line 34
Do not scatter backend literals (port numbers, 127.0.0.1, /v1/...
- Distinctive: line 36
Do not encode backend discovery service names or TXT layouts in PAIR.
- Very specific: line 38
Do not create sibling constants files for backend values (no ports.ts, no per-feature copies).
- Very specific: line 53
When the backend starts reporting the value, source it and delete the constant (no "just in case" fallback — see no-legacy-fallbacks.mdc).
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule 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
--- description: Prefer backend-reported values over hardcoded constants; keep the remaining backend-coupled constants in one canonical file alwaysApply: true --- <!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> # Backend-coupled Constants PAIR UI is a UI for the `services/` backend. Values the backend owns (ports, endpoints, service names, intervals it drives) belong to the backend. Hardcoding them risks silent drift the moment the backend changes a default. ## 1. Prefer backend-reported values Never hardcode a value the backend reports. Source it from the live contract and fall back to a constant only before the backend has reported (cold start): - Engine server port -> `engine:status` / `engine:state-changed` `port`. - Ollama proxy port -> `proxy:get-status`. - Per-node node-info port -> discovery `AvailableNode.port`. If a value you need is **not** reported, record the current limitation in `docs/services-parity.md`, then hardcode it temporarily per rule 3. ## 2. One canonical file All hardcoded backend-coupled constants live in **`src/shared/constants/modular-runtime.ts`** — ports, local endpoint paths, backend-poll intervals, engine-port fallbacks, and log levels. - Do **not** scatter backend literals (port numbers, `127.0.0.1`, `/v1/...` paths, poll intervals) inline across the codebase. - Do **not** encode backend discovery service names or TXT layouts in PAIR. Consume the broker's reported discovery snapshots. - Do **not** create sibling constants files for backend values (no `ports.ts`, no per-feature copies). Pure UI timings (animation throttles, tooltip delays, blur grace) are **not** backend-coupled and stay with their component. ## 3. Track backend-owned hardcodes A constant that exists **only** because the backend doesn't expose the value yet must carry a comment linking the current capability status, e.g.: ```ts // Hardcoded pending backend exposure — see // docs/services-parity.md#current-client-side-responsibilities export const MODULAR_CLUSTER_MANAGER_PORT = 14321 ``` When the backend starts reporting the value, source it and **delete** the constant (no "just in case" fallback — see `no-legacy-fallbacks.mdc`).
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.

