alt.freeweights.qwen / Qwen-AgentWorld-35B-A3B
From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject:

Qwen-AgentWorld-35B-A3B

Date: 2026-11-14Commit: 60d2b04Signed: 2DC28CC7B26A283B ✓

Text generation model with 34.7B parameters. Safetensors weights, 69.3 GB in all. Published by Qwen under Apache-2.0.

34.7B params69.3GBQwen-AgentWorld-35B-A3Bsafetensorspermissive
FactsParams34.7BSize69.3 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen-AgentWorld-35B-A3B
# manifest sha256 a9c875aec4e9… · 69.3 GB · 35 files
$ fw verify ./Qwen-AgentWorld-35B-A3B Qwen/Qwen-AgentWorld-35B-A3B
From sourceHosted (signed)Qwen/Qwen-AgentWorld-35B-A3BLast check: 2026-11-14 06:30 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of Qwen3.5-35B-A3B-Base.

Works with

Overview

Size
69.3 GB
Weights
69.3 GB (safetensors)
Parameters
34.7B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
35, each with a sha256
Publisher
Qwen
Added
2026-11-14
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen3.5-35B-A3B-Base

Where these bytes come from
Publisher at the pinned commitโ†’You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 06:30 UTCpassed

Model card

From the publisher at commit 60d2b04. Shown as plain text with links; images open at the publisher.

Qwen-AgentWorld-35B-A3B#

Image: image

๐Ÿ“‘ Technical Report | ๐Ÿ“– Blog | ๐Ÿค— Hugging Face | ๐Ÿค– ModelScope | ๐Ÿ’ป GitHub | ๐Ÿ–ฅ๏ธ Demo

Note. This repository contains the model weights and configuration files for Qwen-AgentWorld-35B-A3B, a native language world model trained for agentic environment simulation.

These artifacts are compatible with Hugging Face Transformers, vLLM, SGLang, etc.

Qwen-AgentWorld is the first language world model to cover seven agent interaction domains within a single model. It simulates agentic environments via long chain-of-thought reasoning, predicting the next environment state given an agent's action and interaction history. Trained through a three-stage pipeline โ€” CPT injects environment knowledge, SFT activates next-state-prediction reasoning, RL sharpens simulation fidelity โ€” Qwen-AgentWorld is a native world model: environment modeling is the training objective from the CPT stage onward, not a post-hoc add-on.

Highlights#

  • Seven Unified Domains. A single model covers MCP (tool calling), Search, Terminal, SWE (software engineering), Android, Web, and OS โ€” spanning both text and GUI interaction environments.
  • Native World Model. Environment modeling from CPT onward, not post-hoc adaptation on a general-purpose LLM.
  • Generalizable, Scalable & Controllable Simulator. Zero-shot generalization to OOD environments (e.g., OpenClaw); controllable perturbations and fictional-world construction surpass real-environment training.
  • Agent Foundation Model. LWM RL warm-up on single-turn, non-agentic trajectories transfers to multi-turn, tool-calling agentic tasks across 7 benchmarks, including 3 entirely out-of-domain.

Model Overview#

  • Type: Causal Language Model (Language World Model)
  • Base Model: Qwen3.5-35B-A3B-Base
  • Training Stage: Continual Pre-Training (CPT) โ†’ Supervised Fine-Tuning (SFT) โ†’ Reinforcement Learning (RL, GSPO)
  • Number of Parameters: 35B in total and 3B activated
  • Hidden Dimension: 2048
  • Token Embedding: 248320 (Padded)
  • Number of Layers: 40
  • Hidden Layout: 10 ร— (3 ร— (Gated DeltaNet โ†’ MoE) โ†’ 1 ร— (Gated Attention โ†’ MoE))
  • Gated DeltaNet:
    • Number of Linear Attention Heads: 32 for V and 16 for QK
    • Head Dimension: 128
  • Gated Attention:
    • Number of Attention Heads: 16 for Q and 2 for KV
    • Head Dimension: 256
    • Rotary Position Embedding Dimension: 64
  • Mixture Of Experts
    • Number of Experts: 256
    • Number of Activated Experts: 8 Routed + 1 Shared
    • Expert Intermediate Dimension: 512
  • Context Length: 262,144 tokens
  • Disclaimer: No outputs from external API services are included in the training pipeline.

Performance#

AgentWorldBench (Open-Ended Evaluation)#

Five-dimensional rubric mean per domain, normalized to 0-100 scale.

ModelMCPSearchTerm.SWEAndroidWebOSOverall
GPT-5.470.1037.2653.6966.2960.0051.8068.5858.25
Claude Opus 4.854.9335.1459.1864.1061.5054.6666.6256.59
Claude Opus 4.669.9029.3057.5164.5561.7451.4270.2057.80
Gemini 3.1 Pro59.0730.2152.4759.0761.4052.8366.9254.57
Claude Sonnet 4.670.0028.7956.9864.5258.0350.7863.1756.04
DeepSeek-V4-Pro63.2727.6151.2659.4455.1750.3263.7052.97
GLM-5.167.6022.4647.3252.0759.1051.5059.1351.31
Kimi K2.665.2327.4852.5458.7758.9350.2060.8053.42
MiniMax-M2.755.8227.3041.6237.4452.4050.5257.7346.12
Qwen3.5-35B-A3B57.8725.9846.1347.5853.1847.1056.2747.73
Qwen3.5-397B-A17B68.3130.8155.3064.4454.9048.5560.8554.74
Qwen3.6-Plus55.2821.9450.5859.0857.6550.7860.3350.81
Qwen-AgentWorld-35B-A3B64.7936.6953.9665.6358.1749.5565.9256.39
Qwen-AgentWorld-397B-A17B68.2437.8257.7368.4960.2050.9867.8958.71

Quickstart#

Deployment#

Qwen-AgentWorld-35B-A3B can be served via APIs with popular inference frameworks. In the following, we show example commands to launch OpenAI-compatible API servers.

Important. The model has a default context length of 262,144 tokens. If you encounter out-of-memory (OOM) errors, consider reducing the context window. However, because Qwen-AgentWorld leverages extended context for multi-turn environment simulation, we advise maintaining a context length of at least 128K tokens.

SGLang#

SGLang is a fast serving framework for large language models.

python -m sglang.launch_server \
    --model-path Qwen/Qwen-AgentWorld-35B-A3B \
    --port 8000 \
    --tp-size 4 \
    --context-length 262144 \
    --reasoning-parser qwen3

An OpenAI-compatible API will be available at http://localhost:8000/v1.

vLLM#

vLLM is a high-throughput and memory-efficient inference engine for LLMs.

vllm serve Qwen/Qwen-AgentWorld-35B-A3B \
    --port 8000 \
    --tensor-parallel-size 4 \
    --max-model-len 262144 \
    --reasoning-parser qwen3 \
    --language-model-only \ 
    --trust-remote-code

The --language-model-only flag is required because the model architecture includes visual component definitions but the checkpoint only contains language model weights. Without this flag, vLLM will attempt to initialize visual modules and fail.

An OpenAI-compatible API will be available at http://localhost:8000/v1.

Inference with Transformers#
from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/Qwen-AgentWorld-35B-A3B"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto",
)

messages = [
    {
        "role": "system",
        "content": "You are a language world model simulating a Linux terminal environment. "
                   "Given the user's command, predict the terminal output."
    },
    {
        "role": "user",
        "content": "Action: execute_bash\nCommand: ls -la /home/user/project/"
    }
]

text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=2048, temperature=0.6)
response = tokenizer.decode(outputs[0][inputs.input_ids.shape[-1]:], skip_special_tokens=True)
print(response)
Using via the Chat Completions API#
from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:8000/v1",
    api_key="EMPTY",
)

# Terminal domain example
messages = [
    {
        "role": "system",
        "content": "You are a language world model simulating a Linux terminal environment. "
                   "Given the user's command, predict the terminal output."
    },
    {
        "role": "user",
        "content": "Action: execute_bash\nCommand: ls -la /home/user/project/"
    }
]

response = client.chat.completions.create(
    model="Qwen/Qwen-AgentWorld-35B-A3B",
    messages=messages,
    max_tokens=32768,
    temperature=0.6,
)
print(response.choices[0].message.content)

Note. We provide domain-specific world model system prompt templates in prompts/ of the GitHub repository for all 7 domains. These serve as general-purpose system prompts when using Qwen-AgentWorld as an environment simulator. Each domain folder contains a system_prompt.txt (world model system prompt) and a judge_system_prompt.txt (evaluation prompt).

Evaluate on AgentWorldBench#

AgentWorldBench evaluates language world models by scoring each predicted environment observation on 5 dimensions: Format, Factuality, Consistency, Realism, and Quality.

Setup#
# Clone the evaluation repository
git clone https://github.com/QwenLM/Qwen-AgentWorld.git
cd Qwen-AgentWorld

# Download the benchmark
huggingface-cli download Qwen/AgentWorldBench --repo-type dataset --local-dir ./AgentWorldBench

# Install dependencies
pip install openai
Run Evaluation#

The evaluation follows a three-step pipeline:

cd eval

# Step 1: Run world model inference
python eval.py infer \
    --data-dir ../AgentWorldBench \
    --model-base-url http://localhost:8000/v1 \
    --model-name Qwen/Qwen-AgentWorld-35B-A3B \
    --output-dir ./results

# Step 2: Run LLM judge scoring
export OPENAI_API_KEY="your-api-key"
python eval.py judge \
    --predictions ./results/predictions.jsonl \
    --judge-base-url https://api.openai.com/v1 \
    --judge-model gpt-5.2-2025-12-11 \
    --output-dir ./results

# Step 3: Aggregate and display scores
python eval.py score --predictions ./results/judged.jsonl

Best Practices#

  1. Sampling Parameters: We recommend temperature=0.6, top_p=0.95, top_k=20 for world model inference. The model uses thinking mode by default (<think>...</think>) to reason about environment state transitions before producing the predicted observation.
  2. Adequate Output Length: We recommend an output length of 32,768 tokens for most queries. For long, multi-step trajectories, you may increase the max output length to accommodate detailed environment observations.
  3. Domain-Specific System Prompts: For optimal simulation fidelity, use the domain-specific system prompts provided in the prompts/ directory of the GitHub repository.

Citation#

If you find our work helpful, feel free to give us a cite.

@article{zuo2026qwen,
  title={Qwen-agentworld: language world models for general agents},
  author={Zuo, Yuxin and Xiao, Zikai and Sheng, Li and Huang, Fei and Tu, Jianhong and Liu, Yuxuan and Tang, Tianyi and Hu, Xiaomeng and Su, Yang and Lan, Qingfeng and others},
  journal={arXiv preprint arXiv:2606.24597},
  year={2026}
}

Files

35 files ยท 69.3 GBWeights 69.3 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 35 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
LICENSE11.3 KB50cbab8a892c5f2993b8c7351a99182507472def3b1374558308605d99b86b32
README.md11.2 KB715f1f84a5d509d520a0e5236b432dcb026e81af81bc053b0025eef0002177de
chat_template.jinja8.05 KB24f80538d671112a7a2505f931f7219f4af3d8d143cb587c8135e29b6f3d5cfd
config.json3.58 KB740a8ad390a83372ff9dce9470c1b200d508c3ff75306afcb57d5b7be38d8d55
configuration.json48 Ba78221ae93dd8977b26fcd1d106fa5ad7e7f1fd3a7d93bfd9d6fba5ed00ec4d2
generation_config.json202 Bc2ad4a8bd9fd07dd9f5efd0d27f8244adc1ca0f962a652475b1f78d7c1a76187
merges.txt3.35 MBa9d356d7bdf1ef4949e3e748e95b8e10ad9d4e2e838eddc38a0a7b6b94d1db8d
model-00001-of-00021.safetensors3.22 GB87e3b0dd296f3d0e723b72e58474bc61d613a4428dce91025234a68770c7308b
model-00002-of-00021.safetensors3.26 GBe3d857f4d5ce2df35b7f1db4d0376aed7d08e0ca0c66e74f9a59fe94a4ec43c7
model-00003-of-00021.safetensors3.22 GB094da1e16b80fc3a3ea69272a399f5ce8f589fa133cf8eb7da07be7e9ebe96e9
model-00004-of-00021.safetensors3.26 GBb4b35aa2a06f25d1999584554c93939b7153f5e3bd742020a8c8577f292bf3f5
model-00005-of-00021.safetensors3.27 GBe404f494eed7dba0cc17275c2a78f6bebac892fea9e36b3ca4bf0ef6f6bacaa5
model-00006-of-00021.safetensors3.22 GBdf8e50cc4b39e20b6a9230f74dccd5983a5ea122ec034ea64681781f010b5058
model-00007-of-00021.safetensors3.22 GBea1106a42dc1ad5ef8eca0368b8554b9baa2f80382ffdbe3bcb2b37c76e251ce
model-00008-of-00021.safetensors3.22 GBa55da43e6b0a7b4e6cb694a99e5771f41bd7ccfe2ab17fdbb4ce61ac720f78b0
model-00009-of-00021.safetensors3.26 GB40d11673e7439f6bb40323daf220b2bca0d5234ed1b61f796e0ab3ffd1193bfe
model-00010-of-00021.safetensors3.36 GB8fef1c12dfed720dc8e7842a872a678393e3289cc68a49183766bd22ae70acb0
model-00011-of-00021.safetensors3.78 GBe3eb8dc24da411913a950a4191d513f9ae8a70a26b1c0488b887cc8a59b2f603
model-00012-of-00021.safetensors3.22 GBb60240c4d2f5a3cc489b4c4f197bff4cbb56b1b38bc139b57f78cdaa20e62ba5
model-00013-of-00021.safetensors3.26 GB8ee5d6246bb4996157944090ee0b940e29769998cda46d86d3b7c70cb664228c
model-00014-of-00021.safetensors3.22 GB3132403084227cf9b40aa1fc238d4cb8e820bb1516524683a87fe14f6ffa2b88
model-00015-of-00021.safetensors3.25 GB02a8a1c0978a4ad942bb9b08d373b87818a051d725c5f3986376a15c48bda681
model-00016-of-00021.safetensors3.22 GB4fc007b8c939ff8a5d1a17fefa80f8ec093889f22ab08484311cc87391557631
model-00017-of-00021.safetensors3.25 GB633b3eefe26ddb3d7b65d4e07883da8cb11e8579e4602e21a8ca6b5e8dc0926c
model-00018-of-00021.safetensors3.24 GB732b4f76adf16c1bfc47b16b8df39c81bb241d0ccd214e6a5bd14f7ea42570c8
model-00019-of-00021.safetensors3.22 GBbf1c8f06059a0dc4c4cd60f737afeb21a3227414f9dfd23862bf3ad5f883a23c
model-00020-of-00021.safetensors3.23 GB6ae74e2261e1e6589cc1f9e82aa4cb02c7cda3d60a7a76816bd27098a5de51da
model-00021-of-00021.safetensors3.89 GBe6379e7108900493e234856276c32250c113e4fc461511f72d6b1015441e6057
model.safetensors.index.json69.7 KBa336b3200d75eb216238a5d1f6918563e94ea1b63c22038b491bcf10fa680eeb
preprocessor_config.json390 B27225450ac9c6529872ee1924fcb0962ff5634834f817040f444118116f4e516
tokenizer.json12.8 MB5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42
tokenizer_config.json17.0 KBf6cfa0a87a8845114cb8558aeec119c45731828ec46b7537a0739dc8edd3b6bf
video_preprocessor_config.json385 B7768af27c1fafa9cc9011c1dc20067e03f8915e03b63504550e11d5066986d13
vocab.json6.72 MBce99b4cb2983d118806ce0a8b777a35b093e2000a503ebde25853284c9dfa003
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
60d2b0434a pinned now2026-11-14 06:30 UTC35 files ยท 69.3 GB

Use it

$ fw get Qwen/Qwen-AgentWorld-35B-A3B
# manifest sha256 a9c875aec4e9… · 69.3 GB · 35 files
$ fw verify ./Qwen-AgentWorld-35B-A3B Qwen/Qwen-AgentWorld-35B-A3B
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Qwen/Qwen-AgentWorld-35B-A3B.json --dir ./Qwen-AgentWorld-35B-A3B $ python3 fw.py verify ./Qwen-AgentWorld-35B-A3B ./Qwen__Qwen-AgentWorld-35B-A3B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen-AgentWorld-35B-A3B --revision 60d2b0434a53d2e62a7c00a489586815d94ebffb --local-dir ./Qwen-AgentWorld-35B-A3B
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("Qwen/Qwen-AgentWorld-35B-A3B", revision="60d2b0434a53d2e62a7c00a489586815d94ebffb") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen-AgentWorld-35B-A3B", revision="60d2b0434a53d2e62a7c00a489586815d94ebffb", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve Qwen/Qwen-AgentWorld-35B-A3B --revision 60d2b0434a53d2e62a7c00a489586815d94ebffb

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
Checked and recorded in the license audit. 2026-11-14
Text in
LICENSE
Text sha256
50cbab8a892c5f2993b8c7351a99182507472def3b1374558308605d99b86b32
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject: Qwen-AgentWorld-35B-A3BDate: 2026-11-14Commit: 60d2b04Signed: 2DC28CC7B26A283B ✓
Upstream
Qwen/Qwen-AgentWorld-35B-A3B
Pinned commit
60d2b0434a53d2e62a7c00a489586815d94ebffb
Manifest
Qwen-AgentWorld-35B-A3B.json ยท .minisig
Manifest sha256
a9c875aec4e980ace425f41536f11e6f22e2384b4b125d4c29c6ae99139fa88d
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 06:30 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen-AgentWorld-35B-A3B.json $ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen-AgentWorld-35B-A3B.json.minisig $ minisign -Vm Qwen-AgentWorld-35B-A3B.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen3.5-35B-A3B-Base ยท this model is a finetune of it

2 models in the catalog name this one as their parent.

Quantizations
2
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen-AgentWorld-35B-A3B
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen-AgentWorld-35B-A3B.json. Provenance. Takedown history: none.

Variants

2 quantized or adapter builds of Qwen-AgentWorld-35B-A3B. Each has its own license check and page.

From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF