AGENTi V3 is a deployment package designed for deep-learning-based chemical analysis. It utilizes an ensemble of YDF Decision Forests and TensorFlow Autoencoder architectures to provide both regression scores (A-Score) and anomaly detection for chemical compounds provided in SMILES format.
To ensure consistent results, the following environment is required:
- Python: 3.9 - 3.12
- Primary Libraries:
tensorflow,tensorflow-decision-forests,rdkit,scikit-learn,pandas,joblib. - Hardware: Compatible with CPU-only environments (standard for many chemical informatics workflows).
Step 1: Download & Extract
Download agenti_v3.zip and extract its contents into your working directory.
Recommend running the following command in your terminal to automatically download, extract, and clean up the files in your current working directory:
wget -qO- https://githubusercontent.com > agenti_v3.zip && unzip -q agenti_v3.zip && rm agenti_v3.zipStep 2: Initialize Environment You can use the automated setup script which handles the registration of kernels and all dependencies:
# Give execution permissions and run the installer
chmod +x setup.sh
./setup.shAlternatively, manually install via pip: pip install -r requirements.txt
Use agenti_run.py to analyze a single compound. This script returns the A-Score and a flag indicating if the molecule is considered an anomaly.
python3 agenti_run.py --smiles "CC(=O)OC1=CC=CC=C1C(=O)O"For processing multiple molecules simultaneously, use agenti_v3_batch_production.py.
From Text Files:
Input should be a .txt file with one SMILES string per line.
python3 agenti_v3_batch_production.py --input my_compounds.txt --output results.csvFrom CSV Files: Specify the column name containing the SMILES strings.
python3 agenti_v3_batch_production.py --input library.csv --column SMILES_STR --output results.csv| File/Folder | Description |
|---|---|
agenti_run.py |
The main entry point for single inference tasks. |
agenti_v3_batch_production.py |
Optimized script for large datasets (TXT/CSV). |
agentI_reg_v3_minmax/ |
YDF Decision Forest weights for regression scoring. |
agentI_anom_v3_minmax/ |
YDF Decision Forest weights for anomaly classification. |
autoencoder_v3_minmax.keras |
Trained TF Autoencoder model for feature reconstruction. |
scaler_v3_minmax.pkl |
Serialized normalization parameters for input features. |
If you encounter a RuntimeError regarding unregistered kernels, ensure that tensorflow_decision_forests is installed and imported at the top of your execution environment. The provided scripts are pre-configured to handle this automatically.
Mithony Keng, Kenneth M Merz. AGENTi: APCI-ESI Analyte Ionization Fidelity Pre-Screening Workflow using Multimodel Inference. ChemRxiv. 02 July 2026. DOI: https://doi.org/10.26434/chemrxiv.15005565/v1