Two years after its quiet launch, the Swift Transformers library just hit version 1.0—and the team is signaling a major strategic shift. If you’re an Apple developer building apps with on-device AI, the library’s original pitch was about filling the gaps Core ML left behind: tokenization, model download, and inference wrappers. That foundation is now stable. What’s changing is where the energy goes next.

Lead maintainer notes that when the project started, MLX and chat templates didn’t exist. The community’s actual usage has since made the priorities clear. Most developers aren’t reaching for the full Core ML inference stack; they’re importing the Tokenizers and Hub modules and pairing them with other tools. Apple’s own mlx-swift-examples project does exactly this, using swift-transformers for tokenization and downloading while leaning on MLX for model execution. WhisperKit, the heavily optimized speech recognition framework from Argmax, relies on the same two modules.

The 1.0 release formalizes this reality by splitting Tokenizers and Hub into top-level packages you can import independently. The headline feature is a rebuilt Swift Jinja library, created in collaboration with John Mai. The team claims the new version is “a couple orders of magnitude faster” than its predecessor—critical since chat templates have grown dramatically more complex as models adopt tool-calling and agentic patterns. Apple contributors also helped modernize the Core ML backend, adopting stateful models and expressive MLTensor APIs that eliminated thousands of lines of custom math code.

Looking ahead, the roadmap is explicit: a heavy focus on MLX and agentic use cases. That’s less a pivot than an acknowledgment of how the ecosystem matured. Core ML conversion guides will remain, but the library’s future isn’t in being a one-stop inference shop. It’s in providing the pipeline pieces—tokenizers that handle chat templates, tool schemas, and agentic flows—that every Apple Silicon app needs regardless of which runtime sits underneath. Swift 6 support is baked in, tests are stronger, and the API surface has been trimmed. For developers already using Tokenizers or Hub, the breaking changes should be minimal. For those on the Core ML components, a migration guide is coming.