Active mental entities: a new approach to endow multi-agent systems with intelligent behavior