OpenCode stores providers under provider.<id> in opencode.json, so several
connections coexist in one configuration. Choose a guide below.
Configure OpenCode
Add providers under unique IDs, pick the right AI SDK package, and manage OMO configuration.
Advanced OpenCode pitfalls
Understand merged configuration, provider credentials, AI SDK protocol adapters, rules, sharing, and local state.

