Config
Configure OpenABCode with the same config model as opencode.
Format
Use JSON or JSONC config. The default model is a provider/model string.
{
"model": "anthropic/claude-haiku-4-5",
"default_agent": "coder"
} Locations
OpenABCode reads global and project configuration, with project files taking precedence for workspace-specific behavior.
- Use OPENCODE_CONFIG for an explicit file.
- Keep project rules near the repository.
- Use local config for personal defaults.
Schema
Provider, model, agent, tool, permission, formatter, and MCP settings follow the opencode schema with OpenABCode additions for hosted routing.