Argmax OSS Swift (WhisperKit)
Argmax's open-source on-device speech toolkit for Apple silicon, and the home of WhisperKit.
View on GitHub ↗- Stars
- ★ 6,483
- Last commit
- 11 Oct 2026
- Maintenance
- Active
- Licence
- MIT
- Category
- On-device AI SDKs
- GitHub
- argmaxinc/
argmax-oss-swift
Overview
The Argmax Open-Source SDK is a collection of on-device inference frameworks for Swift. It includes WhisperKit for speech to text with OpenAI Whisper, SpeakerKit for speaker diarisation with Pyannote and TTSKit for text to speech with Qwen-TTS. A CLI also runs a local server compatible with the OpenAI Audio API.
Features
- WhisperKit transcribes local audio files in a few lines of Swift
- SpeakerKit for speaker diarisation
- TTSKit for text to speech
- Memory-efficient loading for large audio files
- Swift CLI for testing outside Xcode
- Local server with OpenAI-style transcription endpoints
Requirements
- macOS 14.0 or later
- Xcode 16.0 or later
Install
Add the package in Xcode (File > Add Package Dependencies) or Package.swift
.package(url: "https://github.com/argmaxinc/argmax-oss-swift.git", from: "0.9.0")Or install the command line app
brew install whisperkit-cli
Example
Initialise WhisperKit and call transcribe(audioPath:) on a local audio file to get its text.
Works with
Listed in
- github.com/argmaxinc/argmax-oss-swift
- raw.githubusercontent.com/argmaxinc/argmax-oss-swift/HEAD/README.md
Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.
More in this category
apfel
Command-line tool, chat mode and local OpenAI-compatible server for the on-device model in Apple's FoundationModels framework. Needs macOS 26 and Apple silicon.
MLX Swift Examples
Example apps and code showing how to use MLX Swift.
MLX Swift
Apple's Swift API for MLX, the array and machine-learning framework for Apple silicon.
SwiftAgents