ENIGMA / README.md
Um44's picture
Upload README.md
bf29dfa verified
|
Raw History Blame Contribute Delete
4.15 kB
metadata
title: ENIGMA
emoji: 🌐
colorFrom: gray
colorTo: indigo
sdk: static
app_file: index.html
pinned: true
license: agpl-3.0
thumbnail: https://huggingface.co/spaces/Um44/ENIGMA/resolve/main/thumbnail.png
tags:
  - simulation
  - agent-based-modeling
  - narrative-ai
  - deterministic-simulation
  - epistemic-logic
  - llm-engineering
  - npc-ai
  - causal-simulation
models: []
datasets: []

ENIGMA β€” Executable Epistemic Contracts in Deterministic Agent Simulation

A deterministic causal simulation engine exploring whether agents can exhibit meaningful emergent behavior when acting on their own incomplete and potentially erroneous models of the world.

WORLD TRUTH β‰  NPC MEMORY β‰  NPC BELIEF

This Space is a static architectural overview. Source code, full documentation, and reproducible build live at:

What this is β€” and what it isn't

Not a game. A scientific software artifact in active development.

Not a tutorial. Architectural documentation for researchers and engineers working on agent systems, epistemic logic, deterministic simulation, or LLM-assisted engineering.

Not a product. Solo-maintained research project, no support SLAs, no roadmap commitments to external stakeholders.

What it is: a 12-layer canonical construction (Authoring β†’ Identity β†’ Body β†’ Desire β†’ Decision β†’ Perception β†’ Consolidation β†’ Relationships β†’ Belief β†’ Interface β†’ Self-interpretation β†’ Deception) enforced by 18 architectural laws that raise ArchitecturalViolationError at runtime when violated.

Key architectural principles

  • Epistemic grounding β€” LLM is never a source of canonical truth; Python = causal authority
  • Deterministic replay β€” KernelRNG-protocol, no random.* or wall-clock in simulation layer (Β§15)
  • Causal layering β€” 12-layer canonical construction order; upper layers must use the causal work of lower layers, never imitate it
  • Anti-Bond β€” no parallel truth-stores, no decorative state β€” every entity must prove causal work no other entity performs
  • Belief non-mutation β€” beliefs are lenses (weight modifiers), not genes (scalars); personality drift via interpretation is forbidden (Β§16)
  • Epistemological orthogonality β€” Reality and Observer Knowledge are orthogonal axes; consumers receive only epistemic representations (Β§17)

Documentation

Status

Closed tracks: RE-01 M2/D + G/H Β· AG1 BC-1 Β· CCH-0..5 Β· COV-0..2 Β· LC-IMPL-1..2

Active fronts: BC-2 (Conclusion β†’ Expectation) Β· MOT (Motive & Decision Trace) Β· MEM (Memory Architecture) Β· NL-01 Ρ„Π°Π·Π° 1 (Narrative Grounding)

Planned: NL-12 (active deception) Β· EPI (information lifecycle) Β· WPS (world process simulation) Β· MAG (somatico-resonance magic, deferred)

Citation

@software{gritsaenko_2026_enigma,
  author       = {Gritsaenko, M.},
  title        = {ENIGMA: Executable Epistemic Contracts in Deterministic Agent Simulation},
  version      = {0.5.4.4.5},
  year         = {2026},
  url          = {https://github.com/4Um4/Enigma},
  doi          = {10.5281/zenodo.22831764},
  license      = {AGPL-3.0}
}

License

GNU AGPL v3.0 β€” use it, modify it, but if you serve it over network, share the source.