This release is a pre-release and may not be stable for production use.
NVIDIA NeMo Fabric Adapter Contract
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.3.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nemo_fabric_adapter_contract-0.3.0b2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / nemo_fabric_adapter_contract-0.3.0b2-py3-none-any.whl
| Download URL | nemo_fabric_adapter_contract-0.3.0b2-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b98653bd9bba3f5b5c938115b67dcae05c2b34bddebcb1e8288c6ed0091d8851
|
|
BLAKE2b-256 checksum How to use checksums |
996059cde607b47cbdbf877129c8fe2feed5aff036865e3d9837ab745dcae338
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|