r/opencodeCLI • • 3d ago

New to local models: is OpenCode a good harness for a local Inkling-2-Mini, and how do you set it up?

I'm just getting started with local models. I have Inkling-2-Mini running on an RX 7800 XT (PolyStrata, ~64 tok/s at 32k), and I'm trying to pick a coding harness.

The idea is a stronger cloud model as the plan agent writing small tasks, and the local model as the build agent implementing them.

Questions

  • Does anyone run a local model as the build agent? How well does it follow a plan?
  • OpenCode vs Hermes vs Pi for local coding: I've tried Pi and Hermes briefly. What do you prefer and why?
  • Any OpenCode settings, plugins or MCP tools you'd recommend for local models?
8 Upvotes

12 comments sorted by

5

u/HomegrownTerps 3d ago

Opencode has the biggest default prompt out of all tools I know.

I prefer to use pi instead, it lets me go a bit further on the constrained local hardware.

2

u/bokerkebo 3d ago

I have it running on 256k context, I use it to help a better model to explore the repository to prepare the plan. I don't really trust it to do the implementation for now, but it's pretty good for exploring and giving the initial analysis about something. It tends to think and read a lot, so I'm not sure if you can make it work at 32k context.

1

u/lilyp727 3d ago

repo scout, not builder

2

u/Efficient-Cellist521 3d ago

Pi or pichamber. Anything else will too cumbersome. set agent with goal and be realistic in expectation. Opencode Go is still a viable option for actual work without zapping your GPU. Use it as orchestration agent , let it task local GPU with whatever sensitive work you need it for.

2

u/Lyelinn 3d ago

I tried inkling + opencode, pi, qwencode, zcode and DSH;

liked output from opencode the most plus its easiest to set everything up working fine without any struggle. Also like the openchamber (ui on top of opencode) but most of the time regular TUI/GUI is enough for me. With pi I struggled a bit tweaking output limit (does not have automatic "you went overboard, resume and break down your work in pieces" that opencode has) plus generally results were tiny bit worse somehow (less tokens, but less comprehensive work)

Right now I have its context limited to 312, buffer 5% and max output to 32k; native context set to 512k in omlx.

2

u/feursteiner 3d ago

I used oMLX on my macbook (m1 max 64gb) with opencode, runs amazingly tbh. much more coherent than qwen

1

u/Sharinganseesyou 3d ago

Hi, noob here, also have an M1 Max 64gb, what model émane settings would you recommend? Thanks

1

u/feursteiner 3d ago

ran with the defaults and all good so far!

1

u/alexzzzz 3d ago

I’m testing Inkling-2-Mini UD-Q4_K_XL on an RTX 3060 12GB with 32GB RAM and a Ryzen 3700X.

In Maya, I get about 550–600 prefill and around 30 t/s decode. Max context size doesn’t affect speed—only how much context is actually in use does. I wouldn’t call it dumb; it works pretty well in OpenCode.

Any OpenCode settings, plugins, or MCP tools you’d recommend for local models?

Nothing special. The new “Browse” extension/mcp is a must-have.

1

u/perfektcrash 3d ago

Agree with the "repo scout, not builder" comment. The other seat where a smaller local model has been fine for me is reviewing a diff. Give it just the task and the diff, not the whole session, which keeps it inside a small context.

If you do use it as a reviewer in OpenCode, run it as --agent plan. Mine once fixed the files itself and then approved its own fix. The plan agent can't edit, so it has to hand the fix back as text.

1

u/NetoMeter 2d ago edited 2d ago

I've started recently using such an approach - opencode with a local neroued/Qwen3.8-27B-nvfp4-NInfer model 240k context (on RTX 5090). I combine this with a Claude Pro subscription ($20/month).

The main horse is opencode and the local model - it does the planning, then calls Claude Code to review the plan and make corrections. Then implements the plan, and calls again Claude Code to review the results, and repeats until the end result is acceptable. Works really well for me.

I see that a lot of people are complaining that they are getting poor results from Qwen 3.8. I am getting excellent results and I think the ninfer version of Qwen 3.8 is really good. As a matter of fact, I compiled and run the ninfer version on my RTX PRO 4000 24GB as well, when I need the RTX 5090 for image/video generation.

A month ago I compared the same task done by Opus 5.5 and the local Qwen 3.8 - replacing a Wordpress W3 Total Cache plugin with a custom caching solution. Both produced comparable results - Opus took 15 min, the local Qwen 3.8 - 45 min. The end result ended way better than what W3 Total Cache was delivering, and way more simpler and lean - 0.5 - 0.8 sec page load time with the logged in user specific information (not a trivial task).

Overall, I think that Qwen 3.8 makes mistakes from time to time, misses some important details, which Opus catches easily, and the combo local Qwen plus Opus is really good and successful.

1

u/AndreVallestero 1d ago

Check harness leaderboard

https://huggingface.co/spaces/joelniklaus/harness-leaderboard?model=inkling-2-mini

OpenCode is the best harness for inkling 2 mini