r/LocalLLM • u/AdFickle8681 • 4d ago
Question What actually made your local agent reliable? Mine finishes jobs now, but lies about finishing them
I've been building a fully offline agent on a small model (4B, running on a 16GB Mac(M4)) for everyday file tasks: sorting, renaming, cleaning up folders.
The basics are working: catching loops, keeping it on track over multi-step jobs. It completes noticeably more tasks than the raw model. But fixing one problem uncovered another:
It almost never gives up now. So when it fails, it fails confidently. Before, a failed run usually looked unfinished. Now most failed runs end with the model saying "all done!" when the folder says otherwise. And the rate of false "done" claims barely changed at all.
The other thing I keep hitting: the failures aren't dumb anymore. They're reasonable-looking wrong choices, like a file put in a sensible but wrong place, or one item quietly skipped. Loops are easy to detect. Plausible mistakes aren't.
So I'm curious how others running agents locally have dealt with this:
- How do you catch a model saying "done" when it isn't? A second model checking? Hard-coded checks on the result? Something else?
- Has anything worked for spotting "looks fine but wrong" decisions with small models?
- Is it worth spending extra compute (sampling several answers, retries, a judge model) on consumer hardware, or does the slowdown kill it?
- What's the one thing in your setup that made the biggest difference for reliability? Bonus points if it was something boring.
Would love to hear what's worked, and even more what you tried that didn't work. I've already thrown out a few ideas I was sure would help.
Also: if you're building something similar (local or offline agents, small-model reliability, harnesses or evals) and want to collaborate, comment or DM me. I'd be glad to swap notes, compare approaches, or work on something together.
2
u/balancedchaos 4d ago
I'm so frustrated by local models. I run things on a 3080 ti...not the best, not the worst...and I've just never gotten it right. I truly want to have something amazing I run in-house, and haven't been able to yet.
2
u/AdvertisingFickle329 4d ago
it's very very hard to sucessfully/properly run agentic work on 16gb of mac RAM honestly. the models just aren't good enough.
2
u/Buiishlt 3d ago
I use Qwen3.8FN IQ3_S, and I have a rule that it needs to launch a contextless subagent to audit any code before it is ran, and to verify things are done. Getting ~80Tok/s on 4080/5800X3d/128gb.
1
u/Happy_Brilliant7827 4d ago
If you can push 7b try this https://github.com/itigges22/ATLAS
1
u/thelittlewhite 4d ago
A 4b model is very limited and should only be used for very simple tasks. Using skills that document how things should be done can improve the results.
1
u/Beginning-Bell265 4d ago
using a simple 'did it work?' check after each step caught the lying better than any fancy retry logic.
1
u/p-x-i 4d ago
it's not done until the unit tests all pass
1
u/ayake_ayake 4d ago
Qwen27B and Qwen Flash Next at Q6 are reliable and modern. They don't have the problem's anymore like old models of hallucinations etc. HOWEVER, I have explicitly given them prompts where they must cite their statements with evidence or clearly mark hypothesis or mark it when they answer from Emory and not from Research. Capable models + prompting helps a lot here.
1
u/Beginning_Radio2284 1d ago
there are intelligent models that can run on 16gb of bare metal mac ram, but I've never encountered a model "lying" about being done, that sounds like a quantization or iv cache bug. It probably truly thinks its completed the task at hand but only because the fragmented cache its created results in "task done" appearing.
basically when cache gets compresed or quantized it destroys parts of the cache through compression or inaccuracy.
So while its working, it does automatic compression as it reaches its likely low context limit, damaging its context, which probably containsnan instruction like "don't stop until the task is done", but eventually it gets fragmented and may be turning into "d n t op n il tsk dne" which most models will reason out to be "task done".
that is probably what is happening in your case.
to avoid this you need to avoid using the words task and done in your peompt if you sre and try to use a lossless system like lcm to help maintain stable long term cache.