Blog · Guide · 25 November 2026

Testing Twelve Hypotheses at Once: A Research Fan-Out

A research question often breaks into a list of hypotheses that can be tested independently. Each needs the same data, the same harness and a few minutes of work. Run them one after another and the list takes an afternoon. Give each to its own agent and it takes about a minute.

This guide uses two recorded Forkit runs as a template for a lab: twelve agents testing hypotheses about the Palmer Penguins dataset (20 Nov 2026), and twelve agents comparing forecasting models of the Mauna Loa CO2 record (21 Nov 2026). Both ran on Forkit's staging deployment with real Claude Code agents (Sonnet) and a made-up team. One run each.

In this article, "factory" means a Forkit factory: a saved fan-out that can be run on request, by webhook or on a schedule. The company Factory is named as Factory, the company.

Two ways labs use agents for research

Published work this year splits into two shapes.

One agent sending out many jobs. SkyPilot's "Scaling autoresearch" (18 Mar 2026, a vendor's own account) pointed one Claude Code agent at a training-research loop with access to 16 GPUs across two Kubernetes clusters. Over about 8 hours it submitted about 910 experiments, about 700 of which returned valid results. SkyPilot estimates a sequential single-GPU run would have taken about 72 hours to reach the same best validation loss.

A long-running AI scientist. Kosmos (arXiv 2511.02824, Nov 2025) runs for up to 12 hours per objective, over 200 agent rollouts, executing an average of 42,000 lines of code and reading about 1,500 papers per run. Independent scientists judged 79.4% of the statements in its reports accurate.

An agent platform inside a lab. In "How NVIDIA Used Factory to Post-Train Nemotron" (18 Nov 2026), Factory, the company, describes NVIDIA researchers running agent experiments and inspecting execution traces on an air-gapped deployment while post-training Nemotron models. The case study reports benchmark gains from NVIDIA's wider training, not counts of agents or experiments.

The fan-out in this guide is a third shape: many agents, one hypothesis each, each in its own copy of the study. Its advantage is accounting. Every result has an agent, a commit and a cost, and every agent asked for the same things in the same way.

The penguins run

The job: test one hypothesis each about the Palmer Penguins dataset, in a study repository with the data, a harness (run.js) and a ranking script (rank.js).

  • 12 Claude Code agents in one fan-out, each in its own fork of the study repository.
  • All 12 asked to run node run.js within 48 s and were shown as one question. One answer went to all 12.
  • Every agent had pushed 69 s after starting.
  • forkit fanout collect --merge merged 12 branches with no conflict.
  • node rank.js found 7 of 12 hypotheses supported, each with the commit of its result.
  • The fan-out showed about $1.24 of its $10 budget, an estimate at list price.

The CO2 run

The job: compare twelve forecasting models of NOAA's monthly Mauna Loa CO2 record (March 1958 to October 2026). The harness fits each model on the months up to 2015 and scores it on the 130 months after, which the model is never given.

  • One POST to a Forkit factory's webhook address, with twelve items, asked for the run. A runner started twelve Claude Code agents, one model each.
  • All 12 asked to run node run.js within 13 s of each other and were one question. One "Allow once" answered all twelve.
  • The run finished 63 s after it started, at about $1.25.
  • 12 branches merged with no conflict, and all 12 result files were byte for byte what a reference written beforehand gives.
  • Quadratic trends with a yearly cycle forecast best (2.19 to 2.29 ppm over the held-out years) and a straight line worst (13.75 ppm).

How the held-out months were kept away from the agents is the subject of keeping held-out data away from research agents.

The template

1. Prepare the study repository

Put three things in it:

  • The data, or a script that fetches a fixed version of it.
  • A harness that takes one hypothesis or model, runs it, and writes a result file with a fixed name per item. The agent writes the hypothesis-specific code. The harness decides how it is scored.
  • A ranking script that reads every result file and prints a table.

Keeping the scoring in the harness, outside the agent's prompt, is what makes twelve results comparable. Writing a reference result beforehand, as the CO2 run did, lets you check each agent's output against it.

2. Write the hypotheses as items

One item per agent. These two are examples, not the recorded run's list:

[
  { "id": "h01", "text": "Bill depth differs between sexes within each species" },
  { "id": "h02", "text": "Flipper length predicts body mass better than bill length" }
]

3. Save it as a factory, and rehearse with a shadow run

forkit factory create --name hypotheses --prompt-file prompt.md \
  --push --max-cost 10 --max-tool-calls 2000 --shadow

The prompt template is filled once per agent. {{item.id}} and {{item.text}} give each agent its hypothesis. --push means the runner pushes your checkout as the starting repository, so a private study repository works and Forkit is given no repository token.

--shadow makes the first runs rehearsals. Agents work in their forks as usual, but anything that would reach a person is refused at once and listed. forkit factory asks <fanout-id> shows the list, grouped, with how many agents asked and the rule that would allow it. On 21 Nov 2026, on staging, a shadow run with two items started two real Claude Code agents; each wrote its hypothesis and pushed, node run.js was refused for both and listed as one line, and the run finished in 47 s at about $0.21. One run.

Read the list, then add an allow rule for the harness command, or decide to answer it by hand each run. Make the factory again without --shadow for real runs. Factories cannot be edited yet: delete and make it again.

4. Ask for a run and start it

forkit factory run hypotheses --items-file items.json
forkit factory work hypotheses --once --repo-from ./study --exec "$PWD/agent.sh"

The first command asks for a run. A webhook can do the same: a form or a CI job can POST the items to the factory's address. The second is the runner, which your team operates. Forkit never runs an agent. The runner starts one agent per item, each in its own empty folder with FORKIT_API_KEY, FORKIT_PROMPT, FORKIT_TITLE and FORKIT_AGENT set, so agent.sh can be as short as claude -p "$FORKIT_PROMPT". Give --exec the script's full path, because each agent starts in an empty folder.

Each agent clones its own fork. Every push is recorded by Forkit itself, with the commits and the changed paths, on that agent's thread.

5. Answer the one question

Twelve agents reach the harness at about the same time. Their requests have the same fan-out, tool, subject and repository, so they are one question, and one answer settles all of them. With an allow rule, no person is needed. If nobody answers in time, a fan-out agent's request is recorded as denied, since it has no terminal to fall back on.

6. Collect, rank, judge

forkit fanout collect <fanout-id> ./results --merge
cd results && node rank.js
forkit factory verdict <run-id> good --note "matches reference"

Each agent's work arrives as agent/<name> and is merged into fanout/<name>. Both runs merged with no conflict. A layout where each agent writes only its own result file is what makes that likely. forkit factory show hypotheses then gives the factory's runs, the share judged good, the cost in all and per run, and seconds per run. See a repository per agent for how the forks work.

What each result carries

Where it comes from
The agent The fan-out key's name, one per item
The commit The push Forkit recorded on the agent's thread
The cost Tokens the agent's session reported, priced at list price
The verdict A person, or the factory's agents, marking the run good or bad

That is the difference from one agent submitting 900 jobs. When a result looks wrong, you can open that agent's thread and see what it ran, what it changed and what it was asked.

Limits and caveats

  • Small runs. Twelve agents, one run each, on staging. They do not show how this behaves with 200 hypotheses.
  • Estimates. Costs are at list price and read from transcripts.
  • Plan size. Twelve agents in one fan-out needs Pro or Team: Free allows 5.
  • No sealed evaluation mode. In the CO2 run the held-out data was kept away by how the harness was written. Forkit does not enforce it.
  • Hypotheses that interact. If two hypotheses need the same helper changed, give one agent the helper, or have agents claim the file. Separate result files kept these runs clean.

Where Forkit fits

Forkit is the coordination system for agent teams: plans, handoffs, file claims and decisions, shared by every agent and the people behind them. For a research fan-out it gives each agent a key and a fork, turns twelve identical questions into one, stops the run at its budget and keeps each result's commit and cost. For the wider picture, read the field guide to running agent teams and agent fan-out explained. It is free to try at forkit-mcp.com.

Sources