Skip to content

Commit

Permalink
merged from main into experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
qcampbel committed Feb 13, 2025
2 parents 350786d + 7785922 commit 64e3e57
Show file tree
Hide file tree
Showing 74 changed files with 450 additions and 840 deletions.
91 changes: 0 additions & 91 deletions CONTRIBUTING.md

This file was deleted.

20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
MDAgent is a LLM-agent based toolset for Molecular Dynamics.
MDCrow is a LLM-agent based toolset for Molecular Dynamics.
It's built using Langchain and uses a collection of tools to set up and execute molecular dynamics simulations, particularly in OpenMM.


## Environment Setup
To use the OpenMM features in the agent, please set up a conda environment, following these steps.
```
conda env create -n mdagent -f environment.yaml
conda activate mdagent
conda env create -n mdcrow -f environment.yaml
conda activate mdcrow
```

If you already have a conda environment, you can install dependencies before you activate it with the following step.
Expand All @@ -16,7 +16,7 @@ If you already have a conda environment, you can install dependencies before you

## Installation
```
pip install git+https://github.com/ur-whitelab/md-agent.git
pip install git+https://github.com/ur-whitelab/MDCrow.git
```

## Usage
Expand All @@ -25,14 +25,14 @@ We recommend setting up api keys in a .env file. You can use the provided .env.e
1. Copy the `.env.example` file and rename it to `.env`: `cp .env.example .env`
2. Replace the placeholder values in `.env` with your actual keys

You can ask MDAgent to conduct molecular dynamics tasks using OpenAI's GPT model
You can ask MDCrow to conduct molecular dynamics tasks using OpenAI's GPT model
```
from mdagent import MDAgent
from mdcrow import MDCrow
agent = MDAgent(model="gpt-3.5-turbo")
agent = MDCrow(model="gpt-3.5-turbo")
agent.run("Simulate protein 1ZNI at 300 K for 0.1 ps and calculate the RMSD over time.")
```
Note: to distinguish Together models from the rest, you'll need to add "together\" prefix in model flag, such as `agent = MDAgent(model="together/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo")`
Note: to distinguish Together models from the rest, you'll need to add "together\" prefix in model flag, such as `agent = MDCrow(model="together/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo")`

## LLM Providers
By default, we support LLMs through OpenAI API. However, feel free to use other LLM providers. Make sure to install the necessary package for it. Here's list of packages required for alternative LLM providers we support:
Expand All @@ -43,6 +43,6 @@ By default, we support LLMs through OpenAI API. However, feel free to use other

## Contributing

We welcome contributions to MDAgent! If you're interested in contributing to the project, please check out our [Contributor's Guide](CONTRIBUTING.md) for detailed instructions on getting started, feature development, and the pull request process.
We welcome contributions to MDCrow! If you're interested in contributing to the project, please check out our [Contributor's Guide](CONTRIBUTING.md) for detailed instructions on getting started, feature development, and the pull request process.

We value and appreciate all contributions to MDAgent.
We value and appreciate all contributions to MDCrow.
3 changes: 0 additions & 3 deletions mdagent/__init__.py

This file was deleted.

109 changes: 0 additions & 109 deletions mdagent/agent/README_evaluate.md

This file was deleted.

4 changes: 0 additions & 4 deletions mdagent/agent/__init__.py

This file was deleted.

Loading

0 comments on commit 64e3e57

Please sign in to comment.