Apple used Monday's WWDC 2026 keynote to announce something its developer conferences have historically avoided: explicit endorsements of third-party AI. Anthropic's Claude now has a native integration path in Xcode 27 through the Claude Agent SDK, and a separate Swift package brings Claude into Apple's Foundation Models framework on iOS 27, iPadOS 27, macOS 27, visionOS 27, and watchOS 27. Both integrations were announced alongside new Apple-native AI capabilities, positioning Claude as a complementary tool rather than a competitor to Apple Intelligence.

The two integrations serve distinct purposes. The Xcode 27 coding agent targets professional developers who want AI assistance at the level of full task completion, not just autocomplete. The Foundation Models integration targets app developers who want to hand off complex reasoning work to a cloud model when Apple's on-device capabilities reach their limit. Together, they represent Apple's most direct acknowledgment to date that on-device AI and frontier cloud AI are better treated as a stack than a binary choice.

What Xcode 27's Dual-Engine System Does

Xcode 27 ships a two-layer agentic coding architecture. The first layer is a local Neural Engine model that handles real-time Swift suggestions and inline completions without a network round-trip. The second layer is a cloud routing system that sends heavier analysis tasks to Claude, Google's Gemini, or OpenAI's agents, selectable from a new model picker. Apple is not mandating a single cloud provider; the architecture is designed so that developers, or their organizations, can choose which model handles what.

In practice, the Xcode agent can simulate entire iOS apps within a device sandbox, write and run unit tests, inspect visual changes through live previews that update as code is modified, and control the iOS Simulator through a new feature Apple calls Device Hub. The Claude Agent SDK handles the multi-step reasoning tasks in this workflow, including the planning and sequencing logic that turns a natural-language instruction into a series of code edits, test runs, and inspection steps. Anthropic's announcement on the integration notes that the Agent SDK was already available to developers building their own Claude-powered workflows, but this is its first integration directly in a major IDE from a platform vendor.

WWDC 2026: Claude in the Apple Developer Stack

  • Xcode 27 cloud model optionsClaude, Gemini, OpenAI (user-selectable)
  • Foundation Models framework availabilityiOS 27, iPadOS 27, macOS 27, visionOS 27, watchOS 27
  • Integration methodSwift Package Manager (no code changes to session logic)
  • Claude capabilities availableMulti-step reasoning, code generation, web search, code execution, streaming
  • Auth requirementAnthropic API key
  • Swap costZero — update one SPM dependency

The Foundation Models Swift Package

Apple's Foundation Models framework, introduced with iOS 26 and updated at this year's WWDC, now includes a public LanguageModel protocol that abstracts away the difference between Apple's on-device model and cloud models. A developer building an app can use Apple's local model for most interactions, and when a query demands more capability than the device can handle, route it to Claude by updating a single Swift Package Manager dependency. The session logic, the prompts, the handling of responses: none of that needs to change.

The Swift package Anthropic published handles the transport layer details. Streaming responses, tool calls, and structured outputs all flow back into SwiftUI through the same interface a developer would use with Apple's own model. The practical effect is that a developer can prototype an entire app feature using Apple's on-device model at zero cost, validate the UX, and then swap to Claude for production use if the task complexity demands it, without rewriting the integration code.

"Claude support with the Foundation Models framework will be available tomorrow and works through Apple's Foundation Models framework on iOS 27, iPadOS 27, macOS 27, visionOS 27, and watchOS 27." Anthropic, June 9, 2026

The Competitive Picture and What This Signals

Google's Gemini is also listed as a Foundation Models framework option, and OpenAI is present in Xcode's cloud model roster. Apple has not given any single provider exclusive placement. That is a notable policy choice: the company has historically preferred to control the entire stack, and opening WWDC to explicit third-party AI integrations is a shift. The practical rationale is clear enough. Apple's on-device models are strong for fast, private, offline tasks. They are not designed to match frontier cloud models on deep reasoning, extended context, or agentic task completion. Rather than build that capability itself, Apple has opened an official channel for it.

For Anthropic, the Apple integration is both distribution and validation. Claude now has a sanctioned path into every iOS and macOS app built by developers who choose the Foundation Models framework, and it appears by name alongside Apple's own model in Xcode, one of the most widely used IDEs in the world. The comparison Apple is inviting is direct: use our model for fast work, use Claude (or a competitor) for the hard stuff.

The broader iOS 27 AI story includes Siri 2.0 and new on-device intelligence features that Apple controls entirely. Claude's role sits alongside those features, not inside them. Apple is not delegating Siri to Anthropic; it is giving developers a tool to reach Anthropic from within Apple's standard developer frameworks. Those are meaningfully different things, and the distinction matters for how this integration will play out in the apps users actually encounter.

Getting Started

The Foundation Models framework integration requires an Anthropic API key. Developers add the Swift package via Swift Package Manager, authenticate with their key, and pass typed outputs from Apple's on-device model into a Claude request. The package handles the connection details. For Xcode 27's coding agent, access to cloud routing is tied to the Copilot-style workflow Apple introduced in this release, and the model selection is available in Xcode preferences once the developer tools update is installed.

Both integrations are available as of today. Apple's WWDC sessions covering the LanguageModel protocol and the Foundation Models framework are posted to the Apple Developer portal. Anthropic's announcement on the Xcode integration is published at the company's blog. For a fuller picture of what else Anthropic shipped today, the Claude Fable 5 launch covers the model itself, and the models overview has a comparison of available Claude tiers.

Further reading: Learn more about Claude's model family, read our background on Anthropic, or browse the latest Claude AI news.