OpenCode
OpenCode is a low-friction backend for users who want fast setup and an extensible local coding agent.Install
Models & providers
OpenCode is provider-flexible: point it at a hosted model, an OpenAI-compatible endpoint, or a local model if you want inference on your own hardware too. That makes it the most “local all the way down” option of the three CLI agents. Configure the model per agent in the Workbench.Optional permission behavior
If you understand the tradeoff and want less interruption during agent work, configure OpenCode permissions according to your local policy. Example:Configure in Avibe
- Enable OpenCode on the setup wizard’s Choose your AI assistants screen, or later in Settings > Backends.
- Confirm the
opencodeCLI path on its card in Settings > Backends. - Choose the working directory: open a project in the Workbench, or set a group’s Working Directory.
- Route one or more chat groups or direct messages to an Agent on OpenCode in Settings > Messaging Platforms > Groups or Direct Messages.
Best for
Fast iteration, lightweight tasks, and setups where you want inference local too. A common pattern routes your#frontend or quick-turnaround channels here — see Thread sessions for routing.