Science

Fly Brain · WebGPU Connectome

Real FlyWire (female) and Janelia MaleCNS (male) Drosophila wiring running as spiking neurons on your GPU. Stimulate pathways, read and rewrite synaptic weights, train it with reinforcement learning, and pit it against the language model.

78 neuropils
787 simulated neurons
122,037 simulated synapses
CPU fallback

Wiring from FlyWire FAFB v783 (female) — 134,181 reconstructed neurons and synapses across 78 neuropils. Dorkenwald et al., Whole-brain annotation and multi-connectome cell typing of Drosophila (FlyWire FAFB v783), Nature 2024. Segmentation by Google Research; hosted by Princeton Neuroscience Institute.

AL_L

0.000

AL_R

0.000

AME_L

0.000

AME_R

0.000

AMMC_L

0.000

AMMC_R

0.000

AOTU_L

0.000

AOTU_R

0.000

ATL_L

0.000

episode 0

Train Behavior

Describe any behaviour. Astra builds the 3D environment, the connectome learns it with reinforcement learning, and the language model maps the result onto neurons.

episode 0

Sugar source approach

Fly to the sugar drop while avoiding the spider's web.

embodiment · fly
20×20 grid
2 obstacles
1 hazards
1 goals
60 steps max

Sensors → neuropils

odour left (goal_left) → AL_L

odour right (goal_right) → AL_R

looming (obstacle_ahead) → ME_L, ME_R

danger (hazard_proximity) → LO_L, LO_R

Actions

turn left turn -1 · throttle 0.5

forward turn 0 · throttle 1

turn right turn +1 · throttle 0.5

reward · approach 10 · reach 2 · collision -1 · hazard -0.6

Direct weight + activation access

Edits modulate the 787-neuron simulation on the GPU immediately; the pristine published matrix is kept underneath, so gain changes are always reversible.

Brain vs LLM · WebGPU reinforcement arena
Brain-grounded language layer

This brain is registered on the platform driver bus as flybrain.stimulate, flybrain.train, flybrain.evaluate and flybrain.state — any other engine, agent, or chat skill can drive it and read its firing state — and as flybrain.weights, flybrain.edit_weights, flybrain.activations, flybrain.gains and flybrain.arena, so agents can read and rewrite the synaptic weights themselves and run the reinforcement arena against the language model. flybrain.design_behavior, flybrain.train_behavior and flybrain.map_behavior expose the prompt-driven behaviour trainer.

AI Disclosure: This platform uses generative AI. All outputs are AI-generated, may be inaccurate or incomplete, and are provided for informational purposes only. They do not constitute legal, financial, tax, medical, psychological, engineering, or other professional advice, and no professional relationship is created by use of this service. Verify all outputs with a qualified professional before relying on them. Do not input regulated data (PHI, PII, MNPI, ITAR/EAR, CUI, privileged material) unless your organization has explicitly validated this surface for such use.
Virtual tokens • Educational purposes only
© 2026 Kineteq.ai