huggingface.co
Total runs: 2.2K
24-hour runs: 34
7-day runs: 340
30-day runs: 2.2K
Model's Last Updated: October 01 2026
image-text-to-text

Introduction of AREX-2

Model Details of AREX-2

AREX AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks
Paper Homepage
Introduction

AREX-2 is a 27B-parameter long-horizon agent model from the Beijing Academy of Artificial Intelligence (BAAI). It learns to improve a solution over multiple test-time rounds: propose, measure, reflect, and revise.

AREX-2 is trained on machine-learning and algorithmic-programming tasks with verifiable feedback, together with the existing AREX deep-research data. The learned self-improvement behavior transfers to deep research without adding new search trajectories.

  • Architecture: Dense Qwen3.8-compatible multimodal model
  • Parameters: 27B
  • Context length: 262,144 tokens
Key features
  • Long-horizon self-improvement: turns extra test-time rounds into useful solution refinement.
  • Feedback-driven reflection: reads scores, logs, errors, and timings to decide what to change next.
  • Cross-domain performance: training on coding and machine-learning tasks also improves the model's deep-research performance.
  • Long-horizon reasoning: sustains productive iteration as the task budget grows.
Evaluation

AREX-2 is evaluated on algorithmic programming, machine-learning engineering, deep research, and general agentic reasoning. Results follow the protocols reported in the AREX-2 paper.

Coding and machine-learning engineering
Model Params Frontier-CS MLE-Lite
Closed-weight models
GPT-5.6 Sol - 76.4 72.7
Claude Opus 4.8 - 74.5 63.6
GPT-5.5 - 72.1 68.2
Gemini-3.1-Pro - 68.9 -
Qwen3.7-Max - 61.9 -
Open-weight models
Kimi-K3 2.8T - 72.7
Naive-N0.5-Flash 309B - 73.7
DeepSeek-V4-Pro 1.6T 44.7 54.5
DeepSeek-V4-Flash 284B 39.1 51.5
Kimi-K2.7-Code 1T 54.7 -
GLM-5.3-Flash 320B 50.4 -
Kimi-K2.6 1T 46.9 66.7
Frontis-MA1-35B 35B - 71.2
BigBang-V1 35B - 59.1
Qwen3.6-35B-A3B 35B 23.4 39.4
AREX-2 27B 70.7 81.8

Frontier-CS is the 188-task Agent Track. MLE-Lite reports Any Medal averaged over three seeds.

General agentic reasoning and deep research
Model Params BrowseComp HLE GAIA DeepSearchQA
Frontier models
GPT-5.6 Sol - 90.4 58.0* - -
GPT-5.6 Terra - 87.5 - - -
GPT-5.6 Luna - 83.3 - - -
Kimi-K3 2.8T 91.2 56.0* - 95.0
Claude Fable 5 - 88.0 64.5* - 94.2
Claude Opus 4.8 - 84.3 57.9* - 93.1
GPT-5.5 - 84.4 52.2* 87.4 -
Gemini-3.1-Pro - 85.9 51.4* 80.6 93.3
Large models (>40B)
GLM-5 744B 75.9 50.4 70.0 -
Kimi-K2.6 1T 83.2 54.0* 80.6 92.5
GLM-5.3-Flash 320B - 55.3* 78.8 -
DeepSeek-V4-Flash 284B 73.2 45.1 57.5 90.6
DeepSeek-V4-Pro 1.6T 83.4 48.2 71.1 88.7
MiroThinker-1.7 235B 74.0 42.9 82.7 72.1
XYZ-Aquila-pro 397B 84.8 53.3 - 92.5
Iris-pro 397B 88.6 56.4 - 92.9
AREX-Base 122B 82.5 52.4 85.4 89.9
Small models (≤40B)
Tongyi-DeepResearch-30B 30B 43.4 32.9 70.9 -
Qwen3.5-35B 35B 61.0 47.4 80.0 68.5
XYZ-Aquila-mini 35B 78.8 51.1 97.1 89.5
BigBang-V1 35B 76.5 50.3 - -
Quest-35B 35B 64.6 37.2 80.8 -
Apodex-1.0-mini 35B 71.5 46.8 - 82.2
Agents-A1 35B 75.5 47.6 96.0 -
MiroThinker-1.7-mini 30B 67.9 36.4 80.3 67.9
Iris-mini 35B 82.2 52.3 - 86.9
AREX-Turbo 4B 70.7 40.6 81.6 78.5
AREX-2 27B 84.0 52.6 92.2 93.8

HLE values marked * are from the full HLE set; unmarked values use the text-only subset.

Inference

Use a recent Transformers release with Qwen3.8 support.

pip install -U torch transformers accelerate
import torch
from transformers import AutoModelForMultimodalLM, AutoProcessor

model_id = "BAAI/AREX-2"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(
    model_id, dtype=torch.bfloat16, device_map="auto"
)

messages = [{
    "role": "user",
    "content": "Propose a solution and explain how you would improve it over several rounds.",
}]
inputs = processor.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=True,
    return_dict=True, return_tensors="pt",
).to(model.device)

with torch.inference_mode():
    outputs = model.generate(**inputs, max_new_tokens=1024)
print(processor.decode(
    outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True
))
Intended use

AREX-2 is intended for research on long-horizon agents, iterative problem solving, machine-learning engineering, algorithmic coding, and tool-augmented deep research.

License

AREX-2 is released under the Apache License 2.0 . Follow the terms and notices for the Qwen base model and any downstream data or tools.

Citation
@misc{baai2026arex,
  title={AREX: Towards a Recursively Self-Improving Agent for Deep Research},
  author={Lu, Shuqi and Li, Chaofan and Luo, Kun and Zhang, Zhang and Wang, Hui
          and Xiao, Hongwang and Xiong, Lei and Wang, Jiahao and Wang, Sen
          and Jiang, Xiyan and Li, Wanli and Hu, Yuyang and Qian, Hongjin
          and Yan, Bingyu and Xia, Ziyi and Shao, Yingxia and Liu, Kang
          and Dou, Zhicheng and He, Di and Li, Chaozhuo and Ye, Qiwei
          and Wang, Zhongyuan and Liu, Zheng},
  year={2026},
  eprint={2607.21461},
  archivePrefix={arXiv},
  primaryClass={cs.AI},
  url={https://arxiv.org/abs/2607.21461}
}

Runs of BAAI AREX-2 on huggingface.co

2.2K
Total runs
34
24-hour runs
117
3-day runs
340
7-day runs
2.2K
30-day runs

More Information About AREX-2 huggingface.co Model

AREX-2 huggingface.co

AREX-2 huggingface.co is an AI model on huggingface.co that provides AREX-2's model effect (), which can be used instantly with this BAAI AREX-2 model. huggingface.co supports a free trial of the AREX-2 model, and also provides paid use of the AREX-2. Support call AREX-2 model through api, including Node.js, Python, http.

AREX-2 huggingface.co Url

https://huggingface.co/BAAI/AREX-2

BAAI AREX-2 online free

AREX-2 huggingface.co is an online trial and call api platform, which integrates AREX-2's modeling effects, including api services, and provides a free online trial of AREX-2, you can try AREX-2 online for free by clicking the link below.

BAAI AREX-2 online free url in huggingface.co:

https://huggingface.co/BAAI/AREX-2

AREX-2 install

AREX-2 is an open source model from GitHub that offers a free installation service, and any user can find AREX-2 on GitHub to install. At the same time, huggingface.co provides the effect of AREX-2 install, users can directly use AREX-2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

AREX-2 install url in huggingface.co:

https://huggingface.co/BAAI/AREX-2

Url of AREX-2

AREX-2 huggingface.co Url

Provider of AREX-2 huggingface.co

BAAI
ORGANIZATIONS

Other API from BAAI

huggingface.co

Total runs: 55.4M
Run Growth: -9.1M
Growth Rate: -16.42%
Updated:February 22 2024
huggingface.co

Total runs: 30.4M
Run Growth: -6.9M
Growth Rate: -22.69%
Updated:July 03 2024
huggingface.co

Total runs: 9.8M
Run Growth: -995.9K
Growth Rate: -10.11%
Updated:February 21 2024
huggingface.co

Total runs: 8.8M
Run Growth: -1.4M
Growth Rate: -15.84%
Updated:February 21 2024
huggingface.co

Total runs: 2.4M
Run Growth: 261.5K
Growth Rate: 10.70%
Updated:April 17 2024
huggingface.co

Total runs: 341.5K
Run Growth: -667.5K
Growth Rate: -195.47%
Updated:April 02 2024
huggingface.co

Total runs: 323.8K
Run Growth: -466.2K
Growth Rate: -143.96%
Updated:October 12 2023
huggingface.co

Total runs: 160.2K
Run Growth: -74.6K
Growth Rate: -46.58%
Updated:December 13 2023
huggingface.co

Total runs: 111.0K
Run Growth: 63.1K
Growth Rate: 56.87%
Updated:October 12 2023
huggingface.co

Total runs: 74.3K
Run Growth: 19.9K
Growth Rate: 26.81%
Updated:October 12 2023
huggingface.co

Total runs: 59.3K
Run Growth: 10.8K
Growth Rate: 18.24%
Updated:November 14 2023
huggingface.co

Total runs: 30.2K
Run Growth: -35.3K
Growth Rate: -116.64%
Updated:July 13 2026
huggingface.co

Total runs: 27.0K
Run Growth: -12.0K
Growth Rate: -42.50%
Updated:January 15 2025
huggingface.co

Total runs: 9.2K
Run Growth: -59.7K
Growth Rate: -646.56%
Updated:October 12 2023
huggingface.co

Total runs: 8.7K
Run Growth: -7.8K
Growth Rate: -89.33%
Updated:April 16 2025
huggingface.co

Total runs: 3.4K
Run Growth: -1.2K
Growth Rate: -34.23%
Updated:May 20 2025
huggingface.co

Total runs: 2.7K
Run Growth: -7.6K
Growth Rate: -276.87%
Updated:October 12 2023
huggingface.co

Total runs: 2.7K
Run Growth: -2.0K
Growth Rate: -73.27%
Updated:April 19 2024
huggingface.co

Total runs: 1.5K
Run Growth: -471
Growth Rate: -32.19%
Updated:January 15 2025
huggingface.co

Total runs: 1.4K
Run Growth: -1.7K
Growth Rate: -119.97%
Updated:September 11 2026
huggingface.co

Total runs: 1.4K
Run Growth: -26
Growth Rate: -1.56%
Updated:April 10 2026
huggingface.co

Total runs: 1.1K
Run Growth: -575
Growth Rate: -51.80%
Updated:April 10 2026
huggingface.co

Total runs: 1.1K
Run Growth: -1.2K
Growth Rate: -110.65%
Updated:December 31 2022
huggingface.co

Total runs: 1.1K
Run Growth: -998
Growth Rate: -93.18%
Updated:November 28 2024
huggingface.co

Total runs: 794
Run Growth: 775
Growth Rate: 98.10%
Updated:October 13 2025
huggingface.co

Total runs: 676
Run Growth: -86
Growth Rate: -12.72%
Updated:February 07 2024
huggingface.co

Total runs: 515
Run Growth: 2
Growth Rate: 0.39%
Updated:July 13 2026
huggingface.co

Total runs: 501
Run Growth: -119
Growth Rate: -23.20%
Updated:October 23 2024
huggingface.co

Total runs: 456
Run Growth: 10
Growth Rate: 2.19%
Updated:July 13 2026
huggingface.co

Total runs: 452
Run Growth: 198
Growth Rate: 43.81%
Updated:April 02 2024
huggingface.co

Total runs: 424
Run Growth: -327
Growth Rate: -77.30%
Updated:May 23 2025
huggingface.co

Total runs: 418
Run Growth: 7
Growth Rate: 1.67%
Updated:October 27 2023
huggingface.co

Total runs: 410
Run Growth: 40
Growth Rate: 9.76%
Updated:July 13 2026
huggingface.co

Total runs: 388
Run Growth: -93
Growth Rate: -23.97%
Updated:April 18 2023
huggingface.co

Total runs: 388
Run Growth: 45
Growth Rate: 11.36%
Updated:August 11 2026
huggingface.co

Total runs: 381
Run Growth: 7
Growth Rate: 1.84%
Updated:August 11 2026
huggingface.co

Total runs: 372
Run Growth: 183
Growth Rate: 40.67%
Updated:December 25 2025
huggingface.co

Total runs: 370
Run Growth: 83
Growth Rate: 22.43%
Updated:March 07 2024
huggingface.co

Total runs: 346
Run Growth: -9.9K
Growth Rate: -2695.37%
Updated:September 16 2026
huggingface.co

Total runs: 310
Run Growth: -375
Growth Rate: -117.55%
Updated:October 24 2024
huggingface.co

Total runs: 305
Run Growth: 51
Growth Rate: 16.72%
Updated:July 13 2026
huggingface.co

Total runs: 302
Run Growth: -44
Growth Rate: -14.57%
Updated:July 13 2026
huggingface.co

Total runs: 299
Run Growth: 82
Growth Rate: 27.42%
Updated:July 13 2026
huggingface.co

Total runs: 281
Run Growth: 92
Growth Rate: 32.74%
Updated:July 13 2026
huggingface.co

Total runs: 280
Run Growth: 8
Growth Rate: 2.86%
Updated:August 18 2026
huggingface.co

Total runs: 269
Run Growth: 96
Growth Rate: 35.69%
Updated:November 28 2023
huggingface.co

Total runs: 256
Run Growth: -23
Growth Rate: -8.98%
Updated:July 13 2026
huggingface.co

Total runs: 251
Run Growth: 57
Growth Rate: 23.46%
Updated:October 23 2024
huggingface.co

Total runs: 249
Run Growth: 48
Growth Rate: 17.84%
Updated:June 06 2025
huggingface.co

Total runs: 245
Run Growth: -46
Growth Rate: -18.62%
Updated:December 25 2025
huggingface.co

Total runs: 240
Run Growth: -209
Growth Rate: -81.64%
Updated:April 10 2026
huggingface.co

Total runs: 240
Run Growth: -1.1K
Growth Rate: -500.94%
Updated:September 11 2026
huggingface.co

Total runs: 236
Run Growth: 58
Growth Rate: 24.58%
Updated:July 13 2026
huggingface.co

Total runs: 210
Run Growth: -14
Growth Rate: -6.57%
Updated:July 17 2026
huggingface.co

Total runs: 209
Run Growth: 48
Growth Rate: 22.97%
Updated:May 13 2024
huggingface.co

Total runs: 207
Run Growth: 45
Growth Rate: 21.74%
Updated:May 13 2024
huggingface.co

Total runs: 205
Run Growth: 57
Growth Rate: 27.80%
Updated:December 21 2023
huggingface.co

Total runs: 205
Run Growth: 18
Growth Rate: 8.78%
Updated:June 24 2024
huggingface.co

Total runs: 205
Run Growth: 53
Growth Rate: 25.85%
Updated:May 31 2024
huggingface.co

Total runs: 204
Run Growth: 47
Growth Rate: 23.04%
Updated:May 13 2024
huggingface.co

Total runs: 194
Run Growth: 39
Growth Rate: 20.10%
Updated:December 21 2023
huggingface.co

Total runs: 193
Run Growth: 34
Growth Rate: 17.62%
Updated:June 24 2024
huggingface.co

Total runs: 190
Run Growth: 19
Growth Rate: 10.11%
Updated:March 13 2026