Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
nnInteractive Agent, from DKFZ's Division of Medical Image Computing, wraps the nnInteractive 3D promptable segmentation model as a tool for AI agents: the user says in plain text what to segment, and the agent prompts nnInteractive with scribbles, boxes where a box fits the object and points for tiny regions, checks the 3D result and corrects it. It targets CT, MRI, microscopy, electron microscopy and photographs, reads NIfTI, NRRD, MHA, TIFF, PNG/JPG and NPY, and saves an instance map with one id per object plus objects.json. It ships as an MCP server (nninteractive) with tools for loading images, prompting, rendering, checking and saving, a nninteractive-segmentation skill with a verifier subagent for Claude Code, and an optional browser web demo with 2D and 3D views and a chat. Setup is one command, nninteractive-agent setup claude or setup codex; other MCP clients can take the entry printed by setup print, and the model must see images. Tested combinations are Claude Code 2.1 with Opus 5.5, Codex 0.162.1 with gpt-6.1-sol and Claude Code on vLLM with Qwen3.8-27B; the web demo runs on a Claude or ChatGPT subscription, an API key or an open model. Local inference needs Python 3.10 or newer and an NVIDIA GPU with about 10 GB of memory, or a separate nninteractive-server on a GPU machine. On the authors' benchmark of 14 public CT, MRI, PET and micro-CT images with 51 named targets, run with nnInteractive v1.0 on one RTX 4090 at medium effort with three repeats, the four Claude Code and Codex tracks (guided and unguided) reach a mean Dice of 0.814 to 0.855, averaged per image, in 3.6 to 4.3 minutes per image, against 0.709 for one click per target and 0.539 for the text-only VoxTell model. The agents stop early at 2.2 to 2.9 prompts per target, and portal and hepatic veins, the optic nerve and the spinal cord stay hard. A Qwen3.8-27B run on one spleen CT reached Dice 0.93 in 34 minutes. The agent's LLM sees rendered views of the image, the python tool is unrestricted by default, and the web demo serves only 127.0.0.1 unless told otherwise. Code is Apache-2.0; the official nnInteractive weights it downloads are CC BY-NC-SA 4.0 (non-commercial).