Name | virtual-lab JSON |
Version |
1.0.0
JSON |
| download |
home_page | None |
Summary | A virtual lab of large language model agents for scientific research. |
upload_time | 2024-11-26 21:31:23 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | MIT License Copyright (c) 2024 Kyle Swanson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
llm
automated science
large language model
scientific research
virtual lab
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Virtual Lab
[](https://badge.fury.io/py/virtual-lab)
[](https://badge.fury.io/py/virtual-lab)
[](https://pepy.tech/project/virtual-lab)
[](https://github.com/zou-group/virtual-lab/blob/main/LICENSE.txt)
The **Virtual Lab** is an AI-human collaboration for science research. In the Virtual Lab, a human researcher works with a team of large language model (LLM) **agents** to perform scientific research. Interaction between the human researcher and the LLM agents occurs via a series of **team meetings**, where all the LLM agents discuss a scientific agenda posed by the human researcher, and **individual meetings**, where the human researcher interacts with a single LLM agent to solve a particular scientific task.
## Virtual Lab for nanobody design
As a real-world demonstration, we applied the Virtual Lab to design nanobodies for one of the latest variants of SARS-CoV-2 (see [nanobody_design](https://github.com/zou-group/virtual-lab/tree/main/nanobody_design)). The Virtual Lab built a computational pipeline consisting of [ESM](https://www.science.org/doi/10.1126/science.ade2574), [AlphaFold-Multimer](https://www.biorxiv.org/content/10.1101/2021.10.04.463034v2), and [Rosetta](https://rosettacommons.org/software/) and used it to design 92 nanobodies that were experimentally validated.
Please see the notebook [nanobody_design/run_nanobody_design.ipynb](https://github.com/zou-group/virtual-lab/blob/main/nanobody_design/run_nanobody_design.ipynb) for an example of how to use the Virtual Lab to create agents and run team and individual meetings.
## Installation
The Virtual Lab can be installed using pip or by cloning the repo and installing the required packages. Installation should only take a couple of minutes.
Optionally, first create a conda environment.
```bash
conda create -y -n virtual_lab python=3.12
conda activate virtual_lab
```
The Virtual Lab can be installed via pip.
```bash
pip install virtual-lab
```
To install a local version of the Virtual Lab, clone the repo and then install the package.
```bash
git clone https://github.com/zou-group/virtual_lab.git
cd virtual_lab
pip install -e .
```
## OpenAI API Key
The Virtual Lab currently uses GPT-4o from OpenAI. Save your OpenAI API key as the environment variable `OPENAI_API_KEY`. For example, add `export OPENAI_API_KEY=<your_key>` to your `.bashrc` or `.bash_profile`.
Raw data
{
"_id": null,
"home_page": null,
"name": "virtual-lab",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "Kyle Swanson <swansonk.14@gmail.com>",
"keywords": "LLM, automated science, large language model, scientific research, virtual lab",
"author": null,
"author_email": "Kyle Swanson <swansonk.14@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/f3/2d/1f657af11e87819af59a63e9d5602f8430a465ecae3ba5160ccf50999423/virtual_lab-1.0.0.tar.gz",
"platform": null,
"description": "# Virtual Lab\n\n[](https://badge.fury.io/py/virtual-lab)\n[](https://badge.fury.io/py/virtual-lab)\n[](https://pepy.tech/project/virtual-lab)\n[](https://github.com/zou-group/virtual-lab/blob/main/LICENSE.txt)\n\nThe **Virtual Lab** is an AI-human collaboration for science research. In the Virtual Lab, a human researcher works with a team of large language model (LLM) **agents** to perform scientific research. Interaction between the human researcher and the LLM agents occurs via a series of **team meetings**, where all the LLM agents discuss a scientific agenda posed by the human researcher, and **individual meetings**, where the human researcher interacts with a single LLM agent to solve a particular scientific task.\n\n\n## Virtual Lab for nanobody design\n\nAs a real-world demonstration, we applied the Virtual Lab to design nanobodies for one of the latest variants of SARS-CoV-2 (see [nanobody_design](https://github.com/zou-group/virtual-lab/tree/main/nanobody_design)). The Virtual Lab built a computational pipeline consisting of [ESM](https://www.science.org/doi/10.1126/science.ade2574), [AlphaFold-Multimer](https://www.biorxiv.org/content/10.1101/2021.10.04.463034v2), and [Rosetta](https://rosettacommons.org/software/) and used it to design 92 nanobodies that were experimentally validated.\n\nPlease see the notebook [nanobody_design/run_nanobody_design.ipynb](https://github.com/zou-group/virtual-lab/blob/main/nanobody_design/run_nanobody_design.ipynb) for an example of how to use the Virtual Lab to create agents and run team and individual meetings.\n\n\n## Installation\n\nThe Virtual Lab can be installed using pip or by cloning the repo and installing the required packages. Installation should only take a couple of minutes.\n\nOptionally, first create a conda environment.\n\n```bash\nconda create -y -n virtual_lab python=3.12\nconda activate virtual_lab\n```\n\nThe Virtual Lab can be installed via pip.\n\n```bash\npip install virtual-lab\n```\n\nTo install a local version of the Virtual Lab, clone the repo and then install the package.\n\n```bash\ngit clone https://github.com/zou-group/virtual_lab.git\ncd virtual_lab\npip install -e .\n```\n\n\n## OpenAI API Key\n\nThe Virtual Lab currently uses GPT-4o from OpenAI. Save your OpenAI API key as the environment variable `OPENAI_API_KEY`. For example, add `export OPENAI_API_KEY=<your_key>` to your `.bashrc` or `.bash_profile`.\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Kyle Swanson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "A virtual lab of large language model agents for scientific research.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/zou-group/virtual-lab",
"Issues": "https://github.com/zou-group/virtual-lab/issues"
},
"split_keywords": [
"llm",
" automated science",
" large language model",
" scientific research",
" virtual lab"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e530d0ce3df1f07f68b68569e8f9bb6294a934eb7eae7bef84515a09ee7ab9dc",
"md5": "b3ef67f034846eba771a8be772ca0afe",
"sha256": "ddb64d4d976b60aa7143a4801a4fc92eff9158c9dc04bff6b9dbcc3378551f65"
},
"downloads": -1,
"filename": "virtual_lab-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b3ef67f034846eba771a8be772ca0afe",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 15880,
"upload_time": "2024-11-26T21:31:21",
"upload_time_iso_8601": "2024-11-26T21:31:21.015435Z",
"url": "https://files.pythonhosted.org/packages/e5/30/d0ce3df1f07f68b68569e8f9bb6294a934eb7eae7bef84515a09ee7ab9dc/virtual_lab-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f32d1f657af11e87819af59a63e9d5602f8430a465ecae3ba5160ccf50999423",
"md5": "c5150bf48eb64c9c050aa74de90eea1f",
"sha256": "4fbdc0b783d9753450505566633e163c51cfd04b50e851c0cf756985c2145067"
},
"downloads": -1,
"filename": "virtual_lab-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "c5150bf48eb64c9c050aa74de90eea1f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 14070549,
"upload_time": "2024-11-26T21:31:23",
"upload_time_iso_8601": "2024-11-26T21:31:23.434128Z",
"url": "https://files.pythonhosted.org/packages/f3/2d/1f657af11e87819af59a63e9d5602f8430a465ecae3ba5160ccf50999423/virtual_lab-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-26 21:31:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zou-group",
"github_project": "virtual-lab",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "virtual-lab"
}