Anthropic Releases Claude Swift Package for Apple Foundation Models

AnthropicAnthropic

Anthropic released the Claude for Foundation Models Swift package, integrating Claude into Apple's native Foundation Models framework. It conforms Claude to the LanguageModelSession API, so an app can swap between Apple's on-device models and Claude for reasoning, code generation, and tool use. It supports streaming, structured output, and image input, billed at standard API rates.

Swift code snippet demonstrating the initialization and session configuration of the Claude language model using the SDK.
ClaudeDevs
ClaudeDevs
@ClaudeDevs
X

New for Apple developers: Foundation Models support for Claude lets developers use Apple's Foundation Models framework to call Claude for multi-step reasoning, code generation, and longer context. https://t.co/7EbHlWBBSe

233retweets3.5klikes
View on X

Every HeadsUpAI update is written based on its original source and reviewed before it's published. Read our editorial standards →

Share this update