Research

Research Paper

oNeura: Physics-Native Neural Simulation

A Bottom-Up Molecular Brain Stack from Particles to Behavior

Blackweb.AIMarch 2026
~173
State vars
per neuron
0.088×
Bio real time
H200 Pong
320K
Lines of
Rust
7,510
Automated
tests
7
Implemented
drugs
5+
Disease
verticals

Abstract

oNeura is a physics-native simulation stack that models biological neural systems from the molecular level up. Each neuron tracks ~173 state variables across a ~45-stage pipeline - 18+ ion channel types with Hodgkin-Huxley gating, 12+ signaling cascades, 6 neurotransmitters, 4-compartment calcium, organelle state, gene regulation, structural dynamics, and pharmacokinetics - producing emergent behavior that arises from biophysics, not curve-fitting.

Built entirely in Rust with native CUDA acceleration, oNeura runs the same molecular brain on a laptop (M4 Pro), datacenter GPUs (A100, H200), or in the browser via WebGPU - with aligned physics across those targets. We demonstrate learning on Pong (inspired by the DishBrain line of work), exploratory autonomous Doom behavior, and a 139,000-neuron Drosophila brain simulation with real connectome topology. Those public experiments are the dONN path; the same local codebase also carries whole-cell and atomistic layers below that slice, and supported pharmacology now bridges explicit molecules, docking/MM-GBSA calibration, and live ligand MD into the neural runtime instead of stopping at a detached side tool. All reported values in this document are tied to the experiment conditions stated in the relevant sections.

Scope of Claims

Publicly visible now

Browser-live Hodgkin-Huxley simulations, browser-facing Pong and fly-brain surfaces, and the measured benchmark summaries shown on this page.

Measured native runs

Large Pong and Drosophila-scale experiments are reported from the native Rust + CUDA runtime when those configurations are too large to execute directly in the browser.

Under active integration

The molecule-to-circuit pharmacology bridge is real in the local stack, but not every lower-scale component is yet exposed publicly or validated end-to-end at full organism scale on this site.

This page is therefore best read as a technical paper for the validated dONN path plus the strongest currently connected pharmacology pieces, not as a claim that every future whole-cell or ecosystem layer is already public and benchmarked.

Motivation: Why Not ANNs?

Artificial neural networks are mathematical abstractions. They model neurons as scalar weights and biases, discarding the molecular machinery that gives biological brains their most interesting properties: graceful degradation, pharmacological sensitivity, sleep-dependent consolidation, damage recovery, and developmental plasticity.

The Question: What if we modeled every molecular subsystem that makes a neuron a neuron - ion channels, receptors, vesicles, calcium, gene expression - and let behavior emerge from physics instead of optimization?

The Answer: oNeura. A digital organic neural network (dONN) where membrane potential emerges from ion channel dynamics, learning emerges from synaptic plasticity, and supported drug effects now emerge from atomistically calibrated target occupancy rather than being hand-authored UI knobs.

ANN Limitations

  • - No ion channel dynamics or membrane biophysics
  • - No pharmacological sensitivity
  • - Catastrophic forgetting under distribution shift
  • - No damage recovery or graceful degradation
  • - Learning via backpropagation (biologically implausible)

dONN Properties

  • - Full HH-style biophysics inside a much deeper dONN state model (~173 variables, ~45-stage flagship path)
  • - Real drug targets with PK/PD modeling
  • - Forgetting resistance via synaptic tagging
  • - Recovery via glia and compensatory mechanisms
  • - Learning via 3-factor STDP (biologically grounded)

Architecture Overview

oNeura is built as one simulation stack spanning browser demos, native neural runtimes, whole-cell scheduling, and atomistic molecule modeling. The core engine handles neuron state, synaptic transmission, plasticity, and pharmacology in a unified timestep loop, while the lower layers provide local chemistry, permeation, binding, docking calibration, and ligand-MD perturbation for the supported pharmacology bridge. The point is not a public repo layout; the point is that these scales now operate as one connected system.

Neural Runtime

The dONN path runs Hodgkin-Huxley membrane dynamics, receptor-mediated synaptic transmission, calcium state, and three-factor STDP in one continuous loop across CPU, CUDA, and WebGPU targets.

Whole-Cell Layer

Below the neural demos sits a native whole-cell layer for permeation, target binding, local chemistry, rate modifiers, and cell-state scheduling that can feed the neural runtime instead of living as a disconnected side model.

Atomistic Layer

Explicit molecules, surrogate-pocket docking, MM-GBSA rescoring, ADMET logic, and ligand MD provide lower-scale calibration for the supported pharmacology set.

Public Experiments

The public surfaces show that stack through browser Pong, Doom replay, and fly-brain experiments. They are slices through the same system, not separate toy demos.

The same neuron model runs identically across CPU (Rust), GPU (CUDA), and browser (WebGPU). Hardware-agnostic physics means results are reproducible on any platform.

Current Repo Reality: ~173 State Variables Per Neuron, ~45-Stage dONN Pipeline

The older public copy described this system as 25 molecular subsystems per neuron. The current oNeura repo now presents the flagship Drosophila dONN path as substantially deeper: roughly 173 state variables per neuron flowing through an approximately 45-stage pipeline on each timestep, with many more channel, signaling, structural, organelle, and gene-regulation layers explicitly tracked in the working project.

18+ ion-channel types

The current repo framing extends beyond the older eight-channel summary and now calls out 18+ channel classes, including Nav, Kv, Kleak, Cav, NMDA, AMPA, GABA-A, nAChR, HCN, SK, BK, TRPC, T-Cav, IA, GIRK, K-ATP, KCNQ, and K2P, with species-specific kinetics for squid, Drosophila, and mammalian presets.

Deeper molecular state

The public repo now describes 12+ signaling cascades, 4-compartment calcium with SOCE and buffering, multi-ion concentration tracking, transmitter release and reuptake, organelle state, structural state, and broader intracellular bookkeeping than the older simplified summary on this page implied.

Gene, glia, and structure

The current project description now explicitly includes histone acetylation, DNA methylation, miRNA and promoter occupancy, c-Fos/Arc/BDNF expression, ribosome/mTOR translation gating, astrocytes, oligodendrocytes, microglia, actin/spine dynamics, microtubules, neurofilaments, and extracellular-matrix state.

Whole stack is broader too

The repo now publicly describes a seven-scale stack spanning quantum, atomistic, cellular, stochastic, organismal, ecological, and evolutionary levels, plus a large Rust architecture with 320K+ lines, 360 source files, and 7,500+ tests. That broader platform reality should shape how this page is read.

// still the core causal membrane framing

dV/dt = (1/C_m) * (
    I_ext
    - g_Na * m³ * h * (V - E_Na)
    - g_K  * n⁴     * (V - E_K)
    - g_L            * (V - E_L)
    - g_Ca * s²      * (V - E_Ca)
    - g_AMPA         * (V - E_AMPA)
    - g_NMDA * B(V)  * (V - E_NMDA)
    - g_GABA         * (V - E_GABA)
)

The right claim is therefore not that oNeura has become less mechanistic. It is the opposite: the public site has lagged behind a repo that now describes a materially deeper dONN neuron and a much broader bottom-up digital-biology stack than the earlier 25-subsystem summary.

The Unbroken Causal Chain

oNeura maintains an explicit multiscale chain, but this page does not visualize every layer at once. The public experiments shown here focus on dONN neural and organism behavior. The whole-cell and atomistic molecule layers live in the same stack and already supply lower-scale chemistry, localized MD, small-molecule handling, and target binding for the supported pharmacology bridge.

1

Atomistic / Quantum Tooling

Atomistic chemistry, molecule modeling, localized MD probes, and whole-cell quantum-correction surfaces provide the lower-scale structure and energetics that sit underneath the broader stack.

2

Binding / Local Chemistry

Supported compounds now pass through explicit molecules, pocket calibration, permeation, occupancy, and MD-informed target effects before they alter neural state or reaction-rate categories.

3

Ion Channel Dynamics

Hodgkin-Huxley gating variables (m, h, n) evolve according to voltage-dependent rate equations. Membrane potential emerges from the sum of all ionic currents - not from a lookup table.

4

Neural Circuits

Networks of 5K-139K neurons with STDP plasticity form functional circuits. Spike timing drives synaptic weight changes through NMDA-gated windows with dopamine-modulated eligibility traces.

5

Emergent Behavior

Pong paddle tracking, Doom combat decisions, phototaxis, thermotaxis, and olfactory conditioning all emerge from the physics below - no task-specific reward shaping or output biases.

Key Insight: NEURON stops at neurons. CellBlender stops at molecules. oNeura is being built as one codebase spanning atomistic, whole-cell, and neural-organism layers instead of treating those scales as separate silos.

Three-Factor STDP Learning

Learning in oNeura is biologically grounded. Rather than backpropagation, synaptic weights change through spike-timing-dependent plasticity (STDP) with three factors: pre/post spike timing, NMDA receptor gating, and neuromodulatory eligibility traces.

// 3-Factor STDP rule

delta_t = t_post - t_pre

if delta_t > 0:                              // Pre before post → LTP
    dw = A_plus * exp(-delta_t / tau_plus)   // tau_plus = 20ms
    // Insert AMPA receptors into postsynaptic membrane
else:                                        // Post before pre → LTD
    dw = -A_minus * exp(delta_t / tau_minus) // tau_minus = 20ms
    // Remove AMPA receptors from postsynaptic membrane

// Factor 2: NMDA gating (requires postsynaptic depolarization)
dw *= nmda_gate(V_post, Mg_block)

// Factor 3: Dopamine-modulated eligibility trace
eligibility += dw
eligibility *= decay_rate                    // Slow decay
w += learning_rate * eligibility * dopamine  // DA gates consolidation

// BCM metaplasticity: sliding threshold prevents runaway potentiation
theta_m = f(mean_postsynaptic_activity)

Factor 1: Timing

Spike-timing window with 20ms time constant. Pre-before-post strengthens, post-before-pre weakens.

Factor 2: NMDA Gate

Voltage-dependent Mg²+ block means plasticity only occurs when the postsynaptic neuron is sufficiently depolarized.

Factor 3: Dopamine

Eligibility traces accumulate potential weight changes. Dopamine release gates which traces actually consolidate into lasting synaptic modifications.

Pharmacology: Atomistically Calibrated Molecules into Neural State

Supported compounds in the native dONN path now run through an actual molecule-to-behavior bridge. They start as explicit molecules, build a molecular graph from SMILES, dock into a target-specific surrogate pocket, get rescored with MM-GBSA, permeate into the live run, and then update occupancy with a ligand MD microprobe before they alter neural conductance or transmitter state.

The whole-cell drug-interaction module still handles permeation, target binding, and rate modifiers, while the atomistic molecule layer supplies SMILES-defined molecules, docking, MM-GBSA, reactions, and ADMET. The important change is that these layers are now bridged for the supported neural pharmacology set rather than living as parallel tracks with no runtime contact.

// Atomistic-to-neural bridge

SMILES
  -> MoleculeGraph
  -> surrogate-pocket flex_dock()
  -> compute_mmgbsa()
  -> calibrated baseline Kd
  -> Bateman PK -> plasma concentration
  -> membrane permeation
  -> live ligand MD microprobe
  -> effective Kd / occupancy
  -> conductance or transmitter modulation
  -> neural dynamics -> behavior
DrugPrimary targetNative atomistic bridgeNeural consequence
CaffeineAdenosine receptor analog pocketExplicit molecule -> docking -> MM-GBSA -> ligand MD -> occupancyLeak reduction plus Nav lift
DiazepamGABA-A benzodiazepine siteExplicit molecule -> docking -> MM-GBSA -> ligand MD -> occupancyHigher inhibitory conductance
AmphetamineDAT/NET transporter cavityExplicit molecule -> docking -> MM-GBSA -> ligand MD -> occupancyDA/NE release increase
KetamineNMDA channel poreExplicit molecule -> docking -> MM-GBSA -> ligand MD -> occupancyNMDA block
FluoxetineSERT central siteExplicit molecule -> docking -> MM-GBSA -> ligand MD -> occupancySerotonin reuptake block
L-DOPADOPA decarboxylase pathway proxyExplicit molecule -> docking -> MM-GBSA -> ligand MD -> occupancyDopamine synthesis increase
DonepezilAcetylcholinesterase gorgeExplicit molecule -> docking -> MM-GBSA -> ligand MD -> occupancyAcetylcholine accumulation

The remaining limit is scale, not missing plumbing. oNeura still does not run explicit receptor-pocket MD for every receptor instance in every neuron at every timestep, but the neural pharmacology path is now atomistically calibrated rather than hand-waved.

Experiment 1: DishBrain Pong

Replicating and extending the Cortical Labs DishBrain experiment. A 25,250-neuron spiking brain learns to play Pong using free-energy-style learning - the brain receives unpredictable stimulation on misses, and the absence of stimulation on hits acts as a reward signal. No explicit reward function. No backpropagation. Learning emerges from STDP.

25,250
Neurons
~7M
Synapses
41.25%
Hit Rate (H200)
30%
Random Baseline

// Brain architecture

Sensory layer:    250 neurons (ball position encoding)
Cortical layer: 5,000 neurons (STDP learning circuits)
  ├── Excitatory:  4,000 (80%)
  └── Inhibitory:  1,000 (20%)
Motor layer:      4× populations of 5,000 neurons each
  ├── UP    (5,000 neurons)
  ├── DOWN  (5,000 neurons)
  ├── STAY  (5,000 neurons)
  └── NULL  (5,000 neurons)

Total: 25,250 neurons, ~7M synapses
Connectivity: Sparse random (p=0.1-0.3 within populations)
dt = 0.1 ms, 12 simulation frames per rally

All runs: seed 42, 80 rallies, dt=0.1ms. The brain consistently outperforms random baseline (30%) on every hardware platform. Results are deterministic given the same seed.

Try it yourself: Play Live Pong in your browser - a smaller brain runs in real-time using WebGPU compute shaders with the exact same Hodgkin-Huxley equations.

Experiment 2: Doom Combat

A 5,050-neuron spiking brain plays Doom (VizDoom, "Defend the Center" scenario). The brain sees Doom through a molecular retina (50 retinal ganglion cells), processes visual input through STDP-learning cortical circuits, and outputs motor commands to move, turn, and shoot. After 12 teacher-guided episodes, the brain plays fully autonomously - zero decoder biases, zero teacher shaping.

100%
Survival
63%
Teacher Match
5,050
Neurons
308K
Synapses
A6000
GPU

Drug Effects on Combat Performance

These combat runs are not gameplay hacks. They sample the same neural target classes the native pharmacology stack modulates, with supported compounds now entering through explicit molecules, docking/MM-GBSA calibration, permeation, and occupancy before circuit behavior changes. Three drugs were tested across 3 runs each, measuring average score in Defend the Center.

ConditionAvg ScoreAvg DamageMechanism
Baseline-22.3541.0No drug applied
Caffeine-19.0838.0Adenosine block → increased excitability
Diazepam-17.6735.3GABA-A enhancement → increased inhibition
Amphetamine-20.4243.7DAT/NET block → heightened reward signaling
Methamphetamine-21.4541.0Stronger DA/NE release reversal

Teacher pretraining builds synaptic connections via STDP by stimulating correct motor populations alongside visual input. During autonomous play, the brain chooses actions solely from L5 cortical spike counts - whichever motor population fires most wins.

Experiment 3: Drosophila Brain (139K Neurons)

A 139,000-neuron fly brain simulation using real connectome topology from the FlyWire dataset, with 10 million synapses, running on an NVIDIA RTX A6000 (46GB VRAM). Every neuron runs the full Hodgkin-Huxley biophysics with ion channels, receptor binding, calcium dynamics, and STDP plasticity - all computed in parallel on the GPU.

139K
Neurons
10M
Synapses
46.3s
Total Time
A6000
GPU (46GB)

Experiment Results

Phototaxis (10.98s)

1,000 photoreceptor neurons stimulated at 50 uA/cm². Network firing rate increases from 0.0 Hz baseline to 0.40 Hz during light stimulus, then decays to 0.28 Hz during recovery - demonstrating sensory adaptation.

Thermotaxis (11.31s)

Graded temperature ramp (18-34 degrees C) across 5 levels. Network shows initial excitation at 22 degrees C (0.88 Hz) followed by sensory adaptation at higher temperatures (0.73 Hz at 34 degrees C).

Drug Effects (22.39s)

Caffeine (Nav +30%) increases firing rate by 7.8% (7.41 Hz baseline to 7.99 Hz). GABA agonist and dopamine modulation operate through downstream molecular pathways.

Day/Night Cycle (1,208s)

Circadian activity: day firing rate 0.050 Hz vs night 0.028 Hz (1.8x ratio). The brain spontaneously reduces activity during simulated night periods.

Caffeine Y-Maze Conditioning

In the browser Y-maze, a 5,000-neuron Drosophila brain learns odor-reward associations via dopamine-gated STDP. Caffeine improves conditioning only up to an optimal range, then degrades performance again, producing the same inverted-U dose-response seen in biological learning systems.

Hardware Benchmarks

oNeura is hardware-agnostic. The same brain architecture runs identically on a laptop, datacenter GPU, or in the browser. All benchmark data is from actual experiment runs (seed 42, 80 rallies, dt=0.1ms, 25,250 neurons, ~7M synapses).

PlatformWall TimeBio TimeRealtime FactorHit RateHits/80
M4 Pro 24GB (Rust/Metal)115.1s3,995ms0.035x41.25%33
A100 40GB (CUDA)71.8s4,015ms0.056x36.25%29
H200 80GB (CUDA)45.2s3,995ms0.088x41.25%33

The H200 achieves 2.55x wall-time speedup over M4 Pro and 1.59x over A100. Hit rate variations between platforms are due to floating-point order-of-operations differences in parallel reductions, not physics divergence - the equations are identical.

Fly Brain GPU Performance

139,000 neurons with 10M synapses complete 3 experiments (phototaxis, thermotaxis, drug effects) in 46.33 seconds total on an RTX A6000. Backend: Rust + CUDA 12.4 (cudarc). All HH gating, synaptic transmission, STDP plasticity, and neurotransmitter dynamics computed on GPU in parallel.

Prior Art: What Makes oNeura Different

PlatformBiophysicsPlasticityPharmacologyGPUScale
NEURON (Yale)HH neuronsLimitedNoNoSingle cell
Brian2ConfigurableSTDPNoNo~10K
NESTLIF/HHSTDPNoLimited~1M (LIF)
CellBlenderMolecularNoNoNoSub-cellular
DishBrainBiologicalSTDPYesN/A~800K (in vitro)
oNeura (Ours)~173 state vars / ~45-stage dONN path3-factor STDPmolecules -> occupancyRust+CUDA native139K (tested)

Existing simulators tend to specialize either in small-scale biophysical fidelity or in larger-scale simplified networks. oNeura is aimed at the middle ground: retaining explicit neural and pharmacology-relevant state while still validating network-scale runs on native GPUs. The comparison table above is intended as orientation, not as a comprehensive survey.

Limitations

Public-surface limitation

Browser demos are reduced-scale slices of the larger native stack. The public site shows live neuronal physics and replayed native experiments, but it does not execute every full-scale network or every molecule workflow directly in-browser.

Pharmacology limitation

Supported compounds now bridge explicit molecules, docking, MM-GBSA, and occupancy-aware neural effects in the native path, but this is not yet equivalent to running explicit receptor-pocket MD for every receptor instance at every timestep.

Benchmark limitation

Some reported metrics come from different hardware targets and experimental setups. Where possible this page states those conditions, but future revisions should consolidate them into a unified appendix and downloadable benchmark pack.

Scientific scope

This document focuses on the validated dONN and pharmacology-adjacent path. It should not be read as proof that every future whole-cell, embodied-agent, or ecosystem layer is already complete, public, or benchmarked to the same depth.

Future Directions

1.

Million-Neuron Scale - Multi-GPU distribution with NCCL for full mouse cortex (71M neurons). Current architecture is designed for this; the bottleneck is synapse memory, not compute.

2.

Whole-Cell Integration - Extending the existing native whole-cell runtime and local chemistry modules deeper into energy, trafficking, and regulation so lower-scale cellular state can be carried upward more directly.

3.

Drug Discovery Pipeline - Bridging atomistic molecule handling, whole-cell target binding, and neural behavioral assays so candidate compounds can be carried from structure to behavior in one workflow.

4.

Embodied Agents - Connecting the molecular brain to robotic platforms and more complex virtual environments (beyond Pong/Doom) to test sensorimotor integration and autonomous navigation.

5.

Ecosystem Simulation - Multiple organisms with molecular brains interacting in a shared physical environment - predator-prey dynamics, social behavior, and evolutionary pressure on neural architecture.

Selected References

[1] Hodgkin AL, Huxley AF. A quantitative description of membrane current and its application to conduction and excitation in nerve. Journal of Physiology (1952).

[2] Kagan BJ et al. In vitro neurons learn and exhibit sentience when embodied in a simulated game-world. Neuron (2022). DishBrain reference point for closed-loop Pong-style experiments.

[3] Bi GQ, Poo MM. Synaptic modifications in cultured hippocampal neurons: dependence on spike timing, synaptic strength, and postsynaptic cell type. Journal of Neuroscience (1998).

[4] Abbott LF, Nelson SB. Synaptic plasticity: taming the beast. Nature Neuroscience (2000). Background for STDP and stability framing.

[5] FlyWire Consortium / Drosophila connectome publications. Structural reference point for fly-brain topology and circuit scale.

[6] Hines ML, Carnevale NT. The NEURON simulation environment. Neural Computation (1997).

[7] Stimberg M et al. Brian 2, an intuitive and efficient neural simulator. eLife (2019).

[8] Jordan I et al. NEST 3 and modern large-scale network simulation references.

[9] Genheden S, Ryde U. The MM/PBSA and MM/GBSA methods to estimate ligand-binding affinities. Expert Opinion on Drug Discovery (2015).

[10] Trott O, Olson AJ. AutoDock Vina: improving the speed and accuracy of docking. Journal of Computational Chemistry (2010).

Future revisions should convert these selected references into inline citations and a fully formatted bibliography/appendix.

oNeura is an active research project at Blackweb.AI. All experiment data is from actual runs.

oNeura: Atoms-First Digital Biology for Drug Discovery, Agriculture & Environment | Research | Blackweb.AI | Blackweb AI