#134 · Primary category: Deep Learning Frameworks

agents

bandits contextual-bandits dqn multi-armed-bandits reinforcement-learning rl-algorithms tensorflow tf-agents

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

Project last updated:01/16/26

GitHub Stars

3.0K

Forks

752

Contributors

155

License

Apache-2.0

Why we included this project

TF-Agents is a solid pick if your project touches reinforcement learning, because it turns what is usually a tangle of bespoke training loops into modular pieces you can mix and match. The library separates the work of an RL system into a policy that picks actions, an environment that produces observations, and a learner that updates from the collected experience, so you can swap an algorithm or an environment without rewriting everything around it. Researchers testing a new method will appreciate that each component is a well-tested, extensible class rather than a black box, while engineers who just need a working DQN, PPO, SAC, or bandits setup can grab a ready-made implementation and train it in a standard Gym-style environment. The bundled tutorials and Colab notebooks walk you from an intro to RL concepts to a running agent in the Cartpole environment, which helps a lot when your team is new to the field. If you are already working in the TensorFlow ecosystem, it slots in naturally since it builds directly on TF's data pipelines and execution model instead of pulling in a second framework.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category