Tyto

Score the audio reaching your voice agent so your application can decide what to do next.

Tyto is an audio decision model by ai-coustics. It scores the audio reaching your agent and predicts whether it will cause downstream failures, with a single risk score and the likely cause behind it. Catch degraded audio before it breaks your voice agent, in real time or post-call. Inference runs through the aic-sdk Python package (also available for Rust, C/C++, Node.js, and WebAssembly).

Setup

  1. Install the SDK:
    pip install aic-sdk
    
  2. Create a free SDK key on the ai-coustics playground: 30-day trial included, no credit card required. Using an AI coding agent? It can get a temporary token through the ai-coustics MCP server.

Use with AI coding agents (MCP)

Connect your agent to https://mcp.ai-coustics.com/mcp. It gets a temporary SDK token, the docs and the model files, so it can prototype without a signup.

claude mcp add --transport http ai-coustics https://mcp.ai-coustics.com/mcp   # Claude Code
codex mcp add ai-coustics --url https://mcp.ai-coustics.com/mcp                # Codex
gemini mcp add --transport http ai-coustics https://mcp.ai-coustics.com/mcp   # Gemini CLI

OpenCode, Cursor and other clients: add a remote (HTTP) MCP server with the URL above.

For agents: call get_started first. For a permanent key, send the user to developers.ai-coustics.com.

Usage

# initialize the audio decision analyzer
import aic_sdk as aic

model = aic.Model.from_file(aic.Model.download("tyto-1.2-l-16khz", "./models"))
analyzer = aic.FileAnalyzer(model, "{aic-sdk-key}")  # get a free SDK key: https://developers.ai-coustics.com/login

# score a mono float32 buffer: one AnalysisResult per 5-second window
results = analyzer.analyze(audio, sample_rate)

# predict downstream failures, with the likely cause behind them
for window in results:
    print(f"risk={window.risk_score:.2f} noise={window.noise:.2f} interfering={window.interfering_speech:.2f}")

What you get

Every analysis window returns one headline score plus six diagnostic dimensions (all 0.0 to 1.0; lower is less problematic, except loudness):

Field Meaning
risk_score Headline score: predicted likelihood of failure of downstream STT, VAD, turn-taking, or speech-to-speech models
noise Ambient / environmental noise
speaker_reverb Speaker distance and reverberation
speaker_loudness Speaker loudness
interfering_speech Interference from additional speakers
packet_loss Dropouts / discontinuities (packet loss, frame erasure, jitter, CPU overload)
codec_degradation Artifacts from lossy or narrowband speech codecs

Streaming / real-time analysis

For live audio, use a Collector/Analyzer pair: the collector buffers on the audio thread (real-time safe), the analyzer runs on a separate thread (analysis is computationally expensive):

import aic_sdk as aic

model = aic.Model.from_file(aic.Model.download("tyto-1.2-l-16khz", "./models"))
collector, analyzer = aic.analyzer_pair(model, "{aic-sdk-key}")  # get a free SDK key: https://developers.ai-coustics.com/login

config = aic.ProcessorConfig.optimal(model)
collector.initialize(config)

# audio thread (real-time safe):
for block in audio_blocks():              # np.ndarray, config.block_size samples
    collector.buffer(block)

# non-audio thread, whenever you want a reading:
result = analyzer.analyze_buffered()
print(result.risk_score, result.packet_loss, result.codec_degradation)

Related ai-coustics models

Resources

Downloads last month
31,910
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support