Files
the-nexus/nexus/__init__.py
perplexity 1ecca527cb
Some checks failed
CI / validate (pull_request) Failing after 5s
feat: Nexus Mind — embodied consciousness loop for 8B sovereign brain
Adds the perception adapter, experience store, trajectory logger, and
consciousness loop that give Timmy a body in the Nexus.

Architecture:
  BIRTH.md           — Thin system prompt. SOUL.md conscience + embodied
                       awareness. No meta-knowledge about implementation.
  perception_adapter — Translates WS events to natural-language sensory
                       descriptions. Parses model output into WS actions.
  experience_store   — SQLite-backed lived-experience memory. The model
                       remembers only what it perceived through its channel.
  trajectory_logger  — Logs every perceive→think→act cycle as ShareGPT JSONL,
                       compatible with the AutoLoRA training pipeline.
  nexus_think        — The consciousness loop. Connects to WS gateway,
                       receives perceptions, thinks via Ollama, sends actions.

The 8B model wakes up knowing nothing but its values and what it
experiences. Training loops close on lived experience — emergence
through the channel, not through fine-tuning toward behaviors.

Run: python -m nexus.nexus_think --model timmy:v0.1-q4 --ws ws://localhost:8765
2026-03-25 17:20:03 +00:00

29 lines
618 B
Python

"""
Nexus — Embodied Mind Module
The perception adapter, experience store, trajectory logger, and
consciousness loop that give Timmy a body in the Nexus.
"""
from nexus.perception_adapter import (
ws_to_perception,
parse_actions,
PerceptionBuffer,
Perception,
Action,
)
from nexus.experience_store import ExperienceStore
from nexus.trajectory_logger import TrajectoryLogger
from nexus.nexus_think import NexusMind
__all__ = [
"ws_to_perception",
"parse_actions",
"PerceptionBuffer",
"Perception",
"Action",
"ExperienceStore",
"TrajectoryLogger",
"NexusMind",
]