# \[rllib\] Applying MAML in multi-agent environments

**URL:** <https://discuss.ray.io/t/rllib-applying-maml-in-multi-agent-environments/534>\
**Category:** RLlib\
**Created:** [January 22, 2021, 6:51am UTC](https://discuss.ray.io/t/rllib-applying-maml-in-multi-agent-environments/534 "2021-01-22T06:51:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![51616](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/51616/32/247_2.png) [@51616](https://discuss.ray.io/u/51616)\
**Post date:** [January 22, 2021, 6:51am UTC](https://discuss.ray.io/t/rllib-applying-maml-in-multi-agent-environments/534/1 "2021-01-22T06:51:20Z")

</div>

The docs say that MAML doesn’t support multi-agent settings. I’m guessing that I have to modify the MAML source code. Could you please guide me a little how to approach this? Or is there a workaround that can make MAML work in multi-agent settings?

---

<div class="post-metadata">

**Author:** ![sven1977](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sven1977/32/53_2.png) [@sven1977](https://discuss.ray.io/u/sven1977)\
**Post date:** [January 25, 2021, 6:09pm UTC](https://discuss.ray.io/t/rllib-applying-maml-in-multi-agent-environments/534/2 "2021-01-25T18:09:21Z")

</div>

Could you try using MAML in a multi-agent setup? The reason, we haven’t mentioned this in the docs is that we have not tested this yet (but it may as well work completely fine).

---

<div class="post-metadata">

**Author:** ![51616](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/51616/32/247_2.png) [@51616](https://discuss.ray.io/u/51616)\
**Post date:** [January 25, 2021, 6:39pm UTC](https://discuss.ray.io/t/rllib-applying-maml-in-multi-agent-environments/534/3 "2021-01-25T18:39:10Z")

</div>

Sure. I’ll update back when I have a chance to use MAML.
