Anyone who has watched a drug-discovery project stall while researchers jump between five different pieces of software will recognize the problem CompoundAI is trying to solve. Bioinformatician Dr. Mayank Roy Chowdhury has released version 0.2 of CompoundAI. This open-source computational drug discovery framework lives on GitHub. The update delivers a working end-to-end pipeline. Users supply a list of compound names or PubChem identifiers. From there, the system produces a predicted biological activity result. The first implemented case targets acetylcholinesterase (AChE), a protein linked to Alzheimer’s disease.
Researchers who screen compounds computationally against a biological target usually jump between disconnected tools. They query a database for structures. Next, they use a cheminformatics package to calculate molecular descriptors. After that, they turn to separate statistical or machine-learning software to build and test a predictive model. Chowdhury built CompoundAI to join these steps into one reproducible pipeline. In addition, he kept each stage visible instead of hiding them behind a black box.
“I’m happy to share CompoundAI v0.2, the first working end-to-end version of my open-source computational drug discovery framework,” Chowdhury wrote in a LinkedIn post. He serves as Assistant Professor of Bioinformatics and lead developer of CompoundAI.
The project’s GitHub repository shows that CompoundAI began as a simpler Bash script. That script automated compound retrieval from PubChem. Version 0.2 builds on this foundation. It adds the machine-learning layer that turns a raw compound list into an activity prediction. As a result, the repository presents this as the tool’s first complete pass through the entire process. It is not a finished product. The README calls v0.2 “a functional backend and educational release” that intentionally exposes each processing stage for teaching.
Users list compound names or PubChem Compound IDs (CIDs) in a text file. The pipeline then runs in two stages.
A Bash script first queries the PubChem REST API. It resolves compound names to CIDs, removes duplicate entries, and retrieves each compound’s canonical SMILES string, molecular formula, and molecular weight. Consequently, this step produces a compound library file.
A Python script then loads that library and passes it to RDKit, an open-source cheminformatics toolkit. RDKit calculates six molecular descriptors for each compound: molecular weight (MolWt), the octanol-water partition coefficient (LogP), topological polar surface area (TPSA), rotatable bond count (RotBonds), hydrogen-bond acceptor count (HAcceptors), and hydrogen-bond donor count (HDonors). To match the order used during model training, the pipeline reorders these six values into a fixed sequence—LogP, MolWt, TPSA, RotBonds, HAcceptors, then HDonors. It applies a saved StandardScaler transformation and feeds the scaled values to the loaded random forest model. Finally, the model returns an active-or-inactive classification for each compound against the AChE target.
CompoundAI checks for duplicate compounds twice. It removes identical entries from the user’s input file before it queries PubChem. Separately, the pipeline recognizes when two different input representations point to the same underlying compound—for example, a PubChem CID and a compound name that both resolve to the same record—and treats them as one entry. The repository gives 5280443 and “Apigenin” as an example pair that collapses into a single compound. In this way, the second check stops the same molecule from entering the descriptor-calculation and prediction stages twice under different labels.
During development of the AChE model, Chowdhury’s team evaluated five supervised machine-learning algorithms against a held-out test set: logistic regression, random forest, support vector machine, gradient boosting, and k-nearest neighbors. Random forest performed best. Therefore, the prediction pipeline now uses this model along with its associated scaler and feature-order files.
Chowdhury designed the architecture so that the selection process, rather than any single algorithm, remains fixed. “One thing that was particularly important to me was not to build CompoundAI around a permanently hard-coded ML algorithm,” he said. “The architecture is being designed so that models can be evaluated and the best-performing model selected for each individual biological target.” Accordingly, the GitHub repository states that this evaluate-and-select structure will extend to additional disease targets as the project grows.
Neither the GitHub repository nor the release announcement reports specific performance numbers—accuracy, precision, recall, or ROC-AUC—for the deployed AChE model. The repository’s roadmap lists a “Model Evidence & Prediction Reporting” phase planned for version 0.3. That phase will add confusion matrices, ROC curves, cross-validation statistics, and a written rationale for model selection. Until then, users have no published metric that shows how reliably the current model classifies compounds.
The repository’s research-use notice states this limitation directly. Predictions are “computational estimates.” Users should not interpret them as experimental validation, clinical evidence, or proof of therapeutic efficacy. Moreover, the notice recommends that researchers check any computational prediction with appropriate laboratory experiments before treating it as a finding. CompoundAI has not yet appeared in a peer-reviewed publication. For now, the GitHub repository remains the primary source of documentation.
The AChE model is one instance of a directory structure built to hold many targets. The repository shows a planned layout with an Alzheimer’s disease folder that contains AChE and a separate cancer folder that holds placeholders for four additional targets: ESR1, PI3K, AKT, and MAPK. Chowdhury intends each target folder to hold its own training dataset, model comparison results, selected model, scaler, feature configuration, and validation statistics. Adding a new disease target will not require reworking the rest of the pipeline. At present, none of the cancer-target folders contain a trained model in the current v0.2 release. They mark planned rather than completed work.
Beyond the v0.3 reporting layer, the repository’s roadmap describes two further directions. One moves from hand-calculated RDKit descriptors toward molecular and protein embeddings—vector representations that a model learns rather than a chemist defines. This direction pairs with representation-learning and deep-learning approaches, plus explainability tools that show which features drove a given prediction. Meanwhile, the other extends the system from small-molecule compounds toward protein and peptide candidates, including venom-derived bioactive proteins and peptides. The repository describes this as a possible additional module rather than a replacement for the existing QSAR workflow. Both directions remain future research; v0.2 does not implement them.
CompoundAI v0.2 runs on Python 3.12 through a Conda environment. The environment also installs RDKit, pandas, NumPy, scikit-learn, Matplotlib, and Jupyter Notebook. According to the repository, the team verified the release by cloning the project into a fresh directory and building a new Conda environment from scratch. They confirmed that RDKit, pandas, NumPy, and scikit-learn import correctly. In addition, they verified that the saved model loads and completes compound-library generation, descriptor calculation, scaling, and end-to-end AChE prediction without manual fixes.
The source code, installation instructions, and full roadmap are available at github.com/Mayankroy242/CompoundAI under the MIT License. Sriparna Roy, a Ph.D. researcher at the Indian Institute of Technology Delhi, is credited in the repository’s acknowledgements as project lead.
Note for Readers
CompoundAI v0.2 is an early-stage, open-source educational and research tool. It provides a working end-to-end computational pipeline for predicting compound activity against acetylcholinesterase (AChE), but it is not a finished or fully validated product.
The current release does not include published performance metrics (such as accuracy, precision, recall, or ROC-AUC). All predictions generated by the tool should be treated strictly as computational estimates. They do not constitute experimental validation, clinical evidence, or proof of therapeutic efficacy.
Researchers and students are strongly advised to confirm any results with appropriate laboratory experiments before drawing scientific or practical conclusions. The project is under active development, with planned improvements (including model reporting and additional biological targets) listed on the official GitHub repository.
Discover more from RathBiotaClan
Subscribe to get the latest posts sent to your email.

















