OpenCode
OpenCode is an open-source AI coding agent that runs in the terminal and can be used alongside any editor or IDE.
Key Features
Section titled “Key Features”- LSP support that loads the right language tooling for the model
- Multi-session workflows so you can run multiple agents on the same project
- Shareable session links for collaboration and debugging
- MCP support for external tools and data sources
- Editor-agnostic workflow that works in any IDE
Installation and Setup
Section titled “Installation and Setup”- Add the npm registry:
npm config set @aie:registry https://plugins.dev.aie.ai.t-systems.net/v1/npm- Install OpenCode globally:
npm install -g @aie/opencode-
If you are on Windows and need a proxy, set the required environment variables before starting OpenCode.
-
Get an API key from the portal:
- Run OpenCode:
opencode- In OpenCode, run the following command to choose your provider and sign in with your API key:
/connectSelect AI Foundation Services from the provider list, then provide your API key when prompted.
You can now start a chat and use OpenCode.