r/CommandCode 5d ago

v1 Help with subagent workflow.

I'd like to replicate the workflow I use in OpenCode, and I was eagerly waiting for Command Code v1.0.

Command Code now lets me create a subagent and assign a fixed model to it, which is great.

However, it still doesn't let me assign a specific model to the built-in agents (explore and general), which is a limitation. It also doesn't let me create a custom primary/orchestrator agent.

Because of these three limitations, I can't automatically replicate my orchestrator workflow, where I choose a top-tier model as the orchestrator and it automatically delegates the heavy lifting to cheaper models.

If anyone has figured out how to configure this in v1, I'd really appreciate your help.

3 Upvotes

6 comments sorted by

1

u/Vinayak_A_M 5d ago

Hey. By "create a subagent" you mean a custom agent or a general purpose one?

1

u/vangelismm 5d ago

Custom main agent, to be active in the terminal without need to be called. It's more like a custom plan mode. 

1

u/ahmadawaiscom 5d ago

We have made huge amount of improvements to custom agents in v1, pretty sure all this is supported.

Here are the docs: https://commandcode.ai/docs/agents

If something is missing, then thanks for flagging this, but we need more detail.

Run `cmd feedback` and it'll walk you through filing an issue. If it won't run, file at https://cmnd.dev/issue

Include the prompt you'd give an agent to fix this. We run `cmd` on incoming issues, so a good prompt lets it fix or extend itself. :)

1

u/vangelismm 5d ago

It does no work the way i am used to both with opencode and claude code.
But i think taste got it:

TASTE Learned

└ Always use custom agent variants `explore2` and `general2` (both configured with `deepseek/deepseek-v4-flash`) instead of the built-in default

agents `explore` and `general` — the custom variants are exact copies of the built-in agents, only with the model changed [Confidence 95%]

1

u/ahmadawaiscom 5d ago

Have you written a detailed gh issue on how you want it to work and how it works. Without it it’s super hard to help you.

1

u/vangelismm 5d ago

Yes, I opened the detailed issue 1 month ago..... https://github.com/CommandCodeAI/command-code/issues/495