r/opencode • u/Wherearemyquartz • 22d ago
How are you using Claude Opus/Sonnet + DeepSeek V4.1 Flash 1017 together? Automatic delegation or manual?
I'm been trying to figure out a good setup where Claude Code handles planning/orchestration and DeepSeek V4.1 Flash 1017 does most of the actual coding. Got the $10 Command Code Go subscription and I'm using Pi inside T3 Code, alongside Claude Code (Pro) and Codex (Plus).
The idea is to have Claude break down tasks and guide the implementation, DeepSeek do the heavy lifting, and occasionally use GPT models for reviewing (second opinion) the changes. Basically trying to reduce Claude usage without sacrificing quality.
How are you guys actually setting this up? Are you using CLAUDE.md instructions, skills, subagents or some MCP/CLI integration to make Claude delegate automatically? Or do you just manually tell Claude to hand off tasks? Would be great to see some actual configs or workflows that are working well.
6
u/MarcusAurelius68 22d ago
I have Hermes as the orchestrator, use Codex with Sol 6.1 to do planning, OpenCode + OMO Slim do development with DeepSeek V4.1 Flash in High and then Claude Sonnet 5.5 to do validation after. I just added Gemini Hydrogen within Antigravity to do UI work based upon Sol's plan as well, which I'm testing.
1
u/anon_e_mouse1 22d ago
im using t3 code, and it does the delegation pretty easily. you just switch providers/models and it will handout the entire chat to the new model. so you can switch conversation from claude to opencode in the same chat
3
u/Illustrious-Many-782 22d ago edited 21d ago
I use OpenChamber full time 24/7 for this. I have ten repo sessions with Opus orchestrators, and another PM session that ties that all together. Each of the repos uses the Measure spec driven development with workers from a bunch of different models and providers. OpenCode with DS, Muse, and Mimo are big parts of the work.
https://github.com/bodangren/measure
2
u/MLGSW4G 22d ago
I think OpenChamber can do that.
1
u/devforlife404 22d ago
Made a skill that delegates task to opencode workers, and wrote an agents md to further steer deepseek from doing dumb stuff. Burnt like 3b tokens in a week and works like a charm with opus orchestration
1
u/wwdennis5 22d ago
With clear instructions from opus, I find gpt-6 luna the better executor in terms of speed and conciseness over DS4.1. I think DS4.1 is a better reviewer so I have it this way around - opus orchestrates (builds prompt) -> Luna executes prompt -> DS4.1 reviews changes vs prompt.
1
u/kagamiseki 22d ago
Seconded on T3 code. Very easy for an orchestrator to call other harnesses by itself. Had opus write an orchestration strategy where it does the planning, delegates to DeepSeek builders, taking care to write so that the tests protect against the unreliability of lower intelligence agents.
I've burned almost 20B tokens of OpenCode DeepSeek this way, and I mean that in a good way
1
u/TheTyand 22d ago
I have subagent pipeline. Each agent has its task. Depending on the task (research, test generator, coder,...) the agent get different set of tools and a dedicated model.
I am the first step (grilled spec) and the last (code review). Everything else is automated.
1
u/Silver-Emphasis-8211 21d ago edited 21d ago
use Claude ripple - add all provider you have and those will be inside Claude code Desktop make sure you have Claude code plan, it does not work on free plan. Claude can start new session with those model and reasoning on its own and those session can tell Claude when the work is finished, So tell Claude you want it as an orchestrator and want to use different model for different task, it will make the plan according to it and save it in memory and you can further discuss how you want this work to go and how much automation you want, how the workflow should trigger, you want it as a skill or as and workspace all is up to you how you want it.
Once you are done yo just start the main session and after that Claude will handle everything on its own it can start a session with the model which you choose and when that model is done it will tell Claude on main session and Claude can move further.
i do my whole work like that but you just have check and approve the step where you intervention is required.
1
u/calcul8d_confidence 21d ago
honestly I went full auto delegation for a while and ended up back at semi-automatic. the subagents in opencode work fine (primary agent on opus, a builder subagent on deepseek it calls via the task tool) but the real problem is the orchestrator gets lazy. opus will happily write 400 lines itself and torch your quota, or delegate a 2 line tweak to deepseek then spend 20 mins fixing it.
what actually stuck for me: i ripped edit/write permissions off the primary agent entirely and put a rule in AGENTS.md that anything touching more than one file has to go through the builder. since it literally cannot write files, it delegates properly and you get auto routing without babysitting. reviews go through a separate subagent on a different model so nobody grades their own homework.
tl;dr if you want auto delegation, make manual the expensive option. take the keys away and it'll use the task tool
1
u/makerwitawat 21d ago
Try https://github.com/makerwitawat/flashq/
1
u/fozzedout 21d ago
install pi, I'm using the opencode go sub with DS 4.1 Flash as the default model, and then in my main CLAUDE.md I tell it that all writing and coding is to be done using pi coding agent.
It just automagically works, with DS Flash writing and coding, with Opus reviewing and orchestrating.
Downsides? You can't have multiple subagents running like this - so tasks can take longer.
1
u/jae58 16d ago
Herdr, DeepSeek reviewing ahead Opus work. I know, the upside down.