版本发布日志

XuanCe (1.4.1)

Released on 2026-02-25 - GitHub - PyPI

What's Changed

  • Updated: Upgraded some Box2D scenarios to the latest versions.
  • Improved: Further optimized the Benchmark pipeline/workflow.
  • Optimized: Improved and tested image-input support for MARL algorithms.
  • Updated: Refined the config system to simplify the parameter setup process and improve readability.
  • Refactored: Moved Runner to a backend-agnostic (backend-independent) layer.
  • Renamed: dl_toolbox → dl_backend.

Full Changelog: 1.4.0...1.4.1

XuanCe (1.4.0)

Released on 2026-01-12 - GitHub - PyPI

What’s New

  1. Fixed: Resolved installation issues by removing the hard dependency on mpi4py, significantly simplifying the installation process.
  2. Changed: Moved set_seed functionality from the Runner module to the Agent module for clearer responsibility separation.
  3. Improved: Optimized the design of test_envs to reduce unnecessary resource consumption during evaluation.
  4. Improved: Refactored the Runner module to better manage Agents, environments, and experiment lifecycles, enabling clearer and more consistent workflows for training, testing, and benchmarking.
  5. Improved: Further standardized the benchmark pipeline to make it easier for users to quickly run their own benchmarks and obtain more comprehensive benchmark results (work in progress).
  6. Refactored: Updated the Agent class to support metadata persistence and revised its initialization interface.
  7. Renamed: Renamed the Runner parameter method to algo for clearer semantic meaning.
  8. Fixed: Various other bug fixes and stability improvements.

XuanCe (1.3.3)

Released on 2025-12-31 - GitHub - PyPI

What's Changed

  • Docs: Update documentation (thanks to @S444H @1otuses @jiaweiLu04 @YeFanRepo @Gaoshen-worker @GUOZI-fruit @zhanshuxie).
  • Callbacks: Improved callbacks for MARL and other AI toolboxes.
  • Models: Added support for CNN-based representations in MARL algorithms.
  • Environments: Added Atari environments for MARL.
  • Benchmarks: Added and standardized the Benchmark section for XuanCe.
  • Algorithms: Added support for Independent TD3 (ITD3) in MARL.

New Contributors

Full Changelog: 1.3.2...1.3.3

XuanCe (1.3.2)

Released on 2025-10-02 - GitHub - PyPI

What's Changed

  • Synchronize updates for the TensorFlow and MindSpore frameworks by @wenzhangliu
  • Add support for running on Colab by @wenzhangliu
  • Fix the learning rate decay step issue (no decay by default) by @wenzhangliu
  • Docs(curl_agent.md, drq_agent.md, spr_agent.md): add docs. by @wenboli-ai in #155
  • Configurable parameter sharing for MADDPG adversarial environment (add new examples) by @josh1147 in #156
  • Add custom MARL policy implementation example by @josh1147 in #157
  • Update drqn_agent.py by @1otuses in #158
  • Fix other bugs.

New Contributors

Full Changelog: 1.3.1...1.3.2

XuanCe (1.3.1)

Released on 2025-07-02 - GitHub - PyPI

What's Changed

  • Comprehensive testing completed for Python 3.8, 3.9, 3.10, 3.11, and 3.12. @wenzhangliu
  • Dropped official support for Python 3.6 and 3.7. @wenzhangliu
  • Adjusted version requirements for commonly used packages: numpy, torch, gymnasium, etc. @wenzhangliu
  • Update MARL communication algorithm by @TangY1fan in #150

Full Changelog: 1.3.0...1.3.1

XuanCe (1.3.0)

Released on 2025-06-17 - GitHub - PyPI

What's Changed

New Contributors

Full Changelog: 1.2.6...1.3.0

XuanCe (1.2.6)

Released on 2025-02-08 - GitHub - PyPI

What's Changed

  • The Optuna tool was integrated to support automatic hyperparameter tuning by @wenzhangliu.
  • Add NPG agent and NPG learner by @XiangDuojie in #102
  • Optimized COMA for tasks on SMAC by @wenzhangliu.
  • Added the get_joint_input method to the LearnerMAS class to fix data reading failures when the number of agents is 1 by @wenzhangliu.
  • Other bug fixes.

New Contributors

Full Changelog: 1.2.5...1.2.6

XuanCe (1.2.5)

Released on 2025-01-05 - GitHub - PyPI

  • Updated and optimized the API documentation.
  • Updated the Atari environment.
  • Correct the env argument of Agent as envs: Union[DummyVecEnv, SubprocVecEnv].
  • Updated the RNN support in MASAC.
  • Some gym environments are modified to be accessed via the gymnasium interface.
  • Adjusted the dependency package versions during the XuanCe installation process and added support for installation for specific environments.
  • Other bug fixes.

Full Changelog: 1.0.0...1.2.5

XuanCe (1.2.4)

Released on 2024-12-11 - GitHub - PyPI

  • Synchronized updated to the MindSpore based on version 1.2.3.

  • Added support for multi-GPU distributed training.

  • Updated VDAC, COMA, MFQ, MFAC, DCG, QTRAN, and other algorithms for version of 1.2.x.

  • Added IAC multi-agent reinforcement learning baseline algorithm.

  • Improved the training mechanism for multi-agent adversarial tasks.

  • Further standardized and optimized the underlying APIs.

Full Changelog: v1.0.11...v1.2.4

XuanCe (1.2.3)

Released on 2024-12-11 - GitHub - PyPI

  • Synchronized updates to the MindSpore version based on version 1.2.2.

  • Further standardized and optimized the underlying APIs.

XuanCe (1.2.2)

Released on 2024-12-11 - GitHub - PyPI

  • Synchronized updates to the TensorFlow 2 version based on version 1.2.1.

  • Refactored the Agent module, distinguishing between on-policy and off-policy algorithms.

  • Further standardized and optimized the underlying APIs.

XuanCe (1.2.1)

Released on 2024-12-11 - GitHub - PyPI

  • Update the MARL algorithms based on version 1.2.0.

  • Add support for non-parameter-sharing in multi-agent systems, with individual agent models indexed by name.

  • Improve the algorithms like MADDPG and MASAC with support for RNNs.

XuanCe (1.2.0)

Released on 2024-12-11 - GitHub - PyPI

  • Modified the environment wrapper program to facilitate adding new environments.

  • Standardized the wrapping of existing single-agent and multi-agent environments.

  • Organized commonly used APIs into a unified structure.

  • Integrated the creation of representation, policy, and optimizer into each agent’s initialization method.

  • Added support for non-parameter-sharing in MARL algorithms.

  • Standardized the naming of parameters in config files.

XuanCe (1.1.1)

Released on 2024-05-12 - GitHub - PyPI

  • Improve some algorithms, such as SAC, MASAC, DDPG, and TD3, etc.
  • Add multi-robot warehouse (RWARE) environment.
  • n_size -> buffer_size;
  • The saving and loading of observation status;
  • Unify the names of attributes for both single-agent and multi-agent DRL.

Full Changelog: v.1.2.0...v1.1.1

XuanCe (1.0.11)

Released on 2024-04-11 - GitHub - PyPI

Updates for XuanCe v1.0.11:

  1. Support and finish test for gym-pybullet-drones environments;
  2. Fix some issues for installation of xuance. Now it is more easy to install and use;
  3. Improve the compatibility for MacOS with Apple's M chips;
  4. Fix some other bugs.

Welcome to install and try it!

XuanCe (1.0.10)

Released on 2024-03-05 - GitHub - PyPI

Updates for XuanCe v1.0.10:

  1. Fix some bugs for MARL;
  2. Support Minigrid and gym-pybullet-drones environments;
  3. Provide examples of customized environments for MARL;
  4. Some other issues are solved.

Welcome to install and try it!

XuanCe (1.0.6)

Released on 2023-12-25 - GitHub - PyPI

A stable version of XuanCe.

XuanCe (1.0.1)

Released on 2023-11-27 - GitHub - PyPI

Beta version for MARL with SMAC and GFootball.

XuanCe (1.0.0)

Released on 2023-10-21 - GitHub - PyPI

The first version of XuanCe.