{"id":23702924,"url":"https://github.com/bmorphism/open-games-agda","last_synced_at":"2026-02-07T12:31:48.865Z","repository":{"id":269279564,"uuid":"906938755","full_name":"bmorphism/open-games-agda","owner":"bmorphism","description":"A formalization of open games in Agda, building on lenses and Markov categories","archived":false,"fork":false,"pushed_at":"2024-12-22T11:16:29.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T01:56:14.830Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Agda","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmorphism.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-22T11:14:07.000Z","updated_at":"2024-12-22T11:16:32.000Z","dependencies_parsed_at":"2024-12-22T12:21:16.721Z","dependency_job_id":"31d2ffa5-6599-4678-9ee9-d0a2a3d60316","html_url":"https://github.com/bmorphism/open-games-agda","commit_stats":null,"previous_names":["bmorphism/open-games-agda"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bmorphism/open-games-agda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmorphism%2Fopen-games-agda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmorphism%2Fopen-games-agda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmorphism%2Fopen-games-agda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmorphism%2Fopen-games-agda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmorphism","download_url":"https://codeload.github.com/bmorphism/open-games-agda/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmorphism%2Fopen-games-agda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29194019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-30T12:36:07.231Z","updated_at":"2026-02-07T12:31:48.842Z","avatar_url":"https://github.com/bmorphism.png","language":"Agda","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open Games in Agda\n\nA formal development of compositional game theory using dependent types in Agda. This repository provides a categorical foundation for open games, building on lenses and Markov categories.\n\n## Core Concepts\n\n1. **Lenses and Optics** - Fundamental building blocks for composable state manipulation\n2. **Markov Categories** - Categorical semantics for probabilistic computations\n3. **Open Games** - Games as morphisms with composable strategies\n4. **Equilibria** - Nash equilibria and best response maps in a categorical setting\n\n## Project Structure\n\n```\nsrc/\n  Games/\n    Core/\n      Lens.agda        -- Basic lens definitions\n      Optic.agda       -- General optic framework\n      Category.agda    -- Category theory foundations\n    Markov/\n      Core.agda        -- Markov category definition\n      Composition.agda -- Composition of Markov kernels\n    OpenGames/\n      Definition.agda  -- Core open game definition\n      Composition.agda -- Game composition\n      Examples/\n        Matching.agda  -- Matching game examples\n        Bargaining.agda -- Bargaining game examples\n    Equilibrium/\n      Nash.agda        -- Nash equilibrium definition\n      BestResponse.agda -- Best response maps\n```\n\n## Getting Started\n\nThis development requires:\n- Agda 2.6.3 or later\n- Standard library version 1.7.2 or later\n\nTo build:\n```bash\nagda --safe src/Games/OpenGames/Definition.agda\n```\n\n## References\n\n1. Hedges, J. (2018). Morphisms of open games\n2. Ghani, N., et al. (2018). Compositional game theory\n3. Fritz, T. (2020). A synthetic approach to Markov kernels, conditional independence and theorems on sufficient statistics\n\n## Contributing\n\nSee CONTRIBUTING.md for guidelines on how to contribute to this formalization.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmorphism%2Fopen-games-agda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmorphism%2Fopen-games-agda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmorphism%2Fopen-games-agda/lists"}