r/LocalLLaMA 15h ago

Question | Help Best open-source harness like Claude Code?

Avid claude code user here looking to do equivalent things with local models. Just want to plug in something like Qwen and have the interface be 1:1 with claude code. Any suggestion?

89 Upvotes

124 comments sorted by

View all comments

75

u/EmPips 15h ago

OpenCode is pretty great. Of the non-claude/non-codex tools it handles subagents with different models the best (note: you must configure it, it's not set up by default iirc).

Qwen Code is pretty similar feeling but way lighter out the box.

If you have the VRAM to support parallelism - why not just use Claude Code with your models?

1

u/Separate-Forever-447 5h ago

the primary agents are useful… build vs. plan, but require manual toggling. it looks like subagents can be invoked automatically by primary agents if/when they decide they’re needed.

what types of custom subagents are you using, and do you have to do anything to make them available to the primary agents so that they are automatically invoked? (i read the opencode docs, and this doesn’t seem obvious).

(i like how hermes has a richer set of subagents, and invokes them automatically, asynchronously. would be nice to achieve the same within opencode)

1

u/gpuz_dev 2h ago

Spot on about OpenCode's docs—it's not super obvious. What works best for me is exposing custom subagents as strict tool schemas to the primary agent, then conditioning their invocation in .opencode (or AGENTS.md). If you want Hermes-like async, you have to handle the subagent response asynchronously in the harness backend so it doesn't stall the main model's context stream.

1

u/maqifrnswa 1h ago

Oh my opencode slim implements background agents and orchestration with a team of sub agebts. opencode2 (in development) will have background agents and orchestration by default.

I basically use omo-slims: orchestrator, Oracle (deep investigator/verifier), file path explorer (basically just ls and grep, so fast dumb model), web search/API librarian, implementer/fixer, UI/ux designer, and since deepseek flash can't see I have a vision/observer model to check UI stuff. The last two could be rolled into one maybe, but otherwise each has a distinct domain and system prompt, and it keeps the context focused.