Apple Core AI Models
Apple's on-device AI model recipes and Swift runtime utilities.
Working when we checked on .
What is Apple Core AI Models?
Apple Core AI Models is an open-source GitHub repository providing model export recipes, Python primitives, and Swift runtime utilities for building on-device AI with Apple's Core AI framework. It targets developers creating AI apps for macOS and iOS. The repo includes recipes to export popular open-source models from Hugging Face to Core AI format (.aimodel files), Python building blocks for authoring custom PyTorch models, a Swift package for app integration, and pluggable agent skills for coding tools like Claude Code, Codex CLI, and Gemini CLI. CLI tools allow running exported models directly on a Mac.
Apple Core AI Models pricing
Pricing model: Free
Free (open source repository)
Apple Core AI Models pros
- Export recipes convert Hugging Face open source models to Core AI format
- Swift package (coreai-models) for integrating models into macOS/iOS apps
- Agent skills available for Claude Code, Codex CLI, and Gemini CLI
- CLI tools for running exported models directly on a Mac
- Includes model catalog listable via coreai.model.registry
- Skills cover model authoring, compression exploration, and deployment workflows
Apple Core AI Models cons
- Requires macOS and iOS 27.0+ and Xcode 27.0+
- Language models need additional resources like tokenizers
- Diffusion models run multiple models in sequence, requiring a resource folder
Frequently asked questions about Apple Core AI Models
What is Apple Core AI Models?
An open-source GitHub repository with model export recipes, Python primitives, and Swift runtime utilities for building on-device AI with the Core AI framework.
Who is Core AI Models for?
Developers building on-device AI apps for macOS and iOS, including those exporting PyTorch models to Apple platforms and coding agents automating that workflow.
What formats do exported models use?
Models are exported as standalone .aimodel files. Models requiring extra resources (e.g., tokenizers for language models) produce a resource folder containing one or more .aimodel files.
What are the system requirements?
Running models and app integration require macOS and iOS 27.0+ and Xcode 27.0+. The export tooling uses the uv Python package manager.
How can I list supported models?
Clone the repo and run 'uv run coreai.model.registry --list-models'. Run the same command with --help for details.
Which coding agents do the skills support?
The plugin installs into Claude Code, Codex CLI, and Gemini CLI, with skills like working-with-coreai, model-authoring, and model-compression-exploration.
What does the model-authoring skill cover?
It provides empirical rules for authoring PyTorch models for on-device execution on Apple platforms, including BC1S layout, op compatibility, KV cache patterns, precision rules, MoE, and common issues.
Is Core AI Models free to use?
Yes, it is an open-source repository available for free on GitHub.
How do I install uv for exporting models?
Install uv via 'brew install uv' or the install script at astral.sh. Then follow each model family's README in the models folder for its export recipe.
Does the repo include CLI tools?
Yes, command line interface tools are included for running exported models directly on a Mac, requiring Xcode 27.0+. See each model's README for examples.