Apple introduced a new agent coding feature in Xcode 26.3, which allows developers to use AI assistants, such as Anthropic’s Claude Agent and OpenAI’s Codex, directly in the development environment to build apps.
Previously, Xcode had intelligent AI tools available, but they couldn’t act on their own. Now, the agent can perform complex tasks autonomously, from creating new files and structuring the project to building the app, running tests, and verifying the work with screenshots.
Agents get access to most Xcode features and Apple’s full developer documentation. Adding an agent is a single click in Settings, and updates happen automatically. Developers need to have an Anthropic or OpenAI account and pay for API requests. Apple has optimized agents to reduce token usage and made it easy to switch between agents within a project.
Using natural language commands, a developer can ask the agent to add a new feature. The agent analyzes the project, documentation, and code, works autonomously, checks for errors, and summarizes the work done. In the sidebar, you can monitor the agent’s actions and roll back changes if necessary.

Apple believes that agent-based coding helps simplify workflows, accelerate development, and embrace new methods, while increasing developer productivity and creativity.
Share: