nemo-fabric-integrate
Use this skill when integrating NVIDIA NeMo Fabric into a consumer application, service, evaluation harness, or platform through the typed Python SDK — translating the consumer's own application, job, or deployment config into an in-memory FabricConfig, choosing the single-invocation convenience API…
Install / Use
npx skills add NVIDIA/skills --skill nemo-fabric-integrateInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Our assessment of nemo-fabric-integrate
nemo-fabric-integrate scores 95/100 on our quality scale, 90th of 487 Operations skills we index (top 19%).
Its SKILL.md is 21 KB long, well organised into 10 sections with 4 code examples: a thorough specification that gives an agent plenty to work with.
With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 5 days ago, so nemo-fabric-integrate is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-09-29. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
nemo-fabric-integrate compared with similar skills
All 4 of these similar skills score higher than nemo-fabric-integrate; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| nemo-fabric-integrate (this skill)by NVIDIA | 95 | 3.4k | 5d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 86.0k | 13d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.0k | today | CLAUDE.md |
| crawl4aiby unclecode | 100 | 84.4k | 3d ago | MCP Server |
| Scraplingby D4Vinci | 100 | 84.4k | today | MCP Server |
Frequently asked questions
- How do I install nemo-fabric-integrate?
- Run
npx skills add NVIDIA/skills --skill nemo-fabric-integrate. The install tabs above show the steps for each supported agent. - Which AI agents does nemo-fabric-integrate work with?
- It is written for Zed, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is nemo-fabric-integrate safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is nemo-fabric-integrate still maintained?
- The repository was last updated 5 days ago, so nemo-fabric-integrate is actively maintained.
Skill content
View source on GitHubname: nemo-fabric-integrate description: Use this skill when integrating NVIDIA NeMo Fabric into a consumer application, service, evaluation harness, or platform through the typed Python SDK — translating the consumer's own application, job, or deployment config into an in-memory FabricConfig, choosing the single-invocation convenience API or an explicitly started runtime, validating with plan and doctor, and consuming normalized results, artifacts, and telemetry. license: Apache-2.0 metadata: author: NVIDIA Corporation and Affiliates
Integrate NVIDIA NeMo Fabric Through The Python SDK
Use this skill when a consumer codebase — an application, service, evaluation
harness, or platform — needs to run agent harnesses through NeMo Fabric's typed
Python SDK. The consumer owns its own configuration object and translates it
into an in-memory FabricConfig; NeMo Fabric owns adapter selection, the runtime
lifecycle, and normalized results.
Integration Boundary
Use the public, in-memory contract. These rules keep a consumer integration supported and upgrade-safe:
- Import only from the public
nemo_fabricpackage. Never import_nativeor any adapter-internal module. - Build configuration as a typed
FabricConfigin memory and pass it directly to NeMo Fabric. Create every deployment or evaluation variant with ordinary Python functions andmodel_copy(deep=True). A platform integration can serialize the typed config inside a private transient run specification when it crosses a process boundary; that transport is not a public authoring format. - Let NeMo Fabric own harness control. Do not reimplement start, invoke, or stop logic, and do not manage adapter threads, sessions, or processes directly.
- Treat
runtime_id,invocation_id, andrequest_idas opaque correlation strings, not parsable or reusable state.
Refer to config-mapping.md for how to translate a
consumer config object into FabricConfig, and for the full list of mechanics
that stay hidden behind this boundary.
Install And Set Up The Environment
The consumer or its execution environment owns installation; NeMo Fabric validates runtime assumptions but never installs harnesses or credentials at run time.
- NeMo Fabric supports Python 3.11 through 3.14. Use Python 3.11 through 3.13 for Hermes Agent; the Harbor integration requires Python 3.12 or later.
- Install the runtime with
uv pip install nemo-fabric(add theharborextra for the Harbor integration). Refer to the installation guide. - Select the harness adapter through
HarnessConfig.adapter_id. To install the NeMo Fabric runtime, adapter, and supported harness in one environment, usenemo-fabric[claude],nemo-fabric[codex], ornemo-fabric[deepagents]. - Hermes Agent 0.20 and later is no longer installable from PyPI. Follow the
Hermes Agent installation guide,
then install the
nemo-fabric[hermes-agent]package into the Python environment that runs Hermes Agent. These packages do not install Hermes Agent. - In a separate adapter environment, install
nemo-fabric-adapters-<adapter>[harness]. This installs the adapter and supported harness dependencies without the NeMo Fabric runtime. Usefullinstead when that adapter package provides package-installable optional integrations. - Point the runtime to a separate adapter environment with
ADAPTER_PYTHON. Use matching NeMo Fabric release versions for the runtime and adapter package unless a different pairing has been explicitly validated. - If the adapter environment already manages a compatible harness, install the
bare
nemo-fabric-adapters-<adapter>distribution. Bare adapter distributions contain only adapter-owned runtime dependencies. - LangChain Deep Agents and Hermes Agent adapter packages provide
relayand include the NeMo Relay Python package infull. The Hermes Agent extras do not install Hermes Agent. Claude and Codex do not providerelay; theirharnessandfullextras install the supportednemo-relayCLI alongside the harness SDK. - Provide model credentials through environment variables named by the config
(
ModelConfig.api_key_env), never as literals in code. - Confirm the native extension is importable; SDK calls raise
FabricNativeUnavailableErrorwhen it is missing.
Build The Typed Config From Consumer Config
Map the consumer's application, job, or deployment object into a FabricConfig
with the public models and helper methods:
from nemo_fabric import (
FabricConfig,
HarnessConfig,
InstructionConfig,
InstructionsConfig,
MetadataConfig,
ModelConfig,
RuntimeConfig,
ToolsConfig,
)
def to_tools_config(job) -> ToolsConfig | None:
enabled = job.enabled_tools
blocked = list(job.blocked_tools)
if enabled is None and not blocked:
return None
return ToolsConfig(
enabled=None if enabled is None else list(enabled),
blocked=blocked,
)
def to_fabric_config(job) -> FabricConfig:
config = FabricConfig(
metadata=MetadataConfig(name=job.name),
harness=HarnessConfig(adapter_id=job.adapter_id, resolution="preinstalled"),
models={
"default": ModelConfig(
provider=job.provider,
model=job.model,
api_key_env=job.api_key_env,
base_url=job.base_url,
)
},
instructions=(
InstructionsConfig(
system=InstructionConfig(
content=job.system_instruction,
mode=job.system_instruction_mode,
),
)
if job.system_instruction is not None
else None
),
runtime=RuntimeConfig(
input_schema="chat",
output_schema="message",
timeout_seconds=job.timeout_seconds,
max_turns=job.max_turns,
),
tools=to_tools_config(job),
)
config.add_skill_path(job.skill_dir)
config.add_mcp_server(
"github",
transport="streamable-http",
url="${GITHUB_MCP_URL}",
exposure="harness_native",
)
return config
- Shape capabilities with
ToolsConfig,add_tool_definition,block_tools,add_skill_path,remove_skill_path,add_mcp_server,remove_mcp_server, andenable_relay. - Use
add_tool_definitiononly when the selected adapter acceptstools.definitionsand publishes atool_definition_schema. - Use a restricted
allowed_toolslist or non-emptyblocked_toolsonadd_mcp_serveronly when the selected adapter declares bothmcpandmcp.tool_filters. An unfiltered server requires onlymcp.allowed_tools=Noneexposes every discovered tool, while an empty list exposes none; blocked tools are removed after applying that allowlist. Tool names must be non-blank, and planning rejects a tool that appears in both lists. - Configure MCP authentication only when the selected adapter declares
mcp.auth.oauth2ormcp.auth.service_account, matching the authentication type. - Create deployment or evaluation variants with
model_copy(deep=True)and ordinary Python functions; each copy plans and runs independently. - Pass
base_dir=...to anyFabriccall when the config uses relative paths, so skills, workspaces, and artifacts anchor to the consumer's own layout.
The repository code_review_agent example
shows this pattern end to end with complete Hermes Agent, Codex, Deep Agents,
environment, MCP, and telemetry variants. Reuse it rather than duplicating config
construction.
Choose A Lifecycle
Pick the smallest lifecycle the consumer needs:
- Single invocation — one input, no retained state after the call.
await Fabric().run(config, input=...)runs the full start, invoke, and stop cycle and returns aRunResult. Passrequest=RunRequest(...)instead ofinput=...when the invocation needs a caller-owned request ID or context (the two are mutually exclusive). - Stateful runtime — ordered turns over one logical harness lifecycle. Start it with
start_runtime(...)and use the returnedRuntimeas an async context manager so cleanup runs on exit — shutdown is attempted, not guaranteed (stop()can raiseFabricRuntimeError; see Consume Results And Handle Errors). A runtime accepts one active invocation at a time; overlapping calls raiseFabricStateError. - Native OpenAI stream — adapter-native OpenAI Chat Completions chunks plus
a separate terminal normalized result. Check
runtime.supports_openai_streaming, callruntime.invoke_openai_stream(...), iterate the returnedOpenAIInvokeStream, and then awaitstream.result(). The selected adapter descriptor must declarecapabilities.streaming. Each yielded mapping hasobject == "chat.completion.chunk"; an empty stream is valid. If iteration stops early, callawait stream.aclose()to drain without cancelling the target invocation. This path does not require NeMo Relay orstreaming=True. - NVIDIA NeMo Relay stream — live, raw ATOF records plus a terminal normalized
result. Enable NeMo Relay, pass
streaming=Truetostart_runtime(...), callruntime.invoke_stream(...), iterate the returnedInvokeStream, and then awaitstream.result(). Iteration ending does not indicate invocation success; invocation exceptions raise fromresult(), while harness-reported failures remain normalizedRunResultvalues. If iteration stops early, callawait stream.aclose()before starting another turn.aclose()waits for the turn to finish; it does not cancel the harness invocation. The SDK intentionally exposes only ATOF records generated by NeMo Relay. This path is independent of native OpenAI streaming. The listener limits each record to 1 MiB and its queue to 1,024 records or 16 MiB of encoded data. It correlates records through the NeMo Fabric request ID for in-process harnesses. For gateway harnesses, it uses the NeMo Relay turn-scope role and 1-based turn index. It yields only the matched scope tree. Delayed prior-turn records therefore do not enter the next stream. If gateway and NeMo Fabric turn sequences do not align, the SDK discards the uncorrelated records and emits aRuntimeWarningafter natural stream exhaustion. The listener binds toNEMO_FABRIC_STREAMING_HOST, which defaults to127.0.0.1. Override it when the gateway must reach the SDK through another network interface, and restrict access to that interface. If async iteration reaches its post-turn drain timeout without a NeMo Relay connection, or receives data without a matching turn root, the SDK emits oneRuntimeWarningfor that failure mode; callers that only awaitstream.result()do not run that warning check. The SDK also warns when a NeMo Relay upload terminates before completing its chunked request body because yielded records can be incomplete. Thestreaming=Trueflag does not enable NeMo Relay by itself. Withoutstreaming=True, startup leaves the NeMo Relay configuration unchanged and does not inject the SDK-owned ATOF stream sink.
The selected adapter owns the execution topology. The bundled Claude, Codex,
Deep Agents, and Hermes Agent adapters retain their native client, graph/checkpointer,
or agent/database inside one local host for the full runtime. Local process
and python adapters use this host lifecycle; consumers do not select another
local execution mechanism in FabricConfig. Do not replay an invocation after
a runtime failure. Stop the failed runtime and explicitly start a new one
according to the application's retr
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
86.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
crawl4ai
84.4kOpen-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key.
Scrapling
84.4k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
