Embedding data-driven decision strategies on software agents: the case of a multi-agent system for monitoring air-quality indexe