<strong/OpenCode is basically an artificial intelligence environment for developers, that helps you to writing, analyzing and executing code automatically. According to the version, it can be just a code assistant, or an autonomous agent able to take decisions and create complete projects by itself.

First, you have to install it like this:
npm install -g opencode-ai
Once installed we can start using it, has a free version limit.
Now to open it we put
opencode
To connect to a service we have to indicate the /connect command.
/connect
You can choose the one you want:
In this case, select GitHub Copilot and will ask for connection via device login.
To change you can use /models and use the Copilot models.
