Scientists Build Virtual Labs from Global Scientific Code to Train Smarter AI Agents

Photo of author

By Sophia Chen

Researchers have developed a new system called ScienceIDE that transforms vast collections of scientific computer code into interactive virtual environments where AI agents can learn and practice scientific tasks. This breakthrough addresses a key challenge in AI research: how to leverage the immense but complex body of scientific software—spanning decades of human knowledge—to train intelligent agents capable of reasoning, problem-solving, and advancing science. By converting fragmented, specialized scientific codebases into programmable, verifiable environments, ScienceIDE opens the door to more reliable and effective AI models that understand and work with scientific concepts.

Key Takeaways

  • ScienceIDE turns scattered scientific code repositories into standardized, interactive environments for AI training and evaluation.
  • The system uses expert-defined cases and acceptance criteria to verify that AI agents execute scientific tasks correctly.
  • Using ScienceIDE, researchers trained a family of large AI models (PhAI-IDE) that improved in scientific code repair and general reasoning benchmarks.
  • This approach bridges scientific software with AI learning, creating a shared platform to advance scientific intelligence.

Scientific codebases contain decades of expertly crafted models, methods, and tools that capture deep domain knowledge in executable form. However, these codebases are often fragmented, use implicit conventions, and require specialized criteria to judge correctness, making it hard to use them directly for training AI agents. This difficulty—called the “scientific experience bottleneck” by the researchers—has slowed progress in developing AI systems that can truly understand and contribute to scientific discovery.

ScienceIDE tackles this problem by converting scientific code repositories into “programmable environments.” Think of these environments as virtual laboratories where AI agents can perform tasks such as running simulations, fixing code errors, or verifying scientific results. The key innovation is that these environments are guided by expert-defined scientific cases—specific examples of tasks—and acceptance criteria, which are rules that determine when a task has been completed successfully and correctly. This setup allows AI agents to generate tasks, execute them, and verify outcomes in a consistent and rigorous way.

Using these verified interaction “trajectories”—records of successful task executions by agents—the team trained several versions of an AI model family named PhAI-IDE, with sizes ranging from 4 billion to 72 billion parameters. These models showed improved ability to repair scientific code they hadn’t seen before, suggesting they learned generalizable skills. Moreover, they also performed better on selected general-purpose benchmarks involving coding, reasoning, and knowledge, indicating that experience gained from scientific environments transferred to broader AI capabilities.

The researchers emphasize that ScienceIDE lays the foundation for an integrated workspace where scientific practice and agent learning are deeply connected. By turning humanity’s scientific software into a shared and learnable substrate, this approach could accelerate the development of AI systems that assist researchers, automate complex scientific workflows, and ultimately contribute to new discoveries. Future work may expand the range of scientific domains covered and explore how these AI agents perform in real-world research settings.

Based on research published on arXiv by Hejia Geng, Zesen Huang, Haoyang Li et al..

Editor's note

This AI briefing pairs the latest development with policy and market context so readers can judge the wider stakes quickly.

Article briefing

Researchers have developed a new system called ScienceIDE that transforms vast collections of scientific computer code into interactive virtual environments where AI agents...

Story details

  • Author: Sophia Chen
  • Published: September 17, 2026
  • Category: AI

Key developments

  • Researchers have developed a new system called ScienceIDE that transforms vast collections of scientific computer code into interactive virtual environments where AI agents can learn and practice scientific tasks.
  • By converting fragmented, specialized scientific codebases into programmable, verifiable environments, ScienceIDE opens the door to more reliable and effective AI models that understand and work with scientific concepts.
  • Scientific codebases contain decades of expertly crafted models, methods, and tools that capture deep domain knowledge in executable form.

Why this matters

Future work may expand the range of scientific domains covered and explore how these AI agents perform in real-world research settings.

Background

The key innovation is that these environments are guided by expert-defined scientific cases—specific examples of tasks—and acceptance criteria, which are rules that determine when a task has been completed successfully and correctly.

Source

This article is based on source material from arxiv.org.

About the author

Sophia Chen

Sophia Chen covers artificial intelligence and emerging technology. With a background in computer science and a decade of tech journalism, she specialises in AI policy, machine learning applications and the societal impact of automation.

editorial@peacknews.com

Categories AI