Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

HiveMind CLI

Terminal client for HiveMind.

Connect to a HiveMind node from the command line. Type an utterance and watch the response on the bus. No audio hardware is required. Among HiveMind clients, this one needs the least: only a keyboard.

The curses UI shows a split-pane conversation view. --no-curses streams plain output. Use plain mode for scripting or for SSH sessions with minimal terminal support.

HiveMind CLI terminal

Where it fits: the satellite spectrum

Client Local processing Remote processing
HiveMind-cli (this) nothing STT, TTS, intent, skills
hivemind-mic-satellite microphone, VAD STT, TTS, intent, skills
HiveMind-voice-relay mic, VAD, wake-word STT, TTS, intent, skills
HiveMind-voice-sat mic, VAD, wake-word, STT, TTS intent, skills

HiveMind-cli requires only a keyboard. It has no microphone, no speaker, and no wake-word engine. Every other satellite in the table adds a layer of local processing on top of this one.

Install

pip install HiveMind-cli

From source:

git clone https://github.com/JarbasHiveMind/HiveMind-cli
cd HiveMind-cli
pip install -e .

HiveMind CLI tracks the HiveMind bus-client 2.x stack (ovos-bus-client>=2.0). pyproject.toml is the single source of truth for dependencies. There is no requirements.txt.

Quickstart

1. Pair. Issue credentials on the server:

hivemind-core add-client
# → Access Key: <key>   Password: <password>

2. Connect. Start the terminal:

hivemind-cli --access-key <key> --password <password> --host wss://192.168.1.10

3. Type. Enter an utterance and press Enter. The response appears in the conversation pane (Mycroft > …).

CLI flags

Flag Default Description
--access-key (required) Client access key issued by hivemind-core add-client.
--password None Optional client password.
--host (scan) HiveMind host URI, including protocol: ws://… or wss://….
--port 5678 WebSocket port.
--no-curses off Disable the curses UI. Use plain stdout/stdin instead.
--self-signed off Accept self-signed SSL certificates.

--host is optional. If you omit it, the CLI scans the local network for a HiveMind node over UDP broadcast and asks before connecting.

The host must include the protocol prefix (ws:// or wss://). The CLI exits with an error and a hint if the prefix is missing.

Modes

Curses interface (default)

A split-pane terminal UI with a scrollable message history and an Input > prompt. Responses appear as Mycroft > <utterance>. This mode needs a terminal that supports curses (most modern terminals do). If curses is unavailable at import time, the CLI falls back to plain mode.

Plain mode (--no-curses)

Line-by-line stdin/stdout. Responses print as Mycroft: <utterance>. Use this mode for SSH sessions with limited terminal support, piped input, or headless scripting.

Related

Project Role
HiveMind-core The HiveMind server. It runs OVOS and manages satellites.
hivemind-mic-satellite Thinnest audio satellite. Mic and VAD stay local.
HiveMind-voice-relay Voice relay. Mic, VAD, and wake-word stay local; STT/TTS run remote.
HiveMind-voice-sat Full local stack, including STT and TTS on-device.

Docs

Full documentation lives in docs/. Contributors should read docs/development.md for the dependency stack and how to run the end-to-end test suite.

Testing

The end-to-end suite boots a real hivemind-core master in-process, using hivescope, and drives the real terminal client over a real bus. Only stdin/stdout is mocked:

pip install -e ".[e2e]"
pytest tests/

See docs/development.md for details.

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hivemind_cli-1.0.0a2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hivemind_cli-1.0.0a2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file hivemind_cli-1.0.0a2.tar.gz.

File metadata

  • Download URL: hivemind_cli-1.0.0a2.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hivemind_cli-1.0.0a2.tar.gz
Algorithm Hash digest
SHA256 cb672f8191858780a3ee8f41c327e5f6f533da4dc291bcacafca4988c0b99a60
MD5 f029d106a32d4b0c227619239e856b7d
BLAKE2b-256 9fa80bcf20edebfab201336da66588533c4c09a66a302f535ddbffb8773c9fe8

See more details on using hashes here.

File details

Details for the file hivemind_cli-1.0.0a2-py3-none-any.whl.

File metadata

  • Download URL: hivemind_cli-1.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hivemind_cli-1.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 387c2a71562a32217989efd81b7deb6df02d76193e782d92070c10d783909275
MD5 1d8957cbc2bf936719e2905049b3b879
BLAKE2b-256 5f6c16d7de9bfa7c01a137caa0b1db7130d4cf0ce577f5f3c1181f2f302c807e

See more details on using hashes here.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page