News: 1754526550

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Robots can program each other's brains with AI, scientist shows

(2025/08/07)


Computer scientist Peter Burke has demonstrated that a robot can program its own brain using generative AI models and host hardware, if properly prompted by handlers.

The project, he explains in [1]a preprint paper , is a step toward The Terminator.

"In Arnold Schwarzenegger’s Terminator, the robots become self-aware and take over the world," Burke's study begins. "In this paper, we take a first step in that direction: A robot (AI code writing machine) creates, from scratch, with minimal human input, the brain of another robot, a drone."

Autonomous capture is no longer a luxury but a foundation for spatial AI

Burke, a professor of electrical engineering and computer science at the University of California, Irvine, waits until the end of his paper to express his hope that “the outcome of Terminator never occurs." While readers may assume as much, that's not necessarily a given amid growing military interest in AI. So there's some benefit to putting those words to screen.

The Register asked Burke whether he'd be willing to discuss the project but he declined, citing the terms of an embargo agreement while the paper, titled "Robot builds a robot’s brain: AI generated drone command and control station hosted in the sky," is under review by Science Robotics.

[2]

The paper uses two specific definitions for the word “robot”. On describes various generative AI models running on a local laptop and in the cloud that programs the other robot - a drone equipped with a [3]Raspberry Pi Zero 2 W , the server intended to run the control system code.

[4]

[5]

Usually, the control system, or ground control system (GCS), would run on a ground-based computer that would be available to the drone operator, which would control the drones through a wireless telemetry link. [6]Mission Planner and [7]QGroundControl are examples of this sort of software.

The GCS, as Burke describes it, is an intermediate brain, handling real-time mapping, mission planning, and drone configuration. The lower-level brain would be the drone's firmware (e.g. Ardupilot) and the higher-level brain would be the Robot Operating System (ROS) or some other code that handles autonomous collision avoidance. A human pilot may also be involved.

[8]

What Burke has done is show that generative AI models can be prompted to write all the code required to create a real-time, self-hosted drone GCS – or rather WebGCS, because the code runs a Flask web server on the Raspberry Pi Zero 2 W card on the drone. The drone thus hosts its own AI-authored control website, accessible over the internet, while in the air.

The project involved a series of sprints with various AI models (Claude, Gemini, ChatGPT) and AI IDEs (VS Code, Cursor, Windsurf), each of which played some role in implementing an evolving set of capabilities.

The initial sprint, for example, focused on coding a ground-based GCS using Claude in the browser. It included the following prompts:

Prompt: Write a Python program to send MAVLink commands to a flight controller on a Raspberry Pi. Tell the drone to take off and hover at 50 feet.

Prompt: Create a website on the Pi with a button to click to cause the drone to take off and hover.

Prompt: Now add some functionality to the webpage. Add a map with the drone location on it. Use the MAVLink GPS messages to place the drone on the map.

Prompt: Now add the following functionality to the webpage: the user can click on the map, and the webpage will record the GPS coordinates of the map location where the user clicked. Then it will send a "guided mode" fly-to command over MAVLink to the drone.

Prompt: Create a single .sh file to do the entire installation, including creating files and directory structures.

The sprint started off well, but after about a dozen prompts the model stopped working because the conversation (the series of prompts and responses) consumed more tokens Claude's context window allowed.

[9]Germany and Japan teamed their ISS robots for seek-and-photograph mission

[10]US sends 33,000 smart 'strike kits' to make Ukrainian drones even deadlier

[11]Ukrainian hackers claim to have destroyed major Russian drone maker's entire network

[12]America and Britain gear up with Project Flytrap to bring anti-drone kit to the battlefield

Subsequent attempts with Gemini 2.5 and Cursor each ran into issues. The Gemini session was derailed by bash shell scripting errors. The Cursor session led to a functional prototype, but developers needed to refactor to break the project up into pieces small enough to accommodate model context limitations.

The fourth sprint using Windsurf finally succeeded. The AI-generated WebGCS took about 100 hours of human labor over the course of 2.5 weeks, and resulted in 10K lines of code.

[13]

That's about 20 times fewer hours than Burke estimates were required to create a comparable to a project called [14]Cloudstation , which Burke and a handful of students developed over the past four years.

One of the paper's observations is that current AI models can't handle much more than 10,000 lines of code. Burke cited a recent [15]study (S. Rando, et al.) about this that found the accuracy of Claude 3.5 Sonnet on LongSWEBench declined from 29 percent to three percent when the context length increases from 32K to 256K tokens, and said his experience is consistent with Rando's findings, assuming that one line of code is the equivalent of 10 tokens.

Hantz Févry, CEO of spatial data biz Geolava, told The Register in an email that he found the drone project fascinating.

"The idea of a drone system autonomously scaffolding its own command and control center via generative AI is not only ambitious but also highly aligned with the direction in which frontier spatial intelligence is heading," he said. "However, I strongly believe there should be hard checks and boundaries for safety."

The paper does note that a redundant transmitter under human control was maintained during the drone project in case manual override was required.

Based on his experience running Geolava, Févry said the emergence of these sorts of systems marks a shift in the business of aerial imagery.

"Aerial imagery is becoming radically more accessible," he said. "Autonomous capture is no longer a luxury but a foundation for spatial AI, whether from drones, stratospheric, or the LEO (low earth orbit) capture. Systems like the one described in the paper are a glimpse of what’s next, where sensing, planning, and reasoning are fused in near real-time. Even partially automated platforms like Skydio are already reshaping how environments are sensed and understood."

Févry said the real test for these systems will be how well generative AI systems can handle adversarial or ambiguous environments.

"It’s one thing to scaffold a control loop in simulation or with prior assumptions," he explained. "It’s another to adapt when the terrain, mission goals, or system topology changes mid-flight. But the long-term implications are significant: this kind of work foreshadows generalizable autonomy, not just task-specific robotics."

We leave you with the words of John Connor, from Terminator 3: Rise of the Machines: "The future has not been written. There is no fate but what we make for ourselves." ®

Get our [16]Tech Resources



[1] https://arxiv.org/abs/2508.02962

[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2aJQk3SyOs7CxP-czG1HNJAAAANI&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[3] https://www.raspberrypi.com/products/raspberry-pi-zero-2-w/

[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44aJQk3SyOs7CxP-czG1HNJAAAANI&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[5] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33aJQk3SyOs7CxP-czG1HNJAAAANI&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[6] https://ardupilot.org/planner/docs/mission-planner-overview.html#what-is-mission-planner

[7] https://github.com/mavlink/qgroundcontrol?tab=readme-ov-file

[8] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44aJQk3SyOs7CxP-czG1HNJAAAANI&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[9] https://www.theregister.com/2025/08/05/germany_and_japan_teamed_their/

[10] https://www.theregister.com/2025/07/29/auterion_drone_ai_ceo_interview/

[11] https://www.theregister.com/2025/07/16/ukrainian_drone_attack/

[12] https://www.theregister.com/2025/06/23/us_army_drones/

[13] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33aJQk3SyOs7CxP-czG1HNJAAAANI&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[14] https://cloud-station-docs.readthedocs.io/en/latest/

[15] https://arxiv.org/abs/2505.07897

[16] https://whitepapers.theregister.com/



Anonymous Coward

Gonna wait for something to actually be built with this, because AI psychosis is real, and I see a reddit post just about every day from some crackpot saying they discovered self-aware AI by talking to LLMs too much.

The AI doesn't have to be "aware"

Throatwarbler Mangrove

It just has to become capable of autonomous action and produce code somewhere along the way that involves killing the meatbags. An alternate take on the story is the corporation from Horizon Zero Dawn in which the robots are designed to get power from biomass and have their safeties disabled by an egotistical billionaire tech bro. Fortunately, we don't have any of those running AI companies in the real world, so I think we're safe.

(Good god, if you can't recognize the sarcasm in that last sentence, get help.)

Garbage In, Gospel Out