All plugins

infer

Infer by Flow7 as a Hermes model provider (--provider infer): GPT, Claude, Gemini, Grok and other models through one OpenAI-compatible Chat Completions API, where each model ID picks one of up to four routes (infer/<model>:low-cost, :balanced, :stable or :official). The /model picker reads the live GET /v1/models list without its image and video generation models, led by six Low cost routes (Claude Opus 5.5, Sonnet 5.5 and Fable 5.2, GPT-6.2 Astra and Sol, Grok 4.7); each model's published context window is declared for all of its routes; reasoning_effort is sent only when a reasoning level is set (turning reasoning off sends no field); and the reasoning_details record a thinking model returns is sent back on the assistant message. Disclosure: registers one model provider at import and nothing else (no tools, hooks, middleware, commands, background work, shell commands or file access). Prompts, history, tool definitions and tool results go to https://infer.flow7.org/v1 (or INFER_BASE_URL) through Hermes's own client with INFER_API_KEY, which Hermes reads; each chat request also carries relay.session_id, a SHA-256 hash of Hermes's cache scope. Per Infer's Privacy Notice and Subprocessor Notice, requests reach the selected model through model-access gateway providers under contract with Infer, and a supplier or underlying model provider may process or retain content according to the route, privacy setting and provider terms. The plugin itself makes one request, GET /v1/models with the key Hermes passes to it. Usage is billed per token from a prepaid Infer wallet; the plugin makes no payments and sends no telemetry.

tarunspanditModelsv0.1.1Updated 1 hour ago

About

Infer by Flow7 as a Hermes model provider (--provider infer): GPT, Claude, Gemini, Grok and other models through one OpenAI-compatible Chat Completions API, where each model ID picks one of up to four routes (infer/<model>:low-cost, :balanced, :stable or :official). The /model picker reads the live GET /v1/models list without its image and video generation models, led by six Low cost routes (Claude Opus 5.5, Sonnet 5.5 and Fable 5.2, GPT-6.2 Astra and Sol, Grok 4.7); each model's published context window is declared for all of its routes; reasoning_effort is sent only when a reasoning level is set (turning reasoning off sends no field); and the reasoning_details record a thinking model returns is sent back on the assistant message. Disclosure: registers one model provider at import and nothing else (no tools, hooks, middleware, commands, background work, shell commands or file access). Prompts, history, tool definitions and tool results go to https://infer.flow7.org/v1 (or INFER_BASE_URL) through Hermes's own client with INFER_API_KEY, which Hermes reads; each chat request also carries relay.session_id, a SHA-256 hash of Hermes's cache scope. Per Infer's Privacy Notice and Subprocessor Notice, requests reach the selected model through model-access gateway providers under contract with Infer, and a supplier or underlying model provider may process or retain content according to the route, privacy setting and provider terms. The plugin itself makes one request, GET /v1/models with the key Hermes passes to it. Usage is billed per token from a prepaid Infer wallet; the plugin makes no payments and sends no telemetry.

hermes-infer

Infer model-provider plugin for Hermes Agent.

Infer by Flow7 serves GPT, Claude, Gemini, Grok and other models through one OpenAI-compatible
API at https://infer.flow7.org/v1. A model ID picks the model and one of up to four routes:
infer/<model>:low-cost, :balanced, :stable or :official. The
models page shows what each route costs now, next to the lab's
list price.

Install

hermes plugins install infer --enable

That installs the commit the Hermes plugin catalog pins. To install from GitHub instead:

hermes plugins install tarunspandit/hermes-infer --enable

Requires Hermes 0.23.0 or newer.

Configure

  1. Create an account at infer.flow7.org, create an API key on the
    API keys page, and add wallet credit (every top-up is $5
    or more).
  2. Give Hermes the key: pick Infer in hermes model, or set INFER_API_KEY in your
    environment.
  3. Choose a model:
hermes chat --provider infer -m infer/claude-opus-5-5:low-cost

INFER_BASE_URL overrides the endpoint; you only need it for a proxy in front of Infer.

What the plugin does

  • Registers one provider profile, infer, on Hermes' Chat Completions transport.

  • Fills the model picker from GET /v1/models with the key Hermes passes to it, leaving out the
    image and video generation models that list also returns. These six come first, and Hermes
    falls back to them if the list request fails:

    • infer/claude-opus-5-5:low-cost
    • infer/claude-sonnet-5-5:low-cost
    • infer/claude-fable-5-2:low-cost
    • infer/gpt-6.2-astra:low-cost
    • infer/gpt-6.2-sol:low-cost
    • infer/grok-4.7:low-cost

    On 2026-12-03 Infer's public catalog showed each of these routes available, taking tool calls,
    and priced below the lab's list price. Hermes always lists them first, even when one is
    unavailable for a while. Any other Infer model ID works with -m.

  • Declares each model's published context window for all of its routes, and tool calling and
    image input (text only on these Low cost routes) for the six above, from the public catalog of
    2026-12-03.

  • Sends a reasoning level as reasoning_effort only when you set one (--reasoning high,
    /reasoning, agent.reasoning_effort). With nothing set, or with reasoning turned off (none,
    which Hermes also asks for on its own title requests), no reasoning field is sent and the
    route's own default applies: Infer documents no off switch on this wire.

  • Sends the reasoning_details record a thinking model returns back on the assistant message, as
    Infer's docs ask clients to do across tool calls.

  • Sends relay.session_id, a hash of the conversation's cache scope, so Infer keeps the
    conversation on the same route while that route stays healthy.

It registers no tools, hooks, middleware or commands, has no Python dependencies, and does not
change Hermes' own code.

Known limits

  • Not tested against Infer itself. The checks ran inside Hermes, with network access blocked
    or against a local stand-in for Infer's chat endpoint. No request reached Infer.
  • Reasoning across tool calls. The record goes back because the profile declares
    native_reasoning_details_type. Hermes sends reasoning_details to a provider that declares
    one; otherwise it sends only the reasoning text, which Infer does not read, and a thinking model
    can then reject the request that follows a tool call. If a Hermes release changes this, that
    limit returns; tests/test_hermes_integration.py checks it.
  • Switching models mid-session. After /model switches to another model, the earlier
    model's records are sent too. Whether Infer accepts them was not tested. If requests fail after
    a switch, start a new session.
  • Several reasoning blocks in one reply. Hermes joins consecutive reasoning text blocks while
    it streams, so a reply with more than one goes back as one block.
  • Gemini models are in the picker when your key can call them, but not among the six above:
    their tool calls depend on the record coming back, and that was not tested.

Disclosures

  • Network: Hermes sends prompts, conversation history, tool definitions, tool results and
    INFER_API_KEY to https://infer.flow7.org/v1 (or INFER_BASE_URL). The plugin's own
    request is GET /v1/models on the same host, with the key Hermes passes to it, to fill the
    picker. Each chat request also carries relay.session_id (a SHA-256 hash of Hermes' cache
    scope, not the scope itself).
  • Data handling: per Infer's Privacy Notice and
    Subprocessor Notice, requests reach the selected model
    through model-access gateway providers under contract with Infer, and a supplier or underlying
    model provider may process or retain content according to the route, privacy setting and
    provider terms. Infer does not intentionally store prompts in its inference database; a
    generated response may be kept for up to about 24 hours so a retried request can be replayed.
  • Billing: pay per token from a prepaid Infer wallet. Before each request Infer holds the
    maximum estimated cost and returns the rest when it finishes; the hold covers the output cap,
    which Infer sets to at most 32,768 tokens when Hermes sends none. The plugin makes no payments.
  • Credentials: INFER_API_KEY through Hermes' own provider credential handling. The plugin
    never reads .env, auth.json or any other credential store.
  • At runtime, no telemetry, shell commands, background work, file access or self-updating code.

Development

python3 -m unittest discover -s tests -v          # unit tests, any Python 3.11+
<hermes python> -m unittest discover -s tests -v  # also runs tests/test_hermes_integration.py

The integration tests copy the plugin into a temporary HERMES_HOME, let Hermes discover it, and
check the request Hermes builds, the picker list and the context windows, with network access
blocked. They passed against Hermes source trees at v0.23.0, v0.23.6 and main (2026-12-03).
GitHub CI runs only the unit tests, on Python 3.11 to 3.14; the integration tests need a Hermes
install and skip there.

The catalog data at the top of __init__.py is generated:

curl -sS https://infer.flow7.org/api/public/catalog -o catalog.json
python3 scripts/update_catalog.py catalog.json

The script reads only that file and refuses a featured route that is unavailable, takes no tool
calls, or is not priced below the lab's list price.

Support

infer.flow7.org/support. This plugin is maintained by the
Infer team. License: MIT.

README from the reviewed commit f2a5f79; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section