| name | cactus-cheminformatics-guide |
| description | PNNL cheminformatics LLM agent for molecular analysis |
| metadata | {"openclaw":{"emoji":"🌵","category":"domains","subcategory":"chemistry","keywords":["CACTUS","cheminformatics","PNNL","molecular analysis","LLM chemistry","chemical agent"],"source":"https://github.com/pnnl/cactus"}} |
CACTUS Cheminformatics Agent Guide
Overview
CACTUS is a cheminformatics LLM agent developed at Pacific Northwest National Laboratory (PNNL) that provides AI-assisted molecular analysis, property prediction, and chemical reasoning. It wraps RDKit, molecular databases, and ML models behind a conversational interface, enabling researchers to query molecular properties, perform similarity searches, and run cheminformatics workflows using natural language.
Usage
from cactus import ChemAgent
agent = ChemAgent(llm_provider="anthropic")
result = agent.ask(
"What is the molecular weight and LogP of aspirin? "
"Is it drug-like by Lipinski's rules?"
)
print(result.answer)
props = agent.calculate_properties(
smiles="CC(=O)Oc1ccccc1C(=O)O",
properties=["mw", "logp", "tpsa", "hbd", "hba", "rotatable"],
)
print(props)
Similarity Search
similar = agent.similarity_search(
query_smiles="CC(=O)Oc1ccccc1C(=O)O",
database="chembl",
threshold=0.7,
max_results=10,
)
for mol in similar:
print(f"{mol.name}: {mol.smiles} "
f"(similarity: {mol.tanimoto:.3f})")
Substructure Analysis
matches = agent.substructure_search(
pattern="c1ccccc1C(=O)O",
database="drugbank",
max_results=20,
)
groups = agent.identify_functional_groups(
smiles="CC(=O)Oc1ccccc1C(=O)O"
)
Use Cases
- Molecular analysis: Property calculation via natural language
- Drug screening: Lipinski/Veber rule checking
- Similarity search: Find analogs in chemical databases
- Structure analysis: Substructure and functional group ID
- Chemical education: Interactive chemistry exploration
References