Skip to content

About

Long-horizon autonomous research teams under sealed evaluators

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ResearchRelay

Long-horizon autonomous research teams under sealed evaluators.

ResearchRelay runs a team of LLM agents — planner, workers, experiment reviewers and a finish reviewer — on a research task with a locked evaluator, for 18–36 hours at a time without a human in the loop. Each run hands its best reviewed result and its written findings to the next run, like a relay. The agents never see the held-out truth: scoring happens on the host, in a separate sandbox, every candidate is compared with a fixed baseline on identical seeds, and a second model reviews each result before it is accepted.

It was built by one person, on personal LLM subscriptions, for the Virtual Embryo Challenge 2026 Agent Team track. All three challenge tasks were solved end to end by the agents; the human made go/no-go decisions and did not design the prediction methods.

Development score of each adopted baseline and official hidden-test scores for the three challenge tasks

Results at a glance

Challenge total (T1 + T2 + T3) 180.9 (68.2 + 58.6 + 54.2); 50 per task = copy-the-last-stage baseline
Scored experiments ~1,200 (each implemented by a worker, scored by the sealed evaluator, reviewed)
Model calls / tokens 123,458 calls · 9.6 B tokens (7.7 B cache reads)
Longest unattended run 36 h budget, 40 experiments, 3 parallel workers
API-equivalent cost ~$1,400 at list prices; actually paid as consumer subscriptions
Final standing to be filled in after the results announcement (2026-12-11)

Local development scores rose steadily on every task (T1 56.5 → 75.9, T2 60.1 → 67.1, T3 51.3 → 73.5). How much of that carried to the hidden test depended on how far the test setting moved away from development:

Board Test vs development setting Development Hidden test
T1 expression forecast 2-day instead of 1-day horizon 75.9 68.1 → 68.2
T2 embryo interpolation same kind of interpolation 70.9 66.9
T2 heart extrapolation 2-day horizon, shifting composition 64.2 37.9 → 50.2
T3 knockout response unseen gene 73.5 46.5 → 54.2

Pre-submission test estimates — the planners' own and the public backtests they ran — missed the official scores by up to 14 points in either direction. The second attempts on T2 heart and T3 recovered by delivering more conservative predictions — a concrete, measured case of autonomous agents over-fitting the evaluator they are given. Once the first official T1 score was handed back to the agents as an anchor, their next T1 estimate (68.15) landed within 0.1 of the official result (68.22). See docs/results for the full record.

What a run looks like

The read-only dashboard follows a run live or from a snapshot. This is the last T1 run: 40 experiments in 15.5 hours, each scored against the fixed baseline (dashed line), with the planner, worker and reviewer turns on a shared time axis.

Dashboard overview of a 40-experiment T1 run

Experiments table: each experiment's method, development score, gain over the baseline and whether the reviewer found its claimed contribution supported

Dashboard experiments table

Why ResearchRelay

Design choice What it buys Where
Sealed evaluator — truth is mounted only into a host-side scoring sandbox Agents cannot read, leak or overfit to held-out labels by inspection src/researchrelay/harness/evaluator.py
Paired comparison against a fixed baseline — identical seeds for candidate and baseline; on T1 a gain whose 95% interval includes zero is scored as no gain Noise-chasing does not count as progress task evaluators, e.g. examples/vec/t1_score.py
Separated roles with independent review — planner, workers, per-experiment reviewer, finish reviewer Every accepted result has a second model checking source, method and claims src/researchrelay/harness/agents.py, role instructions
Relay across runs — the best reviewed result becomes the next baseline; closeout findings become task notes Progress compounds over dozens of runs instead of restarting baseline packages, task notes
Built to run unattended — quota-aware account rotation, token refresh, resume after crashes or network loss 18–36 h runs on consumer subscriptions src/researchrelay/harness/agents.py, src/researchrelay/providers/
Task-agnostic core — a task is inputs + evaluator + role instructions Same engine ran three different biology tasks; a toy task is included examples/toy, examples/vec
Sandboxed and auditable — bubblewrap isolation, logged network proxy, every model request reconstructible, redacted evidence export Results can be verified by a third party src/researchrelay/agentbox.py, netproxy.py, evidence.py
Cost accounting — tokens and API-equivalent cost per role, experiment and model You know what each idea cost pi-extensions/, src/researchrelay/harness/plugins/generic.py

How it compares

ResearchRelay is a harness, not a new search algorithm: the planner model decides what to try, and the harness decides what counts. The closest published systems, as their own papers describe them:

System What it optimizes What judges a candidate Agent structure
AIDE (2025) ML-engineering code (Kaggle, MLE-bench) a scalar validation metric per solution node one agent; a fixed policy picks draft, debug or improve in a tree search
The AI Scientist (2024) ML research papers, from idea to write-up an LLM reviewer prompted with conference guidelines staged pipeline: ideation, coding agent, write-up, LLM reviewer
AlphaEvolve (2025) programs for math and computing-systems problems a user-supplied evaluation function returning scalar metrics LLM ensemble proposes code diffs; an evolutionary program database selects
Co-Scientist (2025) biomedical hypotheses tournament ranking among generated hypotheses; selected ones tested in the wet lab multiple agents that generate, critique and refine hypotheses
ResearchRelay predictive methods for a task with held-out truth a sealed scorer comparing it with a fixed baseline on identical seeds, then an independent LLM review planner, parallel workers, per-experiment reviewer, finish reviewer

What the combination adds:

  • Acceptance is a statistical test, not a maximum. With hundreds of scored attempts, keeping the best single score mostly selects noise. Here candidate and fixed baseline are scored on identical seeds in a sandbox the agents cannot read; on T1 a gain whose paired 95% interval includes zero is scored as no gain, and on T2/T3 the reviewers judge the paired per-seed rows.
  • A result is accepted only after a second model reviews it against the worker's source and claims, and a finish reviewer checks the delivery before it leaves the run.
  • Progress carries across runs. A reviewed best result, once the operator approves it, becomes the next run's fixed baseline and the closeout findings become task notes, so 18–36-hour runs build on each other. (The AI Scientist's growing idea archive is the nearest analogue in the papers above.)
  • Development and hidden-test scores are reported side by side for every official submission, including the two that transferred badly.
  • It runs on consumer subscriptions, rotating accounts on quota limits and resuming after crashes, so a single person can operate it.

Quick start

Requirements: Linux with bwrap (bubblewrap), Python 3.12, uv, Node 22, ripgrep.

uv sync --locked --extra scoring
npm ci --ignore-scripts
# full test suite, including an end-to-end run of the toy task with a scripted fake model
PYTHONPATH=src:tests .venv/bin/python -m pytest --full-suite
# build a runnable copy of the toy task (synthetic data; answers visible only to the evaluator)
.venv/bin/python examples/toy/prepare.py --out /tmp/toy-task
.venv/bin/researchrelay harness --help

Run a task on your machine

No batch scheduler is needed; a run is one foreground process that starts sandboxed roles and evaluator calls on the CPUs you give it.

# 1. log in once to a model account through Pi (an OpenAI Codex subscription: run /login)
node_modules/.bin/pi
# 2. write the model descriptor and a runtime file
.venv/bin/researchrelay model-snapshot --provider openai-codex --profile-dir ~/.pi/agent \
  --out models.json
cp config/harness-runtime.example.json runtime.json   # set snapshot, runtime_env (.venv),
                                                      # node_modules, cpus and budgets
# 3. check the plan offline (no credentials read, no model called), then run
.venv/bin/researchrelay harness prepare --task /tmp/toy-task/task.json --runtime runtime.json
.venv/bin/researchrelay harness run --task /tmp/toy-task/task.json --runtime runtime.json \
  --out runs/toy-1 --approve
# 4. follow it in the dashboard (http://127.0.0.1:8741 by default)
.venv/bin/python -m researchrelay.dashboard --runs-dir runs

To launch in the background from a sealed package tied to a source commit, freeze it with the local template: researchrelay harness freeze --template-dir examples/local ... (details). On a Slurm cluster use examples/slurm instead. examples/vec contains the runtime configurations used in the challenge.

Documentation

  • Architecture: the run loop, sealed evaluation, roles, isolation, long unattended runs, relay across runs, accounting and audit.
  • Writing a task: plug in your own task and evaluator, or a new model provider; worked through on examples/toy.
  • Results: score progression data and the script that draws the chart.

Repository layout

Path Contents
src/researchrelay/harness run engine: roles, scheduling, evaluator, delivery, resume, events
src/researchrelay/providers model providers: OpenAI Codex subscription and local GLM for agent roles; DeepSeek for model snapshots only
src/researchrelay/dashboard live run dashboard
examples/toy minimal task: write your own task from here
examples/vec the Virtual Embryo Challenge task bundle (T1–T3)
examples/local launch template for a single machine, no scheduler
examples/slurm launch template for Slurm clusters

License

Apache-2.0. The bundled agent-skills/paper-lookup skill is adapted from K-Dense-AI/scientific-agent-skills and remains under its MIT license (LICENSE, Copyright (c) 2025 K-Dense Inc.).

About

Long-horizon autonomous research teams under sealed evaluators

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages