Recent advances in deep learning and specifically in generative adversarial networks have demonstrated surprising results in generating new images and videos upon request, even using natural language as input. We'll present the first application of generative adversarial autoencoders (AAE) for generating novel molecules with a defined set of parameters. In the first proof of concept experiment, we developed a seven-layer AAE architecture with the latent middle layer serving as a discriminator. As an input and output, the AAE uses a vector of binary fingerprints and concentration of the molecule. In the latent layer, we also introduced a neuron responsible for growth inhibition percentage, which, when negative, indicates the reduction in the number of tumor cells after the treatment. To train the AAE, we used the NCI-60 cell line assay data for 6252 compounds profiled on MCF-7 cell line. The output of the AAE was used to screen 72 million compounds in PubChem and select candidate molecules with potential anti-cancer properties. This approach is a proof of concept of an artificially intelligent drug discovery engine, where AAEs are used to generate new molecular fingerprints with the desired molecular properties. We'll also present the applications of this approach to discovering new anti-infective drugs and present the roadmap for generating drugs for rare diseases and even for individual patients.