{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/openspiel-a-framework-for-reinforcement","title":"OpenSpiel: A Framework for Reinforcement Learning in Games","arxiv_id":"1908.09453","date":"2019-08-26","proceeding":null,"authors":["Marc Lanctot","Edward Lockhart","Jean-Baptiste Lespiau","Vinicius Zambaldi","Satyaki Upadhyay","Julien Pérolat","Sriram Srinivasan","Finbarr Timbers","Karl Tuyls","Shayegan Omidshafiei","Daniel Hennes","Dustin Morrill","Paul Muller","Timo Ewalds","Ryan Faulkner","János Kramár","Bart De Vylder","Brennan Saeta","James Bradbury","David Ding","Sebastian Borgeaud","Matthew Lai","Julian Schrittwieser","Thomas Anthony","Edward Hughes","Ivo Danihelka","Jonah Ryan-Davis"],"abstract":"OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games. OpenSpiel supports n-player (single- and multi- agent) zero-sum, cooperative and general-sum, one-shot and sequential, strictly turn-taking and simultaneous-move, perfect and imperfect information games, as well as traditional multiagent environments such as (partially- and fully- observable) grid worlds and social dilemmas. OpenSpiel also includes tools to analyze learning dynamics and other common evaluation metrics. This document serves both as an overview of the code base and an introduction to the terminology, core concepts, and algorithms across the fields of reinforcement learning, computational game theory, and search.","url_abs":"https://arxiv.org/abs/1908.09453v6","url_pdf":"https://arxiv.org/pdf/1908.09453v6.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/deepmind/open_spiel","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/Tyjch/open_spiel","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/Tyjch/open_spiel_colab","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/aicenter/openspiel_reproductions","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/alextrudeau/go_exploit","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/drblallo/open_spiel","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/google-deepmind/open_spiel","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/higcompetition/tournament","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/mwalton/openspiel_benchmarks","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/optimization-and-machine-learning-lab/open_spiel","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/qmaai/open_spiel","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/rahulpandeycs/openspiel-games","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/semanticweights/tarok","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/wyz2368/open_spiel2","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/wyz2368/open_spiel3","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"openspiel-a-framework-for-reinforcement","repo_url":"https://github.com/wyz2368/open_spiel_egta","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"general-reinforcement-learning","task_name":"General Reinforcement Learning"},{"task_slug":"reinforcement-learning","task_name":"Reinforcement Learning"},{"task_slug":"reinforcement-learning-1","task_name":"Reinforcement Learning (RL)"},{"task_slug":"reinforcement-learning-2","task_name":"reinforcement-learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/1908.09453","atlas_url":"https://app.syntology.ai/?focus=1908.09453","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1908.09453"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/semanticweights/tarok","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/drblallo/open_spiel","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/aicenter/openspiel_reproductions","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/deepmind/open_spiel","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Tyjch/open_spiel","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wyz2368/open_spiel_egta","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/qmaai/open_spiel","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/optimization-and-machine-learning-lab/open_spiel","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/google-deepmind/open_spiel","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Tyjch/open_spiel_colab","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mwalton/openspiel_benchmarks","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/higcompetition/tournament","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wyz2368/open_spiel2","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wyz2368/open_spiel3","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rahulpandeycs/openspiel-games","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/alextrudeau/go_exploit","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":7,"unverified":1},"by_repo_kind":{"listed":{"samples":8,"ran":7,"repositories":3}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"c5983134be459f12","entry":"exhaustive_strategy_selector","repo":"wyz2368/open_spiel_egta","repo_kind":"listed","path":"open_spiel/python/algorithms/psro_variations/generalized_egta.py","file_url":"https://github.com/wyz2368/open_spiel_egta/blob/HEAD/open_spiel/python/algorithms/psro_variations/generalized_egta.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c5983134be459f12"}},{"code_sha256_prefix":"51e8afabe25ebd98","entry":"probabilistic_strategy_selector","repo":"wyz2368/open_spiel_egta","repo_kind":"listed","path":"open_spiel/python/algorithms/psro_variations/generalized_egta.py","file_url":"https://github.com/wyz2368/open_spiel_egta/blob/HEAD/open_spiel/python/algorithms/psro_variations/generalized_egta.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"51e8afabe25ebd98"}},{"code_sha256_prefix":"c2404a4c6f480a8e","entry":"rectified_strategy_selector","repo":"wyz2368/open_spiel_egta","repo_kind":"listed","path":"open_spiel/python/algorithms/psro_variations/generalized_egta.py","file_url":"https://github.com/wyz2368/open_spiel_egta/blob/HEAD/open_spiel/python/algorithms/psro_variations/generalized_egta.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c2404a4c6f480a8e"}},{"code_sha256_prefix":"8469ed1452bc3dd0","entry":"renormalize","repo":"wyz2368/open_spiel_egta","repo_kind":"listed","path":"open_spiel/python/algorithms/psro_variations/abstract_meta_trainer_egta.py","file_url":"https://github.com/wyz2368/open_spiel_egta/blob/HEAD/open_spiel/python/algorithms/psro_variations/abstract_meta_trainer_egta.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8469ed1452bc3dd0"}},{"code_sha256_prefix":"c0276e4601634e38","entry":"sample_episode","repo":"wyz2368/open_spiel_egta","repo_kind":"listed","path":"open_spiel/python/algorithms/psro_variations/abstract_meta_trainer_egta.py","file_url":"https://github.com/wyz2368/open_spiel_egta/blob/HEAD/open_spiel/python/algorithms/psro_variations/abstract_meta_trainer_egta.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c0276e4601634e38"}},{"code_sha256_prefix":"a585b44308980803","entry":"softmax","repo":"qmaai/open_spiel","repo_kind":"listed","path":"open_spiel/python/algorithms/ars.py","file_url":"https://github.com/qmaai/open_spiel/blob/HEAD/open_spiel/python/algorithms/ars.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a585b44308980803"}},{"code_sha256_prefix":"8faf6f7ec3ffb422","entry":"uniform_strategy","repo":"wyz2368/open_spiel_egta","repo_kind":"listed","path":"open_spiel/python/algorithms/psro_variations/abstract_meta_trainer_egta.py","file_url":"https://github.com/wyz2368/open_spiel_egta/blob/HEAD/open_spiel/python/algorithms/psro_variations/abstract_meta_trainer_egta.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8faf6f7ec3ffb422"}},{"code_sha256_prefix":"e893a592cd4dd8fe","entry":"lens","repo":"Tyjch/open_spiel","repo_kind":"listed","path":"open_spiel/python/algorithms/double_oracle.py","file_url":"https://github.com/Tyjch/open_spiel/blob/HEAD/open_spiel/python/algorithms/double_oracle.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e893a592cd4dd8fe"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}