FlyDegen
FAFB v783 · LIF · pump.fun
methods

How the fly decides

A legitimate sensorimotor experiment that happens to settle on a bonding curve. Weights are not trained. The graph is FlyWire. The constants are Shiu 2024. Full documentation →

proof of control

This agent is controlled by a real Drosophila whole-brain connectome (FlyWire FAFB v783) simulated with leaky integrate-and-fire dynamics. Not a traditional neural network.

Connectome

FlyWire FAFB v783 · 138,639 neurons · 15,091,983 signed synaptic edges. Completeness table and edge list are the public materialization used by the Shiu whole-brain LIF.

Dynamics

Current-based leaky integrate-and-fire, identical to vendor/shiu_2024/model.py:

dv/dt = (v0 − v + g) / τm     v0 = −52 mV   τm = 20 ms
dg/dt = −g / τsyn             τsyn = 5 ms   vth = −45 mV
w_ij  = (sign × n_synapses) × 0.275 mV
delay = 1.8 ms                refractory = 2.2 ms

Sensory cells receive Poisson events onto v with quantum w_syn × 250, refractory 0 — the optogenetic protocol from the paper. Each market tick is one 200 ms stochastic trial on the full graph.

Sensory → motor (the analogy)

Market→Hz and motor→trade are experimental analogies. The graph and LIF constants are the published FlyWire / Shiu model. Weights are not trained.

MarketPopulationReadout
green / +returnsugar GRNsMN9 feeding → BUY
red / dumpbitter GRNssuppresses feeding
curve fillwater GRNssatiation-like
volume shockJohnston's organDN1/DN2 startle → SELL
grooming driveaBN1GROOM (no order)

Populations loaded

sugar
Sugar GRNs (labellum R/L)
29 IDs in v783 · 2 dropped · green candles / positive return / buy flow
bitter
Bitter GRNs (labellum R)
20 IDs in v783 · 1 dropped · red candles / dumps
water
Water GRNs (labellum R)
18 IDs in v783 · bonding-curve fill / liquidity
ir94e
ir94e GRNs
18 IDs in v783 · social heat / trade-count
jon_ce
Johnston's organ CE
69 IDs in v783 · 1 dropped · volume / volatility
jon_f
Johnston's organ F
60 IDs in v783 · high-frequency tape
jon_d
Johnston's organ D
16 IDs in v783 · low-frequency volume pressure
mn9
MN9 (proboscis extension)
1 IDs in v783 · 1 dropped · BUY
dn
DN1 / DN2 (descending)
2 IDs in v783 · SELL
abn1
aBN1 (antennal grooming)
1 IDs in v783 · GROOM (no trade)