Sapiently

(adv.) In a sapient manner.