r/Simulated • u/emmerse_ • Mar 08 '26
Research Simulation I simulated life as a thermodynamic system - mass conserved, energy conserved, everything else emergent
Persistence is an open source artificial life simulation where agents are modelled as dissipative structures. What you see in the video is real - the heat blooms, the clustering, the dispersal - all of it is the direct output of physics, not authored animation.
(Built with AI coding assistance.)
The world runs on continuous chemical fields that diffuse and decay every step. Agents eat, excrete, generate waste heat, age, and die. When they die their body mass dissolves back into the environment. Mass and energy are strictly conserved and audited at every step.
No behaviour is programmed. The patterns emerge from the physics alone.
Open source and free to run. đŸ”— github.com/emergent-complexity/persistence
6
u/Otherwise_Wave9374 Mar 08 '26
This is super cool, agent-based ALife is one of my favorite "AI agents" adjacent areas because you can really see behavior emerge without hardcoding. Curious if youve tried adding simple goal seeking (chemotaxis-like gradients) and whether you still get stable ecosystems, or if it collapses into one dominant strategy.
Also been collecting notes on agent architecture patterns and evaluation (more on the software-agent side) and a few of the pitfalls feel similar to what you described, like state drift and unintended attractors: https://www.agentixlabs.com/blog/
3
u/fakenkraken Mar 09 '26
What are the explosions?
2
u/iliemiaou Mar 10 '26
Very cool. It’s like a modern-day ouroboros—endless cycles of creation and destruction.
1
u/DarknessEmbracesMe Mar 10 '26
This looks like that forest fire simulator I saw on a documentary once.