The external gadget -- tested so far in rats but not yet humans -- could be adapted one day for stripping Ebola and other viruses from blood, they hoped.
Acting rather like a spleen, the invention uses magnetic nanobeads coated with a genetically-engineered human blood protein called MBL.
The MBL binds to pathogens and toxins, which can then be "pulled out" with a magnet, the developers wrote in the journal Nature Medicine.
The microbes that cause it are often resistant to antibiotics, and spread fast.
More From This Section
If the invention is shown to be safe for humans, "patients could be treated with our bio-spleen and this will physically clean up their blood, rapidly removing a wide spectrum of live pathogens as well as dead fragments and toxins from the blood," study co-author Donald Ingber told AFP.
The cleansed blood is then returned to the circulatory system.
"This treatment could be carried out even before the pathogen has been formally identified and the optimal antibiotic treatment has been chosen," said Ingber, of Harvard University, Massachusetts.
"We potentially could treat patients with this bio-spleen during the most infectious, viraemic phase of the disease and reduce the amount of virus in their blood."
MBL has also been reported to bind to the Marburg and HIV viruses.
In live rats infected with the notorious bugs Staphylococcus aureus or Escherichia coli, the device removed 90 per cent of bacteria from the blood, said the study.
"When we injected rats with a lethal dose of LPS endotoxin (a bacteria type)... We found that we could significantly improve animal survival" with the bio-spleen, it said.