Design, synthesis, in vitro and in vivo evaluation of novel pyrrolizine-based compounds with potential activity as cholinesterase inhibitors and anti-Alzheimer's agents.