Daniel Johnson Quintero

Projects/September 2026

AI Fly Brain

A small language model built out of a fruit fly's actual brain. The wiring is the fly's and never changes; training only adjusts how strong each synapse is. It runs entirely in your browser.

Neurons
35,953
Connections
960,585
Synapses
14.5M
Output cells
1,299
Loading the connectome…
Checking training status…
The fly’s central brain, seen from the front: every dot is one of its 35,953 neurons at its FlyWire position. Coloured cells fired while it answered “is 8 more than 3?”
The fly’s central brain, seen from the front: every dot is one of its 35,953 neurons at its FlyWire position. Coloured cells fired while it answered “is 8 more than 3?”
01

Talk to it

Try one of the prompts, or type your own.
idle
0spikes, this letter
Fig. 1Every point is one neuron, drawn at its real position in the fly's head. Teal is the odour input, amber is the central brain, gold is the descending output neurons.

Next-letter guess

02

How a letter moves through it

The fruit fly brain has been mapped one synapse at a time by the FlyWire project. Most neural networks use a wiring pattern someone designed. This one uses the fly's: every connection here exists in a real animal. Training can change synapse strength and how each neuron rests, leaks and tires, but it can't add or remove a connection.

Step 1

Input as smell

Each character is assigned a fixed odour, a pattern across the fly's 106 olfactory glomeruli. Typing h activates the receptor neurons for that pattern.

Step 2

Five ticks of spiking

The signal runs through the connectome for five time steps, enough to cross the three or four synapses between the antennae and the output.

Step 3

Output

The 1,299 descending neurons, which a real fly uses to drive its legs and wings, are split into one group per character. The most active group is the next letter.

Step 4

Memory

Nothing resets between letters. Earlier input stays in the network as voltage and fatigue, and that residue is the only short-term memory it has.

03

What it can do

The training data is short lines, mostly small problems where the answer depends on something earlier in the line. The test set includes words and rules that never appear in training.

TaskExampleLetters correct Answers correctNo-memory baseline
04

Training history

Prediction error

Fig. 23.71 is random guessing. Around 2.9 it has learned which letters are common; below about 2.0 it is spelling real words.

Letters correct, by task

Fig. 3Each line is one task from the table above.

The same prompts at every checkpoint

Its own answers, recorded during training. Spaces are shown as ␣.

05

Limitations