Yuguo Dai gently moves a robotic arm above a lab dish, guiding a tiny capsule through a stretch of pig intestine. Inside the device, a microscopic brush extends and sweeps—collecting cells and microbes just as it one day might in a human patient. This pill-sized sampler, developed by Dai and his team at the University of Tokyo, could open a window into the mysterious world of the small intestine’s microbiome, a place too deep and delicate for most tools to reach safely.

The small intestine is a blind spot in modern medicine. It’s over six meters long, narrow, and coiled like a spring—hard to navigate with traditional endoscopes. While patients can swallow camera pills today, those devices only take pictures. They can’t collect tissue or microbial samples. That gap makes it tough to study conditions linked to gut health, from Crohn’s disease to malnutrition. But this new capsule, no bigger than a large vitamin pill, carries a clever trick: a magnetically controlled brush that can swish across the intestinal wall and stash what it gathers inside.

In lab tests, the capsule worked inside real pig intestines. Two robotic arms with powerful magnets guided the device from outside. One magnet held the capsule steady while the other twisted an internal screw to push out the soft brush, sweep up material, and pull it back in—all without touching the device directly. The collected samples were good enough for 16S rRNA gene sequencing, a standard method scientists use to identify which bacteria are present in a sample. That means the capsule doesn’t just grab gunk—it grabs usable data.

Right now, the system only works when the external magnets are close to the tissue. For human use, engineers will need to extend that magnetic reach through the body’s layers. And the capsule may need to get even smaller to make swallowing easier and movement smoother. But the team sees a future where patients simply gulp a pill, lie down for a scan guided by magnets, and help doctors gather precise samples from deep within their gut—no sedation, no discomfort, no surgery.

This isn’t meant to replace colonoscopies or endoscopies, but to go where they can’t. For millions who suffer from unexplained digestive disorders, the answers might be hiding in the small intestine. With further development, this little magnetic messenger could become a quiet revolution in gut health—one brush stroke at a time.