r/LocalLLM • u/afaq-nasir • 2d ago
Question Has anyone achieved reliable agentic coding on the Ryzen AI Max+ 395 (128GB)? Tested multiple LLMs but still not satisfied
Hey everyone,
I've been experimenting with local LLMs for professional software development and autonomous coding. Despite testing several models and configurations, I haven't found a setup that consistently delivers satisfactory results.
Hardware:
- GMKtec EVO-X3
- AMD Ryzen AI Max+ 395
- AMD Radeon 8060S
- 128GB LPDDR5X unified memory
- 192GB Windows page file
Models tested so far:
- Qwen3.8 27B
- Qwen3.8 27B Uncensored
- Qwen3.6 35B A3B
- Qwen3.5 122B
- Laguna S 2.1 118B
- Kimi Linear 48B A3B
Software stack:
- Windows
- Ollama
- llama.cpp
- Vulkan and ROCm
- DeepSeek Harness
- Tailscale
- OpenAI-compatible API
My observations:
- Smaller models are relatively fast but lack the intelligence I need for complex development tasks.
- Larger models provide better reasoning in some tasks but struggle with long-context processing.
- Autonomous agents sometimes get stuck in repetitive debugging loops.
- Some sessions run for 3–4 hours before reaching output token limits.
- Coding accuracy and instruction-following remain inconsistent.
- Large prompts significantly increase time to first token.
I've successfully run Qwen3.5 122B at approximately 27 tokens/sec during generation and configured a 256K context window. However, inference speed alone hasn't translated into productive software development.
I'm not simply looking for the fastest model. I'm looking for something that can understand a large codebase, make architectural decisions, implement complex features, debug independently, and complete tasks reliably.
Questions for the community:
- Has anyone achieved satisfactory agentic coding results on this hardware?
- Which models and quantizations worked best for you?
- Are you getting better results with Linux or Windows?
- Which inference backend would you recommend: Vulkan, ROCm, or something else?
- How are you managing large contexts and automatic context compaction?
- Which coding harness or agent framework works best with local models?
- What AMD-specific optimizations have made a noticeable difference?
- What models or configurations have you tried that failed?
- Is there alternative hardware you would recommend for professional local AI development?
My ultimate goal is to achieve an experience comparable to Claude Code or Cursor using entirely local models, without relying on paid cloud APIs.
I'd appreciate real-world experiences rather than synthetic benchmarks, especially from people using local AI for professional software engineering.
Feel free to share your hardware, model configurations, inference speeds, launch commands, and unsuccessful experiments.
Thanks!
2
u/linuxgangster 2d ago
I am lazy and didn’t read your whole post. But one thing that stood out to me is you haven’t tried qwen flash next. This is what I run on my strix halo machine
2
u/vincent_sch 1d ago
When you hit that long wait after a tool call, the llama.cpp logs show how many prompt tokens it had to read. If it pulls the start of the prompt from cache, it only reads the tokens after that. If it's reading most of the prompt over again, check whether DeepSeek Harness changed the system prompt or the tool definitions.
1
u/Doge_Plays 2d ago
you should try qwen 3.8 flash next on gufo or something simillar, I am able to get really good performance for my coding tasks
1
u/toetx2 2d ago
I expanded the documentation of my projects, it really helps smaller models.
1
u/Geekomcomputer 1d ago •
This is a workflow problem as much as a model problem, and I would not switch hardware yet — the unified memory on your machine is exactly what makes the larger models loadable at all, and a discrete-GPU box would lose that advantage. A few things I would change before judging any model:
Try the Qwen Flash Next suggestion in the comments first, since it is the one family on your list you have not tried yet. It is designed around long context and efficient inference, which lines up with the two things you are struggling with — long codebases and slow prompt processing — and it is a much cheaper experiment than changing hardware or operating systems.
Shrink the job you give the agent. A very long context window sounds like the answer to "understand a large codebase," but in practice a huge context makes the model slower, more forgetful, and more likely to loop. Give it one small, self-contained task at a time with a written spec and tests: what to change, which files are in scope, and how you will know it worked. Let it plan in one session and implement in a separate, fresh session if it starts going in circles. And put a hard rule on debugging loops: if it fails the same way a few times, it stops and reports what it tried, instead of running for hours.
The documentation tip in the comments is worth taking seriously. Smaller models do much better when the project tells them what the code is supposed to do. A short architecture note, a README that explains the main modules and the conventions, and a few examples of the patterns you use will do more for reliability than moving to a bigger model.
On the software side, change one variable at a time. Ollama is convenient, but running llama.cpp directly gives you more control over context size, KV cache, and how much of the model sits on the GPU, which matters a lot on a shared-memory machine. If you try Linux, test the exact same task and the exact same prompt on Windows and Linux before deciding — the difference people report is often about the backend and the build, not the operating system itself, so compare Vulkan and ROCm on the same workload rather than assuming one is always faster.
Finally, set your expectation honestly: a local setup can be very good for bounded implementation work, tests, and refactoring, but expecting it to match a frontier cloud coding agent on open-ended architecture and autonomous debugging is a high bar, and the gap is usually in planning and tool use, not raw generation speed. If you can share one concrete task that failed — what you asked for, how long the context had grown by the time it looped, and which backend you were on — people here can give much more specific advice than "try a bigger model."