How probablyapigeon/society_art_xembra_termux works
XEMBRA is an interactive adaptive-cognition runtime and .xc interpreter, with an empirical lab spanning eight stages. The principal workflow is a user command through run_xembra.py, which coordinates cognitive cycles and stage-specific experiments, then exposes responses, audio, visual artifacts, or diagnostics. The runtime’s internal layer combines affect, identity, relationship, novelty, goals, thought, and world state. README capabilities are represented, but some subsystem paths are directory-level because their implementations were not sampled; those links are documented rather than inferred from unseen calls.
Main entry points: run_xembra.py Interactive commands · society_sim.py Coupled agents · xc_engine.py XC interpreter · music.py Music synthesis
Components 23
Runtime and interaction
- Interactive commands
run_xembra.py - XC interpreter
xc_engine.py - XC parser and evaluator
xc_cli.py - Voice bridge
voice_bridge.py - Coupled agents
society_sim.py - Robot conversation
XEMBRAROBOT.PY - Creature conversation
xembra_creature.py
Cognitive state
- Cognitive modules
modules - Identity state
modules/identity.py - Relationship state
modules/relationship.py - Novelty memory
modules/novelty.py - Thought loop
modules/thought_loop.py - Goal state
modules/goals.py - World scenes
modules/world_scene.py
Research stages
- Operator sweeps
commutator_test.py - Memory ablation
systems/morphogenesis.py - Perturbation tests
systems/morphogenesis.py - Research diagnostics
systems/morphogenesis.py
Audio and visual output
- Music synthesis
systems/music.py - Art and morphogenesis
systems/morphogenesis.py
Other components
- User
- Phone microphone
- Audio playback
Connections 26
- User → Interactive commands: issues commands
README.md - Interactive commands → XC interpreter: runs cycles
run_xembra.py - XC interpreter → XC parser and evaluator: parses and evaluates
xc_engine.py - Interactive commands → Voice bridge: routes audio
run_xembra.py - Interactive commands → Coupled agents: runs society
README.md - Interactive commands → Operator sweeps: runs sweeps
README.md - Interactive commands → Memory ablation: runs ablation
README.md - Interactive commands → Perturbation tests: runs benchmarks
README.md - Interactive commands → Research diagnostics: shows diagnostics
README.md - Interactive commands → Music synthesis: requests synthesis
README.md - Interactive commands → Art and morphogenesis: requests artwork
README.md - User → Robot conversation: converses with
- User → Creature conversation: converses with
- Robot conversation → Cognitive modules: uses modules
XEMBRAROBOT.PY - Creature conversation → Cognitive modules: uses modules
xembra_creature.py - Coupled agents → XC interpreter: creates runtimes
society_sim.py - Coupled agents → Music synthesis: composes duet
society_sim.py - Coupled agents → Art and morphogenesis: grows lattice
society_sim.py - Coupled agents → World scenes: renders world
society_sim.py - Coupled agents → Identity state: updates identity
society_sim.py - Coupled agents → Relationship state: updates bond
society_sim.py - Coupled agents → Novelty memory: measures novelty
society_sim.py - Coupled agents → Thought loop: uses thoughts
society_sim.py - Coupled agents → Goal state: updates goals
society_sim.py - Voice bridge → Phone microphone: records audio
- Music synthesis → Audio playback: plays WAV
systems/music.py