The Agentic Scientist – SakanaAI SakanaAI released Agentic Scientist, a pipeline that turns a task.md description into experiments, ablations, a sealed final evaluation, post-hoc analyses, and a written paper using coding agents. The tool drives claude, codex, cursor, opencode, gemini, and pi through Headless CLI, runs each agent phase inside Docker by default with full tool permissions (Headless --allow yolo), and requires Python 3.11 or higher with uv; GPU task presets are discovered via nvidia-smi. SakanaAI warns that the agents can run arbitrary commands and inherit supplied API keys, so runs should stay inside the Docker image and only trusted tasks and sources should be used. Turn a task description into experiments, ablations, and a paper, driven by coding agents. Agentic Scientist treats coding agents as AI scientists. Starting from a task.md , the agents propose ideas, run experiments, evaluate outcomes against the task rubric, and iterate toward stronger programs. The pipeline then runs baselines and ablations, a sealed final evaluation, post-hoc analyses, and writes the paper, with every stage kept under one run directory. The recommended setup runs every agent phase inside Docker, which is the default for agsci run . Install Docker https://docs.docker.com/get-docker/ , then build the agent image: docker build -t agentic-scientist/agent-cli:latest -f src/docker/agent-cli/Dockerfile . If the build cannot reach package mirrors, add --network=host to the docker build command. Security note — Agentic Scientist launches coding agents with full tool permissions Headless --allow yolo . They can run arbitrary commands and inherit the API keys you give them, and the task files and papers they read steer what they do. Keep runs inside the Docker image rather than on your workstation, only run tasks and sources you trust, and review run directories before sharing them: agent logs can echo document contents and paths. - Python ≥ 3.11 with uv https://docs.astral.sh/uv/ . uv sync creates .venv and installs the agsci command: curl -LsSf https://astral.sh/uv/install.sh | sh uv sync source .venv/bin/activate - API keys in a .env file at the repo root ANTHROPIC API KEY , OPENAI API KEY , GEMINI API KEY , ... whichever your agent needs . The pipeline mounts it into the agent containers. Never commit it. - Agent CLIs are already inside the image. For native non-containerized runs, install the CLI of the agent you use plus Git and Node.js; versions and commands are in docs/install.md https://github.com/SakanaAI/AI-Scientist-v3/blob/main/docs/install.md . - GPUs are required only by the GPU task presets. The pipeline discovers them through nvidia-smi and refuses to start compute phases unless the visible GPUs match the preset. - Autoillustrate optional is built into the image for concept figures. To use it directly on the host, follow the single-command install in the Autoillustrate README https://github.com/SakanaAI/Autoillustrate readme . Run agsci doctor to check the host, or agsci doctor examples/