Yggdrasil: AI Agents Annotate Scans Beside Human Readers

Fig. 1 of arXiv:2612.04626 by Borghi and Bolelli: 3D renderings of one dental CBCT case and one liver CT case, showing the reference segmentation, a human reader's masks and the masks of the AI agent GPT-6.1 Sol, all made with the same interactive model, with Dice scores.

If you have built a segmentation dataset, you know where the money goes. A single CT or MRI can hold dozens of structures, and each one has to be delineated slice by slice by someone who knows the anatomy. Interactive models such as nnInteractive cut that work down to a few clicks per structure, but an expert still has to find the structure, place the clicks and decide when the mask is good enough. In the last few months general-purpose AI agents have started doing all three steps on their own. The open question is whether their masks are worth anything compared with a person doing the same job.

A preprint posted on 2 December 2026, “Is an AI Agent a Medical Reader? A Controlled Human-Agent Annotation Study for Medical Image Segmentation”, by Lorenzo Borghi and Federico Bolelli of the University of Modena and Reggio Emilia (AImageLab), tests that directly. They built an open-source annotation platform called Yggdrasil in which an agent is enrolled as one more annotator, and ran a reader study where eight agents and four expert annotators segmented the same scans under the same rules.

What Yggdrasil is

Yggdrasil is a web platform to collect, view, annotate and export 2D and 3D medical images. The specification in the repository lists DICOM and NIfTI as first-class inputs, a Cornerstone3D viewer for CT, MRI, CBCT and PET/CT, and exports to DICOM SEG, NIfTI and nnU-Net layouts. Files are de-identified and encrypted in the browser, so the server stores only ciphertext.

The design choice that makes the study possible is that a project has two kinds of annotators. Members are people. Processors are algorithms with their own key pair that pull jobs, decrypt only what they are granted and post signed masks. An AI agent is one such processor, so its masks go into the same statistics and exports as a human reader’s.

How the agent reads a scan

  • Same task, word for word. The agent receives the scan, the list of target names and the written guidelines the human readers see, with no hint of where a target is.
  • Same tool. Humans click in the web viewer and agents call a tool server, but both prompt the same nnInteractive model with the same weights. The agent can render orthogonal slices, montages, projections and 3D views of its current masks, place a prompt, undo and commit. In the default parity mode it gets no general Python interpreter, only what a person has in the viewer. For video the shared model is SAM 3.
  • Same record. Committing an object requires a confidence rating from 1 to 5, the same scale the readers use. Every run stores each tool call, rendered view, token count and price, and the human viewer logs every prompt with timestamps and active time.
  • Unmodified agents. The agent reader starts a command-line coding agent (Claude Code or Codex) in an empty sandbox. The tool server is adapted from DKFZ’s nnInteractive Agent.

The study used four tasks: 52 held-out dental cone-beam CT scans from ToothFairy3 with eight targets, including thin nerve canals and the dental pulp; 89 contrast CT scans from HCC-TACE-Seg with liver, liver tumor and portal vein; 219 T2-weighted bladder MRI scans from FedBCa; and 30 laparoscopic clips from CholecSeg8k. In total that is 360 scans, 30 clips and 947 targets. Eight agents from five providers read everything, and four expert readers with at least five years of annotation experience read a randomized subset.

What the results say

The featured image is Fig. 1 of the paper, one dental CBCT case and one liver CT case with the reference, a human reader and the best agent side by side. On the scans the readers annotated from scratch, the best agent (GPT-6.1 Sol) reached 0.669 Dice against the readers’ 0.716, and it met the authors’ reader criteria, fixed before the study, on 4 of 12 structures: the liver, the pharynx and both named teeth.

The other findings concern how an annotation pipeline is run.

  • Agents mostly fail at finding things. The strongest agents placed their first prompt on the target for 73 to 78% of targets, the others for 37 to 54%. Once a structure was found, delineation quality was similar across the strong agents. Thin, branching structures such as the alveolar canals and the pulp stayed hard for everyone.
  • Agent confidence is informative. The authors fixed a rule in advance: keep masks the agent rates 4 or 5, and send everything else to a human. For GPT-6.1 Sol this saved 30% of reader time at reader-level accuracy.
  • Correcting beats starting from scratch. Readers who started from Opus 5.5’s masks needed 0.63 of the time they needed from an empty mask, and their final masks were no less accurate. On the liver task there was no time saving.
  • A mask is cheap. At list prices on the day of the run, GPT-6.1 Sol cost 0.18 dollars per target. The platform runs 25 scans in parallel.

Why a viewer or clinical platform team would care

In a custom segmentation project the largest cost is usually labeling, and annotation tools usually treat a model as a pre-labeling step added to a human workflow. Yggdrasil treats the agent as a reader with an identity, a log and a price, which is what you need to decide on evidence whether an agent’s masks can go into a training set. The recipe at the end of the paper is easy to copy into any viewer that already hosts a promptable model: let the agent annotate, keep its confident masks, route the rest to experts, and offer the agent’s masks as editable proposals where it is strong. The specification lists DICOM SEG and nnU-Net exports, so the masks can go into a viewer or a training run.

The study also gives a template for checking an agent on your own data. The authors compare it with human readers on a few dozen scans using an agreement index that needs no reference masks, which is useful when no ground truth exists yet.

Where it falls short

  • Hard structures remain out of reach. The upper jawbone, the pulp and the right alveolar canal were beyond every agent, and adding agent masks for hard structures lowered the accuracy of a downstream nnU-Net.
  • Rendered views go to the language model provider. The platform only starts the agent reader in projects marked as holding public, de-identified data whose administrator has opted in, and the processor’s README notes that the consent check is its own and not yet enforced by the platform. Hospital data would need a locally hosted model or a provider agreement that covers it.
  • The study fixes one interactive model per modality and prompts as the only input, so it says nothing about manual voxel editing or other models.
  • The downstream training experiment used one data split and one training run per label set.
  • Agents and prices change quickly. The numbers apply to the model versions and dates in the paper’s appendix.

Licence, code and status

The platform code is public at github.com/AImageLab-zip/yggdrasil4 under AGPL-3.0-only, with the agent reader in processors/agent-reader. The README says research use is free under the AGPL and that AImageLab can offer a separate licence case by case for uses the AGPL does not fit, such as shipping it inside a closed product. The agent reader builds on DKFZ’s nnInteractive Agent (Apache-2.0). The official nnInteractive checkpoint is licensed CC BY-NC-SA 4.0, which matters for any commercial deployment. A hosted instance runs at yggdrasil4.unimore.it. The paper is a 16-page arXiv preprint under the standard arXiv licence and has not been peer reviewed.

Source: Borghi L., Bolelli F. “Is an AI Agent a Medical Reader? A Controlled Human-Agent Annotation Study for Medical Image Segmentation.” arXiv:2612.04626, 2026.

We build custom medical imaging platforms — advanced DICOM viewers, AI segmentation, and the clinical systems around them.

Copyright © 2026 PYCAD. All Rights Reserved.