Idea2Paper is an end-to-end scientific research agent framework launched by AgentAlphaAGI. The official repository is https://github.com/AgentAlphaAGI/Idea2Paper。该项目关注当代科研流程的主要阶段及其核心挑战,不将论文写作视为单一的生成问题,而是把科学研究显式拆分为结构化阶段,并识别从原始想法到连贯、可提交学术叙事之间的关键瓶颈。项目指出,最基础但探索不足的挑战之一是“研究范式生成”,即把表述不充分的研究想法转化为逻辑一致、具备学术依据的研究故事;现有系统在完全运行时推理、上下文依据有限的情况下,往往难以产出稳定、可复用的研究范式。
To this end, Idea2Paper adopts a modular system design, prioritizing the construction of engineering submodules targeting specific bottlenecks in the scientific research process, rather than directly building a complete end-to-end writing system. The first and core engineering submodule is Idea2Story, specifically addressing the problem of research paradigm generation: transforming insufficient research ideas into a complete, coherent, submittable scientific narrative skeleton, and using a structured research story as an intermediate representation to provide a stable foundation for subsequent method development, experimental design, and paper writing.
According to official materials, Idea2Paper emphasizes knowledge-driven approaches (using ICLR data to construct a knowledge graph), auditable review (using an anchored multi-agent review system to provide objective feedback), and automatic refinement (including RAG deduplication and intelligent revision to improve novelty). Idea2Story introduces a precomputation-driven framework, shifting literature understanding from runtime reasoning to offline knowledge graph construction, thereby supporting more efficient and reliable autonomous scientific discovery.
Main capabilities include:
- Knowledge graph: built based on ICLR data, containing Idea, Pattern, Domain, and Paper nodes.
- Advanced retrieval: three-path retrieval (Idea/Domain/Paper) combined with two-stage ranking (Jaccard + Embedding).
- Idea2Story generation: from pattern selection to story generation, anchored review, and intelligent correction.
- Anchored multi-agent review: using real review statistics as anchors for relative comparison, producing deterministic, auditable 1-10 scores.
- Comprehensive logs: every run has structured logs, supporting full reproducibility and auditability.
- Output files: Paper-KG-Pipeline/output/final_story.json is the final structured story (title/abstract/problem/method/contributions/experiments); Paper-KG-Pipeline/output/pipeline_result.json is the complete pipeline trajectory (review, revision, audit); log/run_.../ contains the structured logs for each run.
In terms of usage, users can copy .env.example to .env and fill in LLM_API_KEY (optionally fill in LLM_PROVIDER, LLM_BASE_URL); optionally copy i2p_config.example.json to i2p_config.json to adjust settings. The project provides a local Web UI, which canStart the pipeline and view high-level stages and final results. The interface supports configuring LLM_API_KEY, LLM_PROVIDER, LLM_BASE_URL / LLM_API_URL, LLM_MODEL for the current run (the server does not persist them), switching between Novelty / Verification, and downloading a zip of the current run logs. The frontend is currently unstable, and the official recommendation is to run the pipeline from the terminal for now.
The Web UI also includes a KG Builder page, which can build a custom knowledge graph from your own paper dataset, replacing the preset ICLR graph. You need to prepare a JSONL file, with one JSON object per line containing the corresponding fields, and place it in Paper-KG-Pipeline/data/; the repository includes a sample dataset paper_reviews_dataset_iclr_sample_100.jsonl for testing. The command to start the server is python frontend/server/app.py --host 127.0.0.1 --port 8080, then open http://127.0.0.1:8080/ and go to the KG Builder tab, select the dataset, configure the LLM settings, and click Start Build. The pipeline will execute 4 steps in sequence, and the page will display progress and logs in real time. After completion, the output is written to Paper-KG-Pipeline/output/ and can be used directly by idea2story_pipeline.py.
Regarding the review mechanism, the project does not use arbitrary scoring, but instead uses anchored comparison: it selects anchor papers with known scores, has the LLM compare the target with the anchors (better/equal/worse), and then deterministically fits the final numerical score, ensuring the review process is auditable and based on real data. The core code is located in Paper-KG-Pipeline/src/idea2paper/, and review details are in MULTIAGENT_REVIEW.md.
Regarding configuration and limitations: the embedding model can be configured via EMBEDDING_MODEL / EMBEDDING_API_URL (environment variables or i2p_config.json); changing the model requires rebuilding the novelty/recall index, or using a model-specific index directory, and the embedding dimension must match the index. It is recommended to set I2P_INDEX_DIR_MODE=auto_profile to automatically map index directories; explicit I2P_NOVELTY_INDEX_DIR / I2P_RECALL_INDEX_DIR will override auto_profile. Setting I2P_ANCHOR_DENSIFY_ENABLE=0 can skip Adaptive Densify to improve speed and stability. If you encounter Critic JSON errors, you can set I2P_CRITIC_STRICT_JSON=0 to disable strict mode. The LLM temperature for each stage can be configured via I2P_LLM_TEMPERATURE_* or llm.temperature.*. Idea Packaging is enabled via I2P_IDEA_PACKAGING_ENABLE=1 or idea.packaging_enable=true (disabled by default). The subdomain taxonomy can be automatically detected via the relevant options and automatically built when allowed, or it can be built manually using Paper-KG-Pipeline/scripts/tools/build_subdomain_taxonomy.py. Supports OpenAI compatible Embeddings API (/v1/embeddings); DashScope native embeddings endpoints are not currently supported. If using a prebuilt local index, you need to place the two paper-embedding folders from Hugging Face into paper-KG-Pipeline/output, and ensure the embedding model matches the downloaded index.
Other information: the project is licensed under the MIT License, and the data source is ICLR. Related papers include Idea2Paper (ResearchGate) and Idea2Story (arXiv:2601.20833), and it cites AgentAlpha's latest work Story2Proposal. Fees, pricing, and specific platform support details are not currently provided.