Harvard University scientists have devised a swarm of 1,024 tiny robots that can work together without any guiding central intelligence.

Like a mechanical flash mob, these robots can assemble themselves into five-pointed stars, letters of the alphabet and other complex designs. The researchers at Harvard's Wyss Institute for Biologically Inspired Engineering in Cambridge, Mass., reported their work Thursday in Science.

"No one had really built a swarm of this size before, where everyone works together to achieve a goal," said robotics researcher Michael Rubenstein, who led the project.

While still experimental, such armadas of self-organizing robots one day may aid in oil spill cleanups, deep-sea ventures, military surveillance and planetary exploration.

Swarm scientists are inspired by nature's team players—social insects like bees, ants and termites; schools of fish; and flocks of birds. These creatures collaborate in vast numbers to perform complicated tasks, even though no single individual is actually in charge.