Autonomous Systems Research

Coordination
through emergence

A simulation-first platform where distributed agents coordinate through local rules -- inspired by neural networks, fungal mycelium, and swarm biology -- producing emergent global intelligence.

How the brain works

Like biological neural systems, Kernel has no central controller. Intelligence emerges from thousands of simple agents following local rules -- each one a neuron in a distributed brain.

The simulation core is Rust compiled to WebAssembly. Three.js renders the emergent patterns in real-time. TOML configs define experiments without code changes.

Signal Flow

Every frame: spatial hash rebuild, behavior computation (boids + chemotaxis + pursuit/flee), movement integration, pheromone diffusion, energy lifecycle. All in under 16ms.

Biological simulations

01

Flocking

Reynolds boids. 1000+ agents self-organize into coherent flocks from three local rules. No leader. No plan. Pure emergence.

02

Pheromone Paths

Ant-colony optimization. Chemical trails diffuse and evaporate, forming efficient transport networks through stigmergy.

03

Ecosystem

Predator-prey with energy, reproduction, and bidirectional mutation. Populations oscillate via Lotka-Volterra dynamics.

04

Mycelium Network

Adaptive graph where signals strengthen active edges and prune idle ones. Hebbian learning in a fungal topology.

Repository structure

kernelCore coordination engine, ECS worldRust, WASM
simSpatial hash, movement, environmentRust
signalPheromone grid, diffusion, chemotaxisRust
swarmBoids flocking, predator-preyRust
myceliumAdaptive graph networkRust
visualizationBrowser rendering layerThree.js
experimentsTOML experiment configsTOML
researchTheory, proofs, biologyMarkdown

Mathematical foundations

Flock Equilibrium

d* = r_sep * sqrt(w_separation / w_cohesion)

Signal Half-life

t_half = ln(2) / evaporation_rate

Trail Persistence

agent_density > evaporation / deposition_strength

Full proofs and stability analysis in research/theory.md