How probablyapigeon/connectedxembra works
XEMBRA is an experimental, local-first cognitive state machine for observable conversational state changes. The documented workflow begins with an operator entering a turn in the interactive runtime, which coordinates cognitive modules and the associative-memory bridge; the bridge extracts and links concepts for persistent recall. Separate stages cover homeostasis, affect and identity, memory and thought, and environmental context. The graph preserves the README’s major capabilities and CORE MODULES. Relationship evidence is limited: README descriptions and source-index references support the architecture, but unsampled runtime calls are shown only as unverified dashed links.
Main entry points: xembra_july_live.py Interactive runtime · july_bridge.py Associative bridge · emotions.py Emotion system · identity.py Identity drift
Components 21
Runtime and orchestration
- Interactive runtime
xembra_july_live.py - Associative bridge
july_bridge.py - Creature state machine
xembra_creature.py
State and affect
- Brain state
core/brain_state.py - Emotion system
modules/emotions.py - Identity drift
modules/identity.py - Attachment dynamics
modules/attachment.py - Relationship tracking
modules/relationship.py - Goal dynamics
modules/goals.py
Memory and thought
- Lexical learning
modules/learning.py - Associative wordbook
modules/wordbook.py - Episodic memory
modules/memory.py - Thought and dreams
modules/thought_loop.py
Context and interaction
- Novelty scoring
modules/novelty.py - Question generation
modules/question_generator.py - World scene
modules/world_scene.py - Scene framing
modules/scene.py - Recognition cues
modules/grandma.py - Comfort cues
modules/hug.py - Name recognition
modules/name.py
Other components
- Operator
Connections 25
- Operator → Interactive runtime: enters turns
- Interactive runtime → Associative bridge: coordinates concepts
xembra_july_live.py - Interactive runtime → Creature state machine: runs state machine
- Interactive runtime → Brain state: updates telemetry
- Interactive runtime → Emotion system: uses affect
xembra_july_live.py - Interactive runtime → Identity drift: updates identity
xembra_july_live.py - Interactive runtime → Attachment dynamics: uses bonding
xembra_july_live.py - Interactive runtime → Relationship tracking: tracks bonds
xembra_july_live.py - Interactive runtime → Goal dynamics: updates goals
xembra_july_live.py - Interactive runtime → Lexical learning: learns words
xembra_july_live.py - Interactive runtime → Episodic memory: recalls episodes
xembra_july_live.py - Interactive runtime → Thought and dreams: generates thought
xembra_july_live.py - Interactive runtime → Novelty scoring: scores novelty
xembra_july_live.py - Interactive runtime → Question generation: generates questions
xembra_july_live.py - Interactive runtime → World scene: updates context
xembra_july_live.py - Interactive runtime → Scene framing: frames scenes
xembra_july_live.py - Interactive runtime → Recognition cues: checks cues
xembra_july_live.py - Interactive runtime → Comfort cues: checks comfort
xembra_july_live.py - Interactive runtime → Name recognition: checks names
xembra_july_live.py - Associative bridge → Lexical learning: extracts concepts
july_bridge.py - Associative bridge → Associative wordbook: weaves associations
- Associative bridge → Emotion system: synthesizes affect
july_bridge.py - Associative bridge → Identity drift: updates identity
july_bridge.py - Associative bridge → Question generation: supports inquiry
july_bridge.py - Associative bridge → World scene: uses context
july_bridge.py