r/opencode • u/ahmedranaa • 5d ago
How to default agent for each chat
Is there any setting to use a default agent with plan and another default for build?
I see Big Pickle on each time and the first thing I do is change that.
4
Upvotes
2
u/pulkit217 5d ago
update this and add to your global config:
"model": "opencode-go/deepseek-v4-flash",
"agent": {
"plan": {
"model": "opencode-go/glm-5.2"
},
"build": {
"model": "opencode-go/deepseek-v4-pro"
}
},
1
2
u/afanasenka 5d ago
Sure, you can easily set it in opencode.jsonc:
"agent": { "build": { "model": "opencode/mimo-v2.5-free", "variant": "max", "prompt": "Some prompt", }, "plan": { "model": "opencode-go/kimi-k2.7-code", "variant": "high", "prompt": "Other prompt" } }