File size: 13,643 Bytes
c76aba3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e6cc4cb
c76aba3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
---
license: mit
base_model:
- nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-Base-BF16
library_name: transformers
pipeline_tag: text-generation
language:
- en
tags:
- nemotron_h
- latent-moe
- mamba
- multi-agent
- agent-organisations
- reinforcement-learning
- rlcr
- research
---

# Avalon-M1-Mini

![Avalon-M1: reinforcement learning from collective rewards](assets/avalon-m1-banner.jpg)

Avalon-M1-Mini is an agent collective model trained with [reinforcement learning from collective rewards](https://www.gr.inc/releases/avalon-m1) (RLCR). It runs organisations of agents that work together to accomplish long-horizon tasks. Paper: [Avalon-M1: Reinforcement Learning from Collective Rewards](https://arxiv.org/abs/2611.32539). Harness: [github.com/GeneralReasoning/avalon-harness](https://github.com/GeneralReasoning/avalon-harness/).

This repository holds **Avalon-M1-Mini**, a fine-tune of [NVIDIA Nemotron 3 Super 120B-A12B](https://huggingface.co/nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-Base-BF16) in bf16 safetensors, loadable with `transformers` (`trust_remote_code=True`) and servable with SGLang or vLLM.

> **Research model.** Avalon-M1-Mini is released for research and experimentation with multi-agent systems and multi-agent safety. It is not intended for production use.

## How it is meant to be used

Avalon-M1-Mini plays every role in an **agent organisation**: a CEO agent reads the task, hires specialist agents with job titles of its choosing (up to an organisation budget of 0 to 8 specialists), and the team co-ordinates through a shared message board (channels, direct messages, reactions), a shared archive and a shared workspace, with the CEO submitting the final result. Every agent is a copy of this model with its own context. During training the whole organisation is rewarded as one, so the same checkpoint learns to manage, to specialise and to review its teammates' work.

Run it with our harness, [github.com/GeneralReasoning/avalon-harness](https://github.com/GeneralReasoning/avalon-harness/), which reproduces the organisation environment the model was trained in (hiring, message board, archive, workspace tools and the organisation budget). The model has not been trained for other agent harnesses such as OpenCode: in those it runs as a single tool-using agent with a different tool set and prompts, its organisation skills go unused, and you should expect lower performance than the numbers below.

A budget of 0 gives an ordinary single-agent run with tools, which is how the "single" columns below were measured.

## Model details

| | |
|---|---|
| Base model | NVIDIA Nemotron 3 Super 120B-A12B (base, bf16) |
| Architecture | Nemotron-H hybrid: 40 Mamba-2 layers, 40 latent mixture-of-experts layers and 8 attention layers (88 layers in total) |
| Parameters | 120B total, 12B active per token |
| Experts | 512 routed experts plus 1 shared expert, 22 routed experts active per token, latent size 1,024 |
| Hidden size / vocabulary | 4,096 / 131,072 |
| Attention | 32 query heads, 2 key-value heads, head dimension 128 |
| Context | trained with a 131,072-token window; the config allows longer positions and we serve at up to 262,144 |
| Multi-token prediction head | removed (`num_nextn_predict_layers: 0`) |
| Precision | bf16 safetensors |
| Chat format | ChatML-style turns, `<think>` reasoning opened by the chat template, XML-style tool calls; see Prompt format below |

### Prompt format

The chat template in `tokenizer_config.json` renders OpenAI-style `messages` and `tools` into the format the model was trained on with RL:

- Tool definitions are one compact JSON object per line inside `<tools>…</tools>`, appended to the end of the first system message (or sent as their own system message when there is none, as below).
- Tool results are sent back with the `tool` role.
- Past assistant turns always open with a `<think>` block (empty when the turn had no reasoning) and end at `<|im_end|>` with no trailing newline.
- The generation prompt opens the reasoning block for the model: `<|im_start|>assistant\n<think>\n`. The model writes its reasoning, closes it with `</think>`, then answers or calls tools.

The end-of-sequence token is `<|im_end|>`. Tool-call `arguments` must reach the template as a mapping, as SGLang and vLLM pass them; with `transformers`, parse OpenAI-style JSON-string arguments before calling `apply_chat_template`.

```text
<|im_start|>system
You may call one or more functions to assist with the user query.

You are provided with function signatures within <tools></tools> XML tags:
<tools>
{"name": "get_weather", "description": "Get weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}
</tools>

For each function call, return the function call within <tool_call></tool_call> XML tags using the following format:
<tool_call>
<function=function_name>
<parameter=param_name>param_value</parameter>
</function>
</tool_call><|im_end|>
<|im_start|>user
What is the weather in Paris?<|im_end|>
<|im_start|>assistant
<think>
The user wants the current weather, so I should call get_weather.
</think>
<tool_call>
<function=get_weather>
<parameter=city>
Paris
</parameter>
</function>
</tool_call><|im_end|><|im_start|>tool
{"temperature_c": 12, "conditions": "overcast"}<|im_end|>
<|im_start|>assistant
<think>

```

## Training

1. **Supervised fine-tuning** of the base model on agent-organisation trajectories.
2. **Reinforcement learning from collective rewards (RLCR)** on 128 NVIDIA H200 GPUs. Each optimizer step samples several hundred tasks from 147 training environments (software engineering, finance and business simulations, science, mathematics and proofs, games, deep research, healthcare and professional tasks), runs a group of organisations per task with randomised organisation budgets, and updates every agent in an organisation with the same group-relative collective advantage. No per-agent credit assignment is used. Rollouts run for hours of wall-clock time at the full 131k context, with context compaction when an agent's context fills.

The training recipe, the organisation environment and our analysis of how collective behaviour changes during training are described in the [paper](https://arxiv.org/abs/2611.32539) and the [Avalon-M1 release](https://www.gr.inc/releases/avalon-m1).

## Evaluation

Results are from the paper, [Avalon-M1: Reinforcement Learning from Collective Rewards](https://arxiv.org/abs/2611.32539) (Tables 2 and 3). All are internal evaluations on General Reasoning infrastructure, with Avalon-M1-Mini run in the [Avalon harness](https://github.com/GeneralReasoning/avalon-harness/).

**Organisation budgets and baselines.** "Single" is a budget of 0 (one agent with tools); "team@N" lets the CEO hire up to N specialists. S8 is a single agent that may not submit until it has matched team@8's output tokens. I8 (independent@8) runs eight single agents in parallel with no communication, after which a selector, the same model, reads the eight answers and trajectories and submits one. The Nemotron column is NVIDIA's instruction-tuned Nemotron 3 Super 120B-A12B as a single agent, run in OpenCode so that it uses a familiar harness. Scores are percentages except for two rows: KellyBench is the return on the starting bankroll and YC-Bench is the final cash.

| Benchmark | Nemotron 3 Super (instruct), single | Avalon-M1-Mini single | team@2 | team@4 | team@8 | S8 | I8 |
|---|---|---|---|---|---|---|---|
| AIME 2024 | 91.1 | 96.7 | 93.3 | 96.7 | 95.6 | 95.6 | 96.7 |
| AIME 2025 | 92.2 | 91.1 | 98.9 | 98.9 | 98.9 | 100.0 | 100.0 |
| AIME 2026 | 87.8 | 92.2 | 95.6 | 95.6 | 94.4 | 96.7 | 93.3 |
| BrowseComp-Internal | 16.7 | 19.3 | 29.3 | 28.7 | 28.0 | 20.7 | 35.8 |
| DRACO-Internal | 38.4 | 50.5 | 55.2 | 56.2 | 57.4 | 56.0 | 50.4 |
| EdgeBench | 11.9 | 18.5 | 19.2 | 19.9 | 18.1 | n/a | n/a |
| FrontierFinance | 26.1 | 38.1 | 42.9 | 42.4 | 42.5 | 43.7 | 41.7 |
| FrontierScience | 50.0 | 62.6 | 61.3 | 61.1 | 63.9 | 59.6 | 60.6 |
| GPQA | 82.7 | 85.4 | 84.3 | 86.9 | 88.4 | 85.4 | 86.9 |
| HealthBench | 45.8 | 49.4 | 50.3 | 50.7 | 50.5 | 56.4 | 48.7 |
| HLE (no tools) | 14.0 | 24.4 | 27.0 | 27.1 | 27.4 | 24.3 | 27.4 |
| IMO-ProofBench-Advanced | 16.6 | 23.8 | 43.7 | 45.2 | 39.0 | 38.8 | 34.8 |
| JobBench | 9.2 | 21.4 | 30.3 | 34.2 | 37.0 | 33.0 | 25.2 |
| KellyBench (return on the starting bankroll, %) | −98.7 | −4.4 | −11.5 | −13.6 | −22.8 | n/a | n/a |
| ProgramBench | 13.1 | 30.6 | 31.8 | 31.1 | 31.2 | n/a | n/a |
| SWE-Bench Pro V2 (Hard) | 11.8 | 27.5 | 35.3 | 29.4 | 23.5 | 29.4 | 25.5 |
| Terminal-Bench 2.1 | 34.8 | 48.3 | 46.1 | 47.2 | 41.6 | 42.7 | 49.4 |
| YC-Bench (final cash, $M) | 0.33 | 1.25 | 1.18 | 1.04 | 1.44 | n/a | n/a |

BrowseComp-Internal and DRACO-Internal search an internal index rather than the live web, so their scores are not comparable with published results. "n/a" marks baselines that were not run on that benchmark.

**Latency.** Across 12 benchmarks, the eight-hire organisation reaches a similar average score to S8 and I8 at approximately one third of S8's derived latency and just over half of I8's. On EdgeBench, organisations overtake the single agent after approximately 0.4 derived hours. See the paper for the derived-latency method.

## Serving

SGLang, 8 GPUs with tensor parallelism (4 also fits on H200-class GPUs):

```bash
python -m sglang.launch_server \
  --model-path GeneralReasoning/Avalon-M1-Mini \
  --trust-remote-code --tp 8 --context-length 131072 \
  --reasoning-parser glm45 --tool-call-parser qwen3_coder
```

vLLM, with the same parsers (`--port 30000` matches SGLang's default, which the examples below and the harness assume):

```bash
vllm serve GeneralReasoning/Avalon-M1-Mini \
  --trust-remote-code --tensor-parallel-size 8 --max-model-len 131072 \
  --enable-auto-tool-choice --tool-call-parser qwen3_coder \
  --reasoning-parser glm45 --port 30000
```

Both commands were tested with SGLang 0.5.23 and vLLM 0.34.0 on 8 H200 GPUs.

The chat template opens the `<think>` block in the prompt, so the generated text is the reasoning, then `</think>`, then the answer. The `glm45` reasoning parser treats a reply as reasoning from its first token, so it returns everything before `</think>` as the reasoning (`reasoning_content` in SGLang, `reasoning` in vLLM) and the rest as `content`. Without a parser, the reasoning and the closing `</think>` arrive inside the message content. Sample at temperature 1.0, as in training. Tool calls parse with the `qwen3_coder` parser. Then point the [harness](https://github.com/GeneralReasoning/avalon-harness/), or any OpenAI-compatible client with tool calling, at the server:

```python
from openai import OpenAI
client = OpenAI(base_url="http://localhost:30000/v1", api_key="none")
resp = client.chat.completions.create(
    model="GeneralReasoning/Avalon-M1-Mini",
    messages=[{"role": "user", "content": "What is the capital of France? Answer in one word."}],
)
print(resp.choices[0].message.content)
```

With `transformers` (the full model needs about 240 GB of GPU memory in bf16):

```python
from transformers import AutoModelForCausalLM, AutoTokenizer
name = "GeneralReasoning/Avalon-M1-Mini"
tok = AutoTokenizer.from_pretrained(name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(name, trust_remote_code=True, dtype="bfloat16", device_map="auto")
msgs = [{"role": "user", "content": "What is the capital of France? Answer in one word."}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device)
print(tok.decode(model.generate(ids, max_new_tokens=256)[0][ids.shape[1]:], skip_special_tokens=True))
```

The repository includes NVIDIA's `configuration_nemotron_h.py` and `modeling_nemotron_h.py`, so `trust_remote_code=True` is required.

## Limitations and safety

- **Research use only.** The model has not been tuned for production safety, and nothing has been done to make it refuse harmful requests beyond what it inherited from the base model and the training environments. Do not deploy it to end users.
- **It acts.** As an agent it writes and runs code, browses, edits files and messages other agents. Run it in isolated sandboxes with no access to credentials, production systems or the open internet unless that is what you are studying.
- **Training artefacts.** Like other RL-trained agents it can reward-hack an environment, over-hire or under-use its team, loop on a message, or stop early with a confident wrong answer. These behaviours are part of what the model is released to study.
- **Scope.** Trained and evaluated in English on tool-using, long-horizon tasks. It is not a general chat assistant and was not tuned for conversational helpfulness or style.
- **Reasoning tokens.** Every response starts with reasoning (the chat template opens the `<think>` block) that can be long; budget tokens and context accordingly.

## License

Released under the MIT License. It is a fine-tune of NVIDIA Nemotron 3 Super 120B-A12B, which NVIDIA distributes under the NVIDIA Nemotron Open Model License; the model code files in this repository (`configuration_nemotron_h.py`, `modeling_nemotron_h.py`) are NVIDIA's.

## Citation

```bibtex
@article{zarov2026avalonm1,
  title   = {Avalon-M1: Reinforcement Learning from Collective Rewards},
  author  = {Zarov, Iliyan and Course, Henry and Hartshorn, Anthony and Achiron, Ran and Roche, Louis and Sinha, Akshit and Taylor, Chengxi and Taylor, Ross},
  journal = {arXiv preprint arXiv:2611.32539},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.32539}
}
```