nnInteractive Agent:用通用 AI Agent 自动完成 3D 医学影像标注
nnInteractive Agent: General-Purpose AI Agents as 3D Image Annotators
德国团队把 3D 医学影像标注交给 Claude Code 这类 Agent 干,说一句“分割咀嚼肌”就能出结果,代码开源了,搞医学影像的可以上手试试。
MIC-DKFZ 团队开源了 nninteractive-agent,将 3D 分割模型 nnInteractive 通过 MCP 封装为工具,由 Claude Code 和 Codex 等通用 Agent 接管标注流程。用户只需自然语言提出请求,Agent 会定位目标、放置提示、检查并修正体积掩码。在覆盖 CT、MRI、PET 及 micro-CT 的基准(14 张图像、51 个目标)上,两个 Agent 仅凭文字请求就分别取得 0.81 和 0.84 的平均 Dice,给定位置后达到 0.85,接近人工放置提示的 oracle 水平。对比文本提示的 3D 模型 VoxTell,Agent 方案在小鼠、蚂蚁、足部骨骼等目标上更稳健,不会返回空掩码。
nnInteractive Agent: General-Purpose AI Agents as 3D Image Annotators
Interactive 3D segmentation models such as nnInteractive turn a few spatial prompts (points, scribbles, boxes) into accurate volumetric masks, but a human still does the annotation work: finding each structure, placing prompts, checking the result and correcting it. General-purpose AI agents can now interpret images, call tools and write code. We show that such agents can take over this work without additional training: the user makes a request in plain language, and the agent works out what has to be segmented, locates the targets, prompts nnInteractive, inspects the 3D result, corrects it and responds to feedback. Asked for 'the muscles used for chewing', an agent identifies and segments the masseters and pterygoids; asked to count liver lesions, it writes its own code to find candidates and splits a merged lesion on request. Our open-source nninteractive-agent provides nnInteractive as tools over the Model Context Protocol (MCP), together with a skill that encodes how experienced users prompt it. On a benchmark spanning CT, MRI, PET and micro-CT of humans, a mouse and an ant (14 images; 51 targets from organs and tumours to muscles, foot bones, vessel trees and an insect brain), Claude Code and Codex reach a mean Dice of 0.81 and 0.84 from the request alone; when told where each target is, both reach 0.85 and prompt nearly as effectively as an oracle that places prompts using the reference segmentation. A text-prompted 3D model (VoxTell) is more accurate on most standard radiological targets but less robust: it returns an empty mask for one of them and fails on the leg muscles, the foot bones, the mouse and the ant, where the agents remain accurate. Code: https://github.com/MIC-DKFZ/nninteractive-agent