Environment, communication and decision for multiagent systems