OpenCode is an open-source AI coding agent for the terminal, as a desktop app or as an IDE extension. It automatically loads suitable language servers, can run several agents in parallel on one project and creates shareable session links. Built-in agents cover building and planning (read-only). For models you can use bundled free ones, sign in with GitHub Copilot or ChatGPT, or connect many providers through Models.dev, including local models. There is also Zen, a selection of models tested by the team.
The code is MIT-licensed and developed by Anomaly. According to OpenCode, it does not store your code or context itself; data goes to the model provider you choose. For Zen, the models are hosted in the US and the EU, and most providers apply zero retention and do not train on your data, with exceptions such as free models and providers that retain requests for 30 days. With local models, prompts stay on your own machine. A European organisation can thus decide which provider and region to use.