Catalog / App Intents & system
SDK
Claude for Foundation Models
Swift package that makes Claude conform to the Foundation Models LanguageModel protocol, so LanguageModelSession streaming, guided generation and tool calling work as with Apple's on-device model. Beta, for the OS 27 server-side model API; needs an App Attest client ID or an API key.
Install
.package(url: "https://github.com/anthropics/ClaudeForFoundationModels.git", from: "0.1.0")Copied from the upstream source on 17 Oct 2026. Check the repository before you run it. Works with Xcode.