Best Computer for AI Agents: What Each Job Needs
An agent asks more of a computer than a chat does. Here's which machine fits each agent job, from the laptop you have to a Threadripper workstation.
On this page
- What an agent asks of a computer that a chat doesn't
- How much RAM do you need for AI agents?
- When the model runs in the cloud
- An always-on agent box: mini PC or Mac mini
- A workstation for building and running agents
- Several agents on one box
- What I'd buy
- Mistakes I've made buying for this
- Where to go from here
If you're buying a computer to run AI agents, the first thing to work out is what job the agent will be doing. An agent is a model that works in a loop of tool calls until the task is done, which asks more of a machine than a chat does. I'll go through what changes and which kind of machine fits each job.
My view is that if the agents run on your main development PC, that's a workstation job and not a desktop PC job. It's heavy work across many threads, and the PC has to stay usable for everything else you're doing. For that, my pick is a Threadripper workstation, which is AMD's workstation processor line, with two graphics cards.
If the model runs in the cloud, the computer you already have may do, as long as it has the memory and the threads for the tools you run alongside it. An always-on agent wants a small, low-power box. For several agents or a small team on one box, I'd go for two graphics cards with a lot of memory, because that's what I run.
What an agent asks of a computer that a chat doesn't
A chat is one prompt and one answer. An agent is a model that works in a loop: it decides, calls a tool, reads the result, and goes again until the task is done. That loop is what changes the computer you need.
Every step re-reads the whole conversation
Every time the agent goes round, the whole conversation so far is sent back to the model, tool results included. So the prompt the model has to read gets longer on each step of a task, and it has to fit inside the context window, which is the amount of text a model can read in one go. Reading a long prompt from scratch on every step would be slow. That's where prefix caching earns its keep. Prefix caching means the server keeps the work it did on a prompt it has already processed and reuses it when a new request starts with the same text. In vLLM, the inference server I run, it's a single flag, --enable-prefix-caching.
I've measured what it does on my own rig, which is two modded 48GB RTX 4090s running vLLM in Docker. Time to first token (TTFT) is the wait between sending a prompt and the first word coming back. On a 16k-token prompt, Qwen3-Coder-Next took 2.81 s to start answering cold and 0.17 s when the same prompt came round again. With the cache, repeat TTFT collapses, and it did the same on the other models I tested: gpt-oss-120b went from 2.818 s to 0.06 s, and a Qwen3.8 27B went from 5.293 s to 0.68 s. These are single runs on a prompt of about 16k tokens, so the difference is solid and the absolute numbers belong to this machine.
Memory on top of the model
A model keeps a KV cache, which is the memory it holds for the text it has already read, and it grows with the context. That memory sits on top of the model's weights, and vLLM manages it for every request it's serving. When there isn't enough of it to go round, vLLM preempts requests to free some up, which hurts latency.
Several agents at once
In Claude Code, each subagent runs in its own context window, and parallel sessions run as background agents. A server that handles several requests at the same time is batching them, sharing the card between them. On my rig, Qwen3-Coder-Next gave 101.6 tokens per second (tok/s) to one stream and 254.5 tok/s in total across four streams at once. gpt-oss-120b went from 151.2 to 351.1 tok/s, and the 27B from 33.5 to 119.9 tok/s. Both sets of measurements are in the chart above.
An agent that never stops
OpenClaw is a self-hosted gateway that connects your chat apps to AI coding agents. It runs as a single Gateway process on your own machine or a server, installed as a background service. That's a computer that stays on all day and all night.
And the machine runs the tools themselves. For me that's local environment hosting, plus an AI assistant running 10 to 30 Node processes, on the same PC I develop, test and deploy from.
So there are four things that decide the machine: how much memory the context needs, how quickly each tool call turns around, how many agents run at once, and whether it runs all day.
How much RAM do you need for AI agents?
It depends on where the model runs. If the model is in the cloud, not much. If the model runs on your own machine, the memory the model runs in comes first and system RAM comes second.
Claude Code's stated floor is 4 GB+ of RAM. For a local model, OpenClaw's managed recipes use a 64k context, and the smallest of them has an 8 GiB host-memory floor. Its docs say those floors don't guarantee fit or speed. Below a 16,384-token window, its automatic setup skips the model altogether.
How far you can go is set by the platform. An i9-14900K tops out at 192 GB on 2 memory channels. A Ryzen 9 9950X takes 256 GB, also on 2 channels. A TRX50 workstation board is 4-channel and takes up to 1TB, and WRX90 is 8-channel and takes up to 2TB.
| Platform | Most memory it takes | Memory channels |
|---|---|---|
| Intel Core i9-14900K | 192 GB | 2 |
| AMD Ryzen 9 9950X | 256 GB | 2 |
| AMD TRX50 (Threadripper 9000) | 1TB | 4 |
| AMD WRX90 (Threadripper PRO 9000 WX) | 2TB | 8 |
| Mac mini, M6 | 32GB unified | - |
| Mac mini, M5 Pro | 64GB unified | - |
| MSI PRO MAX EDGE AI+ | 128GB on the chip package | - |
The Mac mini works differently. It uses unified memory, which is one pool shared between the processor and the graphics chip, so the RAM you buy is also the memory the model runs in. A Mac mini with the M6 chip tops out at 32GB, the M5 Pro version goes up to 64GB, and the MSI box I tested takes a maximum of 128GB.
My own machine has 128GB of system RAM.
When the model runs in the cloud
If the model is remote, the requirements list is short. Claude Code needs macOS 13 or later, Windows 10 1809 or later, or one of the Linux versions it lists. On top of that it asks for 4 GB+ of RAM, an x64 or ARM64 processor and an internet connection. OpenClaw's own list is Node, with Node 26 recommended, and an API key from your provider. It can also reuse an existing Claude Code or Codex login in place of the key.
| Claude Code | OpenClaw | |
|---|---|---|
| Runs on | macOS 13+, Windows 10 1809+, listed Linux versions | macOS, Linux or Windows, as a background service |
| Memory | 4 GB+ RAM | no figure stated |
| Also needs | an internet connection, x64 or ARM64 | Node 26 (recommended), an API key or a Claude Code or Codex login |
Almost any recent computer clears that. But the list only tells you what the agent software needs to start. It doesn't tell you what the agent will do once it's running.
With the model somewhere else, your computer is still running the tools, the browsers, the local environment and every process the agent starts. That's the bit I'd look at. My own day is local environment hosting and an assistant running 10 to 30 Node processes, on the PC I'm also developing, testing and deploying from. That's heavy, multi-threaded work, and the PC has to stay usable for everything else I'm doing while it happens.
So for a cloud model the question is how many things the machine can do at the same time without slowing you down. That's why the next two sections go in different directions. One is a small box that stays on and does one job. The other is the PC you work on all day, with agents working alongside you. From here the detail gets heavier, so if you only wanted the answer, skip to what I'd buy.
An always-on agent box: mini PC or Mac mini

MSI lent me a PRO MAX EDGE AI+, and I used it to run trayd, an agent workflow I forked from NVIDIA's signal-discovery blueprint. The test was simple: I left it running unattended for days to see what we could do.
I had one reason for doing it on a small box: the point was to build something I could leave running on a good model with very little power. It would cost a fortune in power on a full GPU rig.

The whole box drew 100 to 115 W at the wall during research, and 118.5 W flat out. The two GPU boards in my rig alone averaged about 328 W on gpt-oss-120b, before you count the rest of the PC.
The MSI is built around AMD's Ryzen AI Max+ 395. Its memory is LPDDR5X-8000 on the chip package, up to a maximum of 128GB, on a 256-bit LPDDR5x bus. It's a 4 litre case with a 300W power supply. The unit MSI lent me had the full 128GB.

The Mac mini is the other small box in this class, and what follows comes from Apple's spec page and OpenClaw's docs. On 29 November 2026 the Mac mini comes with either the M6 or the M5 Pro chip. The M6 starts at 16GB with 153GB/s of memory bandwidth, and can be configured to 24GB or 32GB at 170GB/s. The M5 Pro starts at 24GB, goes to 48GB or 64GB, and has 307GB/s. Apple lists the maximum continuous power at 155W. That's a ceiling from a spec sheet and my MSI figures are readings at the wall, so the two aren't a like-for-like comparison.
OpenClaw installs as a background service on all three systems: a LaunchAgent on macOS, a systemd unit on Linux, or a Scheduled Task on Windows. It can install and manage a local model itself through llama.cpp, or leave the model to LM Studio or Ollama. It will also talk to any server with an OpenAI-style endpoint, vLLM included. Its docs carry one warning: local models don't come with the safety filters a hosted provider gives you.

NVIDIA's DGX Spark sits in the same class. It has 128 GB of unified memory at 273 GB/s, and its GB10 chip has a TDP of 140W.
What they share is the shape of the job: one box with a large pool of memory for a good model, drawing little power and left alone. If you want an agent that's still working when you come back on Monday, that's where I'd look.
A workstation for building and running agents
If the agents run on your main development PC, a workstation is a different class of machine from a desktop PC. And an enterprise workstation isn't the same as the cheap Lenovo boxes and laptops.
The key thing to look for (and this is where the definition of workstation and desktop PC really differ) is heavy, multiple thread tasks while remaining a useful day to day work PC.

For local environment hosting alone, it helps to have many more threads than even an i9-14900K gives you. Threadripper is AMD's workstation CPU line. I don't run a current one, so these are AMD's and Intel's numbers, read against the Threadripper machine I used to own.
The i9-14900K has 24 cores, 8 performance and 16 efficiency, and 32 threads. The Threadripper 9960X also has 24 cores, but it runs 48 threads. The 9970X has 32 cores and 64 threads, and the 9980X has 64 cores and 128 threads. The Threadripper PRO 9995WX has 96 cores and 192 threads. If your day is 10 to 30 Node processes, a local environment and a model server, that's the gap you feel.
| Processor | Cores | Threads | PCIe lanes |
|---|---|---|---|
| Intel Core i9-14900K | 24 (8 P + 16 E) | 32 | 20 |
| AMD Ryzen 9 9950X | 16 | 32 | 24 usable |
| AMD Threadripper 9960X | 24 | 48 | 88 usable |
| AMD Threadripper 9970X | 32 | 64 | 88 usable |
| AMD Threadripper 9980X | 64 | 128 | 88 usable |
| AMD Threadripper PRO 9995WX | 96 | 192 | 144 usable |
The second gap is PCIe lanes. A lane is one data path between the processor and a card. Slot width is how many lanes a slot gets, so an x16 slot has sixteen, an x8 slot has eight and an x4 slot has four. The i9-14900K has 20 lanes, which it can split as one x16 slot plus four, or two x8 slots plus four. A Ryzen 9 9950X has 28 lanes, 24 of them usable.
Threadripper 9000 runs on TRX50, which is the motherboard platform for it. It has 92 lanes with 88 usable, and up to 80 of those are PCIe 5.0. The PRO 9000 WX chips on WRX90, the bigger platform, have 148 lanes with 144 usable and up to 128 at PCIe 5.0.

I can show you what that means on a board, because mine is the wrong one. My rig is built on an MSI Z790 Gaming Plus WiFi, a consumer desktop board. Only its first slot is fed by the CPU at x16, and the others come from the chipset. So my second card runs at x4, which means it gets a quarter of the lanes the first one does. It's a performance compromise for ML work and model load, and inference is far less affected. A TRX50 board such as the ASUS Pro WS TRX50-SAGE WIFI has two PCIe 5.0 x16 slots, a third that runs in x8 mode, and two PCIe 4.0 slots besides. Two cards, both at full width.

If you'd rather buy one built, Lenovo's ThinkStation P8 is the kind of machine I mean. From Lenovo's spec sheet, it takes one Threadripper PRO 9000 or 7000 WX processor with up to 96 cores. It takes up to 1TB of memory on 8 channels, has seven PCIe slots, and a 1000W or 1400W power supply. It also takes up to three RTX PRO 6000 Blackwell Max-Q cards.
I did once build a Threadripper machine and get it wrong, which is in the mistakes section further down.
Several agents on one box
This is what my rig does all day. It's the two modded 48GB RTX 4090s, 96GB of VRAM between them, with vLLM in Docker. A stock RTX 4090 has 24 GB. The way I use it is that Claude orchestrates; local models execute. Claude scopes the work, the fleet builds and evaluates it, and Claude assembles the result.
One slot is always on. It's a Qwen3.8 27B on one card, set to serve up to 8 sequences at a 32k context. The context length is vLLM's --max-model-len setting, which covers the prompt and the output together. Eight agents can call that one model at the same time.
That works because of how vLLM serves requests. It manages the attention memory with something it calls PagedAttention, and it batches incoming requests continuously. The limit is the KV cache, and when that runs out vLLM preempts requests to make room. So the more VRAM you have left over after the weights, the more agents the box can carry. It's why four streams on my rig got far more total output than one, as in the chart near the top: 101.6 tok/s for one stream on Qwen3-Coder-Next against 254.5 tok/s across four.

Two cards also let you use tensor parallelism. Tensor parallelism splits one model across both cards so they work on it together. In vLLM it's the --tensor-parallel-size setting, and the default is 1. My second card is on the x4 slot, and it still took a 27B from 34.4 to 48.9 tok/s (+42%). It loads faster that way too, because both cards pull their shards of the model in parallel. vLLM handles tensor parallelism well for me.

The card that puts all of this in one slot is NVIDIA's RTX PRO 6000. It has 96 GB, which is what I have across two consumer cards, with 1792 GB/sec of memory bandwidth and a maximum power draw of 600W. The ThinkStation P8 takes up to three of the 300W Max-Q version. I don't own one, so the numbers are NVIDIA's and Lenovo's. My GPU guide goes through the cards one by one.
What I'd buy
For agents on a cloud model
If your agents run on a cloud model, I'd start with the computer you already have. Claude Code's floor is 4 GB+ of RAM, so the model isn't the constraint. The constraint is whether the machine has the memory and the threads for the tools you run alongside it. If it stays quick while the agent works, you're done.
For an always-on agent
For an always-on agent, I'd buy a small low-power box. The one I've tested is the MSI PRO MAX EDGE AI+, which ran my agent workflow for days at 100 to 115 W at the wall. That was the whole point of it. If you want OpenClaw on a Mac, the Mac mini is the alternative, with the M6 or the M5 Pro chip and up to 64GB of unified memory on the M5 Pro.
For building and running agents on your main PC
For building and running agents all day on your main PC, my pick is a Threadripper 9000 workstation on TRX50 with two GPUs. That gets you 48 threads on the 9960X and 88 usable lanes, which is enough for two cards at full width, and the PC stays usable while everything runs. It's what I'd build if I were starting again today.
For several agents or a small team
For several agents or a small team on one box, I'd go for two big-VRAM cards under vLLM, because that's what I run. One always-on model serves up to 8 sequences at a 32k context on a single card. And splitting a model across the pair took it from 34.4 to 48.9 tok/s (+42%).
Mistakes I've made buying for this
Many small cards on one Threadripper box
My first serious machine for this was a Threadripper PRO 5995WX on an ASUS Pro WS WRX80E-SAGE, which I sold in July 2026. Every slot on that board was x16, so I filled it with lots of cheap RTX 4000 and 4500 Ada cards. It had a lot of VRAM, and it still ran very slowly. So the sweet spot is to get the maximum possible VRAM you can afford in as few cards as possible that require the least power.
Blaming the x4 slot for slow model loads
On the current rig my second card sits on an x4 slot, and model loads were slow. So, I thought: it's the slot. That was the hypothesis at least. It was mostly wrong. When I measured it, the filesystem was the main bottleneck. The model store was on a Windows bind mount, and moving it to an ext4 Docker volume cut gpt-oss-120b's load time from 1334 s to 164 s, on the same x4 link. The x4 link is still a compromise for model load. It's a smaller, real second factor. Measure before you blame the hardware.
Where to go from here
Pick the job first, then read the next thing. If you want to choose an actual machine, my PCs guide has the full list and a PC Finder that narrows it down for you. If you've decided on cards, the GPU guide covers which ones to buy and why VRAM comes first. For the small always-on boxes, there's a guide to mini PCs and the DGX Spark, and my full review of the MSI box I tested. The trayd write-up shows what I ran on it and how it was built. And if you're still working out what an agent is and whether you need one, start with the explainer on what AI agents are.
Continue reading.
- Buyer's GuidesEnterprise GPUs for AI: Which Pro Card to Buy
- Local AIA Self-Hosted AI Share Trading Agent: Built With Claude, Run Locally for Free
- Local AIMSI PRO MAX EDGE AI+ review: local LLMs vs two 4090s
- MCPA WebMCP Chatbot That Drives the Website
- MCPWebMCP Explained: The Agent-Ready Web
- AI at WorkAI isn't taking the jobs, it's taking the boring bits