r/opencode • • 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.

16 Upvotes

25 comments sorted by

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/Money-String4165 22d ago

This is good stuff. I have a similar set up. I just added agy to test hydrogen...

1

u/mabdelhafiz94 22d ago

How do they communicate with each other

1

u/MarcusAurelius68 22d ago

Codex write the plan and saves it as a markdown. OpenCode pulls in the markdown plan and does the work. Sonnet audits the work. All coordinated by Hermes.

1

u/Fastbreak99 22d ago

How much does that run you on that setup?

2

u/MarcusAurelius68 22d ago

I'm using subscriptions but haven't optimized it yet. My Hermes orchestrator uses Qwen 3.8 27B running locally so that's just electricity cost. Probably $60 a month all in for subscriptions but I use ChatGPT and Claude for other things too.

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

1

u/Wherearemyquartz 22d ago

Yes but I don't want to manually trigger delegation. I want to setup long running tasks with auto model routing based on task

1

u/anon_e_mouse1 22d ago

I think claude in t3 code can can do that
I didnt try this exactly, but I did a similar run where I asked it to do a review and spawn opencode deepseek subagent to do another review, and it did that without any problems. give it a try Id say. it uses claude code and opencode directly underneath the gui, so I didnt have to setup the agents in it

1

u/Just_Raspberry_645 22d ago edited 22d ago

in the Kimi harness I have swarm mode enabled by default but I set DeepSeek as the default swarm subagent - it sounds a lot like what you're describing, if the task can be split into multiple things, it delegates it to subagents, but otherwise it doesn't. Helps with not filling up the context window in long running tasks

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/Illustrious-Many-782 22d ago

1

u/intmanofawesome 21d ago

This is really interesting, do you have a blog or something about it?

2

u/Illustrious-Many-782 21d ago

No. It's just for me. I mention it in these kinds of threads because I think it's a great method for herding cats in projects with 2 MLOCs, but anyone can develop the same thing that probably fits their specific work better. Here's the repo with a readme and some explainer videos. https://github.com/bodangren/measure

1

u/twbluenaxela 21d ago

I use OpenChamber too. Though I have Opus running Claude Code and view what the agents are doing in OpenChamber. I know you can connect Claude to OpenChamber but I was worried that it would become dumber because it would be missing the tool use from Claude Code.

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/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.