Hermes Agent
Hermes Agent NVIDIA NIM setup for hosted and local models
Updated 29 November 2026
To run Nemotron 3 Ultra in Hermes Agent, select the built-in nvidia provider and give it a key from NVIDIA Build. NVIDIA runs the model and Hermes sends it your prompts. If you want to run the model on your own GPUs, the same provider can send those prompts to a local NVIDIA NIM container.
Setup details come from the Hermes Agent 0.23.5 provider guide, its NVIDIA provider source, the NVIDIA Build example for Ultra and the NVIDIA NIM 2.1.7 quickstart, read on 28 November 2026.
Prepare Hermes for either setup
Start with the Hermes Agent installation guide if you need the CLI. If you are switching from another endpoint, open ~/.hermes/config.yaml. In the model section, remove any base_url, api_mode, key_env and api_key_env entries from the old endpoint. Also remove any context_length set for the previous model.
Connect Hermes to the hosted NVIDIA API
Sign in to NVIDIA Build and select Generate API Key on the Ultra page, or open your NVIDIA Build API keys.
On a fresh setup, leave NVIDIA_BASE_URL unset. If you are switching from a local NIM, set NVIDIA_BASE_URL=https://integrate.api.nvidia.com/v1 in ~/.hermes/.env before adding your Build key. In ~/.hermes/.env, replace the entire nvapi-... value in the line below with the key you generated on NVIDIA Build.
NVIDIA_API_KEY=nvapi-...The provider guide names the Build website in its billing note, but the tagged code checks the inference hostname when adding the billing header. Use the default API address shown in both the code and NVIDIA’s Ultra example. Hermes billing header check.
For Nemotron 3 Ultra, use nvidia/nemotron-3-ultra-550b-a55b as the model when saving your default below. For Nemotron 3.5 Super VL, which accepts text and images and supports reasoning and tool calls, the Hermes guide also gives this interactive chat command.
hermes chat --provider nvidia --model nvidia/nemotron-3.5-super-vl-120b-a12bRun a local NIM with room for Hermes tools
- Check your model, GPU type and GPU count against the NIM support matrix. For example, the Ultra NVFP4 model card lists four B200 GPUs or eight H100 GPUs among its minimum configurations.
- Follow the NIM prerequisites to set up the GPU driver, CUDA SDK, Docker and NVIDIA Container Toolkit. Check that Docker can see your GPUs. For container access, NVIDIA requires a Developer Program membership or an NVIDIA AI Enterprise licence.
- Choose the image and tag for your GPU. Follow NVIDIA’s cache setup to export
LOCAL_NIM_CACHEand give the container’s group (GID 0) write access to that directory. Eligible public images can be downloaded without an NGC key. Check whether the model files need separate credentials, then pull the image. - Before starting the container, check the context it will serve per session. Hermes needs at least 64,000 tokens for its instructions, tool definitions and conversation. It rejects a known smaller window at startup. NVIDIA’s
NIM_MAX_MODEL_LENsets the maximum sequence length. The NVIDIA reference gives 4096 as an example, which is too small for Hermes. Leave the setting unset if the default window is large enough. For the Super VL NVFP4 profiles listed in the NIM 2.1.7 release notes, keep the default. A value below 1,048,576 prevents those profiles from starting. - Before starting Super VL, check how much host memory the selected profile needs. NVIDIA has separate startup notes for agentX profiles and for the default video-text profile on a single B200.
- If Hermes runs on the NIM host, follow Docker’s example to publish the port on localhost and restrict network access to it. If Hermes runs on another machine, configure HTTPS and restrict access to authorised clients before publishing the port. See NVIDIA’s TLS configuration guide.
- For Hermes tools, choose a model that supports tool calls. Check whether its image or profile enables the matching tool-call parser. If needed, follow NVIDIA’s tool-calling instructions for the backend in your image. In the model-specific example in the NIM quickstart, use your chosen Nemotron image and omit the
NIM_SERVED_MODEL_NAMEline so NIM takes the name from the model. Start the container with your tool-calling settings.
Leave the container running and open a second terminal on the NIM host. These checks assume plain HTTP on port 8000 without authentication. If your NIM uses TLS, use its HTTPS address and trusted certificate. Supply credentials if the endpoint requires them.
curl -v http://localhost:8000/v1/health/ready
curl -s http://localhost:8000/v1/modelsLook for HTTP 200 and a status of ready from the first check. Copy the model’s id from the second. In ~/.hermes/.env, set NVIDIA_BASE_URL to the address Hermes will use, ending in /v1. Set NVIDIA_API_KEY to the endpoint’s key, or to local-no-auth if it accepts requests without a key. This example is for Hermes and NIM on the same host.
NVIDIA_API_KEY=local-no-auth
NVIDIA_BASE_URL=http://localhost:8000/v1Save the model and check one reply
Edit the model settings in ~/.hermes/config.yaml. The provider guide gives this example for Super VL. For hosted Ultra, change the value of default to nvidia/nemotron-3-ultra-550b-a55b. For local NIM, put the exact model ID returned by your container in that field. Keep nvidia as the provider in each case. If your local model accepts images and is missing from the models.dev catalogue, add supports_vision: true under model to enable native image input.
model:
provider: "nvidia"
default: "nvidia/nemotron-3.5-super-vl-120b-a12b"With the endpoint and model saved, run the one-shot prompt from the CLI reference in your terminal.
hermes -z "What's the capital of France?"Check that Hermes printed an answer to the question and exited with code 0. A failed or partial run can still print an explanation. If you have configured fallback providers, check the Hermes log for a model switch during this turn. A backup model can also answer “Paris.” If the local model is ready but Hermes rejects its context length, check the window served by NIM. Increasing the length of a single reply does not give Hermes more space for its tools. Hermes one-shot command and exit codes.
What NVIDIA Build offers and where the free Ultra ID came from
On 28 November 2026, NVIDIA Build described its offer as “Free serverless APIs for development”. The Ultra prototype page said “Start building with a free API endpoint.” Neither page specified a recurring token or credit allowance. NVIDIA’s RAG Blueprint 2.3.0 guide describes a possible HTTP 429 rate-limit error when loading data with NVIDIA-hosted models. Separately, it advises contacting an NVIDIA representative if API Catalog credits run out. The Build catalogue, Ultra prototype page and RAG guide give no universal request rate, starting credit balance or reset period for a Nemotron key. NVIDIA Build catalogue and NVIDIA credit troubleshooting.
The Hermes guide to free Ultra describes a different offer on Nous Portal. It gives the dates “June 4th to June 18th” and the ID nvidia/nemotron-3-ultra:free after signing in through Portal. When using a Build key, copy the ID from NVIDIA’s own example, nvidia/nemotron-3-ultra-550b-a55b. Nous Portal promotion guide.
How the key changes inside a NemoClaw sandbox
NVIDIA also documents a sandboxed Hermes setup with NemoClaw. For NVIDIA Endpoints, NemoClaw reads NVIDIA_INFERENCE_API_KEY on the host and stores the credential in OpenShell provider state. Hermes inside the sandbox receives a placeholder. Follow that credential flow if you used NVIDIA’s nemohermes setup. The standalone Hermes provider uses NVIDIA_API_KEY. NemoClaw Hermes quickstart and NVIDIA Endpoints credentials.
NVIDIA NIM on ReadyHermes
ReadyHermes includes AI in its 30-minute trial. Its Model key panel has no named NVIDIA provider, and we have no confirmed test of an NVIDIA endpoint with a Nemotron model on ReadyHermes. “Other endpoint” requires an OpenAI-compatible API with a public HTTPS hostname on port 443. The URL can include a path such as /v1. The panel rejects bare IP addresses, localhost, private addresses, query strings and URLs containing a username or password. The panel sends your key as a bearer token and cannot add custom headers.
In the Model key panel, choose “Your own API key”, then “Other endpoint”. Enter the base URL and key, select or type the model ID, and press “Switch to my key”. ReadyHermes sends a test chat completion before switching. See the ReadyHermes model options for the hosted service.
Questions
Where does the NVIDIA Build key go in Hermes Agent?
For the nvidia provider, save the key you generated on NVIDIA Build as NVIDIA_API_KEY in ~/.hermes/.env. On a fresh setup, leave NVIDIA_BASE_URL unset. If switching from a local NIM, set NVIDIA_BASE_URL=https://integrate.api.nvidia.com/v1 in that file before adding the key.
Which model ID selects Nemotron 3 Ultra on NVIDIA Build?
Use nvidia/nemotron-3-ultra-550b-a55b. The ID nvidia/nemotron-3-ultra:free belongs to the June Nous Portal offer.
How much context does a local NIM need for Hermes?
The endpoint must serve at least 64,000 tokens per session for agent tool use. Check the sequence length on the NIM server if Hermes rejects the context window.
How can we test the saved NVIDIA model from the terminal?
Run hermes -z "What's the capital of France?" after saving the provider, endpoint and model. Check that Hermes printed an answer to the question and exited with code 0. If you have configured fallback providers, check the Hermes log to see whether a backup model answered this turn.
What is the free allowance for the hosted NVIDIA API?
On 28 November 2026, NVIDIA Build offered free development access. The Build catalogue, Ultra prototype page and RAG guide gave no universal request rate, starting credit balance or reset period for a Nemotron key.