Skip to main content

CroweLM: Biotech AI Platform for Drug Discovery

Project description

CroweLM

Biotech AI Platform for Drug Discovery

CroweLM is an integrated AI platform combining NVIDIA BioNeMo NIMs with local LLMs for comprehensive drug discovery workflows. Built for researchers, scientists, and biotech professionals.

Features

  • Drug Target Analysis - Automated UniProt, ChEMBL, and PubMed data integration
  • Protein Structure Prediction - ESMFold via NVIDIA NIMs
  • Molecule Generation - MolMIM for de novo drug design
  • AI-Powered Research - Specialized biotech and research agents
  • MLX Training - LoRA fine-tuning on Apple Silicon

Installation

# Install all components
pip install crowelm

# Or install specific packages
pip install crowelm-agents    # Biotech & research agents
pip install crowelm-nims      # NVIDIA NIMs integration
pip install crowelm-pipelines # Drug discovery workflows
pip install crowelm-training  # MLX fine-tuning (Apple Silicon)

Quick Start

Using the Biotech Agent

import asyncio
from crowelm.agents import BiotechAgent

async def main():
    async with BiotechAgent() as agent:
        # Analyze a drug target
        results = await agent.analyze_target("P15056")  # BRAF kinase
        print(results["analysis"])

asyncio.run(main())

Running the Drug Discovery Pipeline

import asyncio
from crowelm.pipelines import DrugDiscoveryPipeline

async def main():
    async with DrugDiscoveryPipeline() as pipeline:
        results = await pipeline.run_full_pipeline(
            target_id="P15056",
            generate_ligands=True,
            num_ligands=10
        )
        print(results["report"])

asyncio.run(main())

Using NVIDIA NIMs Directly

import asyncio
from crowelm.nims import NVIDIANIMs

async def main():
    async with NVIDIANIMs() as nims:
        # Predict protein structure
        structure = await nims.predict_structure_esmfold("MVLSPADKTNVKAAWGKVGAHAGEYGAEALERMFL")

        # Generate novel molecules
        molecules = await nims.generate_molecules(num_molecules=10, property_name="QED")

        # Ask scientific questions
        answer = await nims.science_chat("What is protein folding?")

asyncio.run(main())

CLI Usage

# Run biotech agent interactively
python -m crowelm.agents.biotech -i

# Analyze a drug target
python -m crowelm.agents.biotech --target P15056

# Run research agent
python -m crowelm.agents.research --topic "CRISPR drug discovery"

# Test NVIDIA NIMs
python -m crowelm.nims.nvidia --test

# Run drug discovery pipeline
python -m crowelm.pipelines.drug_discovery --target P15056

Docker

# Pull the agent runtime
docker pull crowelogic/crowelm-agents:latest

# Run interactively
docker run -it --rm \
  -e NVIDIA_API_KEY=$NVIDIA_API_KEY \
  crowelogic/crowelm-agents:latest

# Run a specific analysis
docker run --rm \
  -e NVIDIA_API_KEY=$NVIDIA_API_KEY \
  crowelogic/crowelm-agents:latest \
  python -m crowelm.agents.biotech --target P15056

npm CLI

# Install globally
npm install -g @crowe-logic/crowelm-cli

# Check system status
crowelm status

# Run agents
crowelm agent research --topic "drug discovery"
crowelm nvidia pipeline P15056

Environment Variables

Variable Description Required
NVIDIA_API_KEY NVIDIA API key for NIMs For NVIDIA features
CROWELM_MODEL_URL Local model endpoint No (default: localhost:12434)
CROWELM_MODEL_NAME Model to use No (default: crowelogic/crowelogic:v1.0)

Packages

Package Description
crowelm Meta-package installing all components
crowelm-core Shared configuration and utilities
crowelm-agents Biotech and research AI agents
crowelm-nims NVIDIA BioNeMo NIMs integration
crowelm-pipelines Drug discovery workflow pipelines
crowelm-training MLX LoRA fine-tuning for Apple Silicon

Requirements

  • Python 3.10+
  • NVIDIA API key (for NIMs features)
  • Docker (optional, for containerized deployment)
  • Apple Silicon Mac (for MLX training)

License

MIT License - see LICENSE for details.

Author

Michael Crowe - Crowe Logic


CroweLM - Accelerating Drug Discovery with AI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crowelm-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crowelm-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file crowelm-0.1.0.tar.gz.

File metadata

  • Download URL: crowelm-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for crowelm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9cf909062444a16358f4151e67d9588b943fea71703d24820047087a852aeb55
MD5 b449242ee53efeaf722167f27b595419
BLAKE2b-256 3a78e978fa4a84854dc2d1d98d3c5964cc61cbdcebf1858757a74c8e635dbbf7

See more details on using hashes here.

File details

Details for the file crowelm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: crowelm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for crowelm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14ce84f660fd7fc6b4b5d2c51dea013cf4932ca39acb3eafa3bdf9cff4c2185d
MD5 0fe8fe41ed1432c33a1d6c9626682909
BLAKE2b-256 6878002e9392fc83ba54207d6925b126cfeb6f4e6c13df54e668637d0596a8d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page