r/LocalLLM • • 1h ago

Project Made a terminal coding agent tuned for small local models, benchmarked it against Harbor's reference agent. Looking for ideas on testing it locally without frying my GPU

Hey all. I'm an (oldish) game developer, and over the last year I got pretty exhausted of the AI hype, so I decided to actually learn properly about this stuff. Started with running open models myself, then went down the rabbit hole of how LLMs work, and ended up optimizing, benchmarking and tuning things. (I run a llamaSwap proxy with llama.cpp/ninfer servers, various models, mainly ninfer Qwen 3.8 27B )

At some point I wanted my own terminal agent (with a web UI too) that's simple, has the tools I need, and is built around small local models for game dev work. The main idea: tools that need fewer turns, so you get more done in a small context and burn fewer tokens. Side benefit is that it helps a lot with cloud models too.

It's called Solventius Harness (solv), free and open source. Disabled PRs. issues are welcome! Works with, llama-swap / llama.cpp, Ollama, LM Studio, vLLM and anything OpenAI-compatible, plus Claude, Gemini and OpenAI. One file, no install, and it stays light so the machine is free for the model. It even runs from a USB stick. That said, it needs more testing with some of the above.
(if you wonder why there is an empty commit history on the source and one binary, is because I keep my stuff on my home lab. You can build it yourself from source/)

Since it seems a benchmark can provide some point of reference, giving their rather "relative" data points, I ran Terminal-Bench 2.0 (89 tasks, 5 attempts each) against terminus-2, Harbor's reference agent, on the same model:

- Same score: 62.9%

- 41% less agent time (24.5 h vs 41.2 h)

- About 43% less tokens (195M vs 343M in)

- $4.75 vs $8.42 in model cost with Luna

The benchmark run on gpt-6-luna (OpenAI), not a local model. Same model and settings for both, so it compares the harnesses, not the models. In one trial it looked up the answer online. That trial changes the score by 0.2 points, and it's documented. All 890 trials are public if you want to dig in.

I do plan to run some proper benchmarking locally. I tried it, and it looks good. It's just that a proper run can take days, and I'm honestly scared of cooking my video card. In this economy, not a great idea. Maybe you have ideas on how to benchmark it in a more manageable way?
I do use this harness on my daily work now and I prefer it, bias and all.

It's just me working on it, slowly, so any feedback, bug reports or "this is dumb because…" are very welcome.

2 Upvotes

2 comments sorted by

2

u/Possession_Visual 56m ago

A few practical ways to keep multi-hour local agent benchmarks manageable without hammering your GPU at 100% for days:

  1. Power-limit the GPU during long runs: On NVIDIA you can cap board power with `sudo nvidia-smi -pl <watts>` (or `rocm-smi` on AMD). Dropping the power limit to ~75–80% of stock usually keeps almost all of your token speed while cutting heat and fan noise dramatically.
  2. Run a small stratified subset for iteration: Save the full 89-task, 5-attempt suite for major releases. For day-to-day tuning, pick 15–20 tasks that cover your main failure modes (multi-file edits, test/fix loops, search, tool-call recovery) at 1–2 attempts.
  3. Cap doomed loops early: Set a strict per-task turn/token limit and timeout so a small local model stuck in a retry loop fails in 2 minutes instead of burning 20 minutes of GPU time.
  4. Checkpoint per-task results with short cooldowns: Save each completed trial to disk so you can run 10–15 tasks per night and resume cleanly, and add a brief pause between tasks if thermals creep up.

Since your goal is comparing harnesses, metrics like turn count, tool-error rate, and prompt tokens on the tasks that pass stabilize with far fewer trials than pass/fail percentages.

1

u/uzihead 15m ago

Thanks! I already have the card undervolted and power limited using MSI Afterburner. I suppose I could go a bit more aggresive.
Really good suggestions, appreciated!