Workflows/Build a local AI agent with Qwen4-35B-A3B
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.99/ 100Freshness2 days oldRelease age · Dec 4, 2026
Popularity 70 out of 100. 63,617 downloads in 30 days; 4,797 lifetime likes. Checked Dec 5, 2026. Measures adoption, not quality.70/ 100Popularity63.6K downloads / 30d4.8K lifetime likes · Checked Dec 5, 2026
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.#10Arena · Open SourceAgentsof 27 open modelsOriginal model rankingQwen4-35B-A3BExport dated Dec 4, 2026Source checked Dec 5, 2026
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
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.
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.
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.
Machine
Qwen4-35B-A3B · Q4_K_M (Ollama library)
Qwen4-35B-A3B · BF16 full precision (Ollama library)
Apple Silicon · 32 GB unified memory
Too 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 memory
Fits at the starting context; close other apps
Too tight
Apple Silicon · 64–96 GB
Recommended Mac start, with room for longer context
Too tight: the file alone is 114 GB
Apple Silicon · 128 GB
Comfortable
Fits; close other apps
Apple Silicon · 192 GB or more
Comfortable
Comfortable
NVIDIA · 16 GB VRAM + 64 GB RAM
Runs with most of the model in system RAM; noticeably slower
Not recommended
NVIDIA RTX 4090 · 24 GB VRAM + 32 GB RAM
Runs with part of the model in system RAM; slower
Not recommended
NVIDIA RTX 5090 · 32 GB VRAM + 32 GB RAM
Recommended PC start; a small part stays in system RAM
Needs 128 GB of system RAM; very slow
NVIDIA · 48 GB VRAM or more
Fits fully on the GPU
Needs 96 GB of system RAM; slow
NVIDIA · 2× 80 GB (A100/H100)
Fits easily
Fits fully on the GPUs
AMD Radeon · 24 GB VRAM + 32 GB RAM
Runs on supported ROCm cards with part of the model in system RAM
Not recommended
CPU only · 64 GB RAM
Loads and answers, but slowly; short tasks only
Too 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.99/ 100Freshness2 days oldRelease age · Dec 4, 2026
Popularity 70 out of 100. 63,617 downloads in 30 days; 4,797 lifetime likes. Checked Dec 5, 2026. Measures adoption, not quality.70/ 100Popularity63.6K downloads / 30d4.8K lifetime likes · Checked Dec 5, 2026
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.#10Arena · Open SourceAgentsof 27 open modelsOriginal model rankingQwen4-35B-A3BExport dated Dec 4, 2026Source checked Dec 5, 2026
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
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.
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.
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.
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.
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.
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.
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.
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.
Setting
Value
Task to paste into Hermes
Create 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.
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.
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.
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.