← Projects

hermes-kokoro-tts

Python · MIT · Archived

On this page

Code

hermes-kokoro-tts gives Hermes Agent a voice that runs on your own machine, with the Kokoro model. The spoken text never leaves the computer.

The repository has been archived since 30 November 2026: it stays available to use or adapt, with no maintenance.

What it does

  • Registers the kokoro-mlx speech provider, used by everything Hermes says aloud.
  • Speaks sentence by sentence while the reply is still being written.
  • Picks the voice by the language of each sentence: Brazilian Portuguese, English or Italian (Italian was not tested by the author).
  • Keeps a dictionary of English words so they sound English inside a sentence in another language.
  • Runs the model in a separate Python environment, behind a server that listens only on the machine itself.

Getting started

Needs macOS on Apple Silicon or Linux x86_64 with a systemd user session, Hermes Agent 0.22.2 or later (the tested version), uv and about 1.5 GB of disk.

hermes plugins install brunosouzas/hermes-kokoro-tts
hermes kokoro install
hermes config set tts.provider kokoro-mlx
hermes kokoro say "Hello from Hermes"

The plugin is listed in the plugin catalog, as the Hermes Agent page tells.

Code for this page