A simulation-first platform where distributed agents coordinate through local rules -- inspired by neural networks, fungal mycelium, and swarm biology -- producing emergent global intelligence.
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.
Every frame: spatial hash rebuild, behavior computation (boids + chemotaxis + pursuit/flee), movement integration, pheromone diffusion, energy lifecycle. All in under 16ms.
Reynolds boids. 1000+ agents self-organize into coherent flocks from three local rules. No leader. No plan. Pure emergence.
Ant-colony optimization. Chemical trails diffuse and evaporate, forming efficient transport networks through stigmergy.
Predator-prey with energy, reproduction, and bidirectional mutation. Populations oscillate via Lotka-Volterra dynamics.
Adaptive graph where signals strengthen active edges and prune idle ones. Hebbian learning in a fungal topology.
Full proofs and stability analysis in research/theory.md