# Core ML

> Canonical: https://skillalmanac.com/glossary/core-ml | Last verified: 2026-11-25 | Index status: index-eligible

Core ML is Apple’s framework for integrating machine-learning models into apps. Core ML Tools is a separate Python package used to convert, inspect, optimize, and verify Core ML models.

## In plain language

Core ML lets an app use machine-learning models through Apple’s framework. A model running strictly on the user’s device does not require a network connection for its predictions. When a trained model comes from a third-party framework such as TensorFlow or PyTorch, Core ML Tools provides supported conversion workflows. Apple also documents on-device fine-tuning for suitable Core ML models.

## Technical definition

Core ML supplies a unified model representation and APIs for predictions and on-device fine-tuning. The coremltools Python package converts supported trained models, including models from documented TensorFlow and PyTorch versions, to Core ML model packages. It can also read, write, optimize, and verify models by making predictions in macOS. Apple documents execution using the CPU, GPU, and Neural Engine; actual behavior depends on the model and device.

## How it shows up when you use agents

Core ML appears when an agent helps with an Apple-platform app that uses a machine-learning model. The agent may work on Swift application code, prepare a supported third-party model for conversion with Core ML Tools, or help inspect the resulting package. Core ML is the framework integrated into the app; Core ML Tools is the separate Python package used for model conversion and related model-file work.

Inference is a common deployment use: the app supplies input and receives a prediction. Apple states that a model running strictly on the user’s device does not need a network connection. Its documentation also describes using user data to fine-tune suitable models on the device, so Core ML should not be described as categorically incapable of model updates.

For a model trained in TensorFlow or PyTorch, check the versions and conversion path listed by the Core ML Tools documentation. After conversion, use the documented macOS prediction capability to verify creation or conversion with representative inputs. That check establishes that the package can make predictions in the verification environment; it does not prove identical behavior on every device or validate the quality of the original model. Device and application testing remain separate work.

## Common confusions

- **Core ML versus Core ML Tools.** Core ML is Apple’s app-integration framework and model representation. Core ML Tools, also called `coremltools`, is a Python package for conversion, model manipulation, optimization, and verification.
- **Framework versus model.** Core ML is not itself an image classifier, language model, or other trained model. An app integrates a model package through the framework.
- **Conversion versus all model creation.** Apple calls Core ML Tools the primary way to convert third-party models. That does not establish that every Core ML model must originate in another framework.
- **Inference versus fine-tuning.** Predictions are a central deployment action, but Apple also documents on-device fine-tuning. The applicable capability depends on the model and workflow.
- **Core ML versus general device sizing.** A memory estimate for an open-weight language model in another runtime does not validate a Core ML package. Use Core ML-specific conversion and prediction checks for that package.

## Worked examples in this catalogue

### [ios-swift-practices](https://skillalmanac.com/skills/skill-almanac/ios-swift-practices)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Guidance for writing or reviewing native iOS code in Swift and SwiftUI, including state, concurrency, testing, and release checks.

Why it exercises the concept: Core ML is integrated into app code, so this skill can help review the surrounding Swift application. It does not convert, validate, benchmark, or run a Core ML model.

## Related terms

- [On-device AI](https://skillalmanac.com/glossary/on-device-ai.md)
- [Inference](https://skillalmanac.com/glossary/inference.md)
- [Edge AI](https://skillalmanac.com/glossary/edge-ai.md)
- [PyTorch](https://skillalmanac.com/glossary/pytorch.md)
- [TensorFlow](https://skillalmanac.com/glossary/tensorflow.md)

## Sources

- [What Is Core ML Tools?](https://apple.github.io/coremltools/docs-guides/source/overview-coremltools.html), Apple (accessed 2026-11-25)
- [Core ML Tools](https://apple.github.io/coremltools/docs-guides/), Apple (accessed 2026-11-25)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
