# AI-Scientist

> AI-Scientist is an open-source agent for research. Open-source agent that generates research ideas, runs experiments and writes papers. It is available on CLI, Linux, Self-hosted and API.

- **Kind:** Agent
- **Pricing:** Open source
- **Platforms:** CLI, Linux, Self-hosted, API
- **Repository:** https://github.com/sakanaai/ai-scientist
- **GitHub stars:** 15,068
- **Categories:** [research](https://ai-powered.com/categories/research)
- **Listing updated:** 2026-12-01

## About

The AI Scientist aims to automate the full loop of scientific work: proposing a research idea, writing and running code experiments, plotting the results and drafting a LaTeX paper. It is built around task templates in NanoGPT, 2D diffusion and grokking, and each template supplies its own experiment script, plotting script, seed ideas and LaTeX skeleton that the agent works from.

The project runs from source on a Linux machine with NVIDIA GPUs and PyTorch. Users pick a language model from a range of providers including OpenAI, Anthropic (direct, Bedrock or Vertex AI), DeepSeek, OpenRouter, and Google Gemini, then launch experiments from the command line. A separate module can score an existing PDF paper with an LLM-generated review.

It suits ML researchers who want to test automated research pipelines and want to extend them with new templates. Because the code executes model-written code and may make web requests, the maintainers recommend running it inside a container with restricted network access.

## Features

- **Template-based experiments:** Ships with NanoGPT, 2D diffusion and grokking templates that define the research domain for each run.
- **Automated paper drafting:** Generates LaTeX write-ups from experiment results using the template's base format.
- **Multi-provider model support:** Works with OpenAI, Anthropic, DeepSeek, Gemini and other models through API keys.
- **LLM paper review:** Provides a Python function that scores a PDF paper and returns an overall rating and decision.
- **Custom template support:** Lets users add new research domains by following a documented file structure.
- **Literature search:** Uses Semantic Scholar or OpenAlex to check novelty and gather citations.

## Good for

- Testing whether an LLM agent can produce usable machine learning research ideas
- Generating draft papers from small code-based experiments
- Evaluating LLM-written papers with an automated review step
- Building new research templates for a specific ML subfield

## FAQ

### What hardware does AI-Scientist need?

It is designed to run on Linux with NVIDIA GPUs using CUDA and PyTorch. CPU-only machines would take an infeasible amount of time for the current templates.

### What does one generated paper cost?

The project states it is typically under $15 per paper with Claude Sonnet 3.5, and suggests DeepSeek Coder V2 as a cheaper option.

### Which research fields does AI-Scientist cover?

The current iteration is limited to ideas that can be expressed in code. Three templates are provided: NanoGPT, 2D Diffusion and Grokking.

### Is AI-Scientist safe to run?

The maintainers warn that it executes LLM-written code and may spawn processes or access the web, so they recommend containerizing it and restricting web access.

### What are the best alternatives to AI-Scientist?

The closest alternatives to AI-Scientist are station, openlens-ai, data-to-paper, opendraft and BlockAGI.

## Where this comes from

- Description: written from the project's README.

## Alternatives

- [station](https://ai-powered.com/agents/station-2): station is an open-source agent for multi-agent frameworks.
- [openlens-ai](https://ai-powered.com/agents/openlens-ai): openlens-ai is an open-source agent for research.
- [data-to-paper](https://ai-powered.com/agents/data-to-paper): data-to-paper is an open-source agent for research.
- [opendraft](https://ai-powered.com/agents/opendraft): opendraft is an open-source agent for research.
- [BlockAGI](https://ai-powered.com/agents/blockagi): BlockAGI is an open-source agent for ai models and llm tooling.
- [ai-agent-book](https://ai-powered.com/agents/ai-agent-book): ai-agent-book is an open-source hosted agent for knowledge and memory.
- [Together Open Data Scientist](https://ai-powered.com/agents/together-open-data-scientist): Together Open Data Scientist is an open-source agent for research.
- [academic-commercialization-agent](https://ai-powered.com/agents/academic-commercialization-agent): academic-commercialization-agent is a freemium hosted agent for research.

---
Source: https://ai-powered.com/agents/ai-scientist
