tensorflow/agents

TF-Agents: A reliable, scalable and easy to use TensorFlow library for Contextual Bandits and Reinforcement Learning.

View on GitHub ↗Jump to charts ↓

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 2 hours ago
Added to GitGenius on September 22nd, 2026
Created on November 17th, 2018
Open Issues & Pull Requests: 212 (+0)
GitHub issues: Enabled
Number of forks: 753
Total Stargazers: 3,027 (+0)
Total Subscribers: 72 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.9 days
Mean response time: 74.4 days
90th percentile: 188.2 days
Tracked items: 14

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

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

Recent activity

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

Top labels

  • contributions welcome (1)
  • type:feature request (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

TF-Agents is a TensorFlow library for implementing and deploying reinforcement learning and contextual bandit algorithms.

The library addresses the complexity of building, testing, and iterating on RL and bandit algorithms by providing well-tested, modular components that can be modified and extended. It structures RL implementations around the concept of Agents, where each agent encapsulates both a Policy for environment interaction and the learning mechanism to train that policy from collected experience. The tool supports multiple established algorithms including DQN, DDQN, DDPG, TD3, REINFORCE, PPO, and SAC, alongside a comprehensive suite for multi-armed and contextual bandit problems.

Developers should choose this tool if they need to prototype, benchmark, or deploy standard RL algorithms within the TensorFlow ecosystem. It suits projects ranging from quick experimentation with provided Colab tutorials to production deployments requiring reliable, tested implementations. The library is particularly valuable for teams already invested in TensorFlow who want to avoid reimplementing foundational algorithms and instead focus on domain-specific modifications or novel extensions.

The project maintains active development with ongoing interface changes, indicating continuous refinement of its API and capabilities. The codebase includes integrated testing and benchmarking infrastructure to support fast iteration cycles. Documentation is provided through tutorials covering introductory RL concepts and specific algorithm implementations, alongside end-to-end examples organized by agent type.