What this is — and is not. This repository does not claim a theory of everything. It studies one recurring asymmetry: simple generators produce rich traces cheaply, but reconstructing the generator from its trace — especially under noise, partial observability, and an unknown model class — is hard; and optimizing systems become dangerous when their constraint architecture cannot scale with their capability. Every major claim carries an epistemic status tag, every major concept an external anchor in the Related Work Map, and the boundaries are stated explicitly in What This Project Does NOT Claim.
Don't want to install anything? You can experience the core concepts immediately directly in your browser:
- 🧭 Recommended Reading Path — the research arc emergence → optimization → constraint architecture → survivability (full map: Canonical Path v2):
- The Generator Question — The organizing question. Forward vs. inverse asymmetry. The three walls (P vs. NP, Kolmogorov, Gödel). The foundational assumption.
- Emergence Manifesto — The core claim set (emergence).
- Optimization and Its Blindness — The hinge: why unconstrained optimization of an emergent system is non-viable, and why capability loads multiple constraints at once.
- TEO Framework — The constraint-architecture model.
- The Viable Corridor — The formal synthesis: constraint architecture + capability loading (a stabilized node, not the whole repo).
- From Rule to Mind — The compact course spine connecting the whole system.
- AI Alignment Veto — A runnable proof artifact.
- 🕹️ Run the Web Emergence Explorer — An interactive Cellular Automata sandbox with real-time entropy and mutual information charts.
- 📖 Read the Interactive Book — The curated online book: the reader-first path through the theory. (A PDF snapshot lives at
systems-and-intelligence-book.pdf.)
This project brings together simulation models, theoretical notes, and learning systems that illustrate how local actions generate global behavior, how systems stabilize themselves, and how observers learn from the dynamics they inhabit.
The project spans several layers:
- Self-organization
- Nested learning
- Emergent regulation
- Feedback and control
- Limits of computation and intelligence
Each folder represents a different perspective on these themes.
To read the formal, academic synthesis of multiple frameworks within this repository (including the mathematical deduction of emergent utility and Multi-Paradigm Orchestration), refer to the draft whitepaper:
This repository and its mathematical frameworks (including the
What this means:
- Open Science & Open Source: Academics, researchers, and open-source developers are free to use, modify, and distribute this work. Startups and individuals are encouraged to build upon these simulations.
- Permissive Use: You are free to use this code for both open-source and commercial applications without being required to open-source your own code, as long as the original copyright notice is included.
This ensures that the Fractal Architecture of Emergence remains a true open-source public good, fostering an open ecosystem for everyone.
Note: This entire repository is conceived as a thought experiment developed by Frank Peterlein in collaboration with AI. It is primarily a space to capture, explore, and run simulations on complex ideas. Because it's a living, experimental space, it may contain errors or untested hypotheses. Feedback, discussions, and corrections are always welcome!
This repository operates at the intersection of computational complexity science (established), systems theory (established), and AI consciousness research (emerging / contested).
Claims in this repository have different epistemic statuses:
| Claim Type | Examples | Status |
|---|---|---|
| Computational demonstrations | Kuramoto synchronization, Bak's Sandpile power laws | ✅ Well-established |
| Measurable hypotheses | Δ-Kohärenz, 3-Layer Memory coherence | 🧪 Testable — see lab/AGENTIC_README.md |
| Theoretical frameworks | Markov Blanket as agent-human boundary, Free Energy alignment | 📐 Formalized — see theory/core/mathematical-axioms.md |
| Open problems | The Mirror Problem, bootstrapping of identity | ❓ Unresolved — see theory/reference/open-problems.md |
| Speculative framings | Relational emergence, criticality as intelligence zone | 💭 Speculative — see theory/reference/glossary.md for definitions |
We believe intellectual honesty about these distinctions makes the project more interesting, not less. The open problems are the most generative part.
To keep this repository coherent while it grows, use this practical split:
docs/book/= curated reading path ("online book")papers/+docs/papers/= publication-style outputs (compact, citable, less narrative)theory/= formal and semi-formal theory essayslogs/= architectural journals (applied, speculative system design notes)fiction/= narrative thought experiments constrained by theorysimulation-models/+lab/= executable artifacts, orchestration framework, and reusable primitives
If you're unsure where new material belongs, see meta/repository-meta/repository-information-architecture.md.
| Folder | Purpose |
|---|---|
docs/ |
The curated reading path, MkDocs build resources, and the complete "Online Book". |
fiction/ |
🎬 The Narrative Synthesis: Hard Sci-Fi "found footage" translating the math into stories. |
lab/ |
The unified Python ecosystem. Contains the Multi-Paradigm Orchestrator (orchestration/), the empirical Agentic Identity Suite (experiments/), cognitive stress tests (benchmarks/), info-theoretic tools (data-analysis/), and reusable primitives (core/). |
logs/ |
Architecture logs: applied design notebooks bridging abstract theory and deployment constraints. |
meta/ |
Reflections on epistemology, ethics, repository governance, and the limits of formal systems and computation. |
papers/ |
Paper-style synthesis documents with an academic framing and tighter scope. |
simulation-models/ |
Isolated toy models, clustered by theme (emergent-dynamics, cognitive-architectures, etc.). |
theory/ |
Conceptual notes and essays on systems, intelligence, and emergent behavior. |
Each subfolder contains its own README with context and details.
The complete index of simulations, theory essays, fiction stress tests, lab frameworks, and architecture logs lives on the live site — it stays current automatically with the repository. This README intentionally does not duplicate it.
Entry points by interest:
- Theory: The Generator Question (start here) → Emergence Manifesto → Trace to Generator.
- Runnable code: Simulation → Theory Map lists all 35 simulations with their direction (Forward / Inverse / Both) and the wall they touch.
- Lab: Agentic Identity Suite, LLM provider layer, Identity Persistence (Pstrong).
- Fiction: Narrative dossiers — each entry annotated with the theory claim it stress-tests.
- Web Emergence Explorer – Browser-based Game of Life with real-time entropy, spatial mutual information, and complexity charts. Zero dependencies.
- SII Dashboard — Quantitative System Intelligence Index: runs headless mini-simulations and generates comparative radar/bar charts of P, R, A, IP dimensions.
- Identity Morphospace — Plots agent trajectories in Persistence/Coherence space, visualizing the Chord vs. Arpeggio regimes.
Clone the repository and install dependencies:
git clone https://github.com/frnkptrln/systems-and-intelligence.git
cd systems-and-intelligence
pip install -r requirements.txtSome simulations use optional ML dependencies (e.g. PyTorch). Install them with:
pip install -r requirements-ml.txtThen run any simulation:
cd simulation-models/emergent-dynamics/lenia
python3 lenia.pyPress ESC in any simulation window to exit.
For a guide to how all the models connect, see Conceptual Map – the conceptual map that traces the arc from self-organization through learning to system intelligence and its limits.