Skip to main content

argus-echo

The Argus suite's speech servers: three text-to-speech engines behind one HTTP contract, so a client switches engine by changing a URL, and a speech-to-text engine:

Engine Model VRAM Strengths
miso Miso TTS 8B ~17 GB Most natural and expressive; one-shot cloning; English
xtts Coqui XTTS-v2 ~2 GB Multi-clip cloning, 17 languages, low-latency streaming
qwen Qwen3-TTS 0.6B / 1.7B small Built-in speakers, steered by an instruction or a voice description (1.7B)
whisper Whisper large-v3-turbo (faster-whisper) ~3 GB Speech to text: 99 languages, word timestamps, live streaming with VAD

Plus Wyoming bridges that put any engine, text to speech or speech to text, in front of Home Assistant or anything else that speaks Wyoming.

Every engine loads its model on first use, unloads it when idle, and serves argus-cortex's resident contract (/health, /admin/{unload,evict,wake}), so argus-iris can share a GPU between them and other services. argus-mask uses them to give its faces a voice.

Part of the Argus suite.

Run

Linux, Docker with Compose, an NVIDIA GPU and the NVIDIA Container Toolkit. Each engine is a Compose profile; run the ones your GPU can hold:

cp .env.example .env                                         # bind address, token, storage
docker compose --profile miso up -d --build                  # 24 GB card
docker compose --profile xtts --profile qwen up -d --build   # 8 GB card

Ports: Miso 8140, XTTS 8141, Qwen 8142, Whisper 8144; Wyoming bridges 10240 (XTTS), 10241 (Miso), 10242 (Qwen) and 10243 (Whisper), see Home Assistant. They are published on ECHO_BIND, which defaults to 127.0.0.1; set it to 0.0.0.0 or a LAN address to serve other machines. Miso downloads its ~33 GB checkpoint into HF_HOME on first use; the XTTS and Qwen images bake their weights in at build time.

Check an engine (read-only; --speak also streams a sentence, which loads the model):

uvx argus-echo check http://localhost:8140
uvx argus-echo check http://localhost:8141 --speak "Hello there." --speaker "Claribel Dervla"
uvx argus-echo check http://localhost:8144 --transcribe       # speech to text: a bundled 11 s clip

Or by hand:

curl -s localhost:8140/synthesise/stream -H 'content-type: application/json' \
     -d '{"text": "Hello there."}' --output hello.f32       # 24 kHz mono float32

Storage

Generated WAVs and clones go to S3 (MinIO or any S3-compatible store): set S3_ENDPOINT_URL and the credentials in .env. Each engine has its own bucket (voice-miso, voice-xtts, voice-qwen by default), because all three store clones under the same keys in different formats. Create the buckets before first use. Miso can store on local disk instead (MISO_STORAGE_BACKEND=local, the default) and serves those files itself.

Security

/admin/* is closed until ARGUS_ADMIN_TOKEN is set (openssl rand -hex 32). Every other route is open, clone creation and deletion included: keep the ports on a trusted network or behind an authenticating gateway. Clone a real person's voice only with their consent. Details: docs/api.md#security.

Documentation

Doc Contents
docs/api.md The shared contract, how the engines differ, health, admin, security
docs/miso-api.md, docs/miso-config.md Miso's full API and every MISO_* setting
docs/xtts.md XTTS-v2 settings and licence
docs/qwen.md Qwen3-TTS settings and differences
docs/whisper.md Speech to text: model choice, licences, VRAM, settings
docs/new-engine.md Checklist for adding an engine (server, image, tests, wiring)
docs/voice-cloning.md What makes a good reference on each engine; Home Assistant

Layout

compose.yaml          one profile per engine
gpu-tenant.yaml       the residents argus-iris manages
engines/<engine>/     each engine's server, Dockerfile and tests (its own Python environment)
src/argus_echo/       the contracts in Python (contract/tts.py, contract/stt.py), and `argus-echo check`

The engines don't import argus_echo: their dependencies conflict (Miso pins torch 2.9 for moshi), so they share the contract, not code.

Develop

make install && make test && make lint      # the argus_echo package

Each engine's tests run in its own environment, with the models stubbed (no GPU or weights). The commands are in .github/workflows/engines.yml, for example:

cd engines/xtts && uv run --no-project --with "argus-cortex[server]>=0.8,<0.10" --with fastapi --with httpx \
  --with structlog --with boto3 --with numpy --with soundfile --with python-multipart --with pytest \
  python -m pytest -q tests

Licence

MIT, see LICENSE, except engines/miso/, which carries the upstream MisoTTS inference code under Miso Labs' modified MIT licence (engines/miso/LICENSE). Model weights carry their own licences: Miso TTS (modified MIT), XTTS-v2 (Coqui Public Model Licence, non-commercial), Qwen3-TTS (Apache-2.0). Audio from Miso's /synthesise carries an imperceptible AI-generated watermark; streamed audio does not.

Metadata

Release files for argus-echo 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for argus-echo 0.3.0
File Size Uploaded Provenance Actions
argus_echo-0.3.0.tar.gz 621.8 kB With provenance Details for argus_echo-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for argus-echo 0.3.0
File Interpreter ABI Platform Actions
argus_echo-0.3.0-py3-none-any.whl Python 3 none any Details for argus_echo-0.3.0-py3-none-any.whl

Total release size: 836.8 kB

Release files / argus_echo-0.3.0.tar.gz

Download URL argus_echo-0.3.0.tar.gz
Size 621.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aa356050c450e4b72239aa45391ed0e6064f6a33f79e0ebecad043388eaea652
BLAKE2b-256 checksum
How to use checksums
7b5f2d543c903e59a25d96f645a52c8fd2ca0ec06383ec897d76fb22aca2933a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / argus_echo-0.3.0-py3-none-any.whl

Download URL argus_echo-0.3.0-py3-none-any.whl
Size 215.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
064e4a25698d68a4ffc124969d80f3af2a8dadd074cc9e6f3f1d02d022857a34
BLAKE2b-256 checksum
How to use checksums
643c7fee0cfb68d2f62de3b35dde6322eab882a29384a585ba92675ef6b6aa37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for argus-echo 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for argus_echo-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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