One framework for poker, grid worlds, and social dilemmas
OpenSpiel bundles game environments and algorithms so researchers can test multi-agent RL ideas across poker, grid worlds, and social dilemmas without building new engines from scratch.

What it does
OpenSpiel is a research framework that bundles game environments and algorithms for reinforcement learning and search/planning. It covers an unusually broad taxonomy of games: n-player zero-sum, cooperative, and general-sum; turn-taking and simultaneous-move; perfect and imperfect information. The core engine is implemented in C++ and exposed to Python, and it includes tools to analyze learning dynamics and common evaluation metrics.
The interesting bit
Instead of treating each game as a bespoke snowflake, OpenSpiel represents everything as procedural extensive-form games with natural extensions. That means a single API can express poker variants, Goofspiel, and partially observable grid worlds without special-casing the rules.
Key highlights
- Supports a wide spectrum of game types: single- and multi-agent, one-shot and sequential, perfect and imperfect information.
- Includes traditional multi-agent environments like partially observable grid worlds and social dilemmas alongside classic games.
- Core API and games implemented in
C++and exposed toPython; algorithms and tools written in both languages. - Ships with tutorials and Colab notebooks covering CFR, REINFORCE, and replicator dynamics.
- Backed by a DeepMind research paper and extensive documentation.
Verdict
Worth a look if you are doing research in multi-agent RL, game theory, or planning and need a rigorous, off-the-shelf environment suite. If you just want to train a single-agent agent on Atari, this is not your framework.
Frequently asked
- What is google-deepmind/open_spiel?
- OpenSpiel bundles game environments and algorithms so researchers can test multi-agent RL ideas across poker, grid worlds, and social dilemmas without building new engines from scratch.
- Is open_spiel open source?
- Yes — google-deepmind/open_spiel is open source, released under the Apache-2.0 license.
- What language is open_spiel written in?
- google-deepmind/open_spiel is primarily written in C++.
- How popular is open_spiel?
- google-deepmind/open_spiel has 5.5k stars on GitHub and is currently cooling off.
- Where can I find open_spiel?
- google-deepmind/open_spiel is on GitHub at https://github.com/google-deepmind/open_spiel.