Xcode copilot agent

Has anyone managed to get Copilot working using the new ACP integration in Xcode 26.6 and Xcode 27 beta?

I have tried setting it up using the path to the copilot binary as instructed and the flags --acp --stdio but Xcode just displays a "Your request couldn't be completed" error: JSON-RPC global stream failed: The operation couldn’t be completed. (IDEIntelligenceProtocol.JSONRPCElement.Error error 1.)

I am running the latest version of copilot cli and it works in many other IDEs.

Also get the same thing on Xcode 26.6 RC and Xcode 27 trying to use GitHub Copilot CLI.

JSON-RPC request with ID JSONRPCID(rawValue: "8848B1CB-E942-47A8-B53E-36E5E40735CB", intValue: nil) failed to produce a response.

We have been testing with Copilot 1.0.47 and been able to validate it by configuring it as follows:

Executable path: /path/to/copilot

Interpreter: <leave blank>

Arguments: --acp <no other arguments necessary>

As long as you have authenticated with the agent outside Xcode, it should immediately begin working. Let us know if you are still struggling for any reason.

Thanks!

I had the same issue. copilot-cli is too strict, expecting a version ID that Xcode doesn't send. It was possible to create a workaround in python that acts as a frontend to fill in the protocolVersion details and act as a bridge:

https://github.com/jdharkcom/copilot_bridge/

I can confirm that --acp with no extra args worked, obviating the need for the python frontend :)

Still not working for me. Still the same error.

I only had the --acp argument before. I have the latest version of copilot and Xcode 26.6 RC

$ copilot --version

GitHub Copilot CLI 1.0.61.

Xcode Agent Config:

  • Name: Github Copilot
  • Executable: ...path to $(which copilot)
  • Interpreter: <empty>
  • Arguments:
    • --acp
  • Environment Variables:
    • <empty>

I am able to start a normal copilot session in Terminal in the same working folder and it is authenticated and works as expected.

I’ve tried both with and without —stdio parameter, still not working. Is it a copilot version thing?

I can confirm that after I re-authenticated with copilot it works as advertised!

Just do copilot login in the terminal first, then run the agent in Xcode using only the --acp parameter and it should work.

I did also update copilot to v1.0.61

Xcode copilot agent
 
 
Q