Skip to content
SwiftSkills

SDK

Claude for Foundation Models

Claude for Foundation Models is an SDK for App Intents and system integration by Anthropic (GitHub: anthropics), licensed Apache-2.0. It works with Xcode. Install: `.package(url: "https://github.com/anthropics/ClaudeForFoundationModels.git", from: "0.1.0")`.

Added

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.

Compare all App Intents & system entries →

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.

  • DualIntent

    Swift macro that turns one annotated function into both an App Intent for Siri, Shortcuts and Spotlight and an MCP tool with a JSON schema, generated at compile time. The optional DualIntentMCP product serves those tools over stdio through the official MCP Swift SDK (iOS 16+, Swift 6.0+). Last updated: 4 Jul 2026.

    NagaYu · MCP clients

    Added · MIT

  • InferKit

    Cross-platform (macOS/iOS/tvOS) inference toolkit with one NFKInferenceBackend protocol over Core ML, remote OpenAI/Anthropic-compatible endpoints, Apple Foundation Models (companion package) and MLX. Swift Package from 0.3.1; optional CocoaPods.

    belisoful · Xcode

    Added · MIT