They Copied a Fly's Brain Into a Computer. It Started Walking. Nobody Taught It How
What a fruit fly connectome reveals about intelligence, and why it should change how you think about AI
Hi Folks,
Here is the question I want you to sit with as you read this:
Every AI system you have ever worked with learned its behavior from data. You define a loss function, run gradient descent, and the model adjusts its weights until it does what you want. That is how every LLM works. That is how every reinforcement learning agent works.
But a fruit fly never did any of that. Nobody trained it. No reward signal. No labeled examples. The behavior emerged from the wiring of its brain.
Researchers just demonstrated that if you copy that wiring into a computer, the exact same thing happens. The behavior emerges. Without training.
That is not just a neuroscience story. It is a direct challenge to one of the core assumptions of modern AI.
Two Theories of Intelligence
Modern AI is fundamentally top-down. You have a goal, you measure it, and you optimize toward it. The wiring of the network gets shaped entirely by the training process.
Biology does the opposite. The brain’s wiring is determined by genetics and development before the animal ever experiences the world. Structure comes first. Behavior emerges from it.
AI’s bet: wire up a flexible system, expose it to enough data, and intelligence will emerge from optimization.
Biology’s bet: build the right wiring diagram, and intelligence is already latent in the architecture.
Until recently, we had no way to test biology’s approach at scale. We did not have complete wiring diagrams for any complex brain. That just changed.
What They Built
A connectome is a complete wiring diagram of a brain. Every neuron. Every synapse. Every connection, labeled excitatory or inhibitory.
In October 2024, an international research consortium published the first complete connectome of an adult fruit fly brain in Nature. It took 10 years and 7,000 brain slices imaged with electron microscopes. The result: 139,255 neurons and 50 million synaptic connections, fully open source.
A team of researchers then built a computational model of the entire brain from that map, using machine learning to predict what neurotransmitter each neuron releases. They simulated the whole network.
It ran on a laptop.
When they activated the neurons that sense sugar, the model predicted exactly which downstream neurons would fire to initiate feeding. When they activated sensory neurons in the antennae, the model predicted grooming behavior with the front legs. Exactly what a real fly does. 95% accuracy in predicting motor behavior. No training data. No reward function. No gradient descent.
The behaviors were already in the wiring.
Giving It a Body
The brain model had outputs with nowhere to go. No muscles. No physics. A conductor with a full orchestra score and no musicians.
The next step: connect the brain model to a physics-simulated fly body, 87 independently articulated joints built from an X-ray scan of a real fruit fly. Then close the loop. Sensory input flows in, signals propagate through all 139,255 neurons, motor commands come out, the body moves, and movement updates the sensory state. Repeat.
The digital fly walks toward food, stops to groom dust off its antennae, then resumes and feeds.
Nobody programmed those behaviors. They emerged from the circuit.
This is fundamentally different from recent AI work where a simulated fly body learned to walk via reinforcement learning. That approach trains a policy to mimic biological movement. This approach copies the biological wiring and lets the movement come from it. The difference is between a stunt double who studied your walk, versus making a copy of your nervous system and watching it walk on its own.
What This Means in Practice
This is where it gets relevant for builders.
Biological architectures as initialization, not just inspiration. Right now, neuroscience influences AI mostly as metaphor. Transformers were loosely inspired by attention in the brain, but “inspired by” is very different from “derived from.” This research shows that a connectome-derived architecture used directly as a network structure produces coherent behavior before any learning happens. The practical question for AI researchers: what if biologically accurate wiring diagrams were used as structured initializations instead of random weights? You would be starting from millions of years of evolutionary optimization, not from noise.
A new path to low-data regimes. One of the hardest problems in applied AI is good performance with limited training data. Current models need enormous datasets because they learn everything from scratch, including structure. A connectome-constrained model starts with structure already encoded. It needs far less data to produce meaningful behavior because the architecture is doing work that training would otherwise have to do. This matters directly for domains where labeled data is scarce: rare disease research, robotics in novel environments, edge deployments with minimal compute.
Mechanistic interpretability, for real. The AI safety field has spent years trying to understand what is happening inside large models. It is hard because the structure of modern networks carries no inherent meaning. In a connectome-based model, every connection has a biological identity. You know what neuron type it is, what neurotransmitter it uses, what circuit it belongs to. When a behavior emerges, you can trace it back through the graph to the specific connections that produced it. That is not a partial explanation. It is a complete causal account. If interpretability is something you care about, this is the most interpretable class of neural model that exists.
Drug and therapy development. A working simulation of a biological brain circuit means you can test interventions digitally before touching a patient. Introduce a simulated neurotoxin. Block a specific receptor type. Sever a connection. Watch what behavior changes. This compresses the earliest stages of drug discovery dramatically, and gives researchers hypotheses they can trace back to mechanism. As the approach scales toward mammalian brains, it becomes one of the most valuable tools in pharmaceutical research.
The Bigger Point
The roadmap from here goes fly, mouse, human. A mouse brain has 70 million neurons, about 560 times more than the fly. The scaling is hard. But the approach is now proven.
More importantly, this research forces a question the field has not had to take seriously before: what if the right structure is doing most of the work, and we have been over-crediting optimization this whole time?
Modern AI runs almost entirely on the assumption that training is where intelligence comes from. This is the clearest demonstration yet that structure alone is enough to produce real behavior in a complex system.
The most interesting work in the next decade will probably sit at the intersection of both. Not connectome models versus learned models, but what happens when you combine structural priors from biology with the optimization power of machine learning. Start from the right architecture. Then learn.
A fly is walking around in a physics simulation right now because someone mapped its neurons and ran the circuit. No training loop. No reward signal. Just structure, and the behavior was already there.




This is one of the most interesting places where neuroscience and AI meet. If some behavior is already latent in the wiring, then biology may be teaching us something different from the standard “train on enough data” story. How much intelligence do you think is learned, and how much is built into the architecture?
"Biology’s bet: build the right wiring diagram, and intelligence is already latent in the architecture."
This has been obvious to me for decades. I've long said that the ONLY way we get "artificial intelligence" is to know how the human brain (our only model) does it.
And we don't know that...yet. The LLM technology doesn't even come close, as a number of AI experts are starting to realize, if they didn't before.