Overcoming the acting/reasoning dualism in intelligent behavior