← all repositories
areal-project/AReaL

Async RL Infrastructure That Treats Agents Like Black-Box APIs

AReaL provides async RL training infrastructure that lets you optimize an LLM agent by pointing it at the agent’s existing API endpoint instead of rewriting the runtime.

5.6k stars Python AgentsML Frameworks
AReaL
Velocity · 7d
+5.6
★ / day
Trend
steady
star history

What it does AReaL is distributed reinforcement-learning infrastructure for foundation models, optimized for reasoning and agentic workloads. It handles the full asynchronous training loop—rollout, reward calculation, and policy updates—across single nodes or Ray clusters. The project ships both the full system and AReaL-lite, a research-oriented variant that trims eighty percent of the code while keeping most core functionality.

The interesting bit The framework treats black-box agents as first-class citizens: you can plug in an external agent runtime, multi-turn trajectory, or tool-use loop and run online RL against it by changing a base_url. The authors liken the system to milk tea—customizable and scalable—which is apt, because the architecture is built around swapping out ingredients (algorithms, APIs, hardware backends) without rewriting the training recipe.

Key highlights

  • Reports a 2.77× speedup over synchronous RL systems in its v0.3 release, with comparable or better training performance.
  • Supports GRPO, PPO, DAPO, REINFORCE, RLOO, LitePPO, DR-GRPO, and GSPO, among other algorithms.
  • Includes ready-made examples for math reasoning, multi-turn tool use, search agents, customer-service bots, and vision-language tasks.
  • Offers an algorithm-first lightweight API via AReaL-lite for rapid prototyping.
  • Runs on NVIDIA GPUs and, via a dedicated branch, on Ascend NPUs.

Verdict If you are building or fine-tuning agentic LLMs and need a production-oriented async RL backend that talks to existing runtimes, AReaL is worth evaluating. Pure inference users or those looking for a simple Python library rather than a distributed training system should look elsewhere.

Frequently asked

What is areal-project/AReaL?
AReaL provides async RL training infrastructure that lets you optimize an LLM agent by pointing it at the agent’s existing API endpoint instead of rewriting the runtime.
Is AReaL open source?
Yes — areal-project/AReaL is open source, released under the Apache-2.0 license.
What language is AReaL written in?
areal-project/AReaL is primarily written in Python.
How popular is AReaL?
areal-project/AReaL has 5.6k stars on GitHub and is currently holding steady.
Where can I find AReaL?
areal-project/AReaL is on GitHub at https://github.com/areal-project/AReaL.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.