PaperOrchestra 把写作拆成一支分工协调的 agent 团队,用于自动生成 AI 研究论文。输入可以是想法和实验日志这类没有固定格式的前期材料,输出目标则是可直接投稿的 LaTeX 稿件。流程覆盖大纲生成、文献综述、分节撰写、内容精修和绘图几个环节,其中文献部分会把已有工作汇总成综述,视觉部分除数据图表外还会产出概念示意图。论文写作中需要反复来回的几类工作,由此被放进同一条流水线里,适合手里有实验记录、需要快速整理成结构化稿件的科研人员,也适合研究多 agent 协作编排的开发者参考。语言为 Python,采用 Apache-2.0 许可。
PaperOrchestra is a multi-agent framework for automated AI research paper writing. It flexibly transforms unconstrained pre-writing materials (ideas and experimental logs) into submission-ready LaTeX manuscripts, including comprehensive literature synthesis and generated visuals, such as plots and conceptual diagrams.
Acting like an orchestrated team of specialized agents, it handles outline generation, literature review, section writing, content refinement, and plotting to close the gap between raw research materials and submission ready papers.
Environment Setup: The project relies on a Conda environment named paper_orchestra. You can set up a similar environment with Python 3.11 and install the required dependencies.
bash
conda create -n paper_orchestra python=3.11
conda activate paper_orchestra
pip install -r requirements.txt
Environment Variables: Create a .env file in the root of the project and add your API keys:
```env
# Add keys if you have them, otherwise leave them empty
# You need to specify related keys if you want to use the model
# For example, if you want to use Gemini models, you need to specify either VERTEX_AI_PROJECT and VERTEX_AI_LOCATION, or GEMINI_API_KEY
# If you want to use OpenAI models, you need to specify OPENAI_API_KEY
SEMANTIC_SCHOLAR_API_KEY=your_semantic_scholar_api_key OPENAI_API_KEY=your_openai_api_key VERTEX_AI_PROJECT=your_vertex_ai_project VERTEX_AI_LOCATION=your_vertex_ai_location GEMINI_API_KEY=your_gemini_api_key
SMTP_EMAIL=your_email SMTP_PASSWORD=your_password ```
The dataset used for paper generation is not included in this code repository. It will be released separately at a later date.
Once available, you should download the dataset and place it under the datasets/ directory.
You can run the paper generation pipeline using the provided bash script or directly via the Python CLI.
./paper_writing_cli.sh
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
--raw_materials_dir: (Required) Directory containing the raw materials (e.g., idea and experimental log).--latex_template_dir: (Required) Directory containing the LaTeX template (e.g., templates/cvpr2025).--output_dir: Directory to output the generated paper. If not specified, an automatic folder with a timestamp is created.--use_plotting: Enable the plotting agent workflow to generate figures from code (Default: False).--writer_model_name: LLM for writer and literature agents.--reflection_model_name: LLM for reflection agents.We provide an interactive Streamlit demo for the paper generation pipeline. For instructions on how to run and use it, please refer to the README.md in the frontend directory.
autoraters/: Contains scripts for automated evaluation.methods/: Core logic for agents and pipeline execution.templates/: LaTeX templates for target conferences, you can add your own template by creating a new subfolder under this directory.utils/: Utility functions for API calls, PDF handling, etc.If you find this repo or our paper helpful, please cite it as follows:
@article{song2026paperorchestra,
title={PaperOrchestra: A Multi-Agent Framework for Automated AI Research Paper Writing},
author={Song, Yiwen and Song, Yale and Pfister, Tomas and Yoon, Jinsung},
journal={arXiv preprint arXiv:2604.05018},
year={2026}
}
This is not an officially supported Google product.
| 日期 | 榜单 | 排名 | 周期新增 | 总 STAR |
|---|