Developing pervasive multi-agent systems with nature-inspired coordination