PharmaClaw AlphaFold Agent
name: pharmaclaw-alphafold-agent
by cheminem · published 2026-03-22
$ claw add gh:cheminem/cheminem-pharmaclaw-alphafold-agent---
name: pharmaclaw-alphafold-agent
description: Compliant AlphaFold Agent for protein structure retrieval, ESMFold prediction, binding site detection, and RDKit ligand docking. Fetches public PDB/AlphaFold DB structures, predicts folds via ESMFold (HuggingFace), identifies binding pockets, and performs basic molecular docking. Chains from Chemistry Query (receives SMILES for docking) and feeds into IP Expansion and Catalyst Design. Triggers on alphafold, fold, PDB, docking, structure, protein, binding site, pocket, UniProt, KRAS, target.
---
# PharmaClaw AlphaFold Agent
Overview
Protein structure retrieval and ligand docking agent for the PharmaClaw drug discovery pipeline. Fetches experimental structures from RCSB PDB and predicted structures from AlphaFold DB, detects binding sites, and performs conformer-based docking with RDKit.
Quick Start
# Fetch structure and dock a ligand
python scripts/alphafold_agent.py '{"uniprot": "P01116", "smiles": "CC(=O)Nc1ccc(O)cc1"}'
# Structure retrieval only
python scripts/alphafold_agent.py '{"uniprot": "P01116"}'Capabilities
| Feature | Method | Source |
|---------|--------|--------|
| Structure Fetch | RCSB Search API + AlphaFold DB | Public PDB files |
| Fold Prediction | ESMFold via HuggingFace | Sequence → 3D structure |
| Binding Sites | Pocket detection | Residue-level pockets |
| Ligand Docking | RDKit conformer generation | SMILES → affinity score |
Decision Tree
Input Format
{
"uniprot": "P01116",
"smiles": "CC(=O)Nc1ccc(O)cc1",
"fasta": "path/to/sequence.fasta"
}Output Format
{
"pdb": "1abc.pdb",
"sites": [{"res": "G12", "pocket_vol": 150}],
"docking": {"affinity": -15.2, "viz": "docked.png"},
"compliance": "Public AlphaFold 2 DB/ESMFold (commercial OK)"
}Chain Integration
Dependencies
Compliance
Uses only publicly available protein structures (RCSB PDB, AlphaFold DB) and open-source prediction (ESMFold). All data sources are commercially permissible. No proprietary AlphaFold 3 server calls.
Scripts
Limitations
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...