Agents / WORKFLOW

Build a local AI agent with Qwen4-35B-A3B

Pull Qwen’s Qwen4-35B-A3B with Ollama on Windows, Mac or Linux, connect Hermes Desktop or the Hermes terminal agent with Ollama’s launcher, and have it read and write files with your approval.

Verified sourceSource checked 12/4/2026
LOCAL
Freshness 99 out of 100. Release age: 2 days old, Dec 4, 2026. Measures age, not quality.
Popularity 70 out of 100. 63,617 downloads in 30 days; 4,797 lifetime likes. Checked Dec 5, 2026. Measures adoption, not quality.
Arena Open Source Agents: rank 10 of 27. Ranked model: Qwen4-35B-A3B. Original model ranking, not a benchmark of this package. Export dated Dec 4, 2026. Source checked Dec 5, 2026. Human preference ranking, not hardware suitability.
Category rankings & sources

Each position belongs to a separate Arena category. These are human preference rankings—not hardware recommendations. We do not combine the categories into one score.

Agents#10of 27 open models
Qwen4-35B-A3BalibabaLicense: Apache 2.0

Original model ranking. This does not benchmark the selected quantization or package.

Export dated Dec 4, 2026Checked: Dec 5, 2026Overall board: #46
View official Agents board
Web coding#19of 66 open models
Qwen4-35B-A3BalibabaLicense: Apache 2.0

Original model ranking. This does not benchmark the selected quantization or package.

Export dated Dec 4, 2026Checked: Dec 5, 2026Overall board: #56
View official Web coding board

Rankings reflect the dated export; live Arena boards can change. Open-source positions use Arena’s open-model filter. The overall position also includes the other models on that category board. Availability of weights and license terms still need to be checked separately.

What do these scores mean?

Two ways to compare models. Neither score measures answer quality, benchmark performance, or whether a model fits your machine.

Freshness · release age

A new release starts at 100. The score halves every 180 days: 100 × 2^(−age in days / 180). When the release date is unavailable, a repository date is a fallback—not proof of when the model was released. Missing dates stay unscored.

Check the date source
Popularity · adoption

Downloads over the past 30 days carry 80% of the score; lifetime likes carry 20%. Both use a logarithmic scale, capped at 10 million downloads and 100,000 likes. If likes are unavailable, downloads carry all the weight. Missing download statistics stay unscored.

round(80 × min(1, log10(1 + downloads) / 7) + 20 × min(1, log10(1 + likes) / 5))

Check the statistics source
Scores as of Dec 6, 2026. Statistics checked Dec 5, 2026. Statistics are marked for refresh after 72 hours.Full scoring method

Before you begin

Hardware

Estimated from the published file sizes plus runtime and context headroom. Qwen4-35B-A3B is a mixture-of-experts model that uses about 3B of its parameters per token, so Ollama can keep part of it in system RAM at a smaller speed cost than a dense model of the same size. Not measured by YouRunAI.

MachineQwen4-35B-A3B · Q4_K_M (Ollama library)Qwen4-35B-A3B · BF16 full precision (Ollama library)
Apple Silicon · 32 GB unified memoryToo tight: the file alone is 37 GB. Use the uncensored IQ2_XXS build, or llama.cpp (see the model page)Too tight
Apple Silicon · 48 GB unified memoryFits at the starting context; close other appsToo tight
Apple Silicon · 64–96 GBRecommended Mac start, with room for longer contextToo tight: the file alone is 114 GB
Apple Silicon · 128 GBComfortableFits; close other apps
Apple Silicon · 192 GB or moreComfortableComfortable
NVIDIA · 16 GB VRAM + 64 GB RAMRuns with most of the model in system RAM; noticeably slowerNot recommended
NVIDIA RTX 4090 · 24 GB VRAM + 32 GB RAMRuns with part of the model in system RAM; slowerNot recommended
NVIDIA RTX 5090 · 32 GB VRAM + 32 GB RAMRecommended PC start; a small part stays in system RAMNeeds 128 GB of system RAM; very slow
NVIDIA · 48 GB VRAM or moreFits fully on the GPUNeeds 96 GB of system RAM; slow
NVIDIA · 2× 80 GB (A100/H100)Fits easilyFits fully on the GPUs
AMD Radeon · 24 GB VRAM + 32 GB RAMRuns on supported ROCm cards with part of the model in system RAMNot recommended
CPU only · 64 GB RAMLoads and answers, but slowly; short tasks onlyToo tight

Ollama’s library has no 6-bit or 8-bit Qwen 4 build, so the step up from Q4_K_M is the full BF16 model. Qwen also publishes an FP8 checkpoint for vLLM and SGLang, and Ollama lists an MLX NVFP4 tag for Macs. ggml-org publishes Q4_K_M, Q6_K and Q8_0 GGUFs for llama.cpp, whose lazy loading keeps the 20B n-gram table on disk and so needs less memory; that route is on the model page.

LOCAL AGENT · HERMES · WINDOWS · MAC · LINUXSOURCE-LINKED SETUP

Build a local AI agent with Qwen4-35B-A3B

Pull Qwen 4 with Ollama and let Ollama’s launcher connect Hermes Desktop (Windows and Mac) or the Hermes terminal agent. Then have the agent create, read and write real files while you approve each action.

Choose a package Run its commands Check the result
01
BEFORE YOU BEGIN

Choose your package

Select the weights you want. The instructions, downloads and settings change with your choice.

The publisher has not provided a complete memory target for this task. Check its hardware guidance before starting.

CURRENT SETUP

Qwen4-35B-A3B · Q4_K_M (Ollama library) · official

Start at 65,536 tokens for this Hermes agent setup. The 37 GB file is only the weights; the runtime and context add more. A 64 GB Mac is comfortable and a 48 GB Mac is the practical minimum. On a PC, a 24 or 32 GB GPU with 32 GB or more of system RAM works with part of the model in system RAM: Qwen 4 uses only about 3B parameters per token, so that costs less speed than it would with a dense model. Longer context needs more memory, so lower Ollama’s context first if you run out. Estimate, not a YouRunAI measurement.

Freshness 99 out of 100. Release age: 2 days old, Dec 4, 2026. Measures age, not quality.
Popularity 70 out of 100. 63,617 downloads in 30 days; 4,797 lifetime likes. Checked Dec 5, 2026. Measures adoption, not quality.
Arena Open Source Agents: rank 10 of 27. Ranked model: Qwen4-35B-A3B. Original model ranking, not a benchmark of this package. Export dated Dec 4, 2026. Source checked Dec 5, 2026. Human preference ranking, not hardware suitability.
Category rankings & sources

Each position belongs to a separate Arena category. These are human preference rankings—not hardware recommendations. We do not combine the categories into one score.

Agents#10of 27 open models
Qwen4-35B-A3BalibabaLicense: Apache 2.0

Original model ranking. This does not benchmark the selected quantization or package.

Export dated Dec 4, 2026Checked: Dec 5, 2026Overall board: #46
View official Agents board
Web coding#19of 66 open models
Qwen4-35B-A3BalibabaLicense: Apache 2.0

Original model ranking. This does not benchmark the selected quantization or package.

Export dated Dec 4, 2026Checked: Dec 5, 2026Overall board: #56
View official Web coding board

Rankings reflect the dated export; live Arena boards can change. Open-source positions use Arena’s open-model filter. The overall position also includes the other models on that category board. Availability of weights and license terms still need to be checked separately.

What do these scores mean?

Two ways to compare models. Neither score measures answer quality, benchmark performance, or whether a model fits your machine.

Freshness · release age

A new release starts at 100. The score halves every 180 days: 100 × 2^(−age in days / 180). When the release date is unavailable, a repository date is a fallback—not proof of when the model was released. Missing dates stay unscored.

Check the date source
Popularity · adoption

Downloads over the past 30 days carry 80% of the score; lifetime likes carry 20%. Both use a logarithmic scale, capped at 10 million downloads and 100,000 likes. If likes are unavailable, downloads carry all the weight. Missing download statistics stay unscored.

round(80 × min(1, log10(1 + downloads) / 7) + 20 × min(1, log10(1 + likes) / 5))

Check the statistics source
Scores as of Dec 6, 2026. Statistics checked Dec 5, 2026. Statistics are marked for refresh after 72 hours.Full scoring method
View weight source
02
THE WORKFLOW

Set up Qwen4-35B-A3B · Q4_K_M (Ollama library) on your machine

Choose where you want to run it. The instructions below update to match your selection.

CHOOSE YOUR SETUPWindows
01

Install or update Ollama

Download and run OllamaSetup.exe from ollama.com/download, or paste the first line into PowerShell. Ollama starts in the background and adds an icon to the taskbar. Qwen 4 needs Ollama 0.40.21 or newer, released with the model on December 4, 2026. If you already have Ollama, update it (choose Check for Updates or Restart to update from its taskbar icon), then check the version with the last command. If the regular download is still older, install 0.40.21 from Ollama’s releases page.

Download Ollama Ollama releases
PowerShell
irm https://ollama.com/install.ps1 | iex
ollama --version
02

Set Ollama’s context to 64k

Hermes needs a long context (it documents a 64K minimum for local models), and Ollama starts most models with a much shorter one. Open Ollama’s Settings from its taskbar icon and move the Context length slider to 64k. That is the only setting you change. Qwen 4 supports up to 1M tokens, but a longer context needs much more memory.

Ollama context length
03

Download Qwen4-35B-A3B

In PowerShell, run this to download Qwen’s model from Ollama’s own library (the 37 GB 4-bit Q4_K_M build, tagged for vision, tools and thinking). It is a large download, so give it time; if it is interrupted, run the same command again and it resumes. The second command lists the model once it has finished.

Qwen 4 in Ollama’s library
PowerShell
ollama pull qwen4
ollama list
04

Connect the Hermes Desktop app

Hermes Desktop is Nous Research’s free app for Hermes, with a chat window, file browser and tool output, so you do not need the terminal. Run this command: Ollama installs Hermes Desktop if you do not have it, connects it to Qwen4-35B-A3B and opens the app. You can also download the app first from the Hermes Desktop page (Windows 10 or 11). The app uses the model you launch it with: to switch to another model later, run the same command with that model’s name. If the model is not listed in the app, run ollama list to check that the download finished.

Download Hermes Desktop Ollama’s Hermes Desktop integration Hermes Desktop guide
PowerShell
ollama launch hermes-desktop --model qwen4
05

Or connect Hermes in the terminal

Prefer the terminal? Run this instead. It installs the Hermes command-line agent if needed, connects it to Ollama’s local OpenAI-compatible address (http://127.0.0.1:11434/v1) and opens a Hermes chat in this window; it shares settings, sessions and memory with the desktop app. Skip the optional messaging setup. If you see “Hermes Gateway Starting…” instead of a chat, press Ctrl+C and run hermes.

Ollama’s Hermes integration Hermes Agent installation (manual option)
PowerShell
ollama launch hermes --model qwen4
06

Give Hermes a test task

In the Hermes chat (the desktop app or the terminal), paste the task below. It has Hermes create a notes file, read it back and write a review, so you can see it use real file tools. Hermes asks before each file action; read each request and approve it. Keep these approvals on: the model proposes actions, and you decide what runs.

SettingValue
Task to paste into HermesCreate a folder named agent-test. Inside it, write notes.md saying: launch day is Thursday 14 May, the owner is Priya, and the database migration runs at 09:00 before the app deploy. Then read notes.md and write review.md with a numbered launch checklist that adds a verified database backup before the migration, plus one sentence on the risk of skipping it.
Hermes approvals and security
07

Check the result

Open the agent-test folder. review.md should name Thursday 14 May and Priya and put a backup step before the migration. If both files exist, the agent is reading and writing files on your computer; an answer only in the chat window is not a completed agent run. Next time, open the Hermes Desktop app, or run hermes in a terminal (type /exit to leave); nothing is downloaded twice.

03
SUCCESS CHECK · Qwen4-35B-A3B · Q4_K_M (Ollama library)

An agent-written review you can check

review.md names the launch day and owner, adds a verified backup before the migration, and Hermes’ activity shows real file actions that you approved.

Ollama’s own launch post names Hermes Agent as a supported harness for Qwen 4 (ollama launch hermes --model qwen4). Qwen’s card notes that lower reasoning effort can make multi-turn agent tasks slower overall, so this guide keeps the default. Sources checked December 4, 2026, the day Qwen4-35B-A3B was released; runtime support is brand new and still changing. YouRunAI has not run this exact setup, and hardware ratings are estimates.

Back to setup steps

When it doesn’t go to plan

Hermes connects but never reads or writes the files.

Run ollama ps while Hermes is working: the CONTEXT column should say 65536. If it is lower, the context setting did not apply; set it again and restart Ollama. A chat-only answer is not a passing run.

ollama pull fails, or Ollama says the model needs a newer version or does not recognise its architecture.

Update Ollama to 0.40.21 or newer (from its menu-bar or taskbar icon, by running the Linux install command again, or from the releases page), restart it, and run the command again. ollama pull resumes an interrupted download.

The model is very slow, or Ollama runs out of memory.

Close other apps that use the GPU or memory and move Ollama’s context down one step. Run ollama ps while it works: the PROCESSOR column shows how much of the model is on the GPU. On a 32 GB Mac or a 24 GB GPU, try a smaller package.

A reply spends a long time thinking before it starts.

Qwen 4 thinks before answering by default (reasoning effort high). That is expected on harder tasks; give it time, or break the task into smaller steps. Do not set the temperature to 0: Qwen’s and dealignai’s cards both warn that greedy decoding can make thinking mode repeat itself.

Hermes installs but hermes is not found.

Close and reopen the terminal. Follow any PATH or dependency message the installer printed.

REFERENCE LIBRARY

Sources and files

Original instructions, model files, and compatibility notes behind this setup.

9 SOURCES

The model behind this workflow

Qwen4-35B-A3B

Keep exploring

Text
SETUP GUIDE

Qwen3.5 · 9B private chat setup

Source-backed package and platform-route plan for private local chat with Qwen3.5 · 9B. Preserves the official Ollama 9B package, a smaller 4B family fallback, and a clearly labeled community uncensored GGUF option.

Freshness 34 out of 100. Release age: 282 days old, Feb 27, 2026. Measures age, not quality.
Popularity 90 out of 100. 5,206,593 downloads in 30 days; 2,404 lifetime likes. Checked Dec 5, 2026. Measures adoption, not quality.
SOFTWAREOllama
Coding
SETUP GUIDE

Build a private coding assistant with Qwen3.8 27B

Run Qwen3.8 27B with Ollama, connect it to Cline in VS Code, and make one reviewable code change in a tiny local project.

Freshness 62 out of 100. Repository age: 123 days old, Aug 5, 2026. Measures age, not quality.
Popularity 93 out of 100. 4,375,122 downloads in 30 days; 21,000 lifetime likes. Checked Dec 5, 2026. Measures adoption, not quality.
Arena Open Source Web coding: rank 14 of 66. Ranked model: Qwen3.8-27B. Original model ranking, not a benchmark of this package. Export dated Dec 4, 2026. Source checked Dec 5, 2026. Human preference ranking, not hardware suitability.+3
SOFTWAREOllama + Visual Studio Code + Cline + Python
Images
SETUP GUIDE

Create images locally with FLUX.2 Klein

Generate images from text prompts in ComfyUI with the fast distilled or more adjustable base 4B model. Save your results and reuse the visual workflow.

Freshness 29 out of 100. Release age: 325 days old, Jan 15, 2026. Measures age, not quality.
Popularity 77 out of 100. 464,662 downloads in 30 days; 1,168 lifetime likes. Checked Dec 5, 2026. Measures adoption, not quality.
SOFTWAREComfyUI