$npx skillfedfor your agent

open-spiel

A Framework for Reinforcement Learning in Games

With conditionsPyPI Python ModulesReleased Aug 2026139.2K downloads / moApache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — open_spiel-2.0.2-cp311-cp311-macosx_11_0_arm64.whl · open_spiel-2.0.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl · open_spiel-2.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
v2.0.2 · released 2026-08-12 · Python >=3.11 · 5 runtime deps: absl-py, attrs, numpy, scipy, ml-collections

Yes, if you are conducting research in multi-agent reinforcement learning, game theory, or game-playing AI. The framework is actively maintained, permissively licensed, has no known vulnerabilities, and offers a comprehensive suite of game environments and algorithms. Install friction is moderate due to compiled components, but wheels are available for common platforms. Not recommended for production game servers or applications requiring real-time performance without careful profiling.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; compiled wheels available for common platforms but may require build tools on unsupported architectures.
  • Medium install friction due to compiled C++ components; wheels are available for Python 3.11–3.14 on Linux, macOS (ARM), and Windows.
  • Active maintenance with a recent release (2 days old) and 5411 repository stars.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

last release 2026-08-12 (2 days) · last repo commit 2026-08-12 · 5,411 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 139,198 downloads/mo, #11,304 on PyPI

Verify before relying

pip install open-spiel
import open_spiel
  • Specific game environments available and their names for import examples.
  • Whether the C++ core is performant enough for large-scale multi-agent training without custom compilation.
  • Availability of pre-built wheels for Python 3.14 on all advertised platforms or fallback build requirements.
Same gist for agents: .md · .json

What it is and what it does

OpenSpiel is a research framework for game-based reinforcement learning and game theory, built on a C++ core with Python bindings. It provides a collection of game environments—ranging from classic games to grid worlds and social dilemmas—along with algorithms for learning and planning. The framework represents games as procedural extensive-form games and supports n-player scenarios with varying information structures (perfect and imperfect information), move timing (turn-taking and simultaneous), and payoff structures (zero-sum, cooperative, general-sum).

The package is designed for researchers studying multi-agent learning dynamics, game-theoretic algorithms, and reinforcement learning in complex interactive settings. It includes tools for analyzing learning dynamics and standard evaluation metrics. Games and core APIs are implemented in C++ for performance, while algorithms and analysis tools are available in both C++ and Python, allowing researchers to prototype in Python or optimize critical paths in C++.

Use it for

  • Implement and test multi-agent reinforcement learning algorithms on standardized game benchmarks.
  • Study game-theoretic properties and learning dynamics in cooperative, competitive, and mixed-motive games.
  • Develop and evaluate AI agents for imperfect-information games.
  • Prototype game environments and reward structures for multi-agent research without building from scratch.
  • Analyze equilibria and convergence behavior in n-player games with varying information and move structures.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are conducting research in multi-agent reinforcement learning, game theory, or game-playing AI.

The framework is actively maintained, permissively licensed, has no known vulnerabilities, and offers a comprehensive suite of game environments and algorithms. Install friction is moderate due to compiled components, but wheels are available for common platforms. Not recommended for production game servers or applications requiring real-time performance without careful profiling.

Install

open-spiel on PyPI

Before you install

Medium install friction due to compiled C++ components; wheels are available for Python 3.11–3.14 on Linux, macOS (ARM), and Windows. Active maintenance with a recent release (2 days old) and 5411 repository stars.

Requires Python 3.11 or later; compiled wheels available for common platforms but may require build tools on unsupported architectures.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install open-spiel
import open_spiel

Verify before relying

  • Specific game environments available and their names for import examples.
  • Whether the C++ core is performant enough for large-scale multi-agent training without custom compilation.
  • Availability of pre-built wheels for Python 3.14 on all advertised platforms or fallback build requirements.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.11
Install frictionMedium. Platform-specific wheel
Runtime dependencies
5 packages
absl-pyattrsnumpyscipyml-collections
MaintenanceActively maintained 2 days since the last release
Last repo commit
First released
Downloads139,198 / month, #11,304 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: C++Programming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Games/EntertainmentTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python Modules

Evidence: open_spiel-2.0.2-cp311-cp311-macosx_11_0_arm64.whl; open_spiel-2.0.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; open_spiel-2.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; open_spiel-2.0.2-cp311-cp311-win_amd64.whl; open_spiel-2.0.2-cp312-cp312-macosx_11_0_arm64.whl; open_spiel-2.0.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; open_spiel-2.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; open_spiel-2.0.2-cp312-cp312-win_amd64.whl; open_spiel-2.0.2-cp313-cp313-macosx_11_0_arm64.whl; open_spiel-2.0.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; open_spiel-2.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; open_spiel-2.0.2-cp313-cp313-win_amd64.whl; open_spiel-2.0.2-cp314-cp314-macosx_11_0_arm64.whl; open_spiel-2.0.2-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; open_spiel-2.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; open_spiel-2.0.2-cp314-cp314-win_amd64.whl

Tags

Capabilities
reinforcement learning game environmentsmulti-agent game theory frameworkgame playing algorithmsextensive-form game simulationRL research platformgame AI researchmulti-player game environments
Topics
game-theorymulti-agent-learningresearch-framework
PyPI keywords
reinforcement learninggame theoryartificial intelligencegames

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “reinforcement learning game environments”

  • open-spielOpenSpiel provides game environments and reinforcement learning…
  • gymnasiumGymnasium provides a standard Python API for building and testing…
  • pettingzooPettingZoo provides multi-agent reinforcement learning environments…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also nashpy · pettingzoo · gem-llm · chess · openskill · gymnasium · glicko2 · TextArena · tianshou · sb3-contrib

Further reading