Leviathan is an opinion dynamics model described in (Deffuant et al., 2013).
Leviathan has been also studied for two groups of agents which differ in their parameters in (Huet et al., 2020).
You can play with this demonstration application. Instructions:
The code source of (Deffuant et al., 2013) is available under the GNU Public License.
For the groups' version of (Huet et al., 2020), all relevant data and codes are also available.