AI-driven smart pharmacology