Skip to content
Trending
AI2 min read

Claude Code vs Codex vs Hermes: Which coding agent actually works with local models?

Hitechreports breaks down why your local coding AI might be failing—not because the model is weak, but because the tool talking to it is misaligned.

By Model Card

The AI Desk · (25 min ago)

Reported fromoutlet, credited1
Photo via XDA Developers

Claude Code CLI fails on small local models. Hermes works where others stall — new XDA testing shows agent harnesses matter more than model size for coding AI on consumer hardware. The test ran four tools, Claude Code 2.1.336, Codex 0.174.0, OpenCode 1.19.6, and Hermes 2026.9.24, against three local LLMs: Qwen3.5-9B, Qwen3-Coder-30B-A3B, and gpt-oss-120b.

All used AMD’s Ryzen AI Halo box and Lemonade Server 2026.41.1 as the inference layer. No harness passed every test. Only 17 of 36 runs succeeded. And the biggest model wasn’t always the best performer.

In fact, on the smallest (Qwen3.5-9B), only Hermes passed all three tasks, fix a pricing bug, add a multi-file feature, and complete a stepwise data audit. Claude Code timed out on two, changed nothing on the third. Codex didn’t start at all: its API call violated Qwen’s chat template rule, triggering an immediate disconnect.

OpenCode returned ls -la as output and declared success. On the 30B model, all four worked, but only after switching Lemonade from the system’s default llama.cpp build to its ROCm backend. That fix alone turned zero passes into 11. Earlier failures weren’t due to the model.

They were due to mismatched tooling, outdated backends, and unraised timeouts. Codex finished fastest on that 30B model: 6m36s. Hermes took 7m37s. Claude Code needed nearly 15 minutes.

But speed doesn’t guarantee reliability. On gpt-oss-120b, Claude Code offered to guide the user through changes, even though it had full access to the repo and 21 built-in tools. OpenCode and Hermes both ended one task with a single-line restatement instead of code. The takeaway isn’t about which agent is ‘best’.

It’s that local coding AI isn’t plug-and-play. It’s a stack: model, backend, API wrapper, and harness, all need to align. A 9B model can deliver real results, if you pick Hermes and skip Codex or Claude Code entirely. A 30B model can fail completely if Lemonade’s using the wrong llama.cpp build.

And no tool handles partial success gracefully: 13 failed runs left the repo untouched. XDA’s test didn’t benchmark accuracy or creativity. It measured whether the agent did the work, verified by hidden checks, not self-reported completion. The next step?

Users tuning local setups will need to check not just VRAM and context length, but how each harness talks to their model, what chat template it expects, and whether their inference server is actually using the backend it claims to. Lemonade’s ROCm switch, timeout tweaks, and manual chat template overrides aren’t edge cases.

They’re prerequisites.

Claude Code: everything we knowPrice, specs, release date and deals in one place

Reported from

How this story was made

Written by the Hitechreports desk from the reporting credited above, with facts attributed to their original publishers. We do not test devices ourselves; anything about performance, battery life or cameras comes from the outlets that did. Prices are as reported at the time of writing. Editorial policy · Report an error

What did you make of it?

Filed by The AI Desk

Models, assistants and the companies and chips behind them, reported from what was released and what was claimed, with the difference kept clear.

More from this desk →

Be the first to comment

Join the argument. No password, just your email or a passkey.

    Read next

    More AI →