Local models have gotten good enough that MCP can extend a local LLM like a real IDE, yet coding agents give me wildly different results with them. The same model that fixes a bug in one tool will sit there narrating in another. I've already run Claude Code, Codex, and Cursor on the same AI model, and the tool mattered more than I expected; and then switching my local AI setup to AMD's Lemonade let me try it locally.
So I took four harnesses, Claude Code, OpenAI's Codex CLI, OpenCode, and Nous Research's Hermes Agent, and ran each against three local models on AMD's Ryzen AI Halo box. That's 36 runs, scored by hidden tests and not the agent's claims. No harness passed with all three models, and the biggest model wasn't the best one. I also threw away my first full set of results, which I'll get to.
These four tools don't even talk to a model the same way. Claude Code uses Anthropic's Messages API, Codex only speaks OpenAI's Responses API, and OpenCode and Hermes both use Chat Completions. Lemonade Server answers all three on one port, which is what lets one box host the whole test.
Before the real runs, I pointed each harness at a request logger to see what it sends first. Claude Code led with 21 tool definitions in a 77.7KB request, about 2.6 times the size of OpenCode's nine tools and 29.6KB. Hermes sent 18 tools in 43.9KB, and Codex sent nine tools in 40.5KB with the longest system prompt of the lot.
The rules were the same for everyone. The models were Alibaba's Qwen3.5-9B and Qwen3-Coder-30B-A3B, plus OpenAI's gpt-oss-120b, each with a 65,536-token context window. Every run started from a fresh copy of a small Python repo with approvals switched off and eight minutes on the clock. I ran Claude Code 2.1.336, Codex 0.174.0, OpenCode 1.19.6, and Hermes 2026.9.24 against Lemonade 2026.41.1, much like when I tried DeepSeek's agent harness.
All three Codex runs on Qwen3.5-9B died instantly, and Codex itself only reported that the stream had disconnected. The real reason was in Lemonade's log: the model's chat template insists that a system message comes first, and Codex's request trips that check.
I should mention that this is a compatibility problem, not a verdict on either one, because Codex got past it on both larger models. llama.cpp can load a replacement chat template, and a proxy in the middle could reorder the messages, but I didn't test either fix. Out of the box, the pairing doesn't work, and that's what most users will notice.
Each harness got the same three jobs per model: fix a pricing bug from a symptom report, add a feature that touches three files, and work through a data audit that only reveals one problem at a time. Hidden checks decided pass or fail, so an agent that announced success without doing the work scored nothing. Out of 36 runs, 17 passed.
Eleven of those passes came from Qwen3-Coder-30B-A3B. Hermes, Codex, and Claude Code went three for three, and OpenCode's only miss was cleaning the audit file, then never writing the code I'd asked for. Codex was quickest, finishing the three tasks in 6m36s; Hermes took 7m37s, and Claude Code needed 14m59s.
Here's the thing. Most advice about using smaller models on VRAM-constrained systems rarely tests multiple harnesses, or it tests one through LM Studio's chat, which handles things correctly most of the time. That's not how things work when you're setting up API calls, and there are a few important things to know.
On Qwen3.5-9B, the harness decided everything. Hermes passed all three tasks, and it had passed in every earlier run of this test on that model too. The other three scored zero, each in its own way.
Codex never got started, and Claude Code ran out the clock on two tasks while changing nothing on the third. OpenCode is the one that stuck with me, though. It uses the same API as Hermes with the same model, and when Hermes called tools and fixed the bug, OpenCode got the text ls -la back as the model's final reply and called it a day.
The most common verdict among the failures was a run that finished with nothing changed in the repo. Thirteen ended that way, including Codex's three template errors; three got partway, and three ran out of time without a passing result. In the logs I read, the model said something and the harness took that as the end of the job.
With gpt-oss-120b, OpenCode and Hermes both ended a task with a one-line restatement. Claude Code offered to guide me through the change if I provided the repository, from a model that had 21 tools on hand. I can't tell you why the model does that, only that it did.
My first full matrix scored four passes out of 36, and I thought I had good data to write some conclusions on. But something was off with the 30B runs, and when I dug deeper, it turned out it was answering with junk.
On this box, Lemonade was using the system's packaged llama.cpp (build 10566) instead of one of its own backends. Switching the test to Lemonade's ROCm backend took that same task from junk to a pass. When I reran the whole matrix on ROCm, with a newer Codex as well, the 30B went from zero passes to 11. If your Lemonade came preinstalled as mine did, check which llama.cpp backend it's using before you judge a model.
That wasn't the only gremlin. Before that first matrix, the Lemonade 11.8.1 package the platform offered cut an OpenCode run off at about two minutes with a timeout error, which stopped once I updated Lemonade and raised its timeout. Timed-out Hermes runs also left background workers behind while something kept calling the server, so I cleaned up after Hermes and reran everything.
If your hardware can run a 30B-class coding model, any of these four did real work for me, and you can choose on speed and taste. Drop to a 9B and Hermes was the only one that delivered. Codex was strong on the two bigger models and a non-starter on the small one, at least out of the box.
Sure, it's one run per cell, and these tools change fast, so your results may differ by the time you read this. But the shape of it is hard to ignore: on the 30B the harness barely mattered, and on the other two it was the difference between a pass and nothing. Match the harness to the model your hardware can actually run, and check what your server is doing underneath before you blame either.