DevPrep

All topics › AI fundamentals for developers

AI in Xcode 27: how do you connect agents, ChatGPT, Claude and local models?

Junior PRO

Essence

In three years Xcode went from local code completion to full-fledged agents. As of fall 2026 the current version is Xcode 27: it has agents (Claude Agent, Codex and others), chat with ChatGPT, Claude or any provider with an OpenAI-compatible API, local models, and an MCP server through which external agents drive Xcode. Everything is configured in one place: Xcode → Settings → Intelligence.

The rest of this answer, with code and interview follow-ups, is in the DevPrep app.

Read the full answer in DevPrep

Practice this before your interview

DevPrep turns these answers into one-minute challenges: what does this code print, find the bug, mock interviews. One challenge a day.

Get DevPrep on the App Store