TrustedRouter model provider for Hermes Agent
Routes Hermes Agent inference through TrustedRouter, a hardware-attested, OpenAI/OpenRouter-compatible LLM router running inside Google Confidential Space TEEs with live discovery across 500+ models and fail-closed privacy floors.
Requirements
Hermes Agent >=0.22.6.
Install
From the Hermes plugin catalog:
hermes plugins install trustedrouter
Or directly from GitHub:
hermes plugins install Lore-Hex/hermes-trustedrouter#plugins/model-providers/trustedrouter
Add your API key from trustedrouter.com:
# ~/.hermes/.env
TRUSTEDROUTER_API_KEY=your-key-here
Use
hermes --provider trustedrouter --model trustedrouter/auto
Or in ~/.hermes/config.yaml:
model:
provider: trustedrouter
default: trustedrouter/auto
Routing presets and privacy floors
The live picker reads GET /v1/models and exposes all public chat models plus server-resolved presets (trustedrouter/* and nyte/* aliases), with offline fallback to the core presets:
| Preset | Behaviour |
|---|---|
trustedrouter/auto | Dynamic routing across frontier and fast models |
trustedrouter/zdr | Restricts routing to zero-data-retention endpoints |
trustedrouter/e2e | Confidential compute (TEE) + E2EE + ZDR pool |
trustedrouter/confidential | Confidential compute (TEE) + E2EE + ZDR pool |
trustedrouter/trusted | Curated confidential-compute operators |
trustedrouter/fast | Low-latency routing tier |
trustedrouter/cheap | Lowest-cost routing tier (also used for text auxiliary tasks) |
trustedrouter/free | Free routing tier |
To enforce a hard fail-closed privacy floor across any model ID (including direct upstream models), set TRUSTEDROUTER_MIN_PRIVACY in your profile .env:
# Enforce Zero Data Retention or Confidential/E2E across all requests
TRUSTEDROUTER_MIN_PRIVACY=zdr # or: e2e, confidential
Optional TRUSTEDROUTER_BASE_URL overrides the default endpoint (https://api.trustedrouter.com/v1). Provider aliases: tr, trusted-router, trustedrouter.com, api.trustedrouter.com, quillrouter, quill-router, nyte.
What the profile does
- Live model catalog from
GET /v1/models(cached in memory for 5 minutes per endpoint; filters out internal, hidden, synthetic-monitor, and non-chat rows; exposes all public chat models andtrustedrouter/*/nyte/*presets). - Real per-model
context_length,pricing(per-token USD cost estimation viaget_usage_cost), and tool, vision, and reasoning capabilities (model_capabilities). - Per-model reasoning-effort clamping against catalog-advertised
supported_efforts, omitting reasoning fields on non-reasoning models and avoiding disable payloads on reasoning-mandatory models. - Optional
TRUSTEDROUTER_MIN_PRIVACYforwarded asextra_body.provider.min_privacyalongside any explicitprovider_preferences. - Dynamic auxiliary model resolution (
trustedrouter/cheapfor text; cheapest tool-capable vision model from the live catalog for vision). - Supports
/model --refreshviainvalidate_catalog_cache.
Privacy and network access
- Hermes sends prompts, tool definitions, tool results, and
TRUSTEDROUTER_API_KEYtoapi.trustedrouter.com(orTRUSTEDROUTER_BASE_URLif set). - TrustedRouter terminates prompt TLS inside a hardware-attested Google Confidential Space enclave (published measurements and verification instructions: trustedrouter.com/trust) and routes each request to the selected upstream model provider according to the chosen model/preset and any
TRUSTEDROUTER_MIN_PRIVACYfloor (failing closed if no qualifying endpoint exists). - The plugin fetches TrustedRouter's public model catalog (
GET /v1/models) when Hermes lists models or looks up a context window, and starts a short-lived background thread to refresh the cache when a request finds it missing or older than 5 minutes. - The catalog is kept in memory only. Requests and API keys are allowed only over HTTPS or to a loopback address, catalog responses are size-bounded, and HTTP redirects are never followed.
- No telemetry, shell commands, file reads or writes, self-updating code, or external Python dependencies.
README from the reviewed commit 9f5971c; it updates when the author re-pins.

Lore-Hex