aurum-core
Reusable on-device speech I/O library for Aurum.
Speech both ways. On-device by default.
- Local whisper.cpp STT (
whisper-rs, Metal on macOS) - Local ONNX TTS (KittenTTS / Kokoro; feature
tts, default on) - Optional remote providers (OpenRouter / OpenAI / ElevenLabs / xAI)
- PCM-first mic host API · partial-window helpers · cancel
- Cleanup / flow (rules or OpenRouter)
- Model download, pins, txt/srt/json
API status: provisional on continuous 0.0.x (next assurance cut v0.0.21, not 1.0). Pin a crates.io version or git tag.
Depend
= "0.0.21"
# STT only (smaller): default-features = false
# git: tag = "v0.0.21"
= { = "1", = ["rt-multi-thread", "macros"] }
Quick STT example
use load_audio;
use ;
# async
Prefer AurumEngine for long-lived hosts (owned pools, governor, registry). See
the integration guide.
License
MIT