[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-Farama-Foundation--PettingZoo":3,"tool-Farama-Foundation--PettingZoo":61},[4,18,26,36,44,52],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":17},4358,"openclaw","openclaw\u002Fopenclaw","OpenClaw 是一款专为个人打造的本地化 AI 助手，旨在让你在自己的设备上拥有完全可控的智能伙伴。它打破了传统 AI 助手局限于特定网页或应用的束缚，能够直接接入你日常使用的各类通讯渠道，包括微信、WhatsApp、Telegram、Discord、iMessage 等数十种平台。无论你在哪个聊天软件中发送消息，OpenClaw 都能即时响应，甚至支持在 macOS、iOS 和 Android 设备上进行语音交互，并提供实时的画布渲染功能供你操控。\n\n这款工具主要解决了用户对数据隐私、响应速度以及“始终在线”体验的需求。通过将 AI 部署在本地，用户无需依赖云端服务即可享受快速、私密的智能辅助，真正实现了“你的数据，你做主”。其独特的技术亮点在于强大的网关架构，将控制平面与核心助手分离，确保跨平台通信的流畅性与扩展性。\n\nOpenClaw 非常适合希望构建个性化工作流的技术爱好者、开发者，以及注重隐私保护且不愿被单一生态绑定的普通用户。只要具备基础的终端操作能力（支持 macOS、Linux 及 Windows WSL2），即可通过简单的命令行引导完成部署。如果你渴望拥有一个懂你",349277,3,"2026-04-06T06:32:30",[13,14,15,16],"Agent","开发框架","图像","数据工具","ready",{"id":19,"name":20,"github_repo":21,"description_zh":22,"stars":23,"difficulty_score":10,"last_commit_at":24,"category_tags":25,"status":17},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,"2026-04-05T11:01:52",[14,15,13],{"id":27,"name":28,"github_repo":29,"description_zh":30,"stars":31,"difficulty_score":32,"last_commit_at":33,"category_tags":34,"status":17},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",141543,2,"2026-04-06T11:32:54",[14,13,35],"语言模型",{"id":37,"name":38,"github_repo":39,"description_zh":40,"stars":41,"difficulty_score":32,"last_commit_at":42,"category_tags":43,"status":17},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107888,"2026-04-06T11:32:50",[14,15,13],{"id":45,"name":46,"github_repo":47,"description_zh":48,"stars":49,"difficulty_score":10,"last_commit_at":50,"category_tags":51,"status":17},4487,"LLMs-from-scratch","rasbt\u002FLLMs-from-scratch","LLMs-from-scratch 是一个基于 PyTorch 的开源教育项目，旨在引导用户从零开始一步步构建一个类似 ChatGPT 的大型语言模型（LLM）。它不仅是同名技术著作的官方代码库，更提供了一套完整的实践方案，涵盖模型开发、预训练及微调的全过程。\n\n该项目主要解决了大模型领域“黑盒化”的学习痛点。许多开发者虽能调用现成模型，却难以深入理解其内部架构与训练机制。通过亲手编写每一行核心代码，用户能够透彻掌握 Transformer 架构、注意力机制等关键原理，从而真正理解大模型是如何“思考”的。此外，项目还包含了加载大型预训练权重进行微调的代码，帮助用户将理论知识延伸至实际应用。\n\nLLMs-from-scratch 特别适合希望深入底层原理的 AI 开发者、研究人员以及计算机专业的学生。对于不满足于仅使用 API，而是渴望探究模型构建细节的技术人员而言，这是极佳的学习资源。其独特的技术亮点在于“循序渐进”的教学设计：将复杂的系统工程拆解为清晰的步骤，配合详细的图表与示例，让构建一个虽小但功能完备的大模型变得触手可及。无论你是想夯实理论基础，还是为未来研发更大规模的模型做准备",90106,"2026-04-06T11:19:32",[35,15,13,14],{"id":53,"name":54,"github_repo":55,"description_zh":56,"stars":57,"difficulty_score":10,"last_commit_at":58,"category_tags":59,"status":17},4292,"Deep-Live-Cam","hacksider\u002FDeep-Live-Cam","Deep-Live-Cam 是一款专注于实时换脸与视频生成的开源工具，用户仅需一张静态照片，即可通过“一键操作”实现摄像头画面的即时变脸或制作深度伪造视频。它有效解决了传统换脸技术流程繁琐、对硬件配置要求极高以及难以实时预览的痛点，让高质量的数字内容创作变得触手可及。\n\n这款工具不仅适合开发者和技术研究人员探索算法边界，更因其极简的操作逻辑（仅需三步：选脸、选摄像头、启动），广泛适用于普通用户、内容创作者、设计师及直播主播。无论是为了动画角色定制、服装展示模特替换，还是制作趣味短视频和直播互动，Deep-Live-Cam 都能提供流畅的支持。\n\n其核心技术亮点在于强大的实时处理能力，支持口型遮罩（Mouth Mask）以保留使用者原始的嘴部动作，确保表情自然精准；同时具备“人脸映射”功能，可同时对画面中的多个主体应用不同面孔。此外，项目内置了严格的内容安全过滤机制，自动拦截涉及裸露、暴力等不当素材，并倡导用户在获得授权及明确标注的前提下合规使用，体现了技术发展与伦理责任的平衡。",88924,"2026-04-06T03:28:53",[14,15,13,60],"视频",{"id":62,"github_repo":63,"name":64,"description_en":65,"description_zh":66,"ai_summary_zh":66,"readme_en":67,"readme_zh":68,"quickstart_zh":69,"use_case_zh":70,"hero_image_url":71,"owner_login":72,"owner_name":73,"owner_avatar_url":74,"owner_bio":75,"owner_company":76,"owner_location":76,"owner_email":77,"owner_twitter":78,"owner_website":79,"owner_url":80,"languages":81,"stars":90,"forks":91,"last_commit_at":92,"license":93,"difficulty_score":32,"env_os":94,"env_gpu":95,"env_ram":95,"env_deps":96,"category_tags":104,"github_topics":106,"view_count":32,"oss_zip_url":76,"oss_zip_packed_at":76,"status":17,"created_at":113,"updated_at":114,"faqs":115,"releases":145},4448,"Farama-Foundation\u002FPettingZoo","PettingZoo","An API standard for multi-agent reinforcement learning environments, with popular reference environments and related utilities","PettingZoo 是一个专为多智能体强化学习（MARL）研究设计的 Python 库，堪称该领域的\"Gymnasium\"。它制定了一套统一的 API 标准，旨在解决多智能体环境中接口混乱、难以复现以及容易引发常见编程错误等痛点，让研究人员能更专注于算法本身而非环境适配。\n\n这款工具非常适合从事人工智能算法研究的学者、深度学习开发者以及希望探索多智能体协作与博弈策略的技术人员。PettingZoo 内置了丰富的经典环境家族，涵盖从多人 Atari 游戏、需要高度协调的图形化任务，到棋牌类等传统博弈场景，为实验提供了多样化的测试床。\n\n其独特的技术亮点在于采用了“智能体 - 环境循环”（AEC）游戏模型来构建环境。这一设计不仅能在单一 API 下优雅地支持所有类型的多智能体交互模式，还显著降低了开发过程中的出错概率。使用体验上，它与广受欢迎的 Gymnasium 高度相似，上手门槛低。无论是想快速复现论文结果，还是希望基于 Pistonball 或井字棋等环境训练 PPO、DQN 等模型，PettingZoo 都能提供稳定且高效的支持，是进入多智能体强化学习领域的理想起点。","[![pre-commit](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https:\u002F\u002Fpre-commit.com\u002F) [![Code style: black](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcode%20style-black-000000.svg)](https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack)\n\n\u003Cp align=\"center\">\n    \u003Ca href = \"https:\u002F\u002Fpettingzoo.farama.org\u002F\" target = \"_blank\">\u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FFarama-Foundation_PettingZoo_readme_c6ce4f3dc65e.png\" width=\"500px\"\u002F> \u003C\u002Fa>\n\u003C\u002Fp>\n\nPettingZoo is a Python library for conducting research in multi-agent reinforcement learning, akin to a multi-agent version of [Gymnasium](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FGymnasium).\n\nThe documentation website is at [pettingzoo.farama.org](https:\u002F\u002Fpettingzoo.farama.org) and we have a public discord server (which we also use to coordinate development work) that you can join here: https:\u002F\u002Fdiscord.gg\u002FnhvKkYa6qX\n\n## Environments\n\nPettingZoo includes the following families of environments:\n\n* [Atari](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fatari\u002F): Multi-player Atari 2600 games (cooperative, competitive and mixed sum)\n* [Butterfly](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fbutterfly): Cooperative graphical games developed by us, requiring a high degree of coordination\n* [Classic](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fclassic): Classical games including card games, board games, etc.\n* [MPE](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fmpe): A set of simple nongraphical communication tasks, originally from https:\u002F\u002Fgithub.com\u002Fopenai\u002Fmultiagent-particle-envs\n* [SISL](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fsisl): 3 cooperative environments, originally from https:\u002F\u002Fgithub.com\u002Fsisl\u002FMADRL\n\n## Installation\n\nTo install the base PettingZoo library: `pip install pettingzoo`.\n\nThis does not include dependencies for all families of environments (some environments can be problematic to install on certain systems).\n\nTo install the dependencies for one family, use `pip install 'pettingzoo[atari]'`, or use `pip install 'pettingzoo[all]'` to install all dependencies.\n\nWe support and maintain PettingZoo for Python 3.9, 3.10, 3.11, and 3.12 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.\n\nNote: Some Linux distributions may require manual installation of `cmake`, `swig`, or `zlib1g-dev` (e.g., `sudo apt install cmake swig zlib1g-dev`)\n\n## Getting started\n\nFor an introduction to PettingZoo, see [Basic Usage](https:\u002F\u002Fpettingzoo.farama.org\u002Fcontent\u002Fbasic_usage\u002F). To create a new environment, see our [Environment Creation Tutorial](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Fcustom_environment\u002F1-project-structure\u002F) and [Custom Environment Examples](https:\u002F\u002Fpettingzoo.farama.org\u002Fcontent\u002Fenvironment_creation\u002F).\nFor examples of training RL models using PettingZoo see our tutorials:\n* [CleanRL: Implementing PPO](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Fcleanrl\u002Fimplementing_PPO\u002F): train multiple PPO agents in the [Pistonball](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fbutterfly\u002Fpistonball\u002F) environment.\n* [Tianshou: Training Agents](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Ftianshou\u002Fintermediate\u002F): train DQN agents in the [Tic-Tac-Toe](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fclassic\u002Ftictactoe\u002F) environment.\n* [AgileRL: Training, Curriculums and Self-play](https:\u002F\u002Fpettingzoo.farama.org\u002Fmain\u002Ftutorials\u002Fagilerl\u002FDQN\u002F): train agents with curriculum learning and self-play in the [Connect Four](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fclassic\u002Fconnect_four\u002F) environment.\n\n## API\n\nPettingZoo model environments as [*Agent Environment Cycle* (AEC) games](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2009.14471.pdf), in order to be able to cleanly support all types of multi-agent RL environments under one API and to minimize the potential for certain classes of common bugs.\n\nUsing environments in PettingZoo is very similar to Gymnasium, i.e. you initialize an environment via:\n\n```python\nfrom pettingzoo.butterfly import pistonball_v6\nenv = pistonball_v6.env()\n```\n\nEnvironments can be interacted with in a manner very similar to Gymnasium:\n\n```python\nenv.reset()\nfor agent in env.agent_iter():\n    observation, reward, termination, truncation, info = env.last()\n    action = None if termination or truncation else env.action_space(agent).sample()  # this is where you would insert your policy\n    env.step(action)\n```\n\nFor the complete API documentation, please see https:\u002F\u002Fpettingzoo.farama.org\u002Fapi\u002Faec\u002F\n\n### Parallel API\n\nIn certain environments, it's a valid to assume that agents take their actions at the same time. For these games, we offer a secondary API to allow for parallel actions, documented at https:\u002F\u002Fpettingzoo.farama.org\u002Fapi\u002Fparallel\u002F\n\n## SuperSuit\n\nSuperSuit is a library that includes all commonly used wrappers in RL (frame stacking, observation, normalization, etc.) for PettingZoo and Gymnasium environments with a nice API. We developed it in lieu of wrappers built into PettingZoo. https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FSuperSuit\n\n## Environment Versioning\n\nPettingZoo keeps strict versioning for reproducibility reasons. All environments end in a suffix like \"\\_v0\".  When changes are made to environments that might impact learning results, the number is increased by one to prevent potential confusion.\n\n## Citation\n\nTo cite this project in publication, please use\n\n```\n@article{terry2021pettingzoo,\n  title={Pettingzoo: Gym for multi-agent reinforcement learning},\n  author={Terry, J and Black, Benjamin and Grammel, Nathaniel and Jayakumar, Mario and Hari, Ananth and Sullivan, Ryan and Santos, Luis S and Dieffendahl, Clemens and Horsch, Caroline and Perez-Vicente, Rodrigo and others},\n  journal={Advances in Neural Information Processing Systems},\n  volume={34},\n  pages={15032--15043},\n  year={2021}\n}\n```\n\n## Project Maintainers\n- Project Manager: [Travis Virgil](https:\u002F\u002Fgithub.com\u002Fvirgilt) - `travis@farama.org`\n- Maintainer: [Albert Han](https:\u002F\u002Fgithub.com\u002Fyjhan96) - `yjhan96@gmail.com`.\n- Maintenance for this project is also contributed by the broader Farama team: [farama.org\u002Fteam](https:\u002F\u002Ffarama.org\u002Fteam).\n","[![pre-commit](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https:\u002F\u002Fpre-commit.com\u002F) [![代码风格: black](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcode%20 style-black-000000.svg)](https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack)\n\n\u003Cp align=\"center\">\n    \u003Ca href = \"https:\u002F\u002Fpettingzoo.farama.org\u002F\" target = \"_blank\">\u003Cimg src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FFarama-Foundation_PettingZoo_readme_c6ce4f3dc65e.png\" width=\"500px\"\u002F> \u003C\u002Fa>\n\u003C\u002Fp>\n\nPettingZoo 是一个用于多智能体强化学习研究的 Python 库，类似于 [Gymnasium](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FGymnasium) 的多智能体版本。\n\n文档网站位于 [pettingzoo.farama.org](https:\u002F\u002Fpettingzoo.farama.org)，我们还有一个公开的 Discord 服务器（我们也用它来协调开发工作），你可以在这里加入：https:\u002F\u002Fdiscord.gg\u002FnhvKkYa6qX\n\n## 环境\n\nPettingZoo 包含以下几类环境：\n\n* [Atari](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fatari\u002F)：多人 Atari 2600 游戏（合作、竞争及混合模式）\n* [Butterfly](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fbutterfly)：由我们开发的合作型图形化游戏，需要高度协作\n* [Classic](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fclassic)：经典游戏，包括纸牌、棋盘等\n* [MPE](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fmpe)：一组简单的非图形化通信任务，最初来自 https:\u002F\u002Fgithub.com\u002Fopenai\u002Fmultiagent-particle-envs\n* [SISL](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fsisl)：3 个合作环境，最初来自 https:\u002F\u002Fgithub.com\u002Fsisl\u002FMADRL\n\n## 安装\n\n安装 PettingZoo 基础库：`pip install pettingzoo`。\n\n这并不包含所有环境系列的依赖项（某些环境在特定系统上可能难以安装）。\n\n要安装某一环境系列的依赖项，使用 `pip install 'pettingzoo[atari]'`，或者使用 `pip install 'pettingzoo[all]'` 来安装所有依赖项。\n\n我们支持并维护 PettingZoo 在 Linux 和 macOS 上的 Python 3.9、3.10、3.11 和 3.12 版本。我们会接受与 Windows 相关的 PR，但不正式支持 Windows。\n\n注意：部分 Linux 发行版可能需要手动安装 `cmake`、`swig` 或 `zlib1g-dev`（例如：`sudo apt install cmake swig zlib1g-dev`）\n\n## 入门\n\n有关 PettingZoo 的介绍，请参阅 [基本使用](https:\u002F\u002Fpettingzoo.farama.org\u002Fcontent\u002Fbasic_usage\u002F)。要创建新环境，请查看我们的 [环境创建教程](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Fcustom_environment\u002F1-project-structure\u002F) 和 [自定义环境示例](https:\u002F\u002Fpettingzoo.farama.org\u002Fcontent\u002Fenvironment_creation\u002F)。\n关于使用 PettingZoo 训练强化学习模型的示例，请参阅我们的教程：\n* [CleanRL：实现 PPO](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Fcleanrl\u002Fimplementing_PPO\u002F)：在 [Pistonball](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fbutterfly\u002Fpistonball\u002F) 环境中训练多个 PPO 智能体。\n* [Tianshou：训练智能体](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Ftianshou\u002Fintermediate\u002F)：在 [井字棋](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fclassic\u002Ftictactoe\u002F) 环境中训练 DQN 智能体。\n* [AgileRL：训练、课程设置与自我对弈](https:\u002F\u002Fpettingzoo.farama.org\u002Fmain\u002Ftutorials\u002Fagilerl\u002FDQN\u002F)：在 [四子连珠](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fclassic\u002Fconnect_four\u002F) 环境中使用课程学习和自我对弈训练智能体。\n\n## API\n\nPettingZoo 将环境建模为 [*智能体环境循环* (AEC) 游戏](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2009.14471.pdf)，以便在一个 API 下干净地支持所有类型的多智能体强化学习环境，并尽量减少某些常见错误的发生。\n\n在 PettingZoo 中使用环境的方式与 Gymnasium 非常相似，即通过以下方式初始化环境：\n\n```python\nfrom pettingzoo.butterfly import pistonball_v6\nenv = pistonball_v6.env()\n```\n\n与环境互动的方式也与 Gymnasium 非常相似：\n\n```python\nenv.reset()\nfor agent in env.agent_iter():\n    observation, reward, termination, truncation, info = env.last()\n    action = None if termination or truncation else env.action_space(agent).sample()  # 这里可以插入你的策略\n    env.step(action)\n```\n\n完整的 API 文档请参阅 https:\u002F\u002Fpettingzoo.farama.org\u002Fapi\u002Faec\u002F\n\n### 并行 API\n\n在某些环境中，可以假设智能体同时采取行动。对于这类游戏，我们提供了一个辅助 API，以支持并行行动，相关文档请参阅 https:\u002F\u002Fpettingzoo.farama.org\u002Fapi\u002Fparallel\u002F\n\n## SuperSuit\n\nSuperSuit 是一个库，为 PettingZoo 和 Gymnasium 环境提供了强化学习中常用的包装器（帧堆叠、观测值处理、归一化等），并具有友好的 API。我们开发它是为了替代 PettingZoo 内置的包装器。https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FSuperSuit\n\n## 环境版本控制\n\n为了可重复性，PettingZoo 对环境进行了严格的版本控制。所有环境名称都以 `_v0` 等后缀结尾。当环境发生可能影响学习结果的更改时，版本号会递增 1，以避免潜在的混淆。\n\n## 引用\n\n若要在出版物中引用该项目，请使用以下格式：\n\n```\n@article{terry2021pettingzoo,\n  title={Pettingzoo: 多智能体强化学习的 Gym},\n  author={Terry, J and Black, Benjamin and Grammel, Nathaniel and Jayakumar, Mario and Hari, Ananth and Sullivan, Ryan and Santos, Luis S and Dieffendahl, Clemens and Horsch, Caroline and Perez-Vicente, Rodrigo and others},\n  journal={神经信息处理系统进展},\n  volume={34},\n  pages={15032--15043},\n  year={2021}\n}\n```\n\n## 项目维护者\n- 项目经理：[Travis Virgil](https:\u002F\u002Fgithub.com\u002Fvirgilt) - `travis@farama.org`\n- 维护者：[Albert Han](https:\u002F\u002Fgithub.com\u002Fyjhan96) - `yjhan96@gmail.com`。\n- 项目的维护工作也由 Farama 团队共同完成：[farama.org\u002Fteam](https:\u002F\u002Ffarama.org\u002Fteam)。","# PettingZoo 快速上手指南\n\nPettingZoo 是一个用于多智能体强化学习（Multi-Agent RL）研究的 Python 库，类似于多智能体版本的 Gymnasium。它提供了丰富的环境集合，涵盖从经典棋类游戏到复杂的协作任务。\n\n## 环境准备\n\n**系统要求：**\n- **操作系统**：官方支持 Linux 和 macOS。Windows 社区可提交 PR，但非官方正式支持。\n- **Python 版本**：3.9, 3.10, 3.11, 或 3.12。\n\n**前置依赖：**\n在某些 Linux 发行版上，安装前可能需要手动安装以下系统级依赖：\n```bash\nsudo apt install cmake swig zlib1g-dev\n```\n\n## 安装步骤\n\n**1. 安装基础库**\n仅安装核心库（不包含特定环境的依赖）：\n```bash\npip install pettingzoo\n```\n*国内用户推荐使用清华或阿里镜像加速：*\n```bash\npip install pettingzoo -i https:\u002F\u002Fpypi.tuna.tsinghua.edu.cn\u002Fsimple\n```\n\n**2. 安装特定环境依赖**\n根据需求安装特定系列的环境（例如 Atari 游戏）：\n```bash\npip install 'pettingzoo[atari]'\n```\n\n**3. 安装所有依赖**\n若需使用全部环境系列（注意：部分环境在某些系统上可能难以安装）：\n```bash\npip install 'pettingzoo[all]'\n```\n\n## 基本使用\n\nPettingZoo 采用 **AEC (Agent Environment Cycle)** 模式建模，其使用方式与 Gymnasium 高度相似。\n\n**1. 导入并初始化环境**\n以下示例以 `pistonball_v6`（蝴蝶系列中的活塞球游戏）为例：\n\n```python\nfrom pettingzoo.butterfly import pistonball_v6\n\n# 初始化环境\nenv = pistonball_v6.env()\n```\n\n**2. 运行交互循环**\n标准的交互流程如下：重置环境 -> 遍历智能体 -> 获取观测 -> 执行动作。\n\n```python\nenv.reset()\n\n# 遍历当前回合中的所有智能体\nfor agent in env.agent_iter():\n    # 获取当前智能体的观测、奖励、终止状态等信息\n    observation, reward, termination, truncation, info = env.last()\n    \n    # 如果游戏未结束，采样一个随机动作（此处替换为你的策略模型）\n    if termination or truncation:\n        action = None\n    else:\n        action = env.action_space(agent).sample()\n    \n    # 执行动作\n    env.step(action)\n```\n\n> **提示**：对于允许智能体同时行动的环境，PettingZoo 还提供了并行 API (`parallel API`)，具体用法可参考官方文档。如需使用帧堆叠、归一化等常用包装器，建议配合 [SuperSuit](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FSuperSuit) 库使用。","某自动驾驶研发团队正在构建多车协同避障系统，需要让多个智能体在动态环境中学习协作与竞争策略。\n\n### 没有 PettingZoo 时\n- 团队需手动编写复杂的交互逻辑来模拟多车博弈，代码耦合度高且极易出错。\n- 不同算法框架（如 PyTorch 与 TensorFlow）对多智能体数据格式要求不一，导致适配成本极高。\n- 缺乏标准化的环境接口，每次更换测试场景（从简单路口到复杂高速）都需重构大量底层代码。\n- 难以复现学术界经典的博弈模型（如粒子世界或阿塔里游戏），验证新算法效果耗时费力。\n- 调试过程中常因智能体行动顺序混乱引发隐蔽 Bug，排查问题如同大海捞针。\n\n### 使用 PettingZoo 后\n- 直接调用内置的 MPE 或 SISL 环境库，快速搭建出符合物理规律的多车协同测试场。\n- 凭借统一的 AEC（智能体 - 环境循环）API 标准，无缝对接 CleanRL 或 Tianshou 等主流训练框架。\n- 通过简单的参数切换即可在“合作搬运”与“对抗追逐”等多种预设场景中迁移验证算法。\n- 原生支持经典基准环境，团队能立即在标准赛道上对比 SOTA 算法，大幅缩短研发周期。\n- 规范的回合制交互机制自动处理智能体行动时序，彻底消除了因顺序错乱导致的逻辑漏洞。\n\nPettingZoo 通过标准化接口和丰富环境库，将多智能体强化学习的研发重心从繁琐的环境搭建回归到核心算法创新。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002FFarama-Foundation_PettingZoo_c6ce4f3d.png","Farama-Foundation","Farama Foundation","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002FFarama-Foundation_61834603.png","The Farama foundation is a nonprofit organization working to develop and maintain open source reinforcement learning tools.",null,"contact@farama.org","FaramaFound","farama.org","https:\u002F\u002Fgithub.com\u002FFarama-Foundation",[82,86],{"name":83,"color":84,"percentage":85},"Python","#3572A5",99.9,{"name":87,"color":88,"percentage":89},"Makefile","#427819",0.1,3364,482,"2026-04-06T03:24:11","NOASSERTION","Linux, macOS","未说明",{"notes":97,"python":98,"dependencies":99},"Windows 系统非官方支持（仅接受相关 PR）；部分 Linux 发行版需手动安装 cmake、swig 或 zlib1g-dev；不同环境家族依赖不同，可单独安装（如 pettingzoo[atari]）或安装全部依赖（pettingzoo[all]）。","3.9, 3.10, 3.11, 3.12",[100,101,102,103],"pettingzoo","cmake","swig","zlib1g-dev",[105,13,16],"插件",[107,108,109,110,111,112],"api","gym","gymnasium","multi-agent-reinforcement-learning","reinforcement-learning","multiagent-reinforcement-learning","2026-03-27T02:49:30.150509","2026-04-06T23:06:42.861855",[116,121,126,131,136,141],{"id":117,"question_zh":118,"answer_zh":119,"source_url":120},20237,"如何在 PettingZoo 中使用 MADDPG 算法？有官方示例吗？","目前 MADDPG 在 PettingZoo 中无法正常工作（\"MADDPG _does not work_\"）。社区用户反馈即使在经典环境中尝试使用 MADDPG 也会遇到很多困难，包括结合规划及搜索模块后依然存在问题。建议寻找其他专门建模其他智能体行为的论文或算法替代方案。","https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fissues\u002F367",{"id":122,"question_zh":123,"answer_zh":124,"source_url":125},20238,"升级 PettingZoo 后出现 'cannot import name' 导入错误怎么办？","此问题通常发生在升级 PettingZoo 版本后。旧版本的环境名称（如 pistonball_v4）可能在新版本中已被移除或重命名。请检查当前安装版本的文档，确认正确的环境名称和导入路径。如果是从旧教程复制的代码，可能需要更新环境版本号以匹配已安装的库版本。","https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fissues\u002F550",{"id":127,"question_zh":128,"answer_zh":129,"source_url":130},20239,"在 Windows 上运行 PettingZoo 教程时遇到多进程相关错误（如 'ProcConcatVec' object has no attribute 'pipes'）如何解决？","PettingZoo 目前没有官方的 Windows 支持。维护者表示尚未解决在 Windows 上安装所有依赖项的问题，因此多进程相关的功能（如向量环境）在 Windows 上可能会报错。建议在 Linux 或 macOS 环境下运行，或者尝试在 CPU 上以非并行模式缓慢运行训练代码。","https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fissues\u002F710",{"id":132,"question_zh":133,"answer_zh":134,"source_url":135},20240,"使用 RLLib 与 PettingZoo 结合时遇到 \"Selecting Invalid Agent\" 或智能体死亡导致的错误如何处理？","这类错误通常源于 AEC 环境与 Parallel 环境转换时的逻辑问题，或者是特定环境（如 MAgent Tiger-Deer）中的智能体死亡处理缺陷。维护者曾计划重构相关代码以移除复杂的循环并更好地支持并行动作。如果遇到此类问题，建议：1. 确保使用的是最新版本的 PettingZoo 和 SuperSuit；2. 检查是否混用了 AEC 和 Parallel API；3. 如果问题依旧，可能是特定环境的 Bug，需查看是否有针对该环境的修复补丁或暂时避开该环境。","https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fissues\u002F209",{"id":137,"question_zh":138,"answer_zh":139,"source_url":140},20241,"PettingZoo 是否会推出统一的 Multi-Agent 环境 API 以兼容 Gym？","社区曾提出提案，希望用单一的 `MultiAgentEnv` API 替换现有的 `AECEnv` 和 `ParallelEnv`，以增加与 Gym 的兼容性并降低复杂度。但截至目前，该提案暂无活跃开发工作，相关 Issue 已关闭以避免混淆。目前的最佳实践是继续使用现有的 AEC 或 Parallel API，并通过 SuperSuit 库进行必要的转换和包装。","https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fissues\u002F803",{"id":142,"question_zh":143,"answer_zh":144,"source_url":135},20242,"为什么我的智能体在训练初期正常，随后突然报错且只选择特定智能体（如 deer_0）？","这通常是由于环境内部状态管理不一致导致的，特别是在处理智能体死亡或回合结束时。在某些旧版本中，当智能体死亡后，动作字典与环境内部选择的智能体不匹配会引发崩溃。解决方法包括：1. 升级到最新版本，许多此类逻辑错误已在重构中修复；2. 检查自定义包装器是否正确处理了 `dones` 字典和无效动作；3. 确保在使用 RLLib 等框架时，传递给 step 函数的动作字典包含所有当前活跃智能体的动作。",[146,151,156,161,166,171,176,181,186,191,196,201,206,211,216,221,226,231,236,241],{"id":147,"version":148,"summary_zh":149,"released_at":150},118257,"1.25.0","## PettingZoo 1.25.0 发行说明\n\n在本次 PettingZoo 的发布中，我们新增了对 `python 3.12`、`gymnasium>=1.0.0` 和 `agilerl>=2.0.0` 的支持。同时，我们已弃用 `python 3.8`，并添加了警告，以准备在未来版本中将 MPE 环境迁移到 [MPE2](http:\u002F\u002Fmpe2.farama.org) 包。\n\n自 2024 年 1 月的上一次发布以来，我们持续致力于修复各类 bug。\n\nPettingZoo 1.25.0 与 [Supersuit](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FSuperSuit) 的新版本同步发布。\n\n## 破坏性变更\n- 将类 `agent_selector` 重命名为 `AgentSelector`（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1194）。\n- 不再支持 Python 3.8（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1246）。\n- 更新 gymnasium 至 >=1.0.0（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1272）。\n- AgileRL 教程已更新至 2.0.0 版本（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1258）。\n\n## 新特性与改进\n- 从井字棋环境中移除了未使用的 ANSI 渲染代码（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1171）。\n- 增加了与 pytest 8.x 版本的兼容性（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1177）。\n- 移除了迷宫狂热中的多余警告（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1164）。\n- 在 README 中添加了关于所需 Linux 软件包的说明（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1191）。\n- 更新了 third_party_envs.md 文件（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1201）。\n- 更新了井字棋环境（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1192）。\n- 为 MPE 简单环境增加了半径缩放功能（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1213）。\n- 在 `third_party_envs` 中添加了易于安装的 gfootball 环境、SMAC 和 SMACv2，并支持 PettingZoo API（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1217）。\n- 将 Box Jump 添加到第三方环境中（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1276）。\n- 启用了对 Python 3.12 的支持（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1226）。\n- 移除了 RLCard 环境中的重复代码（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1282）。\n- 为 MPE 导入添加了弃用警告（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1280）。\n\n## Bug 修复\n- 修复了约 30,000 条来自 pytest 的警告（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1157）。\n- 通过升级 Pyright 解决了相关问题（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1166）。\n- 修正了 `custom_environment.index.md` 中并行 API 链接的拼写错误（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1183）。\n- 修复了 macOS 上 pygame 报出的“无硬件加速设备”错误（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1190）。\n- 修复了处理嵌套观测字典的测试问题（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1172）。\n- 修复了内联 LaTeX 渲染不正确的图片问题（https:\u002F\u002Fgithub.com\u002FF…","2025-04-22T14:26:30",{"id":152,"version":153,"summary_zh":154,"released_at":155},118258,"1.24.3","## PettingZoo 1.24.3 版本说明：\n\n这是一个次要版本，包含一些小的错误修复、改进以及文档更新。最值得注意的是，我们为 multiwalker 环境添加了 `state` 函数，并修复了一个导致包装器清除底层环境自定义属性的 bug。更多信息请参阅：https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1140。\n\n此外，我们还新增了一个字典，用于将环境名称映射到各环境类型的环境模块，可通过以下方式访问：`from pettingzoo.mpe import mpe_environments`。这些映射被合并成一个包含所有环境的列表：`from pettingzoo.utils.all_modules import all_environments`，两个映射中都包含诸如 `mpe\u002Fsimple_adversary_v3` 之类的键。更多详情请参阅：https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1155。\n\n## 新特性与改进\n* feature\u002F提供对包装后属性的访问（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1140）\n* 为 multiwalker 添加 state 函数（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1149）\n* 在 `all_environments` 之外，新增从环境名称到环境模块的映射（例如 `mpe_environments`）（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1155）\n\n## 错误修复\n* 修复教程中的 Ray 依赖问题（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1139）\n* 修正 MPE SimpleEnv 的连续动作，使其与离散动作保持一致的方向（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1144）\n\n## 文档更新\n* 将 MATS Gym 添加到第三方环境列表中（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1152）\n* 修复 check_for_winner 的注释（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1148）\n* 在 README.md 中的教程列表中加入 AgileRL 教程（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1137）\n* 为带有方括号的 pip install 参数添加单引号（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1153）\n* 为所有 pip install 的 extras 参数添加单引号（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1154）\n\n## 贡献者\n本次发布包含了来自以下贡献者的贡献：@elliottower、@ffelten、@axelbr、@shahofblah、@helpingstar 和 @nicku-a。\n\n衷心感谢我们的贡献者，以及所有曾为此做出贡献的过往贡献者。同时，我们也感谢每一位提交 bug 报告或功能建议的用户，这些反馈对我们的发展至关重要。我们始终欢迎新贡献者加入，如果您感兴趣，请加入我们的 Discord 社区：https:\u002F\u002Fdiscord.gg\u002FnhvKkYa6qX。\n\n**完整变更日志**：https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fcompare\u002F1.24.2...1.24.3","2024-01-18T17:37:28",{"id":157,"version":158,"summary_zh":159,"released_at":160},118259,"1.24.2","## PettingZoo 1.24.2 发行说明：\n本次发布包含了来自 [AgileRL](https:\u002F\u002Fgithub.com\u002FAgileRL\u002FAgileRL) 的三篇全新教程，以及多项错误修复、测试改进和文档更新。\n\n## 新特性与改进\n* AgileRL 教程：[MATD3](https:\u002F\u002Fpettingzoo.farama.org\u002Fmain\u002Ftutorials\u002Fagilerl\u002FMATD3\u002F)、[MADDPG](https:\u002F\u002Fpettingzoo.farama.org\u002Fmain\u002Ftutorials\u002Fagilerl\u002FMADDPG\u002F) 和 [DQN](https:\u002F\u002Fpettingzoo.farama.org\u002Fmain\u002Ftutorials\u002Fagilerl\u002FDQN\u002F) 自对弈\u002F课程学习（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1086、https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1124、https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1128）\n    * 这些现在是我们性能最高且维护最活跃的教程，请访问 [AgileRL Discord](https:\u002F\u002Fdiscord.gg\u002FeB8HyTA2ux) 获取问题解答和故障排除支持。\n* 为 AEC 和并行环境添加多回合包装器（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1105）\n    * 例如，这可用于评估多轮德州扑克的结果，而不仅仅是单一手牌。\n\n\n## 错误修复\n* 检查所有环境的 `parallel_seed_test`，修复 `seed_test` 使其真正使用 `num_cycles` 参数（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1088）\n* 修复汉诺比在调用 `env.step()` 时无法渲染的问题，并清理代码（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1087）\n* 清理 `parallel_api_test`（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1095）\n* 更新 `CONTRIBUTING.md` 以包含测试要求（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1097）\n* 更新 `parallel_test.py` 以支持 Ray RLLib 的 MultiAgentEnv（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1096）\n* RLCard 环境的错误修复：渲染帧率问题、黑屏闪烁现象（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1103）\n* 允许并行环境在 info\u002Fobs 字典中包含其他可选键（例如，“common”）（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1110）\n* 移除未使用的变量，并修复 macOS 上的 Pygame 问题（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1107）\n* 将 Ray 教程更新至 RLlib 2.7.0（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1112）\n* 将 AEC 的 `last()` 方法修改为断言 `agent is not None`，以适应非字符串类型的 `AgentID`（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1120）\n* 修复 `simple_reference` 文档字符串中的拼写错误，并将工作流默认设置为使用 Python 3.11（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1128）\n* 修复 `TerminateIllegal` 包装器在处理空 `info` 字典时的轻微错误（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1129）\n* 修复 MPE 环境的渲染错误（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1130）\n* 修复 SB3 教程中代理索引的错误（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1133）\n* 修正种子测试以兼容 `info` 中的 `action_mask`，并添加测试以确保 `info` 中的动作掩码功能正常（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1134）","2023-11-16T15:12:50",{"id":162,"version":163,"summary_zh":164,"released_at":165},118260,"1.24.1","## PettingZoo 1.24.1 发行说明：\n这是一个热修复版本，用于解决与 [Shimmy](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FShimmy) 的兼容性问题，原因是无意中删除了类型变量。\n\n其他更改包括：对 `knights_archers_zombies` 环境的 minor 修复、改进的 CI 测试（包括使用 [pytest-xdist](https:\u002F\u002Fgithub.com\u002Fpytest-dev\u002Fpytest-xdist) 实现并行化），以及使用 [pytest-markdown-docs](https:\u002F\u002Fgithub.com\u002Fmodal-labs\u002Fpytest-markdown-docs) 进行的新文档测试，确保我们文档中的每个代码块都能成功运行——包括环境使用脚本。\n\n环境创建文档也得到了改进，更加适合初学者。同时，将“环境创建教程”重命名为“自定义环境教程”，以避免与“入门”部分的“环境创建”页面混淆。\n\n## Bug 修复\n* 在 env.py 中恢复 ObsDict 和 ActionDict（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1077）\n  * 这些定义在上一版本中被误删，由此带来的不便敬请谅解。\n* 修复 knights_archers_zombies 的渲染 FPS 及手动控制脚本（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1080）\n* 清理重复的 Python 测试，并添加额外的参数组合测试（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1074）\n\n## 文档更新\n* 为文档中的所有代码块添加文档测试，包括使用脚本（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1083）\n* 更新环境创建教程（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1082、https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1084）\n\n\n**完整变更日志**：https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fcompare\u002F1.24.0...1.24.1","2023-09-04T05:17:14",{"id":167,"version":168,"summary_zh":169,"released_at":170},118261,"1.24.0","## PettingZoo 1.24.0 发行说明：\n本次发布新增对 Python 3.11 的支持，对 [Classic](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fclassic\u002F) 环境进行了大量更新（包括更新的国际象棋和花牌环境版本，以及所有 RLCard 环境的渲染功能），并修复了多项 bug、扩展了测试范围、更新了文档。\n\n我们还很高兴地宣布推出了 3 个针对 [Stable-Baselines3](https:\u002F\u002Fgithub.com\u002FDLR-RM\u002Fstable-baselines3) 的教程，更新了 RLlib 教程（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1051），以及一个包含 [WandB](https:\u002F\u002Fwandb.ai\u002F) 和 [TensorBoard](https:\u002F\u002Fwww.tensorflow.org\u002Ftensorboard) 集成的更新版 [CleanRL](https:\u002F\u002Fgithub.com\u002Fvwxyzjn\u002Fcleanrl) 多智能体 Atari 教程。\n\n为使本次发布成为可能，同步发布的还有 [SuperSuit 3.9.0](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FSuperSuit\u002Freleases\u002Ftag\u002F3.9.0) 和 [Shimmy 1.2.0](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FShimmy\u002Freleases\u002Ftag\u002Fv1.2.0)，分别修复了与 [Stable-Baselines3](https:\u002F\u002Fgithub.com\u002FDLR-RM\u002Fstable-baselines3) 和 [OpenSpiel](https:\u002F\u002Fgithub.com\u002Fdeepmind\u002Fopen_spiel) 的兼容性问题。\n\n## 破坏性变更\n* 不再支持 Python 3.7，因为它已进入生命周期结束阶段（[链接](https:\u002F\u002Fendoflife.date\u002Fpython)）\n* 已弃用 `chess_v5`，推荐使用更新的 `chess_v6`\n* 已弃用 `hanabi_v4`，推荐使用 `hanabi_v5`\n\n## 新特性与改进\n* 支持 Python 3.11（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1029）\n* 允许使用非字符串类型的 AgentID（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1071）\n  * 现在可以使用整数等其他类型作为 AgentID\n* 添加 [Stable-Baselines3](https:\u002F\u002Fgithub.com\u002FDLR-RM\u002Fstable-baselines3) 教程（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1015、https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1017），包含以下示例：\n  * 带视觉观测的向量化环境（[骑士、弓箭手、僵尸](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Fsb3\u002Fkaz\u002F)）\n  * 带非视觉观测的向量化环境（[水世界](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Fsb3\u002Fwaterworld\u002F)）\n  * 支持非法动作屏蔽的环境（[四子连珠](https:\u002F\u002Fpettingzoo.farama.org\u002Fmain\u002Ftutorials\u002Fsb3\u002Fconnect_four\u002F)）\n* 添加更新版 [CleanRL](https:\u002F\u002Fgithub.com\u002Fvwxyzjn\u002Fcleanrl) 多智能体 [Atari](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fatari\u002F) 示例（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F1033）\n  * 适配 Gymnasium 和当前的 PettingZoo\u002FSuperSuit\n  * 提供完整的训练脚本，包含命令行接口和日志记录，并集成 [WandB](https:\u002F\u002Fwandb.ai\u002F) 和 [TensorBoard](https:\u002F\u002Fwww.tensorflow.org\u002Ftensorboard)\n* 更新 [国际象棋](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fclassic\u002Fchess\u002F) 至 v6：\n  * 新增对“残局不足”、“50 步规则”和“三次重复局面”的检查（https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F997）\n  * 修复白方视角问题、观测错误，并补充文档（https:\u002F\u002Fgith","2023-08-22T16:12:47",{"id":172,"version":173,"summary_zh":174,"released_at":175},118262,"1.23.1","## **PettingZoo 1.23.1 发行说明：**\n\n本次发布是一个小型热修复，用于解决与 [Shimmy](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002Fshimmy) 的兼容性问题以及其他一些小 bug。\n\n### **Bug 修复：**\n* 修复 API 测试 `test_action_flexibility()` 中的 bug (https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F986)\n   * 该修复解决了 Shimmy 的 OpenSpiel 封装器的相关测试问题。\n* 移除 `ParrellEnv.seed()` (https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F987)\n* 更新 RLlib 的依赖项 (https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F992)\n   * 注意：RLlib 的 PettingZoo 封装目前存在故障，但将通过 https:\u002F\u002Fgithub.com\u002Fray-project\u002Fray\u002Fpull\u002F34696 和 https:\u002F\u002Fgithub.com\u002Fray-project\u002Fray\u002Fpull\u002F32999 得到修复。\n\n### **文档更新：**\n* 在首页添加关于 aec 和并行 API 的信息 (https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F985)\n* 创建 CITATION.cff 文件 (https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F990)\n* 将 Carla gym 添加到 third_party_envs.md 文档中 (https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F991)\n\n**完整变更日志**：https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fcompare\u002F1.23.0...1.23.1","2023-05-24T00:36:35",{"id":177,"version":178,"summary_zh":179,"released_at":180},118263,"1.23.0","## **PettingZoo 1.23.0 版本说明：**\n\n本次发布完成了 PettingZoo API 的标准化进程，使其与 [Gymnasium](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FGymnasium) 完全一致。已弃用的 `env.seed()` 方法已被移除，取而代之的是 `env.reset(seed=seed)`；同时，`reset()` 中的 `return_info` 参数也被移除——现在每次重置都会始终返回 `info`。\n\n新增功能包括对 [Pickle](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fpickle.html) 序列化的全面支持，以及测试方面的更新：[pickle 测试](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F928)、[改进的 API 测试](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F946)，以及[重写的种子测试](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F946)（与 Gymnasium 保持一致）。此外，库现已迁移到 `pyproject.toml`，以使安装更加一致和可靠，并符合 [PEP 621](https:\u002F\u002Fpeps.python.org\u002Fpep-0621\u002F) 标准。\n\n本次发布还包含大量文档更新：针对每种环境类型的完整安装和使用示例（[Atari](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fatari\u002F#installation)、[Butterfly](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fbutterfly\u002F#installation)、[Classic](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fclassic\u002F#installation)、[MPE](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fmpe\u002F#installation)、[SISL](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fsisl\u002F#installation)），新增 9 个以上的[第三方环境](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fthird_party_envs\u002F)、新的[动作掩码文档](https:\u002F\u002Fpettingzoo.farama.org\u002Fapi\u002Faec\u002F#action-masking)、新的[LangChain 教程](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Flangchain\u002F)、更新的[CleanRL](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Fcleanrl\u002F)、[Tianshou](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Ftianshou\u002F) 和 [RLlib](https:\u002F\u002Fpettingzoo.farama.org\u002Ftutorials\u002Frllib\u002F) 教程等。\n\n### **破坏性变更：**\n\n为确保 PettingZoo 和 Gymnasium API 之间的完全一致性，进行了以下更改：\n\n1. 已弃用的环境 `seed()` 方法已被完全移除。\n   * 若要设置环境种子，请调用 `env.reset(seed=0)`。\n\n2. `reset()` 函数中的 `return_info` 参数已被移除。\n   * 现在调用 `reset()` 将始终返回 `observation` 和 `info`。\n\n### **新特性与改进**\n\n* 现在支持通过 `observation[action_mask]` 或 `info[action_mask]` 进行动作掩码操作，并提供了相关文档和示例 (#953)。\n* 使用 `pyproject.toml` 替代 `setup.py` (#875)。\n* 从 `reset()` 中移除 `return_info` 参数 (#890)。\n* 为工具函数和基础环境添加类型提示 (#964)。\n* 添加 `aec_wrapper_fn` 以匹配 `parallel_wrapper_fn` (#879)。\n* 更新 SISL [Waterworld](https:\u002F\u002Fpettingzoo.farama.org\u002Fenvironments\u002Fsisl\u002Fwaterworld\u002F) 环境，提高最大加速度，使行为更加平滑 (#882)。\n* 更新 MPE simple_spread 代理奖励 (#894)，并同步更新所有 MPE 环境以……","2023-05-15T19:38:44",{"id":182,"version":183,"summary_zh":184,"released_at":185},118264,"1.22.4","## 由于破坏性 API 变更，此版本已被撤回。我们正在努力在下一个版本中解决此问题。\n\n## 变更内容\n\n### 错误修复：\n* 由 [@pseudo-rnd-thoughts](https:\u002F\u002Fgithub.com\u002Fpseudo-rnd-thoughts) 在 [#886](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F886) 中修复 CI 问题\n* 由 [@jjshoots](https:\u002F\u002Fgithub.com\u002Fjjshoots) 在 [#835](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F835) 中修复 pre-commit 钩子\n* 由 [@reginald-mclean](https:\u002F\u002Fgithub.com\u002Freginald-mclean) 在 [#897](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F897) 中修复警告\n* 修复拼写错误：将 BaseParallelWraper 重命名为 BaseParallelWrapper，由 [@mikcnt](https:\u002F\u002Fgithub.com\u002Fmikcnt) 在 [#876](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F876) 和 [@jjshoots](https:\u002F\u002Fgithub.com\u002Fjjshoots) 在 [#908](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F908) 中完成\n* 修复：MPE 环境在 rgb_array 模式下的黑屏渲染问题，由 [@cibeah](https:\u002F\u002Fgithub.com\u002Fcibeah) 在 [#874](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F874) 中解决\n* 由 [@sushant1212](https:\u002F\u002Fgithub.com\u002Fsushant1212) 在 [#891](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F891) 中移除 MPE 中不必要的代码行\n* 新功能与改进\n* 由 [@jjshoots](https:\u002F\u002Fgithub.com\u002Fjjshoots) 在 [#875](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F875) 中用 pyproject.toml 替代 setup.py\n* 由 [@jjshoots](https:\u002F\u002Fgithub.com\u002Fjjshoots) 在 [#890](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F890) 中移除 `reset()` 方法中的 `return_info` 参数\n* 破坏性变更：调用 `reset(return_info=True)` 现在将抛出错误\n* 此更改旨在与 Gymnasium 保持一致（[链接](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FGymnasium\u002Fcommit\u002F3a8daafce113c6161190c0252c6a3a340cc38fd4)）\n* 由 [@Kallinteris-Andreas](https:\u002F\u002Fgithub.com\u002FKallinteris-Andreas) 在 [#879](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F879) 中添加 aec_wrapper_fn\n* Waterworld 提高最大加速度，由 [@jjshoots](https:\u002F\u002Fgithub.com\u002Fjjshoots) 在 [#882](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F882) 中完成\n* 更新 MPE simple_spread 的智能体奖励，由 [@sushant1212](https:\u002F\u002Fgithub.com\u002Fsushant1212) 在 [#894](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F894) 中完成\n\n### 文档更新：\n* 由 [@mgoulao](https:\u002F\u002Fgithub.com\u002Fmgoulao) 在 [#883](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F883) 中添加用于文档的新 CONTRIBUTING.md\n* 由 [@elliottower](https:\u002F\u002Fgithub.com\u002Felliottower) 在 [#906](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F906) 中为每种环境类型添加使用示例\n* 由 [@elliottower](https:\u002F\u002Fgithub.com\u002Felliottower) 在 [#907](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F907) 中更新 third_party_envs.md\n* 由 [@mgoulao](https:\u002F\u002Fgithub.com\u002Fmgoulao) 在 [#880](https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F880) 中为文档网站添加更新后的 favicon\n* 由 [@elliottower](https:\u002F\u002Fgithub.com\u002Felliottower) 在 [#903](https:\u002F\u002Fgithub.","2023-03-20T14:50:51",{"id":187,"version":188,"summary_zh":189,"released_at":190},118265,"1.22.3","## 变更内容\n* Waterworld_v4：修复了在添加奖励时选择错误追击者的问题，由 @TheMikeste1 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F855 中完成。\n* 从环境页面中移除 AEC 流程图，由 @mgoulao 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F856 中完成。\n* 添加关于 MAgent2 独立软件包的信息，由 @dsctt 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F857 中完成。\n* 将 flake8 的 CI 配置从 GitLab 切换到 GitHub，由 @RedTachyon 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F858 中完成。\n* 修复工作流问题，由 @WillDudley 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F867 中完成。\n* 版本管理改进，由 @mgoulao 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F865 中完成。\n* 将 \u002Ftutorials\u002FRay 目录下的 pillow 依赖从 9.2.0 升级至 9.3.0，由 @dependabot 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F859 中完成。\n* 安全依赖更新，由 @WillDudley 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F869 中完成。\n* 包装器文档更新：从 utils.conversions 模块中获取 `to_parallel` 方法，由 @AndrewRWilliams 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F870 中完成。\n* 支持 Python 3.11，由 @WillDudley 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F872 中完成。\n\n## 新贡献者\n* @TheMikeste1 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F855 中完成了首次贡献。\n* @dependabot 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F859 中完成了首次贡献。\n* @AndrewRWilliams 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F870 中完成了首次贡献。\n\n**完整变更日志**：https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fcompare\u002F1.22.2...1.22.3","2022-12-28T01:04:53",{"id":192,"version":193,"summary_zh":194,"released_at":195},118266,"1.22.2","## 变更内容\n* 修复了由 @BolunDai0216 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F841 中提出的 Issue #840\n* 修复了由 @WillDudley 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F846 中提出的 #845\n* 按照 @tobirohrer 在 #844 中的提议，添加了 GitHub 问题表单，详见 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F848\n* 由 @BolunDai0216 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F843 中修改了 Waterworld 环境的奖励逻辑\n* 增强功能：由 @younik 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F842 中为国际象棋添加了 GUI\n* 由 @WillDudley 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F847 中更改了并行 API 循环的范式\n* 由 @dsctt 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F850 中移除了 Magent 文档的相关内容\n* 由 @WillDudley 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F852 中修复了 Tianshou 教程中的问题\n* 由 @WillDudley 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F838 中全面修订了环境创建指南\n* 修复：在 Tianshou 教程中设置 render_mode（#853），由 @RaffaeleGalliera 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F854 中完成\n\n## 新贡献者\n* @tobirohrer 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F848 中完成了首次贡献\n* @RaffaeleGalliera 在 https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F854 中完成了首次贡献\n\n**完整变更日志**：https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fcompare\u002F1.22.1...1.22.2","2022-11-11T19:29:58",{"id":197,"version":198,"summary_zh":199,"released_at":200},118267,"1.22.1","## What's Changed\r\n* Docs Update 2 by @mgoulao in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F817\r\n* Remove average total reward from environments pages by @mgoulao in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F821\r\n* Rename core to AEC by @mgoulao in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F822\r\n* Add Google Analytics tag by @mgoulao in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F825\r\n* Remove MAgent content by @dsctt in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F823\r\n* This updates the setup and other things by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F829\r\n* Wd\u002Ftutorials ci by @WillDudley in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F831\r\n* update logo, favicon, and fix broken links by @mgoulao in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F832\r\n* Wd\u002Ftutorials ci by @WillDudley in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F833\r\n* Bug fixes for Issue #818 by @BolunDai0216 in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F836\r\n* Update docs by @mgoulao in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F837\r\n* Fix ref to Gymnasium by @dsctt in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F839\r\n\r\n\r\n**Full Changelog**: https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fcompare\u002F1.22.0...1.22.1","2022-10-25T15:53:13",{"id":202,"version":203,"summary_zh":204,"released_at":205},118268,"1.22.0","Major API change: `done` -> `termination` and `truncation`, matching Gymnasium's new API.\r\nThe dependency `gym` has been switched with `gymnasium`, which is maintained.\r\n\r\n## What's Changed\r\n* replace 'done' with 'termination, truncation' new logic by @5cat in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F802\r\n* Update new Render API by @younik in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F800\r\n* fix wrapper unwrapped thing by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F808\r\n* Update Sphinx theme by @mgoulao in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F804\r\n* Update security permissions for GitHub workflows by @andrewtanJS in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F809\r\n* Updated Waterworld by @BolunDai0216 in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F807\r\n* Docs API Update by @WillDudley in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F810\r\n* Gymnasium dep by @WillDudley in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F814\r\n\r\n## New Contributors\r\n* @5cat made their first contribution in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F802\r\n* @younik made their first contribution in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F800\r\n\r\n**Full Changelog**: https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fcompare\u002F1.21.0...1.22.0","2022-10-07T22:07:17",{"id":207,"version":208,"summary_zh":209,"released_at":210},118269,"1.21.0","## What's Changed\r\n1. As part of the Gym update to 0.26, the following change has been made:\r\n    - `done` -> `termination` and `truncation`: The singular `done` signal has been changed to a `termination` and `truncation` signal, where `termination` dictates that the environment has ended due to meeting certain conditions, and `truncation` dictates that the environment has ended due to exceeding the time\u002Fframe limit.\r\n2. Butterfly\u002FProspector, Classic\u002FMahjong, Classic\u002FDoudizhu, Classic\u002FBackgammon, Classic\u002FCheckers has been pulled.\r\n3. Some QOL improvements for development, such as moving pyright to `pre-commit` and enforcing pydocstyle.\r\n4. Massive website upgrade.\r\n\r\n## List of Changes\r\n* Fix concatvecenvs to work in proper process by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F763\r\n* Fix RPS render issue by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F776\r\n* Reduces the number of warnings by @pseudo-rnd-thoughts in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F777\r\n* Pull Prospector by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F779\r\n* Remove a bunch of envs by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F781\r\n* Potentially fix 13 lines so it doesn't take >6 hours to run by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F782\r\n* Move Pyright to `pre-commit` + add `pydocstyle` by @kir0ul in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F737\r\n* Update pre-commit config by @pseudo-rnd-thoughts in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F787\r\n* Update docs website to Sphinx by @mgoulao in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F780\r\n* Update links to the new domain by @mgoulao in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F789\r\n* Truncation Update by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F767\r\n* Update Gym version by @WillDudley in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F788\r\n* More truncation fixes by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F796\r\n* Update simple_env.py by @FilipinoGambino in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F798\r\n* Docs automation by @mgoulao in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F790\r\n\r\n## New Contributors\r\n* @pseudo-rnd-thoughts made their first contribution in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F777\r\n* @mgoulao made their first contribution in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F780\r\n\r\n**Full Changelog**: https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fcompare\u002F1.20.1...1.21.0","2022-09-24T15:45:13",{"id":212,"version":213,"summary_zh":214,"released_at":215},118270,"1.20.1","Refer to the previous version (1.20.0) for list of changes, this version simply exists due to technical problems with publishing to PyPI.","2022-08-07T20:12:27",{"id":217,"version":218,"summary_zh":219,"released_at":220},118271,"1.20.0","## What's Changed\r\n* Black to pass master CI by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F734\r\n* Refactor Pytest multiple calls to a single call by @kir0ul in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F731\r\n* Change MPE rendering to use Pygame instead of pyglet #732  by @WillDudley in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F738\r\n* Remove pyglet and buggy dependency in Multiwalker by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F739\r\n* Add EzPickle to MPE by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F741\r\n* Fix incorrect observation dict key in documentation by @bkrl in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F743\r\n* Temporarily remove waterworld from tests and also disable environment. by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F749\r\n* Fix broken atari environment path by @manu-hoffmann in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F747\r\n* Complete Atari Envs path fix by @jjshoots in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F750\r\n* Correct MPE requirements to reflect PR #738 by @WillDudley in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F748\r\n\r\n## New Contributors\r\n* @WillDudley made their first contribution in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F738\r\n* @bkrl made their first contribution in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F743\r\n* @manu-hoffmann made their first contribution in https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fpull\u002F747\r\n\r\n**Full Changelog**: https:\u002F\u002Fgithub.com\u002FFarama-Foundation\u002FPettingZoo\u002Fcompare\u002F1.19.1...1.20.0","2022-08-07T20:03:32",{"id":222,"version":223,"summary_zh":224,"released_at":225},118272,"1.19.1","- Update Gym requirement version","2022-06-21T23:43:06",{"id":227,"version":228,"summary_zh":229,"released_at":230},118273,"1.19.0","- Streamlined all envs to have consistent folder structures\r\n- Added `info` as output of `reset` to be consistent with new Gym API","2022-06-21T23:38:14",{"id":232,"version":233,"summary_zh":234,"released_at":235},118274,"0.18.1","- Massive overhaul to Knight Archers Zombies, version bumped\r\n- Changed Atari games to use minimal observation space by default, all versions bumped\r\n- Large bug fix to all MAgent environments, versions bumped\r\n- MAgent environments now have Windows binaries\r\n- Removed Prison environment\r\n- Multiwalker bug fix, version bumped\r\n- Large number of test fixes\r\n- Removed manual_control with new manual_policy method\r\n- Converted seed method to argument to reset to match new Gym API\r\n\r\n(The PettingZoo 1.18.0 release never existed due to technical issues)","2022-04-29T19:53:56",{"id":237,"version":238,"summary_zh":239,"released_at":240},118275,"1.17.0","* Changed metadata naming scheme to match gym. In particular `render.modes` -> `render_modes` and `video.frames_per_second` -> `render_fps`\r\n* Fixed bad pettingzoo import error messages caused by autodeprication logic","2022-03-15T15:14:56",{"id":242,"version":243,"summary_zh":244,"released_at":245},118276,"1.16.0","* KAZ: Code rewrite and numerous fixes, added manual control capabililty\r\n* Supports changes to seeding in gym 0.22.0\r\n* Fixed prison state space, bumped version\r\n* Fixed battlefield state space\r\n* Increased default cycles in api tests (making them catch more errors than before)\r\n* Added turn-based to parallel wrapper\r\n* Moved magent render logic to Magent repo","2022-03-05T21:46:27"]