CKG-NVIDIA-AI

NVIDIA AI Developer Stack as Compressed Knowledge Graph (CKG) - 20 domains, 998 notes, agents traverse typed dependency edges instead of scanning docs.

Documentation

MCP — CKG-NVIDIA-AI

PyPI version Downloads Python License: MIT Domains Nodes F1: 0.471 · 4× RAG KRB v0.6.2 Free Built by Graphify.md

MCP server — Compressed Knowledge Graph (CKG) for the full NVIDIA AI developer stack.

4× F1 · 11× fewer tokens · 998 nodes · deterministic traversal.

Read-only. This MCP server never writes, mutates, or executes. Every response is a declared graph traversal — not inference, not retrieval, not generation.

CKG-NVIDIA-AI domain carousel

CKG-NVIDIA-AI — 20 domain knowledge graph


The problem every AI team hits

More agents. More retrieval. More context. And accuracy drops.

This is the intelligence paradox: the more AI you add, the more tokens you burn re-discovering structure your system already knows — or could know. Research finds 73% of enterprise tokens are redundant context. In multi-agent pipelines, context efficiency collapses from 18.2 in Q1 to 1.6 by Q4 — 91% degradation with no model change.

The model is not the bottleneck. The context is.

Every time your agent calls out to ask what TensorRT-LLM requires to run on Hopper, it spends ~2,982 tokens re-inferring a relationship that could be declared once and traversed in 269. That difference compounds across every query, every agent, every boundary crossing.

The fix is not a better model. It is structured context.


What this package does

A CKG is a layer — a fast, inexpensive way to convert a large volume of domain documentation into structured, agent-traversable knowledge. Instead of retrieval, the agent traverses. Instead of inference, it reads declared relationships.

This package gives your agent the NVIDIA AI developer stack as its first layer: 20 domains, 998 nodes, every prerequisite chain declared and typed.

Layers stack. Context windows open.

LayerWhat your agent gains
NVIDIA AI docs (this package)Platform prerequisites, deployment chains, hardware dependencies
Your domainCompany knowledge, internal APIs, product relationships
Competitive / marketCompetitor stack, pricing, positioning — structured for traversal
Regulatory / compliancePolicy graphs, requirement chains, audit trails

Each additional CKG layer costs your agent fewer tokens to operate, not more. Structured context is model augmentation — it does not replace what the model knows, it makes what it knows precise and auditable.

query_ckg("TensorRT-LLM", "nvidia-tensorrt-triton", depth=3)

→ TensorRT-LLM requires:
    CUDA Toolkit → CUDA Driver API, cuBLAS
    FP8 / FP4 Quantization → Hopper SM90 Architecture
  TensorRT-LLM enables:
    Triton Inference Server → NIM Microservice Runtime

That traversal cost 269 tokens. A RAG call over the same question costs ~2,982. The graph doesn't guess — it traverses.


Explore the graph

Once installed, paste this into Claude, Cursor, or any MCP client and see what comes back:

You have access to the nvidia-ai CKG. I want to understand what it actually takes to deploy
a real-time speech AI pipeline on NVIDIA Jetson at the edge — not the marketing version,
the real dependency chain.

Start here:
  get_prerequisites("Riva ASR", "nvidia-riva")

Then follow the chain into the inference layer:
  query_ckg("TensorRT-LLM", "nvidia-tensorrt-triton", depth=3)

Then map the edge hardware:
  get_prerequisites("Jetson Orin NX", "nvidia-jetson")

Present the result as a layered architecture map — foundation at the bottom, application at the
top, typed edges (REQUIRES / ENABLES) labeled between layers. Show where the three domains share
prerequisites. Flag anything that would block a cold-start deployment.

The graph will traverse four domains, surface shared prerequisites, and show you exactly what stands between an idea and a running system — no hallucination, no guessing, just declared relationships. See what it gives you.


Quickstart

pip install ckg-nvidia-ai
uvx ckg-nvidia-ai          # MCP server mode

Claude Desktop

{
  "mcpServers": {
    "nvidia-ai": {
      "command": "uvx",
      "args": ["ckg-nvidia-ai"]
    }
  }
}

Claude Code

claude mcp add nvidia-ai -- uvx ckg-nvidia-ai

Cursor / Cline / Windsurf

{ "mcpServers": { "nvidia-ai": { "command": "uvx", "args": ["ckg-nvidia-ai"] } } }

System prompt snippet

You have access to the nvidia-ai MCP server — a typed dependency graph of 20 NVIDIA AI domains
(NIM, NeMo, TensorRT, CUDA, Isaac, Cosmos, Riva, and 13 more). When answering questions about
NVIDIA infrastructure, prerequisites, or deployment, call query_ckg() or get_prerequisites()
before responding. Do not guess dependency chains — traverse the graph instead.

Accuracy model

Every edge was declared by a human reviewer. The graph is in active development — corrections arrive from the community weekly.

Three-state confidence:

StateMeaningHow to use
confidence: highReviewed, cross-referenced with NVIDIA docsTrust for planning
confidence: nullPlausible, not yet auditedScaffold — verify before production
confidence: lowFlagged as uncertainTreat as a hint, not a fact

Typed edges — semantic precision:

TypeMeaningAgent use
REQUIRESHard prerequisitePlan sequencing, gap detection
ENABLESUnlocks a capabilityOptimization paths
RELATES_TOConceptual proximityDisambiguation, context
IMPLEMENTSConcrete instantiationArchitecture mapping

If an edge isn't declared, the traversal returns nothing rather than hallucinating a path. That silence is signal.


Tools

All tools are read-only. No writes, no side effects.

list_domains()

Returns all 20 NVIDIA AI domains. Start here — domain slugs are required by every other tool.

search_concepts(query, domain)

Find concepts by keyword within a domain.

search_concepts("speculative decoding", "nvidia-nim")
→ Speculative Decoding [Optimization]
   Draft Model [Component]
   KV Cache [Infrastructure]

query_ckg(concept, domain, depth=3)

Traverse the graph from a concept — prerequisites and dependents.

query_ckg("FlashAttention-3", "nvidia-cuda-x-libraries", 3)
→ Prerequisites: SRAM Tiling → On-Chip Memory → Warp Occupancy → ...
   Enables: Multi-Head Attention → KV Cache → Speculative Decoding

get_prerequisites(concept, domain)

Full ordered prerequisite chain — everything needed to understand or deploy first.

get_prerequisites("Isaac Lab", "nvidia-isaac")
→ Isaac Lab → Isaac Sim → USD Composer → Omniverse Kit → ...

ask_nvidia(question, domain="") — new in v0.4.0

Natural-language question answered by Qwen, grounded on the CKG. Runs entirely locally via Ollama. The model answers only from graph-declared relationships — not parametric memory.

ollama pull qwen2.5:14b   # one-time setup
ask_nvidia("What does TensorRT-LLM require to run on Hopper?")

→ [REQUIRES] CUDA Toolkit → cuBLAS, CUDA Driver API
  [REQUIRES] FP8 / FP4 Quantization → Hopper SM90 Architecture
  [ENABLES]  Triton Inference Server → NIM Microservice Runtime
---
Grounded via TensorRT-LLM · nvidia-tensorrt-triton · model: qwen2.5:14b
ask_nvidia("What does Clara Parabricks require for whole-genome sequencing?")

→ Parabricks requires: NVIDIA GPU (Volta or later) → CUDA Toolkit ≥ 11.0
  Uses: cuBLAS, cuFFT for acceleration kernels
  Integrates with: MONAI for downstream analysis
---
Grounded via Parabricks · nvidia-clara · model: qwen2.5:14b

If Ollama is not running, ask_nvidia() returns raw graph context so the calling agent can still use it.

VarDefaultPurpose
NVIDIA_CKG_MODELqwen2.5:14bOllama model
NVIDIA_CKG_OLLAMAhttp://localhost:11434Ollama host

No new dependencies. mcp[cli] is still the only install requirement.


Domains

20 stacks · 998 nodes · call list_domains() for the full machine-readable list.

DomainNodesDescription
nvidia-nim46Inference Microservices — deployment, scaling, speculative decoding
nvidia-nemo50NeMo framework — training, PEFT, guardrails, evaluation
nvidia-tensorrt-triton50TensorRT-LLM + Triton — quantization, batching, KV cache
nvidia-cuda-toolkit48CUDA compiler, PTX, memory hierarchy, Hopper/Blackwell
nvidia-cuda-x-libraries50cuBLAS, cuDNN, cuFFT, NCCL, Thrust
nvidia-hpc-sdk48OpenACC, OpenMP, CUDA Fortran, multi-GPU scaling
nvidia-omniverse50Universal Scene Description, simulation, digital twins
nvidia-isaac50Isaac Lab + Isaac Sim — robot learning, sensor simulation
nvidia-cosmos50Physical AI world foundation models — video generation
nvidia-drive50Autonomous vehicle stack — perception, planning, safety
nvidia-jetson50Edge AI — Orin NX, AGX, DeepStream, Holoscan
nvidia-clara50Healthcare AI — MONAI, Parabricks, BioNeMo, Holoscan SDK
nvidia-metropolis50Intelligent video analytics — VLMs, TAO Toolkit, DeepStream
nvidia-riva50Speech AI — ASR, TTS, NLP pipelines, streaming
nvidia-gameworks44Graphics R&D — DLSS, RTX, PhysX, Reflex
nvidia-developer-tools50Nsight, CUPTI, Compute Sanitizer, profiling stack
nvidia-graphics-research44Neural rendering, path tracing, differentiable rendering
nvidia-ai-enterprise50Enterprise AI — NIM blueprints, governance, fleet management
nvidia-developer-ecosystem50NGC, DGX, Inception, AgentIQ, MCP integration
nvidia-openshell62Agent sandbox runtime — policy enforcement, CVEs, authorization

Benchmark

Evaluated on KRB Benchmark v0.6.2 — open dataset, reproducible methodology, fixed baselines.

SystemMacro F1Tokens/queryCost/1K queries
CKG0.471269$7.81
RAG (text-embedding-3-small)0.1232,982$76.23
GraphRAG (MS global mode)0.120

4× F1 · 11× fewer tokens · 5-hop F1 0.772 vs 0.170 · auditable by design

5-hop reasoning is where the gap compounds: retrieval degrades with each hop; graph traversal does not.


How the graph is built

Each domain is a DAG stored as typed edge CSV — human-authored and human-reviewed:

ConceptID, ConceptLabel, Dependencies, TaxonomyID
1, TensorRT-LLM,    "",                    Framework
2, CUDA Toolkit,    "",                    Platform
3, FP8 Quantization,"2:REQUIRES",          Optimization
4, Hopper SM90,     "2:REQUIRES",          Architecture
5, Speculative Dec.,"1:REQUIRES|4:REQUIRES",Optimization

No embeddings. No vector index. No probabilistic retrieval. The graph is the compressed form — built once, reviewed once, traversed forever.


Why context efficiency collapses — and how CKG reverses it

Liu et al. (arXiv:2606.30986) formally quantify Context Transaction Cost (CTC): the compound tax paid every time context crosses an agent boundary. In multi-agent pipelines, CTC efficiency falls from 18.2 in Q1 to 1.6 by Q4 — 91% collapse with no model change.

CKG attacks all three root causes:

CTC componentWhat it isCKG's response
Token Latency Burden (τ)Compute cost of transmitting context269 tokens instead of 2,982
Handoff Cost (H)Serialization loss at agent boundariesget_prerequisites() replaces re-retrieval
Compression Loss (C)Information destroyed when context is summarizedThe graph is the compressed form — done once, offline

Structured context doesn't consume your context window. It opens it.


The alternative to fine-tuning

When task-specific data is scarce, fine-tuning is often the first instinct — and frequently the wrong one. Fine-tuning requires thousands of labeled examples, a training budget, and a retraining cycle every time your domain shifts. By the time a large enterprise model project completes, the knowledge it was trained on is often already stale.

CKG encodes domain knowledge once as a typed graph. When the knowledge changes — new regulations, new product, new market — you update the graph. Not the model.

Directional intelligence, deployed today, updatable tomorrow — at 11× lower token cost.

The commercial case in three parts:

Fine-tuningCKG
Speed6-month cycle before you see resultsOne session to deploy
AdaptabilityRetrain when knowledge shiftsUpdate the graph, not the model
SustainabilityExpensive to run at scale269 tokens/query — 10,000 questions vs 1,000

The opponent isn't just fine-tuning — it's the perfectionism-as-procurement-strategy trap: 18 months and significant budget chasing the last few accuracy points while competitors ship directional answers at $7.81/query. Fine-tuning handles the final mile of specialization. CKG handles the knowledge architecture the fine-tuned model still needs to operate correctly.

Enterprise risk coverage:

RiskCKG response
Drift without version controlTyped, declared edges don't drift — every change is a graph update
Institutional knowledge lock-inHuman-readable, portable CSV — not vendor-locked
Provenance reconstruction failureEvery edge has a declared source and type — inherently auditable
New hire / auditor onboardingCKG as runbook — traversable by anyone, not just the team that built it

Corrections welcome

Spotted a wrong edge? A RELATES_TO that should be REQUIRES? A missing concept in Riva or Isaac?

Edge corrections are the highest-value contribution. The graph gets more useful with every fix. Open an issue or PR — see CONTRIBUTING.md for the review format.


EVAL

benchmark: ckg-benchmark v0.6.2
dataset: huggingface.co/datasets/danyarm/ckg-benchmark
benchmarked: false
rag_baseline_f1: 0.123
graphrag_baseline_f1: 0.120
mean_tokens: 269
paper: github.com/Yarmoluk/ckg-benchmark/blob/main/paper/main.pdf

Want a CKG for your domain?

A CKG is a knowledge layer — the context optimization component of an agent stack. Instead of retrieval, your agent traverses declared relationships. Fast to build, inexpensive to run, updatable without retraining.

Turn your company documentation, internal APIs, competitive intelligence, or regulatory requirements into a CKG layer in a single session. Stack it with this one. Each layer opens more of your context window without adding token cost.

graphifymd.com — contact us for custom domain CKGs and enterprise solutions, including Sealed Appliance: a private CKG + query server deployed in your environment.

CKG Catalog · Context Optimization · Context Architecture · Token Efficiency · Accuracy


Ecosystem

This package is part of the Graphify.md CKG stack.

PackageWhat it does
ckg-nvidia-aiThis repo — 20 NVIDIA AI domains, free
ckg-mcp97 domains: NVIDIA + science, finance, law, healthcare
agentmem-mcpCross-session agent memory, not vendor-locked
KRB BenchmarkOpen benchmark dataset — reproduce the F1 numbers yourself
ckg-evalPath-Fidelity Score (PFS) — reasoning path correctness metric

graphifymd.com/pro/ — custom domain CKGs, sealed appliances, enterprise.


Patent pending. 42× Token Intelligence — more intelligence per watt.