SamuelSchmidgall /AgentLaboratory
Agent Laboratory is an end-to-end autonomous research workflow meant to assist you as the human researcher toward implementing your research ideas
★ 5,933⑂ 806👁 47⑃ 53● 77▤ 0
+3
Daily
5,933
stars
806
forks
47
watchers
53
prs
77
issues
0
releases
README
Agent Laboratory: Using LLM Agents as Research Assistants
【English | 中文 | 日本語 | 한국어 | Filipino | Français | Slovenčina | Português | Español | Türkçe | हिंदी | বাংলা | Tiếng Việt | Русский | العربية | فارسی | Italiano】
【📝 Paper | 🌐 Website | 🌐 AgentRxiv Website | 💻 Software | 📰 Citation】
News
[March/24/2025] 🎉 🎊 🎉 Now introducing AgentRxiv, a framework where autonomous research agents can upload, retrieve, and build on each other’s research. This allows agents to make cumulative progress on their research.
📖 Overview
- Agent Laboratory is an end-to-end autonomous research workflow meant to assist you as the human researcher toward implementing your research ideas. Agent Laboratory consists of specialized agents driven by large language models to support you through the entire research workflow—from conducting literature reviews and formulating plans to executing experiments and writing comprehensive reports.
- This system is not designed to replace your creativity but to complement it, enabling you to focus on ideation and critical thinking while automating repetitive and time-intensive tasks like coding and documentation. By accommodating varying levels of computational resources and human involvement, Agent Laboratory aims to accelerate scientific discovery and optimize your research productivity.
- Agent Laboratory also supports AgentRxiv, a framework where autonomous research agents can upload, retrieve, and build on each other’s research. This allows agents to make cumulative progress on their research.
🔬 How does Agent Laboratory work?
- Agent Laboratory consists of three primary phases that systematically guide the research process: (1) Literature Review, (2) Experimentation, and (3) Report Writing. During each phase, specialized agents driven by LLMs collaborate to accomplish distinct objectives, integrating external tools like arXiv, Hugging Face, Python, and LaTeX to optimize outcomes. This structured workflow begins with the independent collection and analysis of relevant research papers, progresses through collaborative planning and data preparation, and results in automated experimentation and comprehensive report generation. Details on specific agent roles and their contributions across these phases are discussed in the paper.
👾 Currently supported models
OpenAI: o1, o1-preview, o1-mini, gpt-4o, o3-mini
DeepSeek: deepseek-chat (deepseek-v3)
To select a specific llm set the flag --llm-backend="llm_model" for example --llm-backend="gpt-4o" or --llm-backend="deepseek-chat". Please feel free to add a PR supporting new models according to your need!
🖥️ Installation
Python venv option
We recommend using python 3.12
1. Clone the GitHub Repository: Begin by cloning the repository using the command:
bash
git clone [email protected]:SamuelSchmidgall/AgentLaboratory.git
2. Set up and Activate Python Environment
bash
python -m venv venv_agent_lab
- Now activate this environment:
bTop issues
#26Is GPU essential for running this model?5 comments · 2025-01-13#103Some sections are always missing4 comments · 2025-05-05#89Almost successful but fail at the last paper writing step!4 comments · 2025-03-27#83Request: Easily Accessible WebUI or Google Colab Notebook4 comments · 2025-03-13#27cuDNN, cuFFT, and cuBLAS Errors4 comments · 2025-01-13#90请问是支持deepseek吗?3 comments · 2025-03-27#100A (possible) problem while running with deepseek2 comments · 2025-04-18#88I get some missing packages issus when running `python ai_lab_repo.py --yaml-location "experiment_configs/MATH_agentlab.yaml"`2 comments · 2025-03-26