ScienceIDE: Turning the World's Scientific Code into a Lab Where Agents Learn

A deep look — based on the abstract — at ScienceIDE and the PhAI-IDE model family, which train scientific agents by turning scientific code repositories into executable learning environments.
← 목록으로
온
온틀 리서치
2026년 10월 03일 Updated 2026.10.16 22 min read views 2

ScienceIDE is infrastructure that turns scientific code repositories scattered across the world into "programmable environments" where AI agents can actually run, verify, and learn from real code. Using the verified interaction records collected inside these environments, the authors trained three models — PhAI-IDE-72B, 9B, and 4B — and report gains not only on held-out scientific-code repair (tasks excluded from training and validation), but also on general benchmarks spanning code, reasoning, and knowledge. In other words, it offers evidence of positive transfer: capabilities learned from "scientific experience" carry over into broader abilities.

The problem this paper tackles

Scientific code repositories hold decades of human knowledge in executable form. Physics simulations, statistical models, analysis tools — all of it congealed into code. The problem is that it's extremely hard for an AI to turn this knowledge into "learning experience." The paper breaks that difficulty down into three parts.

  • Fragmented toolchains: every repository uses its own tools, libraries, and ways of running things.
  • Implicit domain conventions: rules that anyone in the field takes for granted are never spelled out in the code.
  • Specialized correctness criteria: the standard for "this result is right" differs by field and is often demanding.

Because of these three, even a vast amount of scientific code is hard to convert into "trustworthy learning experience." The paper names this bottleneck the scientific experience bottleneck.

Here's an analogy. Imagine the lab notebooks and equipment of the world's top research labs piled high in a warehouse — except each notebook is written in a different language and set of abbreviations, every instrument powers on differently, and even the definition of "a successful experiment" varies from lab to lab. For a new researcher (the AI agent) to master all of this on their own is nearly impossible. No matter how much of it there is, unorganized knowledge never becomes "experience." ScienceIDE is an attempt to remodel exactly this warehouse into "a lab you can walk into and actually run experiments in."

The core idea

ScienceIDE's premise is: "Don't make it read code — turn the code into an environment that runs and gets graded." At the level of the abstract, the core flow goes like this.

First, experts define scientific cases and acceptance criteria. These serve as a kind of grading rubric and a specification for setting the problems. A human establishes the guide up front: "In this repository, the agent should be able to solve such-and-such a task, and if the result satisfies these conditions, it counts as correct."

Next, the agent uses this guide to convert the repository into executable environments. Each environment supports three things.

Capability What it does
Task generation Produces solvable problems from the repository
Execution Lets the agent actually run the code
Scientific verification Grades whether the result meets the acceptance criteria

Environments built this way become a shared foundation across three modes of learning. Supervised fine-tuning (SFT, learning from correct examples), reinforcement learning (RL, learning through trial and reward), and evaluation (measuring skill) can all happen on top of the same environment.

The crux is verified interaction trajectories. Among the behavioral trajectories an agent leaves behind while solving problems in the environment, only those that pass scientific verification are selected as training material. To put it in cooking terms: rather than making the model imitate just any cooking process, you gather only "recipes whose results actually passed the taste test" and teach from those. With this material, the paper trained three differently sized models: PhAI-IDE-72B, PhAI-IDE-9B, and PhAI-IDE-4B.

The key design philosophy here is "verifiability." Ordinary coding data easily stops at "code that looks plausible," but a scientific environment has an objective grader in the form of execution and acceptance criteria, so it can tell whether something is "actually right." Being a learning ground that can grade itself is what gives this approach its power.

Results and significance

The abstract reports gains along two broad lines. Since no concrete numbers are given in the abstract, we'll summarize only qualitatively here.

First, performance improved on held-out scientific-code repair. Note, though, that "held-out" here does not mean unseen repositories — §3.3 of the paper states that evaluation was done on tasks within existing codebases that were excluded from training and validation. So this result is evidence of solving unseen tasks better; it cannot be read as evidence of generalizing to repositories the model has never encountered.

Second — and this is the most interesting part of the paper — gains also appeared on a selected set of general-purpose benchmarks (code, reasoning, knowledge). Experience learned in the narrow domain of scientific code carried over into broader capabilities in coding, reasoning, and knowledge. The paper describes this as evidence of positive transfer from scientific experience to broader ability.

To sum up what it means: until now, AI training data had to be hand-built by people or scraped from the web. ScienceIDE proposes turning "scientific software that already exists in the world" into a gradable shared substrate for learning. If the scientific code humanity has accumulated can be converted into material that agents learn from by running it themselves, the supply source of training data widens fundamentally. The paper sees this as the foundation for an integrated workspace that joins agent learning and scientific practice into one.

Limitations and open questions

Judging from the abstract alone, there are points worth raising honestly.

  • Expert dependency: this approach depends on "scientific cases and acceptance criteria defined by experts." Because a human has to build good grading criteria first, the cost and scalability of this upfront work are the crux. How far it auto-scales across fields and repositories is not confirmed in the abstract.
  • Absence of quantitative evidence (per the abstract): the abstract gives no concrete figures for the size of the gains, the kinds of benchmarks targeted, or the scale of repositories covered. The actual degree of improvement can only be judged by checking the main text and the code.
  • Scope of "scientific verification": verification is said to rely on execution and acceptance criteria, but scientific correctness often can't be reduced to a simple pass/fail. How many subtle errors slip past the verification is an open question.
  • Generality of the transfer: note that the general-benchmark gains are described as a "selected" set. That doesn't mean transfer is guaranteed on every general task, and the mechanism — which capabilities transfer, and why — remains to be clarified.

Despite these caveats, the direction itself — treating executable, verifiable environments as the primary material for learning — is compelling in an era where verifiable data is scarce.

The ONTLE take

ONTLE is a SaaS that dispatches AI project managers. ScienceIDE's premise has direct implications for how we build agent products.

First, the insight is to treat a codebase not as "something to read" but as "an environment that runs and gets graded." When an AI PM handles a client's repository, going beyond summarizing and reading code to actually running it and verifying results against acceptance criteria makes it a far more trustworthy assistant. In practice, the gap between "a plausible answer" and "an answer that passed by execution" is decisive.

Second, there's the principle of using only verified interaction records as material for learning and improvement. If, among the trajectories an ONTLE agent leaves while handling real work, we select and accumulate only the cases that passed explicit acceptance criteria, we build an organization's own trustworthy body of experience. This lines up precisely with the "evidence-first, verifiability" culture we've emphasized.

Third, the implication from a RAG perspective. Beyond RAG that simply retrieves documents and pastes them in, if the retrieval target itself is promoted to "an executable, gradable environment," the factuality of answers is backed by execution. In other words, a design that binds retrieval and verification into one pipeline can be a practical path to raising the reliability of domain-specific agents.

Fourth, the fact that experts define acceptance criteria first is worth referencing as a model for dividing roles between humans and agents. Humans decide "what counts as correct," and agents automate repeated execution, verification, and improvement within those criteria. This shares the same grain as the collaborative structure ONTLE's AI PM aims for.

Is ScienceIDE a new AI model, or a tool?

It straddles both. ScienceIDE is infrastructure that turns scientific code repositories into executable learning environments, and the PhAI-IDE-72B, 9B, and 4B models are the products trained on the verified records collected in those environments. The infrastructure comes first, and the models are what comes out of it.

What exactly does the "scientific experience bottleneck" mean?

It refers to the problem that scientific code holds a vast amount of knowledge, yet fragmented toolchains, implicit domain conventions, and specialized correctness criteria make it hard to turn that into trustworthy learning experience. There's plenty of knowledge, but its conversion into training material is blocked.

If it learned from scientific code, why do general abilities improve?

The abstract reports gains on a selected set of general benchmarks (code, reasoning, knowledge) alongside held-out scientific-code repair, and presents this as evidence of positive transfer. That said, the abstract doesn't spell out concrete numbers or the mechanism behind the transfer, so the main text needs to be checked.

Can I use it in practice right away?

The code is public on GitHub (aitofound/ScienceIDE), so you can take a look. But there's an upfront cost in that experts have to define the acceptance criteria first, and the abstract offers no quantitative information on scope or scale — so before adopting it, you'll need to design verification criteria suited to your own domain.

References