Date: April 7, 2026 Author: edvatar (toroleapinc) Repo: https://github.com/toroleapinc/encephagen
A complete miniature human brain: 17,530 spiking neurons across 10 brain structures, all biologically wired together. Every major organ of the human brain is present.
| Structure | Neurons | Circuit | Function |
|---|---|---|---|
| Cortex | 16,000 | 80 regions × 200 neurons, canonical microcircuit (7 cell types: L4/L2-3/L5/L6/PV+/SST+/VIP+), feedforward/feedback pathways | Processing, integration |
| Thalamus | 200 | LGN/MGN/VPL/MD relay + TRN gate + HO transthalamic | Sensory gateway |
| Basal Ganglia | 200 | D1/D2 MSNs → GPe → STN → GPi → Thal motor, 4 action channels | Action selection ✅ |
| Cerebellum | 500 | Granule → Purkinje → DCN, Golgi feedback, olive error | Motor coordination |
| Superior Colliculus | 100 | Superficial (visual) → Deep (motor), winner-take-all | Visual orienting |
| Neuromodulators | 100 | DA (reward), 5HT (mood), NE (arousal), ACh (attention) | State control |
| Hippocampus | 200 | EC → DG → CA3 (recurrent) → CA1, trisynaptic loop | Memory |
| Amygdala | 100 | LA → BLA → CeA, ITC gate | Fear/emotion |
| Hypothalamus | 50 | SCN clock, LH↔VLPO sleep-wake, PVN stress | Drives |
| Spinal CPG | 80 | V0/V1/V2a/V2b/V3/Shox2/MNs, CMA-ES optimized | Stepping |
Sensory → Thalamus relay → Cortex L4 → L2/3 → L5
↓
┌────────────────────────────────────┤
↓ ↓
Basal ganglia (Striatum) HO Thalamus → higher cortex
↓ ↑
GPi → Thal motor → Motor cortex Cerebellum DCN
↓ ↑
Action selected Motor copy (pontine)
↓
Brainstem reflexes ←── Amygdala CeA (fear boost)
↓ ↓
Spinal CPG (stepping) Hypothalamus PVN (stress)
↓
BODY (MuJoCo)
Neuromodulators → broadcast to all (DA/5HT/NE/ACh)
Hippocampus ← Cortex (memory encoding)
Hippocampus → Prefrontal (memory recall)
SC ← Retina (visual orienting)
Answer: No. 0/33 significant. dMRI routing is irrelevant for computation.
Answer: Specific circuits. 80-neuron spiking CPG with identified interneurons (CMA-ES optimized). Brainstem reflex arcs (hardwired). Lateralized cortical routing (97% of PD controller).
Answer: Yes. 17,530 neurons, 10 structures, all wired. Stimulus propagates through thalamocortical loop (+21% visual). Basal ganglia selects actions. Transthalamic relay reaches parietal (+1.4%).
- Macro-scale dMRI connectome does NOT help — 0/41 experiments across innate, robustness, learning, generalization
- Canonical microcircuit DOES help — enables stimulus propagation (+638%) that random wiring can't
- The genetic recipe is the knowledge — cell types, layers, identified interneurons, feedforward/feedback asymmetry
- Newborn behavior is subcortical — cortex observes, brainstem/CPG controls
- Behavior = specific circuits + calibrated weights (not general connectivity)
# Full integrated brain (all 10 structures)
python -c "from encephagen.brain import IntegratedBrain; b = IntegratedBrain()"
# Newborn with body (brainstem + CPG + cortex observer)
python newborn.py --spiking-cpg --video
# Full newborn on Humanoid (all reflexes)
python newborn_full.py --video
# Interactive brain stimulation
python demo.py42 experiments. 17,530 neurons. 10 brain structures. The complete miniature human brain.