I’ve spent several hours today playing around with agents in Xcode 26.3. There are lots of things I like with the integration, but by far the most frustrating aspect is that the agents will sometimes just "forget" that they're running inside Xcode and start trying to run terminal commands for things that they can do with the Xcode integration, even simple things such as reading content from files. The good thing is that telling them to use Xcode instead usually works.
@_inside Played with Copilot plugin for Xcode using Gemini Pro and ChatGPT as models, saw the same behavior. Seems like it’s baked in models themselves