OpenCode is an open-source coding assistant that works across terminals, IDEs, and desktop apps. It supports automatic LSP setup, multiple parallel sessions, and session sharing for collaboration or debugging.Documentation Index
Fetch the complete documentation index at: https://sambanova-systems.mintlify.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before starting, ensure you have:- A SambaCloud account and API key
- Node.js 18 or later (if installing via npm)
Installation and setup
Configure SambaNova credentials
Enter the following details:
- URL:
https://api.sambanova.ai/v1 - API Key: Your SambaCloud API key
- Model Name: For example,
MiniMax-M2.5

After finishing the configuration, if you want to add more models, modify the
models key in the file ~/.config/opencode/opencode.jsonc:


