OpenAl4S: Code as Action, Science as Sessions

📅 2026-09-14
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决AI辅助科研流程中的可审查、可恢复及可重复性问题,OpenAI4S通过结合持久计算运行时与研究会话管理,采用代码即行动、科学即会话的原则,提升了工作流的可靠性。
📝 Abstract
AI co-scientists could accelerate computational research, but over a long-running study the workflow also has to stay inspectable, resumable and reproducible, which requires persistent computational state and provenance. Here we present OpenAI4S, an open-source scientific research agent built around the principle of \emph{Code as Action, Science as Sessions}. OpenAI4S combines a persistent computing runtime with research-session management: orchestration is handled through structured tool calls, while scientific actions are represented as complete code cells executed in persistent Python and R kernels. An append-only Action Ledger, per-cell execution records, versioned artifacts, environment records, and workspace checkpoints preserve how results were produced and support session recovery, branching, and extension. Configurable sandboxing, permission controls, and code and trajectory screening provide complementary safeguards. We evaluate OpenAI4S on 36 research scenarios spanning retrosynthesis, molecular dynamics, protein binder design, protein mutation, catalyst screening, and mineral spectroscopy, measuring scientific task accuracy, workflow completeness, and reproducibility of the resulting repositories. OpenAI4S achieves an overall score of 7.83, compared with 5.7--6.4 for a general-purpose coding harness evaluated with three frontier models, with the largest gains on long-horizon and computation-intensive workflows. These results suggest that integrating persistent execution with session-level provenance can improve the reliability of AI-assisted scientific workflows. Environment specification and full rerunnability remain weak for every evaluated system, ours included, so reproducibility is still an open problem for scientific agents. The system is available under the MIT license at \href{https://github.com/PKU-YuanGroup/OpenAI4S}{github.com/PKU-YuanGroup/OpenAI4S}.
Problem

Research questions and friction points this paper is trying to address.

persistent computational state
provenance
reproducibility
AI-assisted scientific workflows
Innovation

Methods, ideas, or system contributions that make the work stand out.

persistent computing runtime
research-session management
Action Ledger
versioned artifacts
session recovery
🔎 Similar Papers
No similar papers found.
Gongbo Zhang
Gongbo Zhang
School of Electronic and Computer Engineering, Peking University
AI for ScienceMachine LearningGenerative Model
Hao Li
Hao Li
Harbin Institute of Technology, Shenzhen
Embodied AI
Yu Wang
Yu Wang
University of Science and Technology of China
LLM ReasoningLLM AgentReinforcement Learning
M
Mujie Lin
Peking University Shenzhen Graduate School, Shenzhen, 518055, China
Liuzhenghao Lv
Liuzhenghao Lv
Phd student Computer Science, Peking University
Large Language ModelsAI for ScienceSpiking Neural Networks
Y
Yicheng Mao
Peking University Shenzhen Graduate School, Shenzhen, 518055, China
Y
Yimi Wang
Peking University Shenzhen Graduate School, Shenzhen, 518055, China
J
Jun Zhu
Tsinghua-Peking Joint Center for Life Sciences, School of Life Sciences, Tsinghua University, Beijing, China
M
Minhan Tang
Independent Researcher
Z
Zhengxiang Jiang
Peking University Shenzhen Graduate School, Shenzhen, 518055, China
Yusong Wang
Yusong Wang
Tokyo Institute of Technology
Representation LearningAffective Computing
J
Jiayu Yao
Peking University Shenzhen Graduate School, Shenzhen, 518055, China
K
Kunpeng Ning
Peking University Shenzhen Graduate School, Shenzhen, 518055, China
D
Dawei Pang
Beijing Yuankong Intelligent Technology Co., Ltd., Beijing, China
Y
Yonghong Tian
Peking University Shenzhen Graduate School, Shenzhen, 518055, China
O
OpenAI4S Community
Y
Yuyang Liu
Peking University Shenzhen Graduate School, Shenzhen, 518055, China
Li Yuan
Li Yuan
Research Associate, University of Science & Technology of China (USTC)
Antibiotic resistanceWastewater treatmentEnvironmental bioremediationAnaerobic digestionFate of organic pollutants