Python agent based evolution