Welcome to the official repository for AEON-Δ, a modular and self-contained cognitive architecture engineered in PyTorch. AEON-Δ simulates high-level reasoning by operating on abstract "thought vectors" (z-vectors) within a latent space, enabling deep reflection, concept modeling, and plan generation.
The system follows a rigorous two-phase training pipeline, designed for stability, abstraction, and dynamic reasoning, with each component engineered for extensibility, robustness, and clarity.
Central orchestrator class that integrates all reasoning modules into a cohesive flow from perception → deliberation → planning → action.
Latent autoencoder translating between text and compressed thought vectors (z). This forms the bedrock of reasoning operations.
Transforms the initial thought vector into a raw perception ψ_0, serving as the entry point into the reflective reasoning cycle.
The reflective engine. Iteratively transforms ψ_0 into a stable thought state C* through repeated refinement, simulating recursive internal deliberation.
Dissects C* into 5 interpretable core axes of meaning ("pillars"): 🔥 Will, ⚔️ Resolve, 🔄 Growth, 🛡️ Union, 🌊 Movement.
Calculates entanglement, coherence, and complexity of internal representations using quantum-inspired metrics.
Applies catastrophe theory to detect instabilities and sudden representational shifts — critical for modeling insight, rupture, or contradiction.
Uses the refined representation to:
- Produce an action vector
- Estimate its safety
- Generate a high-level plan
Captures thought dynamics by predicting how z_t evolves into z_{t+1} across time.
- Robust Data Loader: Handles JSON, NDJSON, and concatenated formats.
- Tokenizer: Simple character-level tokenizer transforms raw text into tensors.
- Curriculum Pipeline: Separates short/long sequences for progressive learning.
- MemoryManager: Built-in support for
mem0vector memory. - KnowledgeGraph: Optional Neo4j-backed graph for external knowledge.
- Trains autoencoder (Encoder/Decoder)
- Uses curriculum learning (short → full sequences)
- Dynamic function routing for backward compatibility
- Logically safe and clean loss computation
-
Uses trained encoder to convert text into z-vector sequences
-
Trains RSSM and core dynamics to predict next z from current z
-
Introduces robust loss functions:
kl_diag_gaussians: avoids mode collapsecosine_spread_surrogate: promotes diverse, orthogonal thought states
- Structured Logging: Clean JSON logs
- Sanitization Filters: Remove invalid/control characters
- Deduplication: Prevent spam logs
- CLI Interface: Via
argparsefor clean configuration - Safety Checks: Assert tensors, NaN/Inf filters, contiguity assertions
AEON-Δ is built to model not just cognition, but emergent reasoning: how thoughts form, evolve, refine themselves, and lead to action. This is not merely a transformer wrapper — this is a full cognitive simulator, ready to grow.
Pull requests and collaborations welcome.
No bits left behind. — AEON-Δ