argmaxinc/argmax-oss-swift

On-device Speech AI for Apple Silicon

What it solves

Argmax Open-Source SDK provides a set of turn-key frameworks for running AI audio models entirely on-device for Apple platforms (macOS and iOS). It eliminates the need for cloud-based APIs for speech-to-text, text-to-speech, and speaker identification, ensuring privacy and reducing latency.

How it works

The SDK is built on Core ML and consists of three specialized "kits":

  • WhisperKit: Implements OpenAI's Whisper for speech-to-text transcription and translation. It includes a local server that mimics the OpenAI Audio API for easy integration with existing clients.
  • TTSKit: Uses Qwen3-TTS models to convert text to speech with support for multiple languages, custom voices, and real-time streaming playback.
  • SpeakerKit: Utilizes Pyannote for speaker diarization, allowing the system to identify "who spoke when" in an audio recording.

Who it’s for

Developers building for macOS and iOS who want to integrate high-performance audio AI capabilities—like transcription, voice synthesis, and speaker identification—directly into their apps without relying on external servers.

Highlights

  • On-Device Inference: All processing happens locally on Apple silicon via Core ML.
  • OpenAI API Compatibility: Includes a local server that allows developers to use standard OpenAI SDK clients for local transcription.
  • Streaming Capabilities: Supports real-time streaming playback for TTS and incremental loading for large audio files in WhisperKit to manage memory.
  • Multilingual Support: TTSKit supports 10 languages and multiple built-in voices; WhisperKit supports various model sizes for different accuracy/speed trade-offs.

Related

  • Project
  • Project
  • Project
  • Project
  • Project