EveryDev.ai
Sign inSubscribe
Home
Tools

2,690+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents1815
  • Coding1295
  • Infrastructure600
  • Marketing467
  • Projects433
  • Research403
  • Analytics351
  • Design338
  • Security243
  • MCP242
  • Testing238
  • Data230
  • Integration178
  • Prompts160
  • Learning159
  • Communication154
  • Extensions150
  • Voice130
  • Commerce125
  • DevOps108
  • Web80
  • Finance21
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Apple Foundation Models SDK for Python
    Apple Foundation Models SDK for Python icon

    Apple Foundation Models SDK for Python

    Local Inference
    Featured

    Python bindings for Apple's Foundation Models framework, providing on-device inference access to the Apple Intelligence system model on macOS.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Free and open-source under Apache License 2.0. Install via pip.

    Engagement

    Available On

    macOS
    Linux
    Web
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Local InferenceAI Development LibrariesLLM Orchestration

    Alternatives

    ggmlOllamaBitNet
    Developer
    AppleApple Park, CaliforniaEst. 1976$1300+ raised

    Listed Jun 2026

    About Apple Foundation Models SDK for Python

    The Foundation Models SDK for Python is an open-source library published by Apple that exposes Python bindings for Apple's Foundation Models framework — the on-device language model powering Apple Intelligence on macOS. It is licensed under Apache 2.0 and hosted at the official Apple GitHub organization. The SDK targets developers who want to evaluate, test, or build Python-based tooling around the same on-device model used in Swift apps.

    What It Is

    This SDK is a developer library that bridges Python and Apple's native Foundation Models framework. Rather than calling a remote API, all inference runs locally on the device using the system foundation model built into macOS 26.0+. The library is designed for two primary audiences: developers building Apple Intelligence features in Swift who want to run batch evaluation and quality analysis from Python, and Python developers who want to experiment with on-device LLM inference without sending data to a cloud service.

    Core Capabilities

    The SDK exposes several key primitives directly from the Foundation Models framework:

    • On-device inference via SystemLanguageModel — no network call required
    • Streaming text generation for real-time response output
    • Guided generation using Python decorators (@fm.generable) to constrain model output to typed Python classes
    • Type-safe structured output with field-level constraints (e.g., fm.guide("Age in years", range=(0, 20)))
    • Transcript processing — import and analyze transcripts exported from Swift apps for quality evaluation
    • Custom model settings for configuring different model options per session

    System Requirements and Setup

    The SDK has strict platform requirements reflecting its dependency on Apple's on-device model stack:

    • macOS 26.0 or later
    • Xcode 26.0+ installed with the Xcode and Apple SDKs agreement accepted
    • Python 3.10 or later
    • Apple Intelligence enabled on a compatible Mac

    Installation is via pip (pip install apple-fm-sdk). A development install path using uv is also documented in the README for contributors who need to modify the SDK or build from source.

    Update: v0.2.0 — Image Attachment Support

    The latest release, v0.2.0 (published June 8, 2026), adds support for images in prompts via an Attachment type. The repository was created in February 2026 and has seen active development since, with the most recent push on June 8, 2026. The project README notes that external contributions are not yet being accepted, signaling it is still in an early, Apple-controlled release phase.

    Why It Matters

    On-device inference via a system-provided model removes the need for API keys, network connectivity, or data leaving the device — a meaningful differentiator for privacy-sensitive workflows. By wrapping the same model used in Swift-based Apple Intelligence features, the SDK also enables Python-based evaluation pipelines that can directly measure the quality of production app behavior. Apple's README links to its own guidance on safe generative AI design, indicating the SDK is positioned as a responsible-AI-aware developer tool.

    Apple Foundation Models SDK for Python - 1

    Community Discussions

    Be the first to start a conversation about Apple Foundation Models SDK for Python

    Share your experience with Apple Foundation Models SDK for Python, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Free and open-source under Apache License 2.0. Install via pip.

    • On-device inference
    • Streaming text generation
    • Guided generation
    • Structured output with Python decorators
    • Transcript processing

    Capabilities

    Key Features

    • On-device inference with Apple Intelligence system model
    • Streaming real-time text generation
    • Guided generation with structured output schemas
    • Type-safe responses using Python decorators
    • Custom model settings and configuration
    • Transcript processing from Swift app exports
    • Batch inference for evaluating Swift Foundation Models app features
    • Async API with asyncio support

    Integrations

    Apple Foundation Models framework
    Apple Intelligence
    macOS
    Xcode
    Swift Foundation Models
    uv (Python package manager)
    pytest
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate Apple Foundation Models SDK for Python and help others make informed decisions.

    Developer

    Apple

    Apple publishes select open-source tools and research artifacts, including Embedding Atlas for exploring and visualizing embeddings.

    Founded 1976
    Apple Park
    $1300+ raised
    166,000 employees

    Used by

    HIMO Group (26M+ customers, using Mac…
    Rituals (retail)
    Laura Canada (retail)
    H-E-B (retail)
    +8 more
    Read more about Apple
    WebsiteGitHubX / Twitter
    6 tools in directory

    Similar Tools

    ggml icon

    ggml

    A low-level C++ tensor library for machine learning with integer quantization, broad hardware support, and zero runtime memory allocations.

    Ollama icon

    Ollama

    Run large language models locally on your machine with a simple CLI and REST API, with optional cloud scaling for larger models.

    BitNet icon

    BitNet

    Microsoft's official implementation of BitNet, enabling efficient 1-bit large language model inference on CPUs without requiring GPUs.

    Browse all tools

    Related Topics

    Local Inference

    Tools and platforms for running AI inference locally without cloud dependence.

    123 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    204 tools

    LLM Orchestration

    Platforms and frameworks for designing, managing, and deploying complex LLM workflows with visual interfaces, allowing for the coordination of multiple AI models and services.

    145 tools
    Browse all topics
    Back to all tools
    Discussions