Skip to main content
The Aixy plugin for Hermes, maintained by Aixy, configures model inference and optionally connects MCP tools through browser OAuth. Requires Hermes 0.22.5 or later and an interactive terminal.

Install the plugin

Open the Aixy listing in the Hermes marketplace and select Install in Hermes to launch the installation in the Hermes app. Or run this on the machine where Hermes is installed:

Configure inference

  1. Confirm your gateway. Hosted Aixy uses https://api.aixy-gateway.com/v1.
  2. Enter a project-scoped Aixy API key at the hidden prompt.
  3. Select an available model from your project’s catalog and confirm it as the default provider.
  4. Start a new Hermes session to use the configured model.
The plugin stores the key through Hermes’ credential helpers and preserves unrelated profile settings. Setup fetches the model catalog but sends no inference requests. Hermes manages context automatically; use --context-length <tokens> only when you need to supply a known limit for a route Hermes cannot identify. For another deployment, pass --base-url <inference URL> to setup. Review any auxiliary-model overrides in Hermes so you know which connection handles those tasks. The plugin configures Chat Completions for model requests. Aixy selects Responses when the destination model requires it for function tools and reasoning, preserves the requested reasoning effort, and returns Hermes’ original Chat Completions format. Activity records this as Aixy API routing, with the selected provider API and reason.

Connect optional MCP tools

Inference setup offers to connect MCP after saving the model configuration. The default is No. To connect MCP later, or use MCP without configuring inference:
For another deployment, use the endpoint shown under Agents → MCP tools. The MCP endpoint is configured independently of the inference URL. You can also pass --mcp-url <MCP URL> when running hermes aixy setup. Complete Hermes’ native browser OAuth flow, review your organization and optional project restriction, and choose the tools to enable. MCP uses its own OAuth authorization, separate from the inference project key. Normal tool approvals still apply. Start a new session or run /reload-mcp, then check the available Aixy tools. See Connect an agent for access requirements and verification.

Verify inference and session tracking

Send a short prompt and find the request in Activity. Continue the conversation, then open Activity → Sessions to verify that its model requests are grouped together. The plugin configures X-Aixy-Session-ID with Hermes’ conversation identifier. Hermes supplies the value dynamically for each conversation; setup does not save a fixed session ID. This automatic correlation covers inference requests. The plugin does not configure MCP session-correlation headers.

Update an existing installation

Confirm replacement of the existing Aixy provider settings when prompted, then start a new Hermes session. Rerunning setup applies session tracking to profiles configured before plugin v0.1.2.
Enter the project key only in the local credential prompt. Keep inference keys, MCP credentials, and OAuth codes out of repositories, chat messages, and screenshots.
See the plugin README and Hermes MCP documentation for client-specific options.