mahbot 0.10.0

An autonomous agentic engineering system that manages software development through role separation, subagents, and deterministic diagnostics.
//! Speech: the product's own engines on the inference crate, both directions.
//!
//! Recognition ([`engine`]) turns a recording into words; synthesis ([`synth`]) turns text into
//! a spoken waveform. Both run on every platform, both read the same machine-wide model folder
//! ([`models`], provisioned by the installer and never created here), and both load lazily
//! through the one lifecycle in [`load`] — nothing at boot, and only the set the operation
//! needs is fetched.
//!
//! Recognition is lazy on every platform: the surfaces are the composer's microphone, a
//! Telegram voice note or audio attachment, the audio recorded after the wake word,
//! `mahbot audio transcribe`, and a media read — a video's or a recording's sound track, which is
//! transcribed in pieces with timestamps and sound labels. The wake word shares the recognition
//! pair's weights through its own window listener ([`engine::embed_pair`]), so listening never
//! loads a second copy. Synthesis is the admin Assistant's `say` tool and `mahbot audio speak`;
//! nothing is ever spoken on its own.

pub(crate) mod decode;
pub(crate) mod engine;
mod load;
pub(crate) mod models;
pub(crate) mod synth;

pub(crate) use decode::{AUDIO_FORMATS, takes_audio};
pub(crate) use engine::{
    INFERENCE_TIMEOUT, InferenceTimedOut, Interrupted, Segment, UNTRANSCRIBED, Unreadable,
    embed_clip, embed_clips, embed_pair, ensure_ready_once, is_failed, is_loaded, is_loading,
    is_silence_label, is_speech_label, retry_init, spawn_background_init, state,
    transcribe_file_async, transcribe_pieces, transcribe_samples,
};