Installation

mango requires Python >= 3.10 and runs on Linux, OSX and Windows. For installation of mango you could use virtualenv which can create isolated Python environments for different projects.

Installation with pip

Once you have created a virtual environment you can just run pip to install it:

$ pip install mango-agents

Installation from source

To install from source, simply check out this repository and install in editable mode using pip:

$ pip install -e .

Using a local message broker

If you want to make use of the functional mqtt modules to modularize your agent, you must have a local message broker running on your system. We recommend Mosquitto. On Debian/Ubuntu it can be installed as follows:

$ sudo apt-get install mosquitto

Note that mosquitto requires to have a config since v2.x for it to be accessible from outside your machine. It may as well be desired to set the option set_tcp_nodelay=true in the mosquitto.conf to improve round-trip time. Using the default QoS setting of 0 is recommended.