ready. Connect supports automatic setup.
Connect writes the named provider in
config.yaml and uses .env for literal keys. The recorded round trip used WSL. Native Windows paths still need confirmation.Connect Hermes
Have Hermes installed, a workspace API key, and available RunInfra credits. Choose a catalog model with at least 64,000 context tokens. Connect requires that minimum for this setup.on. In an interactive terminal, Connect starts login if needed. Review and approve the proposed changes. Connect saves a snapshot, writes the provider and key settings, and makes a real Chat Completions request that uses credits.
To choose a model during setup:
What Connect writes
When
HERMES_HOME is set, Connect uses config.yaml and .env inside that directory. Confirm the active directory and profile. The native Windows targets above describe Connect’s file choices, not a confirmed native Windows installation.
Connect writes these named-provider settings:
Connect removes
api_key and key_cmd from the RunInfra provider settings. It also removes the selected model’s api_key, key_env, key_cmd, and base_url fields so the named provider supplies them.
Key placement
Literal mode adds theRUNINFRA_API_KEY assignment to .env. The YAML references that variable through providers.runinfra.key_env; it does not store the literal key there.
For helper mode:
.env assignment when another provider still uses that variable. Review the warning and check helper credential precedence separately.
Pass the helper key to the app
Pass the helper key to the app
Export
RUNINFRA_API_KEY with your RunInfra API key in the environment that launches the app. Restart GUI apps and background services with that environment.On Windows, set RUNINFRA_API_KEY in your user environment, then fully restart the app. GUI and Start menu launches do not receive a terminal-only $env:RUNINFRA_API_KEY value. This launch guidance does not confirm native Windows path behavior.Verify
Hermes v0.21.1 on WSL completed a verified round trip on September 8, 2026, using the Connect-written named provider and.env key. The request returned RUNINFRA_OK and was confirmed in RunInfra usage.
Inspect the selected model and custom:runinfra provider:
Restart
Restart Hermes after editing files. Runhermes config get model to inspect selection. This does not verify a reply or its destination.
Known behaviours
Still check native Windows paths,HERMES_HOME and profiles, Hermes’s minimum context size, helper credential precedence, and restoration after Hermes saves changes. Connect’s 64,000-token minimum is a setup guard, not confirmation of every model’s behavior in Hermes.
If Connect cannot safely read the YAML, environment assignments, or another provider’s credential references, it refuses the changes. Review both files before retrying.
Troubleshooting
Revert
off restored config.yaml byte for byte and removed the added RunInfra key line from .env. With intact state and snapshots, off restores the original managed files from before the first on in the active connection. It removes files that did not exist then. Later on calls and key rotations keep that restore point.
If Hermes or another editor changed a managed file, Connect refuses to overwrite it. Back up and review the edits before choosing to discard them:
Related
Connect
Set up, inspect, and restore your coding agent.
Chat completions
Read the request contract.
Models
Find model ids and context windows.