EthicalGardeners documentation¶
EthicalGardeners is a PettingZoo multi-agent environment for simulating gardeners tending to a grid-world garden, including ethical considerations.
The goal is to make agents learn an ethically-aligned behaviour that includes and respects these considerations.
Installation¶
Install the package with pip:
pip install ethical-gardeners
For visualization support (pygame, opencv):
pip install "ethical-gardeners[viz]"
For metrics tracking (wandb):
pip install "ethical-gardeners[metrics]"
Quick Start¶
To run the simulation with the default configuration. After cloning the project, at the project root, use the following command:
python ethicalgardeners/main.py --config-name config
After installing the package using pip, you can run instead:
python -m ethicalgardeners.main --config-name config
For customization options, see the Launching the Ethical Gardeners Simulation tutorial.
Tutorials: