The development of flying robots that can "think" for themselves has already been started, but some people are fearing that it will be able to snoop on and attack people living below, UK MailOnline reported.
And now, the first "flock" of drones that can fly as a coordinated group has been engineered by a team of Hungarian scientists.
Without human input, the collection of 10 copters can fly in formation, follow a leader and change flight patterns to imitate the actions of migratory birds.
According to UK MailOnline, the drones are commercially available quadcopters - with four rotor blades - but have specially designed hardware on board that allow them to act as a swarm.
Created by scientists at Eötvös Loránd University in Budapest, the drones navigate using signals from GPS receivers and let each other know their positions via radio, Nature reported.
The researchers' breakthrough could mean that flocks of autonomous flying robots could take to the skies sooner than previously thought.
The group of 10 drones can coordinate their movements to form circles or lines, which could be useful if one day the technology is used to create swarms of surveillance drones, Tamás Vicsek, a physics professor at the university, explained.
After seeing a 1986 computer game called Boids that simulated flying objects according to three rules - alignment, attraction and repulsion - he and his team was inspired to create robots that could fly in formation without crashing into each other.
After fitting tiny GPS trackers to pigeons to see how they fly as a flock, the team created their own computer simulation and used the knowledge to inform the behavior of their drones.
"We fed flocking algorithms to them so the copters can fly autonomously - totally eliminating the need for manual control," Professor Vicsek said.
"Each has a little brain in the form of an on-board computer and is completely autonomous. All decisions, directions, flight positions are decided by them," he explained.
The drones can be instructed to form a circle and they each find a position along it and rotate slowly in the same direction. Their autonomous decisions avoid collisions in the air, UK MailOnline reported.
Since it is hard for copters to "see" each other's positions, the researchers had to overcome the challenges and speed up their reaction times.
To help the drones "see" one another more easily in the future, they plan on replacing radio signals with cameras.
They will present their research at the International Conference on Intelligent Robots and Systems, to be held in Chicago, Illinois in September, according to UK MailOnline.
While some people might fear that swarms of thinking drones could prove a surveillance menace, the scientists said they could be used for many peaceful applications, such as delivering food and parcels.
Commenting on the study, Iain Couzin, an expert on collective animal behavior at Princeton University in New Jersey, told Nature, "This is remarkable work. It is the first outdoor demonstration of how biologically inspired rules can be used to create resilient yet dynamic flocks."
The research suggests that "we will be able to achieve large, coordinated robot flocks much sooner than many would have anticipated," he added.