Autonomous coding arrives in latest Xcode, now in preview, with an Anthropic flavor

Apple embraces agentic AI development with Xcode 26.3

Published

Apple has added agentic AI coding tools to its Xcode development environment with support for the Model Context Protocol (MCP) originating at Anthropic and now widely adopted.

Version 26.3, now available to developers as a release candidate, has integration with Anthropic's Claude and OpenAI's Codex agents within Xcode. Any MCP client can use tools including project discovery, file management, building and testing, and documentation. 

"We'll be adding more in the future," said Xcode director Ken Orr in an introductory video.

Although Codex appears to have equal integration, it seems that Anthropic is the preferred choice. According to Anthropic, Xcode 26.3 "introduces a native integration with the Claude Agent SDK, the same underlying harness that powers Claude Code." 

Google's Gemini is not mentioned, although the company's Antigravity AI editor will be a beneficiary of the new MCP servers in Xcode. Apple has a deal with Google to power Siri  but it seems that developers are pointed elsewhere for AI coding.

Orr does not mention either security or privacy in his introduction, but the release notes for the preview highlight some issues regarding Apple's "privacy-protected folders," such as Desktop, Downloads, and Documents. Devs who deny access to Claude or Codex may not be able to reverse the decision, and the notes suggest using a new location outside those folders. This may be fixed in the final release, but it is a reminder that these agents can send data to third-party models. Apple's note on the subject states that "the third-party model provider's data privacy policies will apply."

Choosing his words carefully, Orr showed a sample coding experience in which the agent generated 400 lines of code in a tourism app and said: "What would have taken me hours is now a great first draft, ready for me to review and refine." This presumes that the developer has both the skills and the motivation to do that review with diligence.

Anthropic recently published research suggesting that skilled developers gain productivity from use of AI assistance, but that those with fewer skills have no significant productivity gain and also learn less than those not using AI.

 

These doubts are unlikely to diminish adoption of agentic AI coding in Xcode or elsewhere. An early user of the product said that previously Visual Studio Code had better AI tooling, but "this update challenges this pretty hard. This is the best Claude code integration in an IDE I have seen so far."

Others are more skeptical, with Xcode not having the best reputation for ease of use and productivity. Another dev described the AI integration as "building castles in the sky while the foundation is rotting away."