foundation-models

Installation
SKILL.md

Foundation Models

Overview

Foundation Models is Apple's generative-AI framework for intelligent app features. You drive a language model through a LanguageModelSession — generating text, structuring output into Swift types with guided generation (@Generable, GenerationSchema), and letting the model call your own Tools during generation. The default backend is the system language model (SystemLanguageModel), which runs on Apple Intelligence (iPhone, iPad, and Mac with Apple silicon). The same session API also targets Private Cloud Compute (PrivateCloudComputeLanguageModel, server-side) or a custom language model provider, so session code is portable across backends.

Before any feature, gate on availability — the model can be unavailable for several reasons:

private var model = SystemLanguageModel.default
Installs
2
GitHub Stars
5
First Seen
10 days ago
foundation-models — duyet/claude-plugins