NVIDIA Air SDK
A Python SDK for creating, running, and managing network simulations on NVIDIA Air.
Installation
The package is available on PyPI.
Or with uv:
Requires Python 3.10+.
Authentication
The SDK supports three authentication methods. See the NVIDIA Air authentication guide for details on obtaining credentials.
API Key — pass an NGC Scoped API Key (SAK) directly:
NGC Config — reads the key from ~/.ngc/config, created by
ngc config set (requires the NGC CLI):
Device Login — opens a browser for interactive NGC authentication (no pre-existing key required):
Non-Standard Hostnames
All factory methods accept an api_url parameter that defaults to the
public NVIDIA Air instance. If you are connecting to a different Air
deployment, browse to /api on the host
(e.g. https://your-air-host.example.com/api) and pass the API URL
from the servers dropdown to the SDK: