Xcode 26.3 Lets AI Agents From Anthropic and OpenAI Build Apps Autonomously

With Xcode 26.3, Apple is adding support for agentic coding, allowing developers to use tools like Anthropic’s Claude Agent and OpenAI’s Codex right in Xcode for app creation.



Agentic coding will allow Xcode to complete more complex app development tasks autonomously. Claude, ChatGPT, and other AI models have been available for use in Xcode since Apple added intelligence features in Xcode 26, but until now, AI was limited and was not able to take action on its own. That will change with the option to use an AI coding assistant.

AI models can access more of Xcode’s features to work toward a project goal, and Apple worked directly with Anthropic and OpenAI to configure their agents for use in Xcode. Agents can create new files, examine the structure of a project in Xcode, build a project directly and run tests, take image snapshots to double-check work, and access full Apple developer documentation that has been designed for AI agents.

Adding an agent to Xcode can be done with a single click in the Xcode settings, with agents able to be updated automatically as AI companies release updates. Developers will need to set up an Anthropic or OpenAI account to use those coding tools in Xcode, paying fees based on API usage.

Apple says that it aimed to ensure that Claude Agent and Codex run efficiently, with reduced token usage. It is simple to swap between agents in the same project, giving developers the flexibility to choose the agent best suited for a particular task.

While Apple worked with OpenAI and Anthropic for Xcode integration, the Xcode 26.3 features can be used with any agent or tool that uses the open standard Model Context Protocol. Apple is releasing documentation so that developers can configure and connect MCP agents to Xcode.

Using natural language commands, developers are able to instruct AI agents to complete a project, such as adding a new feature to an app. Xcode then works with the agent to break down the instructions into small tasks, and the agent is able to work on its own from there. Here’s how the process works:

  • A developer asks an integrated agent to add a new feature to an app.
  • The agent looks at the current project to see how it’s organized.
  • The agent checks all relevant documentation, looking at code snippets, code samples, and the latest APIs.
  • The agent begins working on the project, adding code as it goes.
  • The agent builds the project, then uses Xcode to verify its work.
  • If there are errors or warnings, the agent continues to work until all issues are addressed. It is able to access build logs and revise until a project is perfect.
  • The agent wraps up by providing a summary of everything that happened so developers have a clear view of the implementation.

In the sidebar of a project, developers can follow along with what the agent is doing using the transcript, and can click to see where code is added to keep track of what the agent is doing. At any point, developers can go back to before an agent or model made a modification, so there are options to undo unwanted results or try out multiple options for introducing a new feature.

Apple says that agentic coding will allow developers to simplify workflows, make changes quicker, and bring new ideas to life. Apple also sees it as a learning tool that provides developers with the opportunity to learn new ways to build something or to implement an API in an app.

“At Apple, our goal is to make tools that put industry-leading technologies directly in developers’ hands so they can build the very best apps,” said Susan Prescott, Apple’s vice president of Worldwide Developer Relations. “Agentic coding supercharges productivity and creativity, streamlining the development workflow so developers can focus on innovation.”

The release candidate of Xcode 26.3 is available for developers as of today, and a launch will likely follow in the next week or so.

Tag: Xcode

This article, “Xcode 26.3 Lets AI Agents From Anthropic and OpenAI Build Apps Autonomously” first appeared on MacRumors.com

Discuss this article in our forums

 Read More