CommandCodeAI / CommandCodeAI/command-code
Feature Request: Per-Mode and Per-Agent LLM Routing
Open
Nobody has claimed this yet.
p2
- Dominant language
- No language data
- Stars
- 4k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Description
Feature Description
Mode-Specific Model Routing: Users can define a default model for each of Command Code's core operational modes.
- Planning Mode (planning): Maps to high-parameter, reasoning-heavy models (e.g., Deepseek V4 Pro, GLM 5.1) for complex architectural design, system breakdown, and step-by-step logic generation.
- Edit Mode (edit): Maps to fast, highly capable coding models optimized for syntax and refactoring to execute the plan quickly.
- Auto-Accept Mode (auto-accept): Maps to ultra-fast, low-latency models for rapid, low-risk changes (e.g., fixing linting errors, adding docstrings) where developer oversight is bypassed.
- YOLO Mode (yolo): Maps to high-context, highly capable models authorized to make sweeping, project-wide changes with deep contextual understanding.
- Custom Agent Model Binding: Users creating specialized, domain-specific agents within Command Code can lock a specific model to that agent.
- CLI Flag Overrides: The ability to temporarily override the default model for a specific session or command using a flag (e.g., command-code --plan --model deepseek-v4-pro).
Use Case
Explore-Plan-Execute Workflow
- Launching off multiple agents to explore legacy repo, each using lower cost and faster agents with big context windows
- Planning with SOTA OSS models with high reasoning capabilities
- Execute plans proposed by the Planning model using a cost effective model
Additional Context
No response
How important is this to you?
Important for my workflow
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how Command Code currently selects models for planning, edit, auto-accept, YOLO, and custom agents, then inspect CLI option parsing for a temporary model override. Done means mode defaults, per-agent bindings, and the example --model override all work without disrupting the Explore-Plan-Execute workflow.
Written by the indexing model from the issue text.
Assessment
- Domain
- ai-infra-agents, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100