{'fraction_non_alphanumeric': 0.022071307300509338, 'fraction_numerical': 0.0, 'mean_word_length': 5.372972972972973, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Protocol for creating Multiagent Systems in Ensemble with Pure Data

This work presents a protocol for integration of two software platforms, the Ensemble framework for musical multiagent systems and the Pure Data programming environment. Ensemble is written in Java and requires knowledge of this language in order to access high-level features of the framework, such as creating customized agent reasonings, new event servers for non-supported data-types, or new physical models for the virtual world. On the other hand, Pure Data (Pd) is a very popular programming environment for real-time audio processing (among other things) and has an ever-growing community of users interested in sound and music applications. The protocol described here allows Pd users with no knowledge of Java to create musical multiagent applications in Ensemble with a high degree of flexibility, including configuration of parameters defining the virtual world, creation of agents and agent components (sensors, actuators, memories and knowledge base) and the definition of agent reasonings, which control agent behaviour and agent interactions in the virtual world, all from within Pd patches.