Anthropic
Official, labelled betaNot a full Messages API client. This is a Foundation Models integration: it plugs Claude into Apple's Foundation Models API, and Anthropic files it under libraries and integrations, not client SDKs.
- Package
ClaudeForFoundationModels- Install
- Install
.package(url: "https://github.com/anthropics/ClaudeForFoundationModels.git", from: "VERSION")VERSION stands for the version the docs pin. Pin the current release from the package registry.
- Repo
- github.com/anthropics/ClaudeForFoundationModels
- Docs
- platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models
- Notes
- Not a general-purpose Messages API client: the overview files it under 'Libraries and integrations', which 'expose Claude through another framework's API surface. They are not general-purpose Messages API clients.' It plugs Claude into Apple's Foundation Models LanguageModelSession API. Version replaced with VERSION.
From the docs
Beta. This package targets the Foundation Models server-side language model API introduced in the OS 27 betas. APIs might change during the beta.