Personal-AI-Router / rules
Cursor rule1.5k starsChanged 2 months agoApache-2.0View on GitHub
Electron-main engine model hub (Ollama committed list + LM Studio catalog)
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
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/backend-constants.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/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
Files
---
description: Electron-main engine model hub (Ollama committed list + LM Studio catalog)
alwaysApply: true
---
<!--
SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->
# Model Registry — engine model hub
- The backend has **no model-search RPC**, so the "Add Model" browse is
served by a standalone Electron-main module, **`src/electron/model-hub/`**
(main process, because the renderer cannot call `huggingface.co` under
CSP+CORS). There is **no generic Hugging Face browse and no shared GGUF
registry** — each enabled engine has exactly one curated source declared via
`EngineCaps.engineHub`.
- **Ollama** (`ollama-library.ts`): a **locked, committed list**, not a live
scrape. `src/electron/model-hub/ollama-models.json` (wire shape
`{ scrapedAt, source, count, models: OllamaTagsModel[] }`) is bundled into
the main process (`resolveJsonModule` + electron-vite inlining), so
`loadOllamaModels()` returns instantly with **no network access at runtime**.
Devs regenerate it with `npm run scrape:ollama-models`
(`scripts/scrape-ollama-models.ts`) when Ollama's catalog changes, then review
the diff and commit. The scraper is the **only** place Ollama scraping lives:
two phases — (A) parse the `https://ollama.com/library` index (anchored on
each card's `<a class="group w-full">` link, capability chips are
`text-indigo-600`, size chips `text-blue-600`, updated timestamp in the stats
span `title`), then (B) fetch each `https://ollama.com/library/<base>/tags`
page (concurrency 4, anchored on the self-contained mobile card
`class="md:hidden"`) for per-tag digest + binary byte size + context window;
falls back to `https://ollama.com/api/tags` only if Phase A fails. Cloud-only
variants are filtered. Names are used as-is for `ollama pull`. **When Ollama
changes their markup, update the parser in the script and re-run it** — the
running app is unaffected.
- **LM Studio** (`lmstudio-catalog.ts`, `lmStudioCatalogCache`): still a **live
fetch**. GETs
`https://huggingface.co/api/models?author=lmstudio-community&sort=downloads&direction=-1&limit=500`
and normalizes each repo to a pull-ready id (e.g.
`lmstudio-community/Qwen3-8B-GGUF`, accepted by `lms get`). This is the
**only** remaining network call in the model hub, and it is main-process only
(6-hour TTL + in-flight guard so PAIR never fetches continuously).
- Both sources normalize to the shared `EngineHubModel`
(`src/shared/types/engine-api.ts`).
- `index.ts` exposes `getEngineHubModels(engineType)` (Ollama returns the
committed list synchronously; LM Studio awaits a cold cache's initial load;
returns `{ models }`) and `warmEngineHubs()` (warms **only** LM Studio —
Ollama needs none). The `engine:search-hub` handler in `empty-handlers.ts`
calls the former; the `overview:ready` handler in `window.ipc.ts` calls the
latter. Warm on renderer-ready, **not** on service connect: a catalog fetch
started before the window has painted competes with the renderer's own load,
and a hanging one leaves an unpainted window behind.
- The renderer (`src/ui/components/ModelHub/`) fetches an engine's full
catalog once (cached per-engine), filters by the search box **locally** on
each keystroke, and sorts client-side by Updated / Name / Size. Pulling goes
through the backend (`engine:pull-model` → `pull_model`); the hub only
produces the pull-ready id.
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.

