osbrain
osbrain copied to clipboard
osBrain - A general-purpose multi-agent system module written in Python
I have a centralized agent who is continually checking to see if other agents are still running. I am currently lopping through a dictionary list I created when each agent...
I was just wondering why exactly that is and what should I do if I want to use more in my simulation
Is there a way to achieve a global synchronization call as it is in MPI.Barrier() in mpi4py?
in the run function of agent, the serializer for sockets has been hardcoded to be 'pickle', shouldn't this be set to the serializer of the individual agents, or the global...
Is there a way to attach a debugger to an agent? e.g putting breakpoints and stepping through the functions being called. Or, what is the recommended way to debug the...
Hi, I am wondering if there is a way in which an agent can send message to another agent when both the agents are not defined in the name server...
Continuing the discussion from #357 Consider the following code: ```python import time from osbrain import run_nameserver, run_agent, Agent def log_msg(agent, msg): agent.log_info('Received: %s' % msg) class ListAgent(Agent): def on_init(self): self.received...
Hello, I am considering to use osBrain for my simulation but I need a virtual time simulation, not real-time. Is it possible to add a virtual time for agents in...
Hello, I have a problem with the OOP in osbrain and need some help, please. According to the documentation you can use on_init to set attributes. However, the attributes are...