Skip to content

Latest commit

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

ScienceBuddy-Preview

Your interactive scientific agent.

馃憠Open ScienceBuddy


WebsitePaperDemoCitation

ScienceBuddy: Recursive-in-Recursive Self-Improvement
for Interactive Scientific Agents

Explore your papers, data and scientific figures with an interactive agent that helps refine analyses and can improve its procedures and model through collaboration.

ScienceBuddy overview: a scientific workspace, nested harness and model improvement, and researcher interaction.

Scientific collaboration supplies experience for improving both working procedures and the task model.

The science-buddy-preview release brings together two parts:

What you can explore
1. ScienceBuddy for researchers The scientific workspace, access information, a recorded demonstration and example research workflows
2. Double-recursive RSI research The open experiment code for improving a Python harness and task model through alternating learning stages

馃敩 1. ScienceBuddy: work with your scientific material

ScienceBuddy brings researcher dialogue, scientific tools, execution records and analysis artifacts into a shared workspace. Its input and document workflows span multiple scientific domains, while the current tools and data specialize in biomedicine.

  • Start with questions and material. Supply papers, tables, biological sequences or scientific images alongside a natural-language request.
  • Connect claims to evidence. Ask the agent to inspect available data, retrieve literature and protein information, and organize findings and evidence gaps.
  • Refine the analysis in conversation. Add another figure, narrow the scope or request a different comparison within the same task.
  • Inspect the work behind an answer. Follow activity in Compute, explore the Trajectory, and examine tool inputs, outputs and generated artifacts.

The paper's workspace overview describes 224 tools across 22 functional modules, covering areas including genomics, molecular and cancer biology, pharmacology, bioimaging, literature retrieval and database queries.

Use the workspace

Open ScienceBuddy Preview in your browser to explore the scientific workflows below. The public web version is science-buddy-preview.

  1. Create a task. Start a new session or revisit a task in the sidebar.
  2. Add your material. Type a question and attach or paste the relevant figures, documents or data. State the output you need: an evidence table, study plan, comparison or explanation.
  3. Inspect the response and execution. Use Chat for the dialogue, Compute for activity, Results for artifacts and Trajectory for the event record.
  4. Follow up. Ask for supporting records, clarify missing information or change the scientific focus while retaining the task context.
Inspect a figure, trajectory and tool result

Three interface actions: enlarge an uploaded figure, open Trajectory, and inspect a selected UniProt tool event.

The paper illustrates how a researcher opens an uploaded diagram, switches to Trajectory and selects an earlier UniProt lookup to examine its input and output. English interface text is reconstructed from recorded interactions; uploaded scientific diagrams retain their original labels.

馃幀 Demo: from scientific figures to follow-up questions

sciencebuddy-demo.mp4

Download demo video

The recording follows successive image-based requests: an HMGCR analysis diagram, an Alzheimer's-related network and an immune-signaling figure. It shows uploading material, inspecting generated analysis and live tool activity, and continuing the conversation with a new question. The paper provides an English reconstruction of this workflow below.

Example from the paper

The example below is translated and abridged from the recorded interaction in the paper. It illustrates a workflow and reported observations, rather than a benchmark score.

Interpret a scientific figure and organize related evidence

Researcher request

Interpret this figure and organize the related knowledge in the data lake.

An immune-signaling diagram directs the analysis toward targets, drugs and pathways. The response organizes the findings into an evidence table and separates retrieved records from missing evidence: the paper reports a PDE4/rolipram fragment, while CD40 and AHR searches returned no matching records.

Paper reconstruction of an image-guided scientific task, its target-evidence table and the Compute panel.

English UI and dialogue are reconstructed from the recording. The scientific figure retains its original labels; account and model identifiers are masked.


馃攣 2. Double-recursive RSI: improve the harness and the model

Scientific collaboration can reveal reusable lessons about how to approach the next task. ScienceBuddy's recursive-in-recursive self-improvement framework couples two learning processes: revise the harness that guides the agent, then train the model that acts through it. Each updated model participates in the next round of harness improvement.

Inner recursion 路 model fixed Outer recursion 路 harness fixed
Collect task interactions and feedback Generate fresh on-policy task attempts
Propose Python harness programs Score submitted answers with a verifier
Compare candidates with their parent on fixed Val tasks Update the task model with SkyRL GRPO
Pass the selected harness to model learning Return the exported model to harness learning

Original paper method figure: scientific interaction supplies tasks and evidence; the inner recursion refines a harness with a fixed model, and the outer recursion trains the model under the selected harness.

Original method figure from the ScienceBuddy paper. Panel B details the inner harness recursion and outer model-learning recursion.

Experiment code in this repository

The paper figure includes adaptive task environments and online deployment. The experiment configuration here uses a frozen task release and sequential harness/RL stages.

The maintained experiment uses Qwen3.5-4B, a frozen 715 Train / 90 Val / 90 Test release, and three harness/RL cycles. Each harness stage has three steps, 16 training interactions per step and three candidate proposals. Each RL stage has 30 GRPO updates. The harness exposes run(task, api); host code controls execution budgets, grading and sampling.

These research experiments use bounded, verifier-assisted simulated feedback. They are distinct from the researcher-facing workspace demonstration above. Current configuration and stage measurements must be used when reporting this experiment; the paper's earlier case-study plots are not substituted for it.

Simple-SciBuddy (simple-scibuddy, imported as simple_scibuddy) is the simplified agent implementation used by these RSI experiments. Its source lives in src/simple_scibuddy/ and contains the experimental harness, execution broker, verifier and SkyRL adapters. The full ScienceBuddy product source鈥攊ncluding the hosted workspace frontend, account system and product API service鈥攊s not included.

Read the algorithm and reproduce the experiment

The detailed documentation follows the implemented learning procedure:

Guide Contents
Double-recursive RSI algorithm Model/harness state, interaction feedback, candidate generation and selection, GRPO rewards and credit assignment, evaluation and stage handoff
Experiment guide Current configuration, task split, execution budgets, setup, launch, continuation and recorded outputs

Start with the algorithm guide to understand the two recursions, then use the setup and run instructions to reproduce the simplified experiment.

馃搫 Paper

ScienceBuddy: Recursive-in-Recursive Self-Improvement for Interactive Scientific Agents

arXiv:2609.17523PDFPhAI Labs Technical Report

PhAI Labs Technical Report PHAI-TR-2026-02, September 2026, v1.

馃摉 Citation

@article{xue2026sciencebuddy,
  title={ScienceBuddy: Recursive-in-Recursive Self-Improvement for Interactive Scientific Agents},
  author={Xue, Shuhan and Zhong, Jianyuan and Nan, Ziyuan and Li, Wenbin and Yu, Zhaochen and Ding, Jinchao and Gao, Qiang and Zhan, Pengyu and Zhang, Yuntong and Cheng, Tian and Yin, Zhenfei and Wu, Yingcheng and Yang, Ling},
  journal={arXiv preprint arXiv:2609.17523},
  year={2026}
}

馃 Acknowledgments

The experiment implementation extends SkyRL through this repository's own package and preserves a pinned, unmodified upstream submodule. The workspace illustrations and usage examples are drawn from the ScienceBuddy manuscript and its accompanying demonstration material.

About

ScienceBuddy: Recursive-in-Recursive Self-Improvement for Interactive Scientific Agents

Topics

Resources

Stars

19 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages