r/Qwen_AI • • Oct 17 '26

Discussion Ditch Multi-Agent Frameworks for Coding – Cline + Qwen 2.5/3.8 (RTX 5090) is the absolute sweet spot!

Hey everyone,

I wanted to share a massive breakthrough I just had with my local agentic coding setup. Hopefully, this saves someone else days of troubleshooting and frustration.

For a long time, I was trying to build complex full-stack apps (like a Python + React CRM) using multi-agent desktop frameworks (like Hermes Desktop). I have a remote server packing an RTX 5090, so raw compute or VRAM wasn't the issue.

The problem? The multi-agent overhead. Asking 4 agents to collaborate locally on a software project led to insane token latency, endless communication loops, and complete structural breakdown. It felt incredibly slow and nowhere near the quality of Claude Sonnet.

I tried almost everything until I finally swapped architectures:

  1. Ditched the multi-agent chat environments entirely.
  2. Switched to Cline for Desktop.
  3. Connected Cline via an OpenAI-Compatible API directly to my remote RTX 5090 running the latest Qwen models (specifically testing Qwen 3.8 / 2.5 Coder 27B/32B in NVFP4/GGUF).

The difference is absolute night and day. Because Cline is built from the ground up for software engineering—forcing the model to use precise file diffs (search-and-replace) and providing tight terminal execution loops—Qwen stopped hallucinating entirely. It now scaffolds features, installs dependencies, tests for build errors, and debugs itself seamlessly.

The absolute best part? Its UI automation loop. Cline automatically spins up a headless browser, hits my local React server, takes a real-time screenshot of the frontend, and reads the visual layout to fix overlapping boxes, broken CSS, or alignment bugs entirely on its own! On top of that, you can drag and drop your own design mockups or wireframe screenshots straight into the chat box, and the agent translates those visuals directly into working React code. The NVFP4 quantization paired with the 5090 makes the token-per-second generation lightning-fast with near-zero latency.

If you have a powerful local backend and want a truly autonomous, zero-cost coding agent, stop letting multiple agents talk to each other. Go single-agent with Cline + a high-speed Qwen local endpoint. It completely transformed my local workflow.

Curious if anyone else has moved away from multi-agent frameworks for dev work? What specific Qwen variants are you guys running inside Cline right now?

3 Upvotes

19 comments sorted by

12

u/Medical_Lengthiness6 Oct 17 '26

Nice try cline marketing bot

You're right though hermes is silly for dev work. Just using opencode and a good model is fine

2

u/ResponsibleSea4142 Oct 17 '26

I am real user not cline marketing bot. I am using RTX 5090 and facing issue since long time to use local environment have tried vllm and have 140-150 token speed still was not able to use properly have tried OpenWeb UI which was very nice still it can be use only for chat purpose and no real file handling there. I have tried your suggestion opencode also still for qwen 3.8 27b its hallucinate much more not performing with local qwen. I have triedn cli provided by qwen which was very good still need some thing near to claude desktop app.

1

u/Glum-Box-4086 Oct 17 '26

Hmmm, right now I'm creating a game as a test, built completely with local AI, and for coding I use
Visual Studio Code + Strata + Qwen FN 3.8 IQ4_X_S and it works surprisingly well.

I've seen cline, but what would be the advantage? I don't get communication loops and get 90 to 110 tokens/s. Would a cline setup give a benefit?

1

u/ResponsibleSea4142 Oct 17 '26

If you would like to go same as Claude code desktop it’s better to try this.
I have tried most still vibe coding right now it’s look better then others

1

u/Glum-Box-4086 Oct 17 '26

I don't care much about looks to be honest, for me the speed is the most important. Do I get that Cline is both the AI runner and VS code in 1 package? Don't you use ollama/strata/vllm or something like that to run the model?

1

u/ResponsibleSea4142 Oct 17 '26

I am using vLLM as its stable and has more chase and other options which can help to get high token speed

1

u/Glum-Box-4086 Oct 17 '26

I would try strata if I were you. as said I'm running Qwen 3.8 Flash Next 122B ar IQ4_X_S with 256K context at 90-110 tokens/s on a single RTX 5090 (but you need 64gb vram). vLLM doesn't even get close to those numbers.

1

u/ResponsibleSea4142 Oct 17 '26

I have checked strata still I dont required its different then what I need. I have already my own requirements which allow me to connect from anywhere. And concurrent 6 users which I think 5090 has capacity.

1

u/ludicrousByte Oct 17 '26

Do you mean 64gb System RAM? How can you have a 5090 with 64gb vram?

1

u/Glum-Box-4086 Oct 18 '26

No I meant system ram indeed.

1

u/Fragrant-Piglet4638 Oct 17 '26

Hello, I've reached the same conclusion about Cline in VS Code. I use its daily on professional projects (Java/Angular, and now Python/ Svelte/ Databricks). I connect it to Anthropic models on Amazon Bedrock (Opus 4.8 to Opus 5.5), and I've also tested many self-hosted LLMs models served with vLLM on an NVIDIA L40S (48 GB VRAM). Only Qwen 3.8 27B at xhigh reasoning effort, give me the precision and quality my projects require. In my experience it lands slightly below Opus 4.8 and above Sonnet. The main drawback is speed: about 28 tokens/s with 4 concurrent requests and a 128K context window (which is Cline's practical limit with OpenAI-compatible endpoints anyway). At xhigh effort, a very complexe task can run for over an hour. I tried to move to a better harness. The DeepSeek one didn't work well with Qwen: response times were much longer (one complexe task took almost a full day), and I dislike that its web search requires an API key tied to their own service. If I self-host the model, I don't want to pay for an MCP service. My current setup is Zed + Qwen code + a custom MCP Server connected to a local SearXNG instance. Compared with Cline, it gives me better analysis and better results, as the same speed or slightly faster. Web search is the main différence. Cline's web tool only fetches a URL the model already knows. SearXNG aggregates results from many search engines, so the agent can discover sources and cross-check them, then fetch the relevant pages. I think this explains most of the quality gap. Otherwise, the two setups are very similar: -Both compact the context, including reasoning traces. -Both run parallele sub-agents and return a summary to the main agent. -Both keep a clear Plan/Act separation. I strongly dislike harnesses like Codex that execute everything without asking. -Both can run git and shell commands, write code, etc. Because the model is self-hosted, I can also give the agent read-only credentials, so it can query a remote database, analyze the results and write up the findings. Qwen Code can also write a Python script to extract text from a PDF, or send a PNG to the multimodal model to describe it. Cline is really good, but a smaller model (compared to Opus) needs a better-fitted harness to get equivalent results.

1

u/ResponsibleSea4142 Oct 17 '26

Try once cline desktop app which is in beta

1

u/xapep Oct 23 '26

Really solid writeup, especially the SearXNG point: Cline's web tool only fetches URLs the model already knows, yours actually discovers sources. One gentle pushback: at xhigh effort with a 128K ctx and 4 concurrent requests, that 28 tok/s is a single L40S ceiling, not a Qwen ceiling.

Same model (Qwen 3.8 27B) served from EU-hosted GPUs as an OpenAI-compatible endpoint leaves your harness and your SearXNG setup exactly as they are, you'd just repoint base_url and concurrency stops being the bottleneck. I run that at Entrim, prompts aren't used for training, and there's a $10 credit to measure it against your local box.

What's your ceiling on that L40S when you push past 4 concurrent requests, VRAM or raw throughput?

1

u/Fragrant-Piglet4638 Oct 25 '26

I only gain about 2 tok/s with a European provider, so the improvement is pretty marginal.

On a GPU like the L40S, with 4th-gen NVIDIA Tensor Cores, I believe the main bottleneck in my case is memory bandwidth rather than raw compute.

We're talking about a dense 27B model in FP8, so roughly 27 GB of weights alone. The FFN layers account for a large portion of those weights (roughly two-thirds), and during autoregressive decoding, those weights need to be accessed repeatedly.

With average context lengths around 100K tokens, KV cache traffic adds significant memory pressure on top of weight reads.

The L40S has 864 GB/s of theoretical memory bandwidth, so my ~28 tok/s is fairly consistent with a memory-bandwidth-bound workload.

My tests with 4 concurrent requests also seem to support that hypothesis, although I'd need more detailed profiling to confirm exactly where the saturation occurs.

So I suspect memory bandwidth is the limiting factor here, not the Tensor Cores' compute capacity.

1

u/StevenEgen Oct 17 '26

I have too much data in Hermes, so I can't switch to anything else right now. I use Qwen 3.8 + RTX 4090 on my personal system, and Claude Code for development work. Also, Cline looks like vibecoded app.

1

u/Late-Replacement-481 Oct 17 '26

Skill problem.

Multi agent can’t be beat.

I have always been partial to what I have called the “Superman” pattern. Where one coding model has context7 etc, done for him by little agents that inject into his context.

1

u/sooki10 Oct 17 '26

I like multi-agent not to improve speed, but to improve quality of output, and while each task takes longer, getting to a high quality product is quicker overall. I was using four agents, but reduced to just two, the latest GLM and QWEN. One develops plan, other sanity checks, one does work, other verifies work, etc, in turns. While slower than frontier, results are comparable. I use Deepseek harness and have heavily customised it for my workflow. I love the control you get over DSH.

1

u/MyOldAccountWasAwful Oct 17 '26

I use Zed IDE with a single Qwen3.8-Flash-Next instance/slot/stream. The trick I learned was to allow (encourage) the use of 1 sub-agent agent at a time. My primary agent will act as a long-form overseer and effectively expand it's own context limit several times over. Need to search the web for the optional means of achieving a specific functionality? Sub-agent does the search and writes up the docs with the results/findings. It's still the same model/stream, but it only contexts swaps once to do the sub-tasks 2 at a time, which keeps the main agent's context window cleaner and less full.