facebookresearch/reagent

A platform for Reasoning systems (Reinforcement Learning, Contextual Bandits, etc.)

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 38 minutes ago
Added to GitGenius on September 18th, 2026
Created on July 27th, 2017
Open Issues & Pull Requests: 85 (+0)
GitHub issues: Enabled
Number of forks: 530
Total Stargazers: 3,716 (+0)
Total Subscribers: 144 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.1 hours
Mean response time: 48.8 days
90th percentile: 146.4 days
Tracked items: 3

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 335 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

ReAgent is an end-to-end platform for applied reinforcement learning and decision-making systems built in Python using PyTorch and TorchScript.

The platform addresses the challenge of training RL agents in production environments where simulators are unavailable and data collection is expensive. It solves this through offline batch training on historical data combined with off-policy algorithms, allowing teams to develop and evaluate policies without live deployment risk. The tool includes data preprocessing, feature transformation, distributed training infrastructure, counterfactual policy evaluation techniques to estimate policy performance from logged data, and optimized serving via TorchScript.

ReAgent suits large-scale recommendation and optimization tasks where you have access to historical interaction data but cannot easily simulate environments. The platform is particularly valuable for teams building recommender systems or contextual decision systems at scale. It implements a comprehensive set of algorithms spanning classic off-policy deep RL methods like DQN variants and SAC, specialized algorithms for ranking and slate recommendation, contextual bandit approaches, and counterfactual evaluation techniques for policy assessment without deployment.

The project is officially archived and no longer maintained. The development team has directed users to Pearl, a successor library positioned as production-ready reinforcement learning infrastructure by the same organization.