AReaL Async RL Platform
Asynchronous RL infrastructure for training reasoning models and tool-using agent workflows.
- Source repo
- areal-project/AReaL
- Stars
- ★ 5.9k
- Last updated
- 1d ago
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 56/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformClaude Code · OpenAI API (Partial support)
- Cost
- Free, no paid service needed
- Setup effort
- High · needs real infrastructure
- You'll need
- Typical use
- A researcher reproducing a single-node experiment can train a math-reasoning model with the GSM8K examples for GRPO, PPO, DAPO, RLOO, or SFT.
- Not a fit if
- Teams without CUDA GPUs or large clusters
- End users wanting a ready-to-chat agent
- Teams needing fully offline, dependency-free operation
- Website
- areal-ai.io ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-16latest release v2.1.1 (2026-11-04)+1.4 ★/day over 7 days
- Source review
- 56/100 · Major gaps
What does this agent do, and when should you use it?
AReaL is a reinforcement-learning training system for language reasoning and agent applications built around a fully asynchronous training paradigm. Its 2.0 architecture separates training, inference, agent, and weight-update services, with Hermes online RL and end-to-end SWE training examples. The repository includes workloads for math, search, customer service, coding, multi-turn tool use, and vision-language models, alongside configurations for GRPO, PPO, DAPO, DPO, SFT, and distillation. Jobs can run through a local scheduler or a Ray cluster, with Megatron, PyTorch FSDP, and PyTorch Archon training backends and SGLang or vLLM inference backends. It is training infrastructure rather than a ready-to-use conversational agent, so adopters must provide models, data, inference infrastructure, and suitable compute.
Users start training through Python scripts and YAML configurations, for example examples/math/gsm8k_rl.py with examples/math/gsm8k_grpo.yaml. That example downloads the openai/gsm8k dataset and Qwen/Qwen2-1.5B-Instruct model, then performs GRPO training according to its configuration; scheduler.type can be local or ray. Additional examples cover agent_workflow, hermes, swe, tau2, search_agent, tir, openai_agents, and camel workflows for trajectory collection, reward calculation, and model training. In AReaL 2.0, training_service, inference_service, agent_service, and weight_update services separate training, inference, agent execution, and weight updates. For black-box agent applications, the documentation states that online RL can be connected by replacing base_url; the OpenClaw example also calls for replacing base_url and api_key.
- A researcher reproducing a single-node experiment can train a math-reasoning model with the GSM8K examples for GRPO, PPO, DAPO, RLOO, or SFT.
- An ML platform team with shared storage and a multi-node GPU cluster can set scheduler.type=ray and configure cluster.n_nodes, cluster.n_gpus_per_node, and cluster.fileroot.
- An agent developer iterating on multi-turn tool use can use the Python executor and calculator scenario in examples/tir.
- A team building a software-engineering or code-repair agent can evaluate the end-to-end RL examples in examples/swe for AReaL-SWEAgent or Claude Code Agent.
- A developer connecting an existing black-box agent runtime to online reinforcement learning can replace its base_url and use the OpenClaw and OpenAI Agents SDK integration examples as starting points.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Config files
pyproject.vllm.tomlpyproject.tomlexamples/math/gsm8k_grpo.yaml
How do you install or deploy this agent?
The documented CUDA path is: git clone https://github.com/areal-project/AReaL, then enter AReaL and run pip install uv. Install a flash-attn pre-built wheel matching the Python version first; the README example uses flash_attn-2.8.3+cu128torch2.9-cp312-cp312-linux_x86_64.whl. Then run uv sync --extra cuda to install training packages and the default SGLang inference backend. For vLLM, the documented procedure copies pyproject.vllm.toml to pyproject.toml and uv.vllm.lock to uv.lock before running uv sync --extra cuda. No credentials are specified for the GSM8K quickstart; it downloads its dataset and model over the network.
How do you use this agent?
After installation, run: python3 examples/math/gsm8k_rl.py --config examples/math/gsm8k_grpo.yaml scheduler.type=local. This is the documented first single-node training invocation. For a Ray cluster, update the YAML paths to shared storage and run the same script with cluster.n_nodes=2 cluster.n_gpus_per_node=8 cluster.fileroot=/path/to/nfs scheduler.type=ray. For an online black-box-agent workflow, replace base_url as directed by the relevant example; the OpenClaw example also requires api_key.
What are this agent's strengths and limitations?
- It uses a fully asynchronous RL design while allowing the listed algorithms to run synchronously with max_head_offpolicyness=0, enabling both execution modes in one system.
- AReaL 2.0 explicitly separates training, inference, agent, and weight-update services, which suits systems where those concerns need to evolve independently.
- It spans GRPO, PPO, DAPO, RLOO, DPO, reward modeling, SFT, and distillation, with corresponding GSM8K or HH-RLHF configurations.
- The repository documents both local and Ray scheduling plus support matrices for Megatron, PyTorch FSDP, PyTorch Archon, SGLang, and vLLM.
- Concrete training examples cover multi-turn math, search, customer service, tool use, coding agents, and VLMs.
- The documented quickstart depends on CUDA, flash-attn, and SGLang or vLLM, creating environment and version-management overhead.
- Multi-node Ray operation requires users to provision shared storage and configure cluster paths such as cluster.fileroot in YAML.
- The supplied material does not state minimum GPU, memory, cluster-size, or end-to-end cost requirements, so capacity must be validated independently.
- It is training infrastructure with examples, not a general end-user agent that can be deployed without configuration.
- Some integrations are listed only as examples, including OpenAI Agents SDK and Claude Code Agent; the supplied material does not define their full compatibility or production-support boundaries.
How does this agent compare with similar options?
The repository acknowledges ReaLHF, OpenRLHF, and VeRL as related projects but does not provide a feature-by-feature or benchmark comparison. Its stated distinction is fully asynchronous RL; the same algorithms can also run in synchronous mode by setting max_head_offpolicyness=0.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| AReaL Async RL Platform This agent | 56 · Major gaps | CLIFree | ★ 5.9k | 1d ago | Python | — |
| Relax Omni-Modal RL Engine | 59 · Major gaps | CLIFree | ★ 676 | today | Python | — |
| ART Agent Reinforcement Trainer | 53 · Major gaps | Library / SDKFreemium | ★ 11k | 2d ago | Python | — |
| AgentFlow | 43 · Major gaps | CLIFree + model costs | ★ 2.1k | 9mo ago | Python | OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
The installation guide directs users to install a prebuilt wheel from an external URL and offers CUDA, SGLang, vLLM, Ray, and other infrastructure options. Repository guidance says secrets and endpoints belong outside the repo, giving partial boundaries for permissions and data paths (least_privilege=1, data_flow_transparency=2). Training scripts automatically download datasets and models, and the evidence does not show per-run confirmation. Workflows also involve cloud credentials, registry tokens, cloud instance creation, and image pushes, so external effects depend on caller-controlled triggers and credentials (user_confirmation=1, external_effects=1). The code sample does not establish protections for sensitive data or a general rollback mechanism. CI examples log out and remove local credentials and delete a temporary instance, but this does not establish repository-wide coverage (sensitive_data_handling=1, rollback=1). The dependency list is broad and includes pinned versions, Git/URL sources, and pre-release versions; no vulnerability audit or supply-chain verification is shown (dependency_security=1). The README, package metadata, and license give project/team attribution, but publisher identity remains unknown as instructed, and verified attribution and update responsibility are limited (source_attribution=1).
The README, AGENTS.md, and CLAUDE.md disagree about the Python requirement: the guides say 3.12+, while package metadata allows 3.11 through 3.12. News entries also postdate the supplied revision date, so consistency is only partial (self_consistency=1). CUDA, GPUs, distributed clusters, and selected inference backends are substantial dependencies. Installation guidance is concrete but does not cover every hardware and dependency-availability risk (dependency_availability=1). CLI validation and workflow examples include explicit error messages, timeouts, and failure branches, though the excerpts cannot establish error handling across the whole framework (failure_messages=2).
The README targets developers and researchers and lists math, coding, search, customer-service, vision, and multi-turn Agent scenarios, with algorithm, model, and backend matrices (audience_and_scenarios=3). Architecture guidance separates workflows, engines, rewards, datasets, and schedulers and identifies cluster and hardware constraints; some support entries remain unknown or version-dependent (capability_boundaries=2). Skills state their trigger contexts and the CLI has concrete command entry points, but the sample does not establish mis-trigger controls for all skills (trigger_precision=2). The environment is centered on Linux, Python 3.11/3.12, CUDA, and GPU clusters. Platform markers and NPU notes help, but general CPU and other-environment support appears limited (environment_fit=1).
The README organizes getting started, examples, support matrices, tutorials, best practices, and references; AGENTS.md supplies a repository map (information_architecture=3). Installation instructions cover dependency sync, inference backend selection, and single-node/Ray examples, but the wheel example is tied to a particular Python, CUDA, Torch, and Linux architecture combination (install_notes=2). Module and skill names mostly follow patterns, while README version statements and root guide Python requirements are not fully aligned (naming_stability=2). Documentation and examples are broad and include operating guides, though the sample does not show an FAQ (examples_and_faq=3). GPU and multi-node test requirements and model/backend restrictions are disclosed; because this is a sample, completeness of the limitations list is unknown (known_limitations=2). The repository includes the full Apache-2.0 license, matching package metadata (license=3). Package metadata gives version 2.1.1, and the README has dated release notes (versioning_changelog=3). The maintainer field says only “AReaL Team,” and the contribution guide points to an external community repository; specific maintenance responsibility and support commitments are unclear (maintenance_responsibility=1).
The framework offers multiple training backends, algorithms, Agent workflows, and ready-to-use examples; the CLI and data tools can produce structured results or inspect datasets (output_usability=2). Asynchronous RL, a black-box Agent training interface, and modular extension are clear specialized benefits, with examples spanning several workflows (marginal_value=3). A full CUDA installation brings many large distributed-training and inference dependencies and requires GPU/cluster resources; the material does not quantify deployment costs or provide enough evidence of a lightweight alternative (cost_benefit=1).
Support matrices, configuration paths, installation commands, and concrete workflows provide traceable support for some claims. Performance and leadership claims are primarily README assertions without a measurement method verifiable from this material (claim_traceability=2). The README and package metadata corroborate purpose and license, but core capability claims mainly rely on repository material, with limited independent corroboration (cross_source_corroboration=1). The README presents feature and performance claims alongside paper and example references, and some version/environment details can be checked against package metadata, but it does not systematically label measured results versus promotional claims (fact_inference_separation=2).
- A full CUDA setup requires substantial GPU/cluster resources and multiple inference and training dependencies; the wheel example matches only a specific environment.
- For cloud workflows or image pushes, verify the permissions of the calling configuration and manage credentials securely outside the repository.
- Python requirements differ between the README/guides and package metadata; some release news also postdates the supplied revision date, so check documentation for the intended version.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
What's Changed * ci: move Docker builder to us-central1-a by @sitabulaixizawaluduo in https://github.com/areal-project/AReaL/pull/1640 * fix(trainer): run initial evaluation before first update by @harooos in https://github.com/areal-project/AReaL/pull/1636 * gov: add Le8r0nJames to codeowned scopes by @sitabulaixizawaluduo in https://github.com/areal-project/AReaL/pull/1641 * feat(workflow): support multimodal agent trajectories by @sitabulaixizawaluduo in https://github.com/areal-project/AReaL/pull/1606 …View on GitHub ↗ -
Release notes excerpt
What's Changed * chore(swe): remove unused SWE SFT dataset loader by @Le8r0nJames in https://github.com/areal-project/AReaL/pull/1467 * fix(docker): rename zeroclaw installer flag to --skip-quickstart by @sitabulaixizawaluduo in https://github.com/areal-project/AReaL/pull/1469 * fix(megatron): use dp_reshardable optimizer sharding and load optimizer state correctly by @Le8r0nJames in https://github.com/areal-project/AReaL/pull/1468 * fix(hermes): preserve singleton online reward signal by @jszzr in https://github.com/areal-project/AReaL/pull/1474 …View on GitHub ↗ -
Release notes excerpt
🚀 Key Highlights Micro-service Architecture Includes [training](https://github.com/areal-project/AReaL/tree/main/areal/v2/training_service), [inference](https://github.com/areal-project/AReaL/tree/main/areal/v2/inference_service), [agent](https://github.com/areal-project/AReaL/tree/main/areal/v2/agent_service), and [weight update](https://github.com/areal-project/AReaL/tree/main/areal/v2/weight_update) services. Hermes Agent Example …View on GitHub ↗
FAQ
Is this a ready-to-chat or task-executing agent?
What does the first example download?
Can it run without asynchronous training?
Does it support the OpenAI or Claude ecosystem?
What hardware and budget are required?
Is AReaL Async RL Platform free?
Is AReaL Async RL Platform open source?
Is AReaL Async RL Platform safe to use?
Is AReaL Async RL Platform still maintained?
Who makes AReaL Async RL Platform?
What is AReaL Async RL Platform's official website?
Thanks — we use this to improve the page.