Configuration

August 14, 2026 · View on GitHub

Standalone / programmatic

from ovos_hivemind_solver import HiveMindSolver

solver = HiveMindSolver(config={
    "autoconnect": True,
    "useragent": "my-app",
    "lang": "en-us"
})

Via ovos-persona

{
  "name": "HiveMind",
  "solvers": [
    {
      "module": "ovos-solver-hivemind-plugin",
      "ovos-solver-hivemind-plugin": {
        "autoconnect": true,
        "lang": "en-us"
      }
    }
  ]
}

Key reference

KeyTypeDefaultDescription
autoconnectboolfalseConnect automatically at construction time. If false, call solver.connect() before the first query.
useragentstring"ovos-hivemind-solver"User-agent string sent to the hub in the handshake.
websocket_ping_intervalnumber or null10Seconds between websocket keepalive pings. Hubs commonly drop idle clients ~15s after the last pong, so the default keeps the connection alive across slow queries. Set to 0 to disable (null falls back to the bus-client's own default interval).
websocket_ping_timeoutnumber or null5Seconds to wait for a pong before the client considers the connection dead. null falls back to the bus-client's own default.
KeyTypeDefaultDescription
site_idstringfrom identity fileSite ID for the connection. Overrides the value in the identity file.
langstring"en-us"Default language when no lang is present in the query context.

Connection identity

Host, port, access key, and password are read from the identity file at ~/.config/hivemind/_identity.json. Set it with:

hivemind-client set-identity \
  --key <access_key> \
  --password <password> \
  --host <hub_ip> --port 5678 --siteid solver

There is no way to pass credentials inline. The identity file is the only source.


← Solver integration · Home