Google's PaperOrchestra: 5 AI Agents Write Research Papers

Five agents, one manuscript

Writing a research paper is the part of science nobody enjoys: the outline, the literature review, the figures, the LaTeX wrestling, and then the revisions. Google Research has now open-sourced a system that hands that whole assembly line to a team of AI agents. PaperOrchestra, built by Google Cloud AI Research, turns a rough idea and an experimental log into a submission-ready LaTeX manuscript, and this week it shot to the top of GitHub Trending, gaining 1,524 stars in a single day and passing 4,200 stars.

The code itself is not brand new. The repository was created in May 2026, and the paper behind it (arXiv:2604.05018) was submitted in April. What changed this week is discovery: developers started running it, and the star count took off.



PaperOrchestra's five-agent pipeline, from raw research materials to a submission-ready LaTeX manuscript. Source: Google Research (Apache 2.0).

What happened

PaperOrchestra is a multi-agent framework for automated research paper writing, developed by Yiwen Song, Yale Song, Tomas Pfister, and Jinsung Yoon at Google Cloud AI Research and released under the Apache 2.0 license. You feed it an idea summary and a log of your experiments, plus a LaTeX template and the target conference's guidelines. Out comes a manuscript: outline, literature review, figures, and a compiled PDF.

Five specialized agents divide the work instead of one giant prompt doing everything:

  • Outline Agent — reads the idea, the experiment log, the template, and the conference guidelines, then writes a section-level plan with a figure plan and citation hints.
  • Literature Review Agent — searches for candidate papers, then verifies each one against the Semantic Scholar API before it is allowed into the bibliography. A paper only counts if its title matches and it has an abstract.
  • Plotting Agent — generates figures from code, using a vision-model critic that redraws images until they meet the design goals.
  • Section Writing Agent — drafts the abstract, method, experiments, and conclusion, and may only cite papers from the verified pool.
  • Content Refinement Agent — compiles the LaTeX, scores each revision, and revises up to three times. A revision is kept only if the overall score improves; any drop reverts the draft.

The plotting and literature agents run in parallel. A full run takes roughly 60 to 70 LLM calls and about 40 minutes per paper, according to the paper's own measurements.

To measure the system honestly, the authors built PaperWritingBench: 200 accepted papers — 100 from CVPR 2025 and 100 from ICLR 2025 — reverse-engineered back into idea files and experiment logs. In side-by-side human evaluations against two autonomous baselines, a single-agent pipeline and Sakana AI's AI Scientist-v2, PaperOrchestra won by an absolute margin of 50–68% on literature-review quality and 14–38% on overall manuscript quality.

Why it matters

Most "AI writes your paper" demos are a single prompt with a long context window. PaperOrchestra is built the way real multi-agent systems should be: narrow agents, fixed handoffs, and inspectable artifacts between stages. Only a structured plan passes from the outline step onward. Citation verification happens in code against an external index, not by asking a model whether a paper exists. And the refinement loop is monotone. It can never accept a worse draft by its own judge's measure.

That grounding is the difference between a useful drafting assistant and a hallucination machine. The literature review is the part of a paper where invented citations do the most damage, and PaperOrchestra treats that as an engineering problem: search, verify against Semantic Scholar, then write. It is the same pattern that makes multi-agent crews reliable in other domains — small agents with clear jobs and verifiable outputs — and it is why the project is drawing attention from people who build agent frameworks.

The honest caveats matter too. PaperOrchestra still loses to human-written papers in the same evaluations, and its prose can overstate the results it is given. The benchmark dataset has not been released yet, so independent researchers cannot rerun the full comparison. The authors position the system as "an advanced assistive tool designed to accelerate the drafting process, rather than an independent entity capable of claiming authorship," and state plainly that human researchers must retain full accountability for any generated manuscript. That is the right framing: this is a drafting accelerator, not a co-author.

There is also a cost reality. The default model is Gemini 3.1 Pro, a paid model, and a full paper run needs dozens of calls. This is not a free tool, and it is not a local model. It calls the Gemini or OpenAI APIs. For researchers with API access, though, the trade is clear: roughly 40 minutes of machine time against days of manual drafting.

How to try it

The repository includes a CLI and an interactive Streamlit demo, and needs Python 3.11 plus API keys for a model provider and Semantic Scholar.

conda create -n paper_orchestra python=3.11
conda activate paper_orchestra
pip install -r requirements.txt

Create a .env file in the repository root with the keys you plan to use:

GEMINI_API_KEY=your_key_here
OPENAI_API_KEY=your_key_here
SEMANTIC_SCHOLAR_API_KEY=your_key_here

Then run the pipeline with the bash script, or call the Python CLI directly:

python paper_writing_cli.py \
  --raw_materials_dir /path_to_your_raw_materials/ \
  --latex_template_dir /path_to_your_latex_template/ \
  --output_dir /path_to_your_output_folder/ \
  --use_plotting true

Your raw materials directory should contain the idea summary and the experimental log. A CVPR 2025 LaTeX template ships in the repository's templates folder. Note the disclaimer in the README: this is not an officially supported Google product.

The bottom line

PaperOrchestra is not the first system to draft a paper with AI, but it is one of the first to do it with an architecture worth copying: five narrow agents, verified citations, and a refinement loop that refuses to make things worse. If you have a paper's worth of lab notes sitting in a folder, this is the week to try it, and to keep a human in charge of what it claims.

For more on building agent teams yourself, see our guide to building a multi-agent crew with CrewAI and Ollama, and our comparison of LangGraph vs CrewAI vs AutoGen.

Comments

Popular posts from this blog

Open-Source AI Weekly: Bonsai, GigaChat 4 Lead

Claude Claims Proof of Riemann Hypothesis After 167 Years

How to Build an AI Agent with LangGraph in 30 Minutes