fruitfly.arnao.ai — research dossier (2026-09-25)

Two background research passes (Sonnet-class agents, every URL verified live at fetch time). Part A = the science and data landscape; Part B = browser feasibility.


Part A — The "AI fruit fly" landscape

TL;DR. Between Oct 2024 and Sep 2026 the fly went from "mapped" to "runnable": a whole-brain female connectome (FlyWire, 139k neurons), a whole-CNS male connectome (MaleCNS v1.0, 166.7k neurons, Cell, 2026-09-03), a female brain+cord connectome (BANC, ~188k neurons, Nature, 2026-06-08), two physics bodies (DeepMind/Janelia flybody; EPFL NeuroMechFly v2), and a whole-brain spiking model (Shiu et al.) that Eon Systems wired into a body in March 2026. In September 2026 this exploded into a viral hobbyist wave (Beat Saber clip, 22M views) with 129 catalogued community projects, ~35 of them browser-playable. Almost all browser demos are LIF-brain "poke a neuron" toys; none combines an accurate 3D body, a physically-simulated MuJoCo fly, the real neuron meshes, and real behavior data in one casual, no-login experience.

1. flybody — DeepMind + Janelia whole-body MuJoCo fly

(File list from the public API: https://api.figshare.com/v2/articles/25309105)

2. FlyWire whole-brain connectome (female, FAFB)

3. Connectome-constrained models

ModelPaperCodeLicenseNotes
flyvis (Lappalainen et al., visual system, 64 cell types, ~45k neurons/721 columns)Nature, Sep 2024 https://www.nature.com/articles/s41586-024-07939-3https://github.com/TuragaLab/flyvis (docs https://turagalab.github.io/flyvis/)MITPretrained ensembles; used as the "eye" in Eon's fly and many browser demos
Shiu et al. whole-brain LIFNature 2024 https://www.nature.com/articles/s41586-024-07763-9https://github.com/philshiu/Drosophila_brain_model (Brian2; v630 + v783 parquet included)MITThe de-facto reference model everyone re-implements
Eon fly-brain (Shiu-model ports: Brian2, Brian2CUDA, PyTorch, NEST GPU, GeNN)—https://github.com/eonsystemspbc/fly-brainGPL-2.0+917 stars; body integration NOT in repo
MANC descending→motor analysis (Cheong, Eichler, Stürner et al.)eLife https://elifesciences.org/articles/96084 ; bioRxiv https://www.biorxiv.org/content/10.1101/2023.06.07.543976v3——MANC (Janelia/Cambridge) analysis
Seung-lab whole-brain fit to spontaneous activitybioRxiv 2026-08-21 https://www.biorxiv.org/content/10.64898/2026.08.21.745055v1.full(code URL unconfirmed; bioRxiv rate-limited)—FlyWire-constrained whole-brain model fitted to calcium recordings
VNC walking CPG (Pugliese et al., MANC in JAX)bioRxiv 2025-09-12 https://www.biorxiv.org/content/10.1101/2025.09.12.675944.full.pdfhttps://github.com/smpuglie/Pugliese_2026—Connectome sim yields a central pattern generator for walking
Fast re-implementations—GPU: https://github.com/annel0/flybrain ; Apple MLX (0.29 s/bio-s on M4 Pro): https://github.com/Kisame76/drosophila-brain-mlx ; CPU-only: https://github.com/vshapenko/flypoke ; CUDA realtime v783: https://github.com/eonfathom/FastFlyvariousLoihi 2 neuromorphic port: https://arxiv.org/abs/2508.16792

4. Brain-in-body: Eon, NeuroMechFly, MANC, BANC, MaleCNS, 2026 news

5. Public real-behavior datasets

DatasetURLAnonymous?Size / format
flybody walking-imitation (~16k snippets, 80 min, joint angles)Figshare aboveYes3.02 GB zip
flybody flight-imitationFigshare aboveYes12.9 MB
Anipose fly kinematics (39 flies, 3D joint positions/angles) — Karashchuk…Tuthill, Dryad 2021https://datadryad.org/dataset/doi:10.5061/dryad.nzs7h44s4Yes (CC0)flyangles-dataset.zip 4 GB; fly-anipose.zip 8.4 GB
DeepFly3D (~1M images tethered flies + 3D joints) — EPFLhttps://dataverse.harvard.edu/dataverse/DeepFly3D ; code https://github.com/NeLy-EPFL/DeepFly3DYesmulti-GB
SLEAP fly courtship samplehttps://github.com/talmolab/sleap-datasetsYessmall
Dickinson lab free-flight muscle + wing kinematics (Caltech Data, 2024)https://doi.org/10.22002/aypcy-ck464Yesh5
flybench (36 pre-registered behavioral tasks for brain sims, Brandon Cho, Rice; MIT)https://github.com/brandoncho369/flybench ; leaderboard https://www.fly-bench.com/benchYespip package

6. Existing interactive visualizers

ToolWhat it doesLoginGap
Codex https://codex.flywire.ai/Search/3D/paths/downloads for 5 connectomesGoogle sign-in for appsScientist UI; no simulation, no body
Neuroglancer https://ngl.flywire.ai/Raw EM + meshesnoExpert-only
neuPrint https://neuprint.janelia.orgCypher queriesaccountNo casual mode
Virtual Fly Brain https://www.virtualflybrain.org/Anatomy atlas, all connectomesnoAtlas, not dynamic
FlyBrainLab http://fbl.fruitflybrain.org/Executable circuits + 3D (Columbia)installNot casual
MaleCNS Dimorphism Explorer https://male-cns.janelia.org/explore/Compare male/female cell typesnoStatic
webgpu-fly https://webgpu-fly.pages.dev/FlyWire brain + MANC cord + flybody in MuJoCo-WASM, keyboard drive; ~300 MB, WebGPU; MIT/CC-BYnoClosest to "the whole stack" but heavy, phone-hostile, no real meshes, no reference data
Lulzx fly-brain arena https://lulzx.com/fly-brain/arena.html165k-neuron MaleCNS LIF (WASM/WebGPU) + MuJoCo body + flyvis eye; 23 MB; textbook https://lulzx.com/fly-brain/textbook/noNo meshes/atlas
fly-bench.com / fly-explorer https://www.fly-bench.comPress sugar → proboscis neuron fires; Three.js point cloud; shareable URLsnoPoints, not morphology; no body
FlyBrain.app https://flybrain.app139k-neuron LIF with food/touch/wind/lightno2D, illustrative
Neural Canvas https://fruitfly.live"Paint" MaleCNS regions in WebGPU, 76 MBno"movements illustrative, not validated"
flybrain.info https://flybrain.info/Hub: 129-project catalog https://flybrain.info/projects/ (updated 2026-09-15)noDirectory, not an experience
awesome-fly https://github.com/cobanov/awesome-fly ; Fly Brain Hub https://fly-brain-hub.vercel.appCurated listsno—
MuJoCo in browser: https://github.com/zalo/mujoco_wasm (official DeepMind WASM bindings)——No fly example shipped

Gap analysis — what does not yet exist as a public, browser-based, visual experience

  1. A "one fly, three views" scene: real FlyWire/MaleCNS neuron meshes (not point clouds) inside the flybody MJCF body, with the body walking on the Figshare real-walking trajectories. Every current demo picks one: meshes (Codex/VFB), LIF dots (fly-explorer/FlyBrain.app), or physics (webgpu-fly/Lulzx). None loads without login and shows morphology and moves.
  2. Real-data playback, not RL theater. No site lets a visitor scrub the 80-minute Janelia walking corpus or the Dickinson flight kinematics on a 3D fly and compare to the trained policy.
  3. Honest provenance overlay. No visualizer colors each behavior by which paper/dataset supports it vs "engineered controller" (Fly Arena, Eon, Neural Canvas all admit illustrative motion).
  4. Mobile-first / under 30 MB entry. webgpu-fly is ~300 MB and WebGPU-only; Lulzx is 23 MB but desktop-recommended. A progressive tier with WebGL2 fallback does not exist.
  5. Female vs male side-by-side in one interactive brain. Nobody renders the 138 dimorphic / 289 male-specific / 71 female-specific types (Berg et al.) as a togglable 3D diff.
  6. Brain→cord→muscle path tracing you can drive. No demo lets a casual user click a descending neuron and watch the cascade reach specific motor neurons and then a specific body actuator, with the anatomical path drawn.
  7. Benchmark-as-game. flybench has 36 tasks and a leaderboard but no visual front end.
  8. Embeddable, shareable states. Only fly-explorer encodes experiments in URLs. An embeddable component with licensing baked in is missing.

Licensing note for a new site: FlyWire data CC-BY 4.0 with annotations CC-BY-NC 4.0 (https://flywire.ai/tos); MaleCNS and MANC are CC-BY (https://male-cns.janelia.org/download/); flybody code/MJCF is Apache-2.0 (https://github.com/TuragaLab/flybody) but its Figshare datasets are tagged GPL-3.0+ (https://api.figshare.com/v2/articles/25309105); flyvis and Shiu's model are MIT; FlyGym Apache-2.0.

Unverified items: BrainCircuits.io not fetched live; the Seung-lab Aug-2026 preprint's code link could not be read (bioRxiv rate-limited); Figshare per-file contents inferred from names and the Nature methods text.


Part B — Browser feasibility

Bottom line: every piece already runs in a browser somewhere. Google DeepMind ships official MuJoCo WASM bindings, flybody's assets and trained policies are downloadable and small, FlyWire data is CC-BY 4.0 with public GCS buckets, and at least four independent projects already run the full 139k-neuron LIF brain (some with the MuJoCo fly body) client-side. The open work is integration, asset packaging, and mobile fallbacks, not research risk.

1. flybody in the browser (MuJoCo WASM)

2. Trained flybody policies

3. FlyWire connectome in the browser

4. Shiu et al. 2024 LIF model

5. Vercel hosting constraints

6. Libraries (versions verified 2026-09-25)

LibraryVersionSource
three0.186.1 (MIT)https://registry.npmjs.org/three/latest
@react-three/fiber9.8.1https://registry.npmjs.org/@react-three%2Ffiber/latest
@mujoco/mujoco3.14.0https://registry.npmjs.org/@mujoco%2Fmujoco/latest
meshoptimizer1.2.0https://www.npmjs.com/package/meshoptimizer
draco3d1.5.7https://registry.npmjs.org/draco3d/latest
deck.gl9.4.0 (WebGPU experimental)https://registry.npmjs.org/deck.gl/latest
onnxruntime-web1.30.0; WebGL EP deprecatedhttps://registry.npmjs.org/onnxruntime-web/latest
comlink4.4.2https://registry.npmjs.org/comlink/latest

WebGPU 2026: Chrome 113+ desktop / 121+ Android; Firefox 141+ Windows, 145–147+ macOS; Safari 26+ on macOS and iOS. https://github.com/gpuweb/gpuweb/wiki/Implementation-Status ; caniuse global ~87%. https://caniuse.com/webgpu. Firefox Linux/Android still needs a WebGL2/Worker fallback.

Recommended architecture

  1. Static site on Vercel (Pro for the 1 GB upload headroom and commercial-safe terms); app bundle under 10 MB including the single-threaded MuJoCo WASM.
  2. Assets on a public Vercel Blob store, every object under 512 MB, content-hashed immutable names: decimated flybody glTF (meshopt) ~5–10 MB; fruitfly.xml; policy weights as .bin (<2 MB); connectome subset — 1,000 curated neurons as LOD'd meshopt glTF (~50–150 MB total, lazy per neuron) plus a whole-brain soma point cloud (~1.7 MB); thresholded CSR connectome (~7–30 MB); one or two walking reference trajectories from the 3 GB imitation dataset.
  3. Client compute: MuJoCo in a Web Worker, policy MLP hand-ported to JS, LIF brain in a second Worker with an active-set scheduler; optional WebGPU compute path. Render via three.js WebGL2.
  4. Fallbacks: WebGL2 rendering everywhere; JS-Worker LIF where WebGPU is absent; single-threaded MuJoCo unless COOP/COEP is set; reduced neuron count on phones.
  5. No live FlyWire/CAVE calls; all data pre-baked by a Python pipeline (fafbseg/navis) run on the Mini.

Risks and mitigations