The world's first downloadable 650,000-neuron adult vertebrate brain memory grounded in the official Danionella cerebrum atlas.
DANIO is an open-source biological simulation engine and downloadable brain memory of the adult teleost vertebrate Danionella cerebrum (~650,000 neurons, 203 anatomical brain regions, 0.6 mmยณ cranial volume).
DANIO v2.0 enforces strict epistemological honesty:
ATLAS / EMPIRICAL: 203 anatomical brain regions segmented directly from the official adult Danionella cerebrum reference atlas (templatedc_mixed_hhg6@1.0, average of 21 adult brains, 2.5 ยตm isotropic resolution, Kadobianskyi et al. bioRxiv 2026, Judkewitz Lab / Charitรฉ โ Universitรคtsmedizin Berlin).MODELED POPULATION: 650,000 computational neurons volume-constrained strictly within the 203 anatomical ellipsoid hulls using published cellular density priors (Cerebellum 38%, Optic Tectum 35%, Telencephalon 8%, Rhombencephalon 8%, Diencephalon 7%, Motor & Spinal 4%). Not an empirical neuron-by-neuron connectome.INTER-REGIONAL CONNECTIVITY MODEL: 1,023 directional macro-tracts derived from confocal reflectance tractography and neural tracer injections.BIOPHYSICAL SIMULATION: Vectorized 50 Hz leaky integrate-and-fire simulation executing closed-loop sensorimotor reflexes (optic tectum prey tracking, lateral line rheotaxis, Mauthner 5ms escape reflex, and >140 dB acoustic drumming).
DANIELLA CEREBRUM WHOLE-BRAIN SIMULATION (v2.0)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 203 Registered Atlas Regions ยท Template dc_mixed_hhg6@1.0 (0.6 mmยณ) โ
โ โ
โ [ Visual Feed ] โโโ> [ Optic Tectum ] โโโ> [ Cerebellar Loops ] โ
โ โ โ โ
โ v v โ
โ [ Acoustic/Flow ] โ> [ Hindbrain ] โโโ> [ Spinal Motor Columns ] โ
โ โ โ โ
โ v v โ
โ [ Sonic Drumming Organ ] [ Axial Teleost Thrust ] โ
โ (>140 dB Sound Pulse) (Rhythmic Undulation) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโ
โผ โผ
[ DOWNLOADABLE BRAIN MEMORY ] [ PYTHON SDK RUNTIME ]
danio_brain_v2.npz (Schema 2.0) from danio import DanioBrain
(650k Modeled Coords + Tracts) brain.step(sensory) -> action
| Evaluation Parameter | FlyBrain (therealfly) |
C. elegans Connecto | Danionella cerebrum (DANIO v2.0) |
|---|---|---|---|
| Taxonomic Hierarchy | Invertebrate (Drosophila) | Invertebrate (Nematoda) | Adult Vertebrate (Teleostei) |
| Neuron Count | 166,122 Partial Head Cells | 302 Invariant Neurons | 650,000 Computational Population (~4x Fly) |
| Anatomical Regions | Cranial / Hex columns only | Somatic/Pharyngeal rings | 203 Registered Atlas Regions (dc_mixed_hhg6) |
| Motor Circuitry | 100% Mapped (95 Muscles) | 100% Spinal Motor Columns + Sonic Organ | |
| Locomotion Stability | โ FAILED ยท 45.5 Hz Runaway Seizure | โ STABLE ยท 0.52 mm/s Crawl | โ STABLE ยท Cerebellar Carangiform Gait |
| Cranial Window | Dead / Fixed Electron Micrographs | Transparent Cuticle | Natural Lifelong Transparent Adult Skull |
| Acoustic Production | None | None | 140.2 dB Sonic Drumming Mechanism |
| Memory Package | Fragmented Weights | Graph Dict | Binary .NPZ (12.54 MB, Schema 2.0) + Python SDK |
External developers can download the complete 650,000-neuron brain memory file and load it into external simulations, games, robotics, or AI benchmarks.
-
schema_version:"2.0" -
region_names: 203 official neuroanatomical regions from the Charitรฉ reference atlas. -
region_ids:(203,) uint16region IDs matchingdc_labels.json. -
region_abbreviations:(203,)anatomical abbreviations. -
region_divisions:(203,)cranial embryological divisions. -
region_centroids:(203, 3) float32physical mm coordinates ($1.300 \times 2.505 \times 0.830\text{ mm}$ ). -
region_centroids_voxel:(203, 3) int32coordinates in template space ($520 \times 1002 \times 332$ at$2.5\ \mu\text{m}$ ). -
region_volumes:(203,) float32regional volumes in mmยณ summing to 0.60 mmยณ. -
model_neuron_coords_xyz:(650000, 3) float323D coordinates volume-constrained in regional ellipsoid hulls. -
model_neuron_region_ids:(650000,) uint16region assignment for each neuron. -
neurotransmitter_ids:(650000,) uint8mapped from 29 HCR markers (Glutamate, GABA, ACh, Dopamine, Serotonin, Glycine). -
model_resting_potentials:(650000,) float32physiological resting potentials ($\sim -65\text{ mV}$ ). -
model_thresholds:(650000,) float32action potential thresholds ($\sim -45\text{ mV}$ ). -
model_time_constants:(650000,) float32membrane time constants ($\sim 20\text{ ms}$ ). -
region_tract_src,region_tract_dst,region_tract_weight,region_tract_evidence: 1,023 evidence-backed macro-tracts. -
hub_neuron_ids: 48 command somata (Mauthner escape neurons, sonic drumming motor pool). -
metadata_json,provenance_json: Embedded JSON strings documenting template space, specimens, DOI, and citations.
- Direct URL:
http://127.0.0.1:8000/api/brain/download - Or rebuild locally:
python danio/brain/build_memory_v2.py - Validate package:
python scripts/validate_brain_v2.py
git clone https://github.com/0xalydev/danio.git
cd danio
python -m pip install -r requirements.txtfrom danio import DanioBrain
# 1. Load the 650,000-neuron adult brain (v2.0)
brain = DanioBrain.load("danio_brain_v2.npz")
print(brain.info())
# 2. Step the brain with sensory inputs (vision, water flow, acoustics)
sensory = {
"visual_luminance": 0.8,
"visual_prey_angle": 15.0, # degrees to prey
"predator_threat": 0.0, # sudden predator approach
"water_flow_velocity": 0.12, # m/s rheotaxis
"acoustic_stimulus_hz": 80.0, # nearby conspecific sound
"acoustic_stimulus_db": 75.0
}
action = brain.step(sensory, dt=0.02)
# 3. Read biological motor commands & 140 dB sonic pulse
print(f"Tail Thrust: {action.tail_thrust:.3f}")
print(f"Heading Yaw: {action.heading_yaw:+.3f}")
print(f"Fin Pitch: {action.fin_pitch:+.3f}")
print(f"Drumming: {action.drumming_sound_active} ({action.drumming_spl_db} dB @ {action.drumming_frequency_hz} Hz)")
print(f"Firing Rate: {action.population_firing_rate:.1f} Hz")python examples/load_and_run.pySimulates 20 consecutive sensory-motor steps including a predator dart trigger at step 15, verifying the biological Mauthner C-start escape reflex.
python examples/game_controller.pyDemonstrates a closed-loop virtual Danionella agent navigating a 2D/3D water tank towards prey while evading obstacles and emitting acoustic drumming pulses.
Launch the background biophysical server and web dashboard:
python -m danio.cli serve --port 8000Open http://localhost:8000 in your browser:
- Hero 3D Chamber: Renders the transparent Danionella cerebrum fish, internal vertebrate cranial lobes (Tectum, Cerebellum, Hindbrain), and expanding 140 dB acoustic shockwave ripples.
- One-Click Download: Click
[โก DOWNLOAD BRAIN MEMORY (.NPZ)]to immediately fetch the weights package. - Comparative Live Audit: Real-time GitHub sync comparing Danio (650k neurons) vs FlyBrain (166k neurons) vs C. elegans (302 neurons).
- Interactive Python Quickstart: Copy-paste SDK snippet to run in any project.
danio/
โโโ danio/
โ โโโ __init__.py # Package exports (DanioBrain, DanioAction)
โ โโโ brain/
โ โ โโโ __init__.py
โ โ โโโ atlas.py # 203 registered anatomical regions & manifest loader
โ โ โโโ build_memory_v2.py # Authoritative v2 builder (Schema 2.0)
โ โ โโโ engine.py # Vectorized SNN neural runtime engine
โ โโโ server/
โ โโโ app.py # FastAPI server with /api/brain/download
โ โโโ state.py # 24/7 authoritative biophysical state
โโโ scripts/
โ โโโ validate_brain_v2.py # 25-point scientific validation test suite
โ โโโ export_browser_assets_v2.py # WebGL JSON and manifest exporter
โ โโโ generate_git_history.py # Verifiable git history generator
โโโ web/
โ โโโ index.html # Dark scientific dashboard & download card
โ โโโ danio_webgl_brain.js # 3D interactive WebGL cranial simulation
โ โโโ data/
โ โ โโโ danio_atlas_203.json # WebGL-ready 203-region structured atlas
โ โ โโโ danio_region_manifest.json # Full regional manifest
โ โ โโโ danio_provenance.json # Authoritative provenance record
โ โโโ style.css # Scientific typography & styling
โ โโโ app.js # Authoritative WebSocket telemetry client
โโโ danio_brain_v2.npz # Downloadable v2 brain package (12.54 MB)
โโโ danio_region_manifest.json # Root regional manifest
โโโ danio_provenance.json # Root provenance record
โโโ brain_validation_report.json # Validation report (100% PASS)
โโโ brain_validation_report.md # Markdown validation summary
โโโ pyproject.toml # Build metadata & entrypoints
โโโ requirements.txt # Dependencies (numpy, fastapi, uvicorn)
โโโ WHITEPAPER.md # Comprehensive vertebrate biophysics whitepaper
โโโ README.md
- Author:
0xAlyDev <325197450+0xalydev@users.noreply.github.com> - Co-Author:
Claude Opus 5 <noreply@anthropic.com> - Reference Atlas: Kadobianskyi et al. (2026), Multimodal reference brain atlas of adult Danionella cerebrum, bioRxiv doi:10.64898/2026.03.09.710483v1.
- Template:
dc_mixed_hhg6@1.0(Judkewitz Lab / Charitรฉ Berlin & Humboldt-Universitรคt zu Berlin). - License: CC-BY-NC-SA 4.0 Open Science License.