AIAny
AI Agent2025
Icon for item

The AI Scientist-v2: Workshop-Level Automated Scientific Discovery via Agentic Tree Search

Autonomously proposes hypotheses, runs experiments, analyzes results, and drafts workshop-level papers via an agentic tree-search pipeline. Unlike template-driven predecessors, it explores open-ended ML research paths but requires GPU/PyTorch and careful sandboxing due to execution of LLM-written code.

Introduction

Most automated-research projects either rely on narrow templates or stop at idea generation. The surprising insight behind this codebase is that a structured, parallelized tree-search of agentic refinements lets an LLM-driven system attempt end-to-end scientific discovery — from ideation to experiment to a written workshop paper — without hand-crafted experiment templates.

What Sets It Apart
  • Progressive agentic tree search: Rather than a single linear agent, v2 grows and evaluates multiple branches (worker seeds) so the system can explore divergent hypotheses and partial failures in parallel — this increases exploration at the cost of lower per-branch success rates compared with template-driven approaches.
  • Template-free generalization: v2 removes reliance on human-authored experiment templates, enabling application across ML subfields (model, dataset, analysis) where rigid templates are unavailable.
  • Integrated pipeline to PDF: The repository includes ideation, experiment orchestration, result aggregation, and a write-up stage that produces a draft PDF suitable for workshop submissions, streamlining the end-to-end iteration loop.
Who It's For — Fit & Tradeoffs

Great fit if you want to prototype autonomous research pipelines, study agentic experiment planning, or reproduce the ICLR/Workshop experiment described by the authors. It’s practical for ML researchers with access to NVIDIA GPUs and familiarity with PyTorch and containerized execution. Look elsewhere if you need high reproducibility out-of-the-box or if you cannot run untrusted LLM-generated code: v2 favors exploration over consistent success and executes model-generated scripts (so run it in Docker or other strict sandboxes). Expect several hours per full run and nontrivial cost for large-model experiment stages.

Where It Fits

This project sits between lightweight ideation tools (which only brainstorm) and heavy automated-lab frameworks (which require curated experiment templates). It’s a research-grade platform for experimenting with autonomous scientific agents and for investigating how tree-based agentic search affects discovery and writing quality.

How It Works (high-level)
  • Ideation: an LLM generates structured research ideas from a markdown prompt and optionally queries literature APIs for novelty checks.
  • Agentic Tree Search: multiple worker seeds expand a best-first tree of experiment actions (generate hypothesis → write code → run experiment → evaluate → refine). Key parameters (num_workers, steps, num_drafts) control exploration breadth/depth.
  • Write-up: successful experiment traces are aggregated and passed to writing LLMs to produce a workshop-style paper PDF. The repo documents example commands, model choices, and a bfts_config for tuning search behavior.
Practical notes & cautions
  • Resource & dependencies: requires Linux, NVIDIA GPU(s), CUDA, PyTorch, and common PDF/LaTeX tools; installation can take under an hour but experiments are GPU- and token-costly.
  • Security: the system runs LLM-written code and may fetch or execute dependencies. The authors explicitly warn to run inside a controlled sandbox (e.g., Docker) and to audit dependencies and network access.
  • Reproducibility: v2 explores more broadly than v1 and therefore has lower per-run success rates; tuning models and tree-search config materially affects outcomes.

Overall, this repository is most useful to researchers studying autonomous scientific agents or prototyping end-to-end AI-driven experiment pipelines — provided you can accept exploratory failure modes and operate inside a secure, GPU-equipped environment.

Information

  • Websitegithub.com
  • AuthorsSakanaAI
  • Published date2025/04/08

Categories

More Items

Hugging Face

Evaluates coding agents on 141 executable tasks spanning frontend and application development, data analysis, and more. Each task includes a starting environment, reference solution, and verifier.

GitHub
AI Agent2026

Equips AI agents to create and manage Obsidian Markdown, Bases, and Canvas files, use Obsidian’s CLI, and sync vaults without the desktop app.

GitHub
AI Agent2026

Handles everyday tasks across real websites and apps, asking before actions that can have real-world consequences. Data and saved logins stay on the machine running it, and you choose the model.