{
  "@context": "https://schema.org",
  "@id": "https://aggr.aymericbeaumet.com/items/huggingface-co/2025-09-26-swift-transformers-reaches-1-0-and-looks-to-the-future/#webpage",
  "@type": [
    "WebPage",
    "ArchiveComponent"
  ],
  "articleBody": "We released [`swift-transformers`](https://github.com/huggingface/swift-transformers) two years ago (!) with the goal to support Apple developers and help them integrate local LLMs in their apps. A lot has changed since then (MLX and chat templates did not exist!), and we’ve learned how the community is actually using the library.\n\nWe want to double down on the use cases that provide most benefits to the community, and lay out the foundations for the future. Spoiler alert: after this release, we’ll focus a lot on MLX and agentic use cases 🚀\n\n## What is `swift-transformers`\n\n`swift-transformers` is a Swift library that [aims to reduce the friction](https://huggingface.co/blog/swift-coreml-llm) for developers that want to work with local models on Apple Silicon platforms, including iPhones. It includes the missing pieces that are not provided by Core ML or MLX alone, but that are required to work with local inference. Namely, it provides the following components:\n\n- `Tokenizers`. Preparing inputs for a language model is surprisingly complex. We've built a lot of experience with our `tokenizers` Python and Rust libraries, which are foundational to the AI ecosystem. We wanted to bring the same performant, ergonomic experience to Swift. The Swift version of `Tokenizers` should handle everything for you, including chat templates and agentic use!\n- `Hub`. This is an interface to the [Hugging Face Hub](https://huggingface.co), where all open models are available. It allows you to download models from the Hub and cache them locally, and supports background resumable downloads, model updates, offline mode. It contains a subset of the functionality provided by the [Python](https://huggingface.co/docs/huggingface_hub/en/index) and [JavaScript](https://huggingface.co/docs/huggingface.js/en/hub/README) libraries, focused on the tasks that Apple developers need the most (i.e., uploads are not supported).\n- `Models` and `Generation`. These are wrappers for LLMs converted to the Core ML format. Converting them is out of the scope of the library (but [we have some guides](https://huggingface.co/blog/mistral-coreml)). Once they are converted, these modules make it easy to run inference with them.\n\n![Test app from mlx-swift-examples, showing SmolVLM2 explaining actions in a video.](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/swift-transformers/mlx-vlm-examples-birds.jpg)\\\nTest app from mlx-swift-examples, showing SmolVLM2 explaining actions in a video.\n\n## How is the community using it\n\nMost of the time people use the `Tokenizers` or `Hub` modules, and frequently both. Some notable projects that rely on `swift-transformers` include:\n\n- [`mlx-swift-examples`](https://github.com/ml-explore/mlx-swift-examples), by Apple. It’s, in fact, not just a collection of examples, but a list of libraries you can use to run various types of models using MLX, including LLMs and VLMs (vision-language models). It’s kind of our `Models` and `Generation` libraries but for MLX instead of Core ML – and it supports many more model types like embedders or Stable Diffusion.\n- [WhisperKit](https://github.com/argmaxinc/WhisperKit/), by [argmax](https://www.argmaxinc.com). Open Source ASR (speech recognition) framework, super heavily optimized for Apple Silicon. It relies on our `Hub` and `Tokenizers` modules.\n- [FastVLM](https://github.com/apple/ml-fastvlm/tree/main/app), by Apple, and many other app demos, such as our own [SmolVLM2 native app](https://huggingface.co/blog/smolvlm2).\n\n## What changes with v1.0\n\nVersion 1.0 signals stability in the package. Developers are building apps on swift-transformers, and this first major release recognizes those use cases and brings the version number in line with that reality. It also provides the foundation on which to iterate with the community to build the next set of features. These are some of our preferred updates:\n\n- **`Tokenizers` and `Hub`** are now [first-class, top-level modules](https://github.com/huggingface/swift-transformers/pull/269). Before 1.0, you had to depend on and import the full package, whereas now you can just pick `Tokenizers`, for instance.\n- Speaking of Jinja, we are super proud to announce that we have collaborated with [John Mai](https://huggingface.co/JohnMai) ([X](https://x.com/JohnMai_Dev)) to create the **next version of his excellent Swift Jinja library**. John’s work has been crucial for the community: he single-handedly took on the task to provide a solid chat template library that could grow as templates became more and more complex. The new version is a couple orders of magnitude faster (no kidding), and [lives here as `swift-jinja`](https://github.com/huggingface/swift-jinja).\n- To further reduce the load imposed on downstream users, we have **removed our example CLI targets and the `swift-argument-parser` dependency**, which in turn prevents version conflicts for projects that already use it.\n- Thanks to contributions by Apple, we have [adopted **Modern Core ML APIs**](https://github.com/huggingface/swift-transformers/pull/257) with support for stateful models (for easier KV-caching) and expressive `MLTensor` APIs – this removes thousands of lines of custom tensor operations and math code.\n- Lots of **additional cruft removed and [API surface reduced](https://github.com/huggingface/swift-transformers/pull/250)** to reduce cognitive load and iterate faster.\n- **Tests** are [better, faster, stronger](https://github.com/huggingface/swift-transformers/pull/229).\n- **Documentation comments** have been added to [public APIs](https://github.com/huggingface/swift-transformers/pull/268).\n- **Swift 6** is [fully supported](https://github.com/huggingface/swift-transformers/pull/264).\n\nVersion 1.0 comes with breaking API changes. However, we don’t expect major problems if you are a user of `Tokenizers` or `Hub`. If you use the Core ML components of the library, please [get in touch](https://github.com/huggingface/swift-transformers/issues/new) so we can support you during transition. We’ll prepare a migration guide and add it to the documentation.\n\n## Usage Examples\n\nHere's how to use `Tokenizers` to format tool calling input for an LLM:\n\n```swift\nimport Tokenizers\n\nlet tokenizer = try await AutoTokenizer.from(pretrained: \"mlx-community/Qwen2.5-7B-Instruct-4bit\")\n\nlet weatherTool = [\n    \"type\": \"function\",\n    \"function\": [\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": [\n            \"type\": \"object\",\n            \"properties\": [\"location\": [\"type\": \"string\", \"description\": \"City and state\"]],\n            \"required\": [\"location\"]\n        ]\n    ]\n]\n\nlet tokens = try tokenizer.applyChatTemplate(\n    messages: [[\"role\": \"user\", \"content\": \"What's the weather in Paris?\"]],\n    tools: [weatherTool]\n)\n```\n\nFor additional examples, please check [this section in the README](https://github.com/huggingface/swift-transformers?#examples) and the [Examples folder](https://github.com/huggingface/swift-transformers/tree/main/Examples).\n\n## What comes next\n\nHonestly, we don’t know. We do know that we are super interested in exploring MLX, because that’s usually the current go-to approach for developers getting started with ML in native apps, and we want to help make the experience as seamless as possible. We are thinking along the lines of better integration with `mlx-swift-examples` for LLMs and VLMs, potentially through pre-processing and post-processing operations that developers encounter frequently.\n\nWe are also extremely excited about agentic use in general and MCP in particular. We think that exposure of system resources to local workflows would be 🚀\n\nIf you want to follow along in this journey or want to share your ideas, please contact us through our social networks or [the repo](https://github.com/huggingface/swift-transformers/issues/new).\n\n## We couldn’t have done this without you 🫵\n\nWe are immensely grateful to all the contributors and users of the library for your help and feedback. We love you all, and can't wait to continue working with you to shape the future of on-device generation! ❤️\n",
  "authors": [],
  "captured_at": "2026-10-04T12:50:30.804479567+00:00",
  "category": "ai",
  "content_html": "<p>We released <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers\"><code>swift-transformers</code></a> two years ago (!) with the goal to support Apple developers and help them integrate local LLMs in their apps. A lot has changed since then (MLX and chat templates did not exist!), and we’ve learned how the community is actually using the library.</p>\n<p>We want to double down on the use cases that provide most benefits to the community, and lay out the foundations for the future. Spoiler alert: after this release, we’ll focus a lot on MLX and agentic use cases 🚀</p>\n<h2>What is <code>swift-transformers</code></h2>\n<p><code>swift-transformers</code> is a Swift library that <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://huggingface.co/blog/swift-coreml-llm\">aims to reduce the friction</a> for developers that want to work with local models on Apple Silicon platforms, including iPhones. It includes the missing pieces that are not provided by Core ML or MLX alone, but that are required to work with local inference. Namely, it provides the following components:</p>\n<ul>\n<li><code>Tokenizers</code>. Preparing inputs for a language model is surprisingly complex. We've built a lot of experience with our <code>tokenizers</code> Python and Rust libraries, which are foundational to the AI ecosystem. We wanted to bring the same performant, ergonomic experience to Swift. The Swift version of <code>Tokenizers</code> should handle everything for you, including chat templates and agentic use!</li>\n<li><code>Hub</code>. This is an interface to the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://huggingface.co\">Hugging Face Hub</a>, where all open models are available. It allows you to download models from the Hub and cache them locally, and supports background resumable downloads, model updates, offline mode. It contains a subset of the functionality provided by the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://huggingface.co/docs/huggingface_hub/en/index\">Python</a> and <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://huggingface.co/docs/huggingface.js/en/hub/README\">JavaScript</a> libraries, focused on the tasks that Apple developers need the most (i.e., uploads are not supported).</li>\n<li><code>Models</code> and <code>Generation</code>. These are wrappers for LLMs converted to the Core ML format. Converting them is out of the scope of the library (but <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://huggingface.co/blog/mistral-coreml\">we have some guides</a>). Once they are converted, these modules make it easy to run inference with them.</li>\n</ul>\n<figure class=\"article-figure\"><picture class=\"article-picture article-picture-fallback\" style=\"--image-ratio:16 / 9\"><img src=\"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/swift-transformers/mlx-vlm-examples-birds.jpg\" alt=\"Test app from mlx-swift-examples, showing SmolVLM2 explaining actions in a video.\" loading=\"eager\" decoding=\"async\" fetchpriority=\"high\" referrerpolicy=\"no-referrer\" class=\"progressive-image\"></picture><figcaption>Test app from mlx-swift-examples, showing SmolVLM2 explaining actions in a video.</figcaption></figure>\n<h2>How is the community using it</h2>\n<p>Most of the time people use the <code>Tokenizers</code> or <code>Hub</code> modules, and frequently both. Some notable projects that rely on <code>swift-transformers</code> include:</p>\n<ul>\n<li><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/ml-explore/mlx-swift-examples\"><code>mlx-swift-examples</code></a>, by Apple. It’s, in fact, not just a collection of examples, but a list of libraries you can use to run various types of models using MLX, including LLMs and VLMs (vision-language models). It’s kind of our <code>Models</code> and <code>Generation</code> libraries but for MLX instead of Core ML – and it supports many more model types like embedders or Stable Diffusion.</li>\n<li><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/argmaxinc/WhisperKit/\">WhisperKit</a>, by <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://www.argmaxinc.com\">argmax</a>. Open Source ASR (speech recognition) framework, super heavily optimized for Apple Silicon. It relies on our <code>Hub</code> and <code>Tokenizers</code> modules.</li>\n<li><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/apple/ml-fastvlm/tree/main/app\">FastVLM</a>, by Apple, and many other app demos, such as our own <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://huggingface.co/blog/smolvlm2\">SmolVLM2 native app</a>.</li>\n</ul>\n<h2>What changes with v1.0</h2>\n<p>Version 1.0 signals stability in the package. Developers are building apps on swift-transformers, and this first major release recognizes those use cases and brings the version number in line with that reality. It also provides the foundation on which to iterate with the community to build the next set of features. These are some of our preferred updates:</p>\n<ul>\n<li><strong><code>Tokenizers</code> and <code>Hub</code></strong> are now <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers/pull/269\">first-class, top-level modules</a>. Before 1.0, you had to depend on and import the full package, whereas now you can just pick <code>Tokenizers</code>, for instance.</li>\n<li>Speaking of Jinja, we are super proud to announce that we have collaborated with <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://huggingface.co/JohnMai\">John Mai</a> (<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://x.com/JohnMai_Dev\">X</a>) to create the <strong>next version of his excellent Swift Jinja library</strong>. John’s work has been crucial for the community: he single-handedly took on the task to provide a solid chat template library that could grow as templates became more and more complex. The new version is a couple orders of magnitude faster (no kidding), and <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-jinja\">lives here as <code>swift-jinja</code></a>.</li>\n<li>To further reduce the load imposed on downstream users, we have <strong>removed our example CLI targets and the <code>swift-argument-parser</code> dependency</strong>, which in turn prevents version conflicts for projects that already use it.</li>\n<li>Thanks to contributions by Apple, we have <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers/pull/257\">adopted <strong>Modern Core ML APIs</strong></a> with support for stateful models (for easier KV-caching) and expressive <code>MLTensor</code> APIs – this removes thousands of lines of custom tensor operations and math code.</li>\n<li>Lots of <strong>additional cruft removed and <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers/pull/250\">API surface reduced</a></strong> to reduce cognitive load and iterate faster.</li>\n<li><strong>Tests</strong> are <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers/pull/229\">better, faster, stronger</a>.</li>\n<li><strong>Documentation comments</strong> have been added to <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers/pull/268\">public APIs</a>.</li>\n<li><strong>Swift 6</strong> is <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers/pull/264\">fully supported</a>.</li>\n</ul>\n<p>Version 1.0 comes with breaking API changes. However, we don’t expect major problems if you are a user of <code>Tokenizers</code> or <code>Hub</code>. If you use the Core ML components of the library, please <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers/issues/new\">get in touch</a> so we can support you during transition. We’ll prepare a migration guide and add it to the documentation.</p>\n<h2>Usage Examples</h2>\n<p>Here's how to use <code>Tokenizers</code> to format tool calling input for an LLM:</p>\n<pre><code class=\"language-swift\"><span class=\"code-snippet\" data-language=\"Swift\">import Tokenizers\n\nlet tokenizer = try await AutoTokenizer.from(pretrained: &quot;mlx-community/Qwen2.5-7B-Instruct-4bit&quot;)\n\nlet weatherTool = [\n    &quot;type&quot;: &quot;function&quot;,\n    &quot;function&quot;: [\n        &quot;name&quot;: &quot;get_current_weather&quot;,\n        &quot;description&quot;: &quot;Get the current weather in a given location&quot;,\n        &quot;parameters&quot;: [\n            &quot;type&quot;: &quot;object&quot;,\n            &quot;properties&quot;: [&quot;location&quot;: [&quot;type&quot;: &quot;string&quot;, &quot;description&quot;: &quot;City and state&quot;]],\n            &quot;required&quot;: [&quot;location&quot;]\n        ]\n    ]\n]\n\nlet tokens = try tokenizer.applyChatTemplate(\n    messages: [[&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;What&#39;s the weather in Paris?&quot;]],\n    tools: [weatherTool]\n)\n</span></code></pre>\n<p>For additional examples, please check <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers?#examples\">this section in the README</a> and the <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers/tree/main/Examples\">Examples folder</a>.</p>\n<h2>What comes next</h2>\n<p>Honestly, we don’t know. We do know that we are super interested in exploring MLX, because that’s usually the current go-to approach for developers getting started with ML in native apps, and we want to help make the experience as seamless as possible. We are thinking along the lines of better integration with <code>mlx-swift-examples</code> for LLMs and VLMs, potentially through pre-processing and post-processing operations that developers encounter frequently.</p>\n<p>We are also extremely excited about agentic use in general and MCP in particular. We think that exposure of system resources to local workflows would be 🚀</p>\n<p>If you want to follow along in this journey or want to share your ideas, please contact us through our social networks or <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/huggingface/swift-transformers/issues/new\">the repo</a>.</p>\n<h2>We couldn’t have done this without you 🫵</h2>\n<p>We are immensely grateful to all the contributors and users of the library for your help and feedback. We love you all, and can't wait to continue working with you to shape the future of on-device generation! ❤️</p>\n",
  "content_markdown": "We released [`swift-transformers`](https://github.com/huggingface/swift-transformers) two years ago (!) with the goal to support Apple developers and help them integrate local LLMs in their apps. A lot has changed since then (MLX and chat templates did not exist!), and we’ve learned how the community is actually using the library.\n\nWe want to double down on the use cases that provide most benefits to the community, and lay out the foundations for the future. Spoiler alert: after this release, we’ll focus a lot on MLX and agentic use cases 🚀\n\n## What is `swift-transformers`\n\n`swift-transformers` is a Swift library that [aims to reduce the friction](https://huggingface.co/blog/swift-coreml-llm) for developers that want to work with local models on Apple Silicon platforms, including iPhones. It includes the missing pieces that are not provided by Core ML or MLX alone, but that are required to work with local inference. Namely, it provides the following components:\n\n- `Tokenizers`. Preparing inputs for a language model is surprisingly complex. We've built a lot of experience with our `tokenizers` Python and Rust libraries, which are foundational to the AI ecosystem. We wanted to bring the same performant, ergonomic experience to Swift. The Swift version of `Tokenizers` should handle everything for you, including chat templates and agentic use!\n- `Hub`. This is an interface to the [Hugging Face Hub](https://huggingface.co), where all open models are available. It allows you to download models from the Hub and cache them locally, and supports background resumable downloads, model updates, offline mode. It contains a subset of the functionality provided by the [Python](https://huggingface.co/docs/huggingface_hub/en/index) and [JavaScript](https://huggingface.co/docs/huggingface.js/en/hub/README) libraries, focused on the tasks that Apple developers need the most (i.e., uploads are not supported).\n- `Models` and `Generation`. These are wrappers for LLMs converted to the Core ML format. Converting them is out of the scope of the library (but [we have some guides](https://huggingface.co/blog/mistral-coreml)). Once they are converted, these modules make it easy to run inference with them.\n\n![Test app from mlx-swift-examples, showing SmolVLM2 explaining actions in a video.](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/swift-transformers/mlx-vlm-examples-birds.jpg)\\\nTest app from mlx-swift-examples, showing SmolVLM2 explaining actions in a video.\n\n## How is the community using it\n\nMost of the time people use the `Tokenizers` or `Hub` modules, and frequently both. Some notable projects that rely on `swift-transformers` include:\n\n- [`mlx-swift-examples`](https://github.com/ml-explore/mlx-swift-examples), by Apple. It’s, in fact, not just a collection of examples, but a list of libraries you can use to run various types of models using MLX, including LLMs and VLMs (vision-language models). It’s kind of our `Models` and `Generation` libraries but for MLX instead of Core ML – and it supports many more model types like embedders or Stable Diffusion.\n- [WhisperKit](https://github.com/argmaxinc/WhisperKit/), by [argmax](https://www.argmaxinc.com). Open Source ASR (speech recognition) framework, super heavily optimized for Apple Silicon. It relies on our `Hub` and `Tokenizers` modules.\n- [FastVLM](https://github.com/apple/ml-fastvlm/tree/main/app), by Apple, and many other app demos, such as our own [SmolVLM2 native app](https://huggingface.co/blog/smolvlm2).\n\n## What changes with v1.0\n\nVersion 1.0 signals stability in the package. Developers are building apps on swift-transformers, and this first major release recognizes those use cases and brings the version number in line with that reality. It also provides the foundation on which to iterate with the community to build the next set of features. These are some of our preferred updates:\n\n- **`Tokenizers` and `Hub`** are now [first-class, top-level modules](https://github.com/huggingface/swift-transformers/pull/269). Before 1.0, you had to depend on and import the full package, whereas now you can just pick `Tokenizers`, for instance.\n- Speaking of Jinja, we are super proud to announce that we have collaborated with [John Mai](https://huggingface.co/JohnMai) ([X](https://x.com/JohnMai_Dev)) to create the **next version of his excellent Swift Jinja library**. John’s work has been crucial for the community: he single-handedly took on the task to provide a solid chat template library that could grow as templates became more and more complex. The new version is a couple orders of magnitude faster (no kidding), and [lives here as `swift-jinja`](https://github.com/huggingface/swift-jinja).\n- To further reduce the load imposed on downstream users, we have **removed our example CLI targets and the `swift-argument-parser` dependency**, which in turn prevents version conflicts for projects that already use it.\n- Thanks to contributions by Apple, we have [adopted **Modern Core ML APIs**](https://github.com/huggingface/swift-transformers/pull/257) with support for stateful models (for easier KV-caching) and expressive `MLTensor` APIs – this removes thousands of lines of custom tensor operations and math code.\n- Lots of **additional cruft removed and [API surface reduced](https://github.com/huggingface/swift-transformers/pull/250)** to reduce cognitive load and iterate faster.\n- **Tests** are [better, faster, stronger](https://github.com/huggingface/swift-transformers/pull/229).\n- **Documentation comments** have been added to [public APIs](https://github.com/huggingface/swift-transformers/pull/268).\n- **Swift 6** is [fully supported](https://github.com/huggingface/swift-transformers/pull/264).\n\nVersion 1.0 comes with breaking API changes. However, we don’t expect major problems if you are a user of `Tokenizers` or `Hub`. If you use the Core ML components of the library, please [get in touch](https://github.com/huggingface/swift-transformers/issues/new) so we can support you during transition. We’ll prepare a migration guide and add it to the documentation.\n\n## Usage Examples\n\nHere's how to use `Tokenizers` to format tool calling input for an LLM:\n\n```swift\nimport Tokenizers\n\nlet tokenizer = try await AutoTokenizer.from(pretrained: \"mlx-community/Qwen2.5-7B-Instruct-4bit\")\n\nlet weatherTool = [\n    \"type\": \"function\",\n    \"function\": [\n        \"name\": \"get_current_weather\",\n        \"description\": \"Get the current weather in a given location\",\n        \"parameters\": [\n            \"type\": \"object\",\n            \"properties\": [\"location\": [\"type\": \"string\", \"description\": \"City and state\"]],\n            \"required\": [\"location\"]\n        ]\n    ]\n]\n\nlet tokens = try tokenizer.applyChatTemplate(\n    messages: [[\"role\": \"user\", \"content\": \"What's the weather in Paris?\"]],\n    tools: [weatherTool]\n)\n```\n\nFor additional examples, please check [this section in the README](https://github.com/huggingface/swift-transformers?#examples) and the [Examples folder](https://github.com/huggingface/swift-transformers/tree/main/Examples).\n\n## What comes next\n\nHonestly, we don’t know. We do know that we are super interested in exploring MLX, because that’s usually the current go-to approach for developers getting started with ML in native apps, and we want to help make the experience as seamless as possible. We are thinking along the lines of better integration with `mlx-swift-examples` for LLMs and VLMs, potentially through pre-processing and post-processing operations that developers encounter frequently.\n\nWe are also extremely excited about agentic use in general and MCP in particular. We think that exposure of system resources to local workflows would be 🚀\n\nIf you want to follow along in this journey or want to share your ideas, please contact us through our social networks or [the repo](https://github.com/huggingface/swift-transformers/issues/new).\n\n## We couldn’t have done this without you 🫵\n\nWe are immensely grateful to all the contributors and users of the library for your help and feedback. We love you all, and can't wait to continue working with you to shape the future of on-device generation! ❤️\n",
  "dateCreated": "2026-10-04T12:50:30.804479567+00:00",
  "date_created": "2025-09-26T00:00:00+00:00",
  "date_modified": "2025-09-26T00:00:00+00:00",
  "date_published": "2025-09-26T00:00:00+00:00",
  "description": "We released swift-transformers two years ago (!) with the goal to support Apple developers and help them integrate local LLMs in their apps. A lot has changed since then (MLX and chat templates did not exist!), and we’ve learned how the…",
  "external_url": "https://huggingface.co/blog/swift-transformers",
  "git": {
    "commit": "ebb0941c5c06a2ab2377342d607535262a3e969e",
    "path": "items/huggingface-co/2025/09/2025-09-26-swift-transformers-reaches-1-0-and-looks-to-the-future.md",
    "permalink": "https://github.com/aymericbeaumet/aggr-instance/blob/ebb0941c5c06a2ab2377342d607535262a3e969e/items/huggingface-co/2025/09/2025-09-26-swift-transformers-reaches-1-0-and-looks-to-the-future.md"
  },
  "id": "urn:aggr:item:121d67913c0c1b861066906e9a71e1ef13571d4d",
  "isBasedOn": {
    "@id": "https://huggingface.co/blog/swift-transformers"
  },
  "mainEntity": {
    "@id": "https://huggingface.co/blog/swift-transformers",
    "@type": "CreativeWork",
    "archivedAt": {
      "@id": "https://aggr.aymericbeaumet.com/items/huggingface-co/2025-09-26-swift-transformers-reaches-1-0-and-looks-to-the-future/#webpage"
    },
    "dateModified": "2025-09-26T00:00:00+00:00",
    "datePublished": "2025-09-26T00:00:00+00:00",
    "headline": "Swift Transformers Reaches 1.0 – and Looks to the Future",
    "timeRequired": "PT5M",
    "url": "https://huggingface.co/blog/swift-transformers",
    "wordCount": 1048
  },
  "name": "Archived snapshot: Swift Transformers Reaches 1.0 – and Looks to the Future",
  "preview": null,
  "reading_minutes": 5,
  "replicated_at": null,
  "source": "huggingface-co",
  "source_name": "Hugging Face - Blog",
  "summary": null,
  "tags": [],
  "temporalCoverage": "2026-10-04T12:50:30.804479567+00:00",
  "title": "Swift Transformers Reaches 1.0 – and Looks to the Future",
  "url": "https://aggr.aymericbeaumet.com/items/huggingface-co/2025-09-26-swift-transformers-reaches-1-0-and-looks-to-the-future/",
  "word_count": 1048
}