Skip to content

About

ScienceClaw: a decentralized collective of evidence agents for protective loss-of-function drug targets

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Null Hypothesis: the film at 4x speed
The whole story in under a minute (4× speed). Click for the full film with sound.

Live site Film Report

ScienceClaw, MIT Media Lab Pre-registered at 12b8c58 Tests passing Python 3.14 MIT license
Gemini 3 Flash on Google Cloud NVIDIA Evo 2 OpenAI GPT-5 mini Built with Claude Code


The story in nine steps

1. Nature already ran the experiment

Some people are born with a broken copy of a gene, and they end up healthier for it. People with a broken PCSK9 gene have low cholesterol all their lives and far fewer heart attacks. That discovery became a medicine, evolocumab. Human genetics ran the trial for free.

2. Finding the next one is hard

The clues for the next gene like PCSK9 are scattered across different datasets:

  • Burden studies: do people with a broken copy get less disease?
  • GWAS: does a second kind of study agree?
  • Tolerance: can a person live normally without the gene?
  • Safety: does breaking it cause harm somewhere else?

No single dataset answers the question on its own.

3. The ScienceClaw question

The ScienceClaw paper (Autonomous Agents Coordinating Distributed Discovery Through Emergent Artifact Exchange) asks a simple question:

Is it better to have one agent that sees everything, or many agents that each see a part and coordinate without a boss?

That is single vs collective, and centralized vs decentralized. We tested it on real human genetics.

4. What we built

Five AI agents. Each one can open only its own folder of evidence, and no planner tells them what to do.

flowchart LR
    subgraph Evidence["Separate evidence folders"]
        B[(Burden)]
        G[(GWAS)]
        T[(Tolerance)]
        S[(Safety)]
    end
    B --> AB[Burden agent]
    G --> AG[GWAS agent]
    T --> AT[Tolerance agent]
    S --> AS[Safety agent]
    AB & AG & AT & AS --> Board{{Shared board}}
    Board <--> SK[Skeptic agent<br>sees only verdicts]
    Board --> Score[Python score<br>one number per gene]
Loading

How a gene gets scored:

  1. Round 0: each agent reads its own folder and posts a verdict, plus questions it can't answer itself.
  2. Round 1: agents answer each other's questions. Nobody assigns the work; each agent picks the open question it can answer best.
  3. Round 2: the skeptic challenges weak claims. A challenged channel counts half.
  4. Score: plain Python adds up the latest verdicts.

We check that no agent can peek at another's data with 203 automated tests. A planted leak makes them fail.

5. A fair, blind test

  • 40 genes: 12 real drug targets hidden among 28 look-alikes.
  • Names hidden: agents only ever see codes like Gene_08.
  • Plan locked first: the panel, the scoring rule and the metrics were frozen in git at commit 12b8c58 before the first run.

6. What happened

Setup Score (AUROC, 0.5 = coin flip, 1.0 = perfect)
One agent that sees everything (A1) 0.774
The agent collective, coordinating (A3) 0.782
A central planner choosing specialists (added later) 0.829
The same specialists, before they talked 0.853
  • The pre-registered answer is a tie. Collective minus single = +0.008 (95% CI −0.074 to +0.103). We report it as one.
  • Talking made the specialists worse. We reran the same genes 5 times. Coordinating lowered the score in all 5 runs: mean −0.053 (95% CI −0.090 to −0.017).

7. Why: the skeptic didn't spare real targets

The skeptic's most common challenge ("biomarker only") hit 83% of real targets and 84% of look-alikes. Halving good evidence and bad evidence equally just added noise.

You can watch it happen on PCSK9, a real drug target. It scored 3.450 before coordination and 2.525 after. Step through that board yourself on the live site.

8. More tests, written down before we ran them

  • NVIDIA Evo 2 (40B), a DNA language model: it clearly spots damaging variants (median percentile 4.4 vs 59.1). But it scores real targets and look-alikes the same (3.4 vs 5.2). We wrote that prediction down first, it failed, and we published it.
  • OpenAI GPT-5 mini: a second model gives the same pattern. Specialists apart score 0.857.

9. Something real came out of it

Our top-ranked look-alike, still hidden as Gene_06, turned out to be ACVR1C. A 2019 study found that people born with a damaging copy have 54% lower type 2 diabetes risk (odds ratio 0.46, 95% CI 0.27–0.81; Emdin et al., Diabetes 2019;68:226–234). The agents never saw the name. That is "surfaced blind", not a new discovery.


Try it

No keys and no network needed to check every number (about 1 minute):

git clone https://github.com/karunprem45/null-hypothesis.git && cd null-hypothesis
make setup                                     # virtual env + dependencies
make test                                      # unit and isolation tests
make demo GENE=Gene_01                         # replay one gene's frozen board
.venv/bin/python -m exploratory.scripts.verify_frozen   # 63 hashes, 12 arms, round-0 re-score

To rebuild everything from scratch (needs Google Cloud for Gemini):

gcloud auth application-default login   # Vertex AI (Gemini) for all pre-registered arms
make probe                              # Gemini, Open Targets, Ensembl, Evo 2 checks
make data panel                         # Open Targets pull, blind panel, views, isolation tests
make baselines                          # scripted baselines S1–S4
make allarms ablations report           # A1, A3 x2 seeds, ablations, table, figures
make explore                            # extensions: Evo 2 and other models

Keys go in .env (see .env.example). Full guide: REPRODUCE.md.

How we kept it honest

Tag Commit What was locked
prereg 12b8c58 Panel, metrics and scoring weights, before any arm ran
results-raw 28a0e95 Every arm's scores and boards, hashed, before any metric
results-final 4729a6b Arms table, figures, findings

Built with

Used for
Google Cloud, Vertex AI (Gemini 3 Flash) Every agent in every pre-registered arm
NVIDIA build.nvidia.com (Evo 2 40B) The DNA Variant agent, through a hosted endpoint (no GPU to set up)
OpenAI (GPT-5 mini) Robustness rerun on a second model
Claude Code Engineering the whole system end to end
Open Targets, Ensembl Genetics evidence and reference DNA

Reusable skills

Three pieces any team can lift into their own agent project:

Skill What it does
blind-agent-views Give each agent its own data, provably sealed from the others
needs-board-coordination Agents post needs, others answer, no planner
evo2-variant-score Score DNA variants with NVIDIA Evo 2

What's in the repo

Folder What's inside
data_layer/ Pull from Open Targets, build the blind panel and each agent's view
agents/, board/, llm/ The agents, the shared board and the single LLM gateway with guards
arms/, scoring.py Scripted baselines, single agent, collective, ablations, the scorer
eval/, exploratory/ Metrics, paired bootstrap, figures; analyses added after the freeze
frozen/, frozen_results/ The pre-registration and every hashed result
site/ The live explainer and the film, rebuilt from the frozen results
slides/, docs/ The deck and the project report (PDF)
skills/, tests/, tools/ Reusable skills, the test suite, Ensembl and Evo 2 clients

Team

Area
Karishma Premnath · @karishmapremnath4 Data: the panel, per-agent views, panel 2
Karuniya Premnath · @karunprem45 Agents: specialists, skeptic, needs board, Evo 2 agent, skills
Dheepak Karan · @dheepakkaran Evaluation: baselines, statistics, reruns, extensions

More detail: CONTRIBUTORS.md. The original build plan is in BUILD.md, and the demo script is in DEMO.md.

License

MIT. Use the code and skills freely, and keep the copyright notice.

References

  • ScienceClaw: Autonomous Agents Coordinating Distributed Discovery Through Emergent Artifact Exchange. arXiv:2603.14312
  • Emdin et al., protective ACVR1C variants and type 2 diabetes. Diabetes 2019;68:226–234. doi:10.2337/db18-0857

About

ScienceClaw: a decentralized collective of evidence agents for protective loss-of-function drug targets

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages