AI and agents · by Apple
Apple FM for Python
Get neatly structured answers from Apple Intelligence, offline.
text → text, data · text, data → data
- Way in
- Official APINo sign-up, no key
- To start
- Freefree, Apache-2.0
- Runs
- On your Mac
- Checked
- Nov 3, 2026Prices as of that day
What it can do 2
Prompt the on-device AFM model from Python with streaming and structured outputtext → text, datafree (source-only on PyPI; needs Xcode, not installed)
Batch-evaluate prompts and analyze transcripts exported from Swift appstext, data → datafree (source-only on PyPI; needs Xcode, not installed)
Does the same job
Prices and limits as of Nov 3, 2026, from Apple’s own pages. They change; check before you rely on them.Not affiliated with Apple. Not advice.Something wrong?