---
id: 18246
lang: en
title: "A Developer Pooled Three Laptops for Local LLMs and the kvalah Coding Agent"
published_at: "2026-11-25 22:29:37"
source_name: "Habr AI"
source_url: "https://habr.com/ru/articles/1112452/?utm_campaign=1112452&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/18246"
categories: ["research", "autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# A Developer Pooled Three Laptops for Local LLMs and the kvalah Coding Agent

> **Краткая суть (BLUF):** An old 8 GB graphics card only handles small models, such as Qwen 3.5:9B. The Habr author wrote kvalah, an open-source GUI (MIT), and linked three laptops: an RTX 5070, an RTX 2070 and a MacBook with an M1 Pro. A model can be split layer by layer across machines via llama.cpp RPC, or subtasks can be distributed to separate models. The first mode lets you run a larger model but does not speed it up. The second one really saves time on parallel work.  • Memory mode: layers of one GGUF model are split via llama.cpp RPC, but speed drops • Task mode: parallel_tasks runs up to 8 independent subtasks at once • Traffic is not encrypted, so the pool is only suitable for a trusted home network

Local models are limited not by willingness but by video memory. The author of the Habr piece dug out an old ASUS ROG with an RTX 2070 and 8 GB of VRAM, installed Ollama, and ran Qwen 3.5:9B. That was enough for editing text and short scripts, but anything larger no longer fit in memory. That led to the idea of combining several home computers. Along the way, the author also built a custom GUI and a local coding agent called kvalah, published on GitHub under the MIT license.

## Two Modes for Two Different Jobs

The pool includes three devices: a Windows laptop with an RTX 5070, an older ASUS with an RTX 2070, and a MacBook Pro with an M1 Pro. Two operating systems, different architectures, different speeds. The author split the work into two fundamentally different modes.

The first mode is memory pooling. One GGUF model is split layer by layer via llama.cpp RPC: one laptop computes some layers, another computes the rest. This makes it possible to run a model that would not fit on any single machine. But there is no magic: three graphics cards do not become one, and intermediate data has to travel over the network. Speed is set by the slowest participant, so a distributed model often runs slower than on one powerful machine. The point of this mode is to run a large model at all on existing hardware, not to generate quickly.

The second mode is task distribution. Each device hosts its own model, and a main agent hands out independent subtasks. For example, when working with a repository, one laptop reviews the server code, a second looks for bugs in the client code, and the MacBook checks test coverage. For this, kvalah has two tools: parallel_tasks (up to eight parallel subtasks) and batch_files (bulk analysis or editing of files under a single instruction). Applying changes, running commands, and final verification stay on the main device. Here the time savings are real: only short text instructions and results travel between machines, not gigabytes of tensors.

## Networking and Agent Discipline

Connecting a new computer should take minutes, not an evening. Devices find each other on the local network via UDP, pair using a code, and choose a channel by priority: Thunderbolt/USB4, then Ethernet, then Wi-Fi. If a cable is pulled, the application switches to a backup channel. According to the author, in memory-pooling mode Wi-Fi feels like a return to 56 kbps modems, while in task-distribution mode it barely gets in the way.

The agent loop is standard: studying the project, planning, editing files, verifying. The author considers the last step the most important. Small models readily report success even when the code does not build. So in kvalah, a task counts as done only after real tests or a build.

## Limitations and What to Do About Them

The author openly calls the project experimental and far from a replacement for cloud coding agents. Small models make mistakes, lose context, and call tools incorrectly. Adding another computer does not guarantee a speedup and sometimes makes results worse. Thunderbolt between Windows and macOS may require manual fiddling, although both machines have the ports. Network traffic is not encrypted, so the pool should only be set up on a trusted network. Proper benchmarks across models, quantizations, and connection types do not exist yet: the author plans to run them.

The practical takeaway for anyone with several old machines at home: if you need a large model, memory pooling lets you run it, but do not expect speed. If you want to save time, it is smarter to run a small model on each machine and delegate independent chunks of work to it, for example, searching for bugs across different modules. Verifying results with a build or tests is mandatory for any local model. This will not replace buying a powerful graphics card, but it gives a second life to hardware that would otherwise sit gathering dust on a shelf.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/articles/1112452/?utm_campaign=1112452&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18246
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
