← Back to Leaderboard
Aargmaxinc

argmaxinc/argmax-oss-swift

Swift SDK for on-device transcription, diarization, and speech synthesis on Apple silicon

View on GitHub ↗
Engineering Health (Methodology)
A · 83/100
Maintenance Activity
● Updated 1mo ago
Latest Release
v1.1.1
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance26/35
Fork Adoption20/25
Release Cadence17/20
License Clarity20/20
Local AICLIAPI
Total Stars
★ 6,482
24h Growth
+2
7d Growth
+8
Forks
645

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

argmaxinc/argmax-oss-swift Star History (2024-01-29 - 2026-12-03) ALL-TIME STAR HISTORY (2024-01 – 2026-12) +6.5k in 1039d · avg +6/day 6.8k 3.4k 0 2024-01-29: ★ 12024-04-06: ★ 1,9892024-06-08: ★ 2,4612024-08-10: ★ 2,9372024-10-12: ★ 3,1532024-12-14: ★ 3,9202025-02-15: ★ 4,1802025-04-19: ★ 4,4192025-06-21: ★ 4,6252025-08-23: ★ 4,8502025-10-25: ★ 5,0662025-12-27: ★ 5,2752026-02-28: ★ 5,6252026-05-02: ★ 5,9922026-07-04: ★ 6,2092026-09-05: ★ 6,3352026-12-03: ★ 6,482 ★ 6.5k 2024-01 2025-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Argmax is an Apple-focused Swift inference SDK, not a single speech pipeline. SwiftPM exposes three independent products: WhisperKit for Whisper speech recognition, SpeakerKit for Pyannote diarization, and TTSKit for Qwen3-TTS synthesis. ArgmaxOSS imports all three, and the v1.0.0 consolidation also ships ArgmaxCore. WhisperKit loads Core ML Whisper variants, including custom conversions from a configurable Hugging Face repository; TTSKit loads its tokenizer and Core ML models lazily on first generation.

The integration surface is native Swift with async initialization and inference calls, plus an argmax-cli executable for shell workflows. An optional build adds an HTTP adapter for WhisperKit: POST /v1/audio/transcriptions and POST /v1/audio/translations offer an OpenAI Audio API subset, with Server-Sent Events for output streaming. The OpenAPI specification supports client generation, but these routes do not make the three kits a unified network API.

Key Capabilities & Differentiators

WhisperKit transcribes WAV, MP3, M4A, and FLAC, with automatic or explicit language selection and word- or segment-level timestamps. The local server also translates to English and exposes prompt, temperature, and token log-probability controls. The CLI can take microphone input; that is distinct from the server's SSE output for uploaded audio. For long files, incremental loading reads bounded chunks from disk at VAD boundaries and preserves the full-file VAD chunking behavior. v1.1.0 reports more than 70% lower peak memory for a three-hour input.

SpeakerKit exposes speaker centroid embeddings for downstream matching. TTSKit provides nine built-in voices across ten languages and can begin playback before generation finishes, with automatic, fixed, immediate, or full-generation buffering. Its decoder processes one RVQ frame per call in latency mode or four in throughput mode, corresponding to about 80 ms and 320 ms of audio per call. Those values describe audio payload, not measured wall-clock latency.

Trade-offs & Limitations

Compared with a hosted Whisper API, the SDK can keep recordings on the Apple device or host doing inference, and a provisioned native app need not depend on a network request for each job. In exchange, the application team owns artifact provisioning, cold-start behavior, memory pressure, and capacity under concurrent load. The default 0.6B TTS variant is roughly a 1 GB download; the higher-quality macOS-only option is roughly 2.2 GB. Neither download size establishes runtime memory use. Lower first-audio latency and higher decoder throughput also require different configurations.

The HTTP adapter is useful for reusing file-based OpenAI clients, but only json and verbose_json responses are supported, and the served model is chosen at process startup rather than per request. SSE streams the output; it is not the Pro server's WebSocket path for live audio, and the open-source interface should not be selected on the assumption that it provides real-time speaker-attributed transcription. The fair replacement test is to run representative files on the intended hardware and compare accuracy, latency, and concurrency against the hosted service.

Hardware & Deployment Guide

For native integration, add the SwiftPM package in Xcode or Package.swift and select the needed products. The listed setup prerequisites are macOS 14+ and Xcode 16+; TTSKit specifically requires macOS 15+ or iOS 18+. For CLI testing, run make setup and make download-model MODEL=large-v3-v20240930_626MB with Git LFS installed, then pass a local model directory via --model-path. Inference can run offline once the required artifacts are provisioned; the default TTSKit initializer downloads its model on first run.

For HTTP integration, build with make build-local-server and run BUILD_ALL=1 swift run argmax-cli serve --model tiny. Start with a local-only integration and establish access controls before exposing the service to other hosts. v1.0.0 consolidated the SDK and added full Swift 6 concurrency support. v1.1.0 reduced long-file transcription memory and reports about a 40% end-to-end speedup for Qwen3-TTS; v1.1.1 addresses crashes, text chunking, and model download efficiency and error handling.

Package layout: SwiftPM exposes WhisperKit, SpeakerKit, and TTSKit separately or together through ArgmaxOSS.
Long recordings: Incremental disk reads use VAD boundaries; v1.1.0 reports over 70% peak-memory savings for a three-hour input.
Speaker diarization: SpeakerKit uses Pyannote and exposes speaker centroid embeddings for downstream matching.
Speech synthesis: Core ML Qwen3-TTS offers nine built-in voices, ten languages, and configurable buffering before playback.
Decoder tuning: The latency mode processes one RVQ frame per call (~80 ms of audio); throughput mode processes four (~320 ms).
Local HTTP interface: argmax-cli serve exposes OpenAI-style transcription and translation routes with SSE output and word or segment timestamps.
Best For

Apple-native apps that need local transcription, speaker diarization, or speech synthesis, and teams that want to reuse OpenAI-style file transcription clients against an Apple host.

Skip If

You need a Linux or Android runtime, managed capacity, full OpenAI Audio API parity, or a ready-made real-time WebSocket service with speaker attribution in the open-source edition.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Local AICLIAPI
brew install whisperkit-cli

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
argmax-oss-swift ★6.5k+8SwiftMITSwift SDK for on-device transcription, diarization, and speech synthesis on Appl
mlx-audio8.4k+32PythonMITMLX inference SDK for local speech and audio pipelines on Apple Silicon
whisperX26.5k+677PythonBSD-2-ClauseBatched Whisper with forced alignment for word timings and optional speaker labe
sherpa-onnx16.4k+136C++Apache-2.0C++ and ONNX Runtime SDK for offline speech and real-time transcription

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/argmaxinc/argmax-oss-swift.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

argmaxinc/argmax-oss-swift Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about argmax-oss-swift

How do I integrate only the components I need?

Add the Swift package in Xcode or Package.swift and select WhisperKit, SpeakerKit, or TTSKit individually; select ArgmaxOSS if you need all three. A non-Swift client can call the local HTTP transcription and translation endpoints on an Apple host, but that interface does not expose TTS or diarization.

How much memory and storage should I budget?

Size the deployment on the actual Apple hardware and model you intend to ship rather than using a fixed VRAM target. The 626 MB Whisper variant and the roughly 1 GB and 2.2 GB TTS downloads indicate disk and provisioning costs, not peak memory. Measure cold start, peak memory, and throughput at expected concurrency; use incremental loading for long recordings and measure time to first audio separately for TTS.

Can I ship or self-host this in a commercial product?

The repository is MIT-licensed, which allows commercial use and self-hosting subject to its notice requirements. Check the terms of each model artifact you plan to redistribute and review the repository's NOTICES file for third-party obligations. Local inference keeps processing on your chosen host, but does not by itself establish compliance for model downloads, audio retention, or access control.

Can it replace a hosted Whisper API without client changes?

For audio-file transcription or English translation, the local server offers a compatible subset of the OpenAI Audio API, including SSE output. It only returns json or verbose_json, and the CLI startup flag determines which model is served. Keep a hosted Whisper API if you need managed capacity or cloud-side features your client depends on; validate format handling and streaming behavior before switching.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining argmaxinc/argmax-oss-swift? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature argmaxinc/argmax-oss-swift on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare