SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2501.04227 · 2025

Agent Laboratory: Using LLM Agents as Research Assistants

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 9 functions out of this paper's own repositories and ran 5 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
Masao-Taketani/LocalAgentLaboratory pwc_unofficial 5 of 9
FunctionStatusWhere it lives
compile_latex Ran Masao-Taketani/LocalAgentLaboratory/utils.py
code served (permissive licence) · get_code("67f528bb583ccdd6")
execute_code Ran Masao-Taketani/LocalAgentLaboratory/tools.py
code served (permissive licence) · get_code("9f6ad073cc70700d")
extract_json_between_markers Ran Masao-Taketani/LocalAgentLaboratory/agents.py
code served (permissive licence) · get_code("495eb30d4561e646")
process_think_model_output Ran Masao-Taketani/LocalAgentLaboratory/inference.py
code served (permissive licence) · get_code("5d7e8ba88a1d4f7f")
query_model Ran Masao-Taketani/LocalAgentLaboratory/inference.py
code served (permissive licence) · get_code("528c51546feae850")
adjust_phase_status Not yet run Masao-Taketani/LocalAgentLaboratory/ai_lab_repo.py
code served (permissive licence) · get_code("54c2e719cebe9b7b")
clip_tokens Not yet run Masao-Taketani/LocalAgentLaboratory/utils.py
code served (permissive licence) · get_code("8459a0a1d17892b1")
count_tokens Not yet run Masao-Taketani/LocalAgentLaboratory/utils.py
code served (permissive licence) · get_code("023b788084b451b0")
init_hf_pipe Not yet run Masao-Taketani/LocalAgentLaboratory/agents.py
code served (permissive licence) · get_code("7dfdf3c5c19052b6")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Historically, scientific discovery has been a lengthy and costly process, demanding substantial time and resources from initial conception to final results. To accelerate scientific discovery, reduce research costs, and improve research quality, we introduce Agent Laboratory, an autonomous LLM-based framework capable of completing the entire research process. This framework accepts a human-provided research idea and progresses through three stages--literature review, experimentation, and report writing to produce comprehensive research outputs, including a code repository and a research report, while enabling users to provide feedback and guidance at each stage. We deploy Agent Laboratory with various state-of-the-art LLMs and invite multiple researchers to assess its quality by participating in a survey, providing human feedback to guide the research process, and then evaluate the final paper. We found that: (1) Agent Laboratory driven by o1-preview generates the best research outcomes; (2) The generated machine learning code is able to achieve state-of-the-art performance compared to existing methods; (3) Human involvement, providing feedback at each stage, significantly improves the overall quality of research; (4) Agent Laboratory significantly reduces research expenses, achieving an 84% decrease compared to previous autonomous research methods. We hope Agent Laboratory enables researchers to allocate more effort toward creative ideation rather than low-level coding and writing, ultimately accelerating scientific discovery.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2501.04227")
get_code_for_paper("2501.04227")
have("2501.04227")

Connect an agent — have() is free.