I searched a lot, but I was not able to find any tutorial, mostly because Gym environments and most RL libraries are not for multi-agent RL.
After checking the Internet, you will probably find several resources such as
- https://arxiv.org/abs/2011.00583 and others.
Try to understand the principles first (see above). After some reasonable amount of coding you can adapt OpenAI gym. Good luck!