Skip to main content

NVIDIA NeMo Fabric Adapter Contract

License GitHub Release

Diagram showing NeMo Fabric connecting applications, evaluation systems, and reinforcement learning rollouts to harnesses and custom agents, with results, artifacts, and telemetry as outputs.

nemo-fabric-adapter-contract provides the typed Python configuration and execution contract implemented by NeMo Fabric adapters. It does not include a lifecycle host, harness integration, or NeMo Relay integration.

Python adapters can use the package's standard-library dataclasses without an additional runtime dependency. Adapters in other languages can consume the JSON Schemas published by NeMo Fabric without a Python package dependency.

The dataclasses provide strict from_mapping() validation and JSON-compatible to_mapping() serialization. Install the optional pydantic extra when an adapter uses Pydantic models for typed extensions or wants Pydantic interoperability. Both paths use the same contract dataclasses.

Import AgentConfig from the contract models module:

from nemo_fabric_adapter_contract.models import AgentConfig

NeMo Fabric delivers AgentConfig as the southbound configuration. Python adapters using the optional common lifecycle host pass AgentConfig.from_mapping as the config_loader.

Install

Install the package directly when developing a Python adapter:

pip install nemo-fabric-adapter-contract

Install the optional pydantic extra to enable Pydantic interoperability.

pip install "nemo-fabric-adapter-contract[pydantic]"

Use the maintained adapter contract documentation and canonical JSON Schemas as the implementation source of truth. Source code is available in the NVIDIA NeMo Fabric repository.

Release files for nemo-fabric-adapter-contract 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for nemo-fabric-adapter-contract 0.2.0
File Interpreter ABI Platform
nemo_fabric_adapter_contract-0.2.0-py3-none-any.whl Python 3 none any Details

Release files / nemo_fabric_adapter_contract-0.2.0-py3-none-any.whl

Download URL nemo_fabric_adapter_contract-0.2.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3783f781432382adb2d782384dc1ab367093d0bcf7ff33c2857a93f831dd5921
BLAKE2b-256 checksum
How to use checksums
4398d5abfa762254670684b19054ce3e3e8cd19df708464fdc2901a7b7aca166
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page