feat(infra): publish inference metrics discovery targets (#1700)
- feat(infra): publish inference metrics discovery targets
Signed-off-by: daihao dh183333@antgroup.com
- test: align CI fixtures with current engine and tensor contracts
Signed-off-by: daihao dh183333@antgroup.com
- fix(infra): namespace inference discovery labels
Signed-off-by: daihao dh183333@antgroup.com
Signed-off-by: daihao dh183333@antgroup.com Co-authored-by: daihao dh183333@antgroup.com Co-authored-by: sitabulaixizawaluduo ljl2020110773@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
AReaL: A Large-Scale Asynchronous Reinforcement Learning System
| Paper | Documentation | 中文文档 | Ask DeepWiki | 🤗 Models & Data |
WeChat (微信) Group |
AReaL is a reinforcement learning (RL) infrastructure designed to bridge foundation model training with modern agent-based applications. It was originally developed by researchers and engineers from Tsinghua IIIS and the AReaL Team at Ant Group.
Built on a fully asynchronous RL training paradigm, AReaL is optimized for efficiency and scalability, making it particularly well-suited for training large-scale reasoning and agentic models.
AReaL’s mission is to make building AI agents accessible, efficient, and cost-effective for a broad community of developers and researchers.
AReaL Highlights
base_url.📰 News
[2026/07/01] 🎉 We release AReaL 2.0, a major architectural milestone. This release refactors AReaL into a microservice architecture with independent training, inference, agent, and weight-update services, and ships the Hermes online RL loop and end-to-end SWE RL training examples. Check out our technical report.
[2026/06/17] 🔬 Introducing KPop — bidirectional binary KL divergence token masking. Configured via
rejection_sampling.metric=binary_kl. Also adding an IcePop config (importance-ratio-based token masking). Check out gsm8k_kpop.yaml and gsm8k_icepop.yaml to get started!📋 Previous Releases
[2026/04/23] 🚀 We’re excited to release our integration with Scaffoldings for agentic RL training - now live in our examples! Huge shoutout to @narutolhy and @WeiHaocheng for making this happen 🙌. The modular design of the Scaffoldings enables it to achieve a thorough decoupling of agent execution, reward calculation, and trajectory acquisition. This enables developers to reuse existing modules when implementing an agentic RL method, allowing them to focus on their own innovative modules.
[2026/04/18] We are thrilled to announce that AReaL’s first Community Biweekly Meeting was successfully held! Thank you to everyone who joined us. Meeting materials are now available here. Our next meeting is scheduled for 2026/05/01 and will also be conducted in Chinese; English-language meetings will be scheduled in the future. We warmly welcome everyone to participate! See Community for more details.
[2026/03/02] We provide a complete example to train your own 🦞 OpenClaw agent by simply replacing the
base_urlandapi_keywith AReaL’s RL service - no complicated dependencies, no code changes, works with any agentic runtime![2026/02/06] We are delighted to introduce AReaL-SEA, a self-evolving data synthesis engine. Combined with RL training on AReaL, the 235B MoE model surpasses GPT 5 and achieves comparable performance with Gemini 3.0 Pro on tau2-bench! Check out the paper, model, data, and code.
[2026/01/15] Congrats to our friends at CAMEL-AI for open-sourcing SETA, their terminal agent RL project trained with AReaL! Check out their training workflow and the announcement on X.
[2026/01/01] Happy New Year! Thanks to the outstanding contribution from @HwVanICI, we are excited to officially announce stable support for AReaL training on Ascend NPU devices! The code is actively maintained and continuously updated in the
ascendbranch. Check out our documentation to get started, and feel free to report any issues![2025/08/30] Introducing ASearcher, a state-of-the-art search agent built with AReaL’s end-to-end asynchronous RL training. Check out the paper and the open-source repository!
[2025/07/31] (AReaL-lite) We introduce AReaL-lite, a lightweight version of AReaL designed specifically for AI researchers and rapid prototyping. AReaL-lite features an algorithm-first API design that prioritizes ease of use and algorithm development, while natively supporting fully asynchronous agentic RL. With 80% fewer lines of code, AReaL-lite maintains 90% of AReaL’s performance and core functionality. Check out our documentation and the quickstart guide to begin your journey with AReaL-lite!
[2025/06/03] (v0.3, boba²) We release boba² (double-boba) for fully asynchronous RL training, which achieves 2.77× speedup while delivering comparable or superior training performance compared to synchronous systems. Furthermore, asynchronous RL significantly simplifies multi-turn agentic RL training setup! Check out our v0.3 overview blog and the research paper.
[2025/03/31] (v0.2, boba) Introducing our milestone release—boba! Please call it A-ReaL-boba! This release features significantly faster training with SGLang support and state-of-the-art 7B and 32B models for mathematical reasoning. Check out our v0.2 technical blog.
[2025/02/24] (v0.1) Our initial release includes reproducible results for 1.5B and 7B Large Reasoning Models (LRMs). Check out our v0.1 technical blog.
🚀 Getting Started
First, install the package:
Our training scripts automatically download the required dataset (openai/gsm8k) and model (Qwen/Qwen2-1.5B-Instruct). To run on a single node:
If you prefer to run experiments on a Ray cluster, update paths in the YAML file to point to your shared storage, and run:
For comprehensive setup instructions, see our quickstart guide.
📚 Examples
Math & Reasoning
Agentic RL
Vision-Language Models
Alignment & Infrastructure
🔧 Support Matrix
🧠 Algorithms
All RL algorithms support both asynchronous and synchronous versions by setting
max_head_offpolicyness=0. See Asynchronous RL Guide.Models
transformersCheck the AI Coding Assistant Guide and Archon Reference for how to integrate new models into AReaL.
Training Backends
Inference Backends
📖 Resources
Tutorial
Code Walkthrough
Best Practices
Customization
Algorithms
Reference
🤝 Contributing
We warmly welcome contributions from the community! Whether you’re fixing bugs, adding features, improving documentation, or helping others, your contribution is valued. Please check our Contributing Guide for detailed information.
🗺️ Future Roadmap
AReaL is under active development with planned minor releases weekly and major releases monthly. We warmly welcome community engagement and contributions. We are also actively hiring interns and full-time employees with open positions in both the US and China.
📢 Community
We warmly welcome everyone to join our community! We have a WeChat group for real-time discussions and a GitHub discussion board for asynchronous conversations.
Check out our Community Repository for more details and meeting materials.
🙏 Acknowledgments
We gratefully acknowledge that major contributors are from the AReaL Team at the Institute for Interdisciplinary Information Sciences (IIIS), Tsinghua University and Ant Group.
We have also received invaluable assistance from the following groups (listed alphabetically):
The Data Intelligence Lab at Ant Research for their data support
@HwVanICI for support on vLLM, LoRA, NPU integration, and more
The Relaxed System Lab at HKUST for seamless collaboration on numerous system-related aspects
The SGLang team for supporting custom weight update features and their contributions during AReaL-lite development
The Super Computing Technology (SCT) team at Ant Group for their expertise in large-scale cluster operations and maintenance
Special thanks to @Lyken17 for providing valuable suggestions throughout the API design process
We also deeply appreciate all pioneering work from the community, particularly the ReaLHF project from OpenPsi Inc. and other outstanding projects, including but not limited to DeepScaleR, Open-Reasoner-Zero, OpenRLHF, VeRL, SGLang, QwQ, Light-R1, and DAPO.
📜 License
This project is licensed under the Apache License 2.0.
📄 Citation