foundation-models

Installation
SKILL.md

FoundationModels Framework (iOS 26+)

On-device LLM framework. Integrates AI capabilities into your app while preserving privacy through Apple Intelligence.

Model Availability Check

Always check model availability before use.

import FoundationModels

private var model = SystemLanguageModel.default

func checkAvailability() {
    switch model.availability {
    case .available:
        // Show AI feature UI
        showAIFeatures()
Installs
7
GitHub Stars
1
First Seen
Mar 10, 2026
foundation-models — sh-oh/ios-agent-skills