#aingle #memory #titans #nested-learning

aingle_ai

AI integration layer for AIngle - Titans Memory, Nested Learning, HOPE Agents

1 unstable release

new 0.1.0 Dec 17, 2025

#13 in #aingle

Apache-2.0

160KB
3.5K SLoC

AIngle AI Integration Layer

This crate provides AI capabilities for AIngle nodes, implementing:

  • Titans Memory: Dual memory system (short-term + long-term) for pattern learning
  • Nested Learning: Multi-level optimization for consensus and validation
  • HOPE Agents: Self-modifying nodes with continual learning
  • Emergent Capabilities: Predictive validation, adaptive consensus

Architecture

┌─────────────────────────────────────────────────────────────┐
│                    NESTED LEARNING LAYER                    │
│              (Meta-optimization of network)                 │
└─────────────────────────────────────────────────────────────┘
                             │
                             ▼
┌─────────────────────────────────────────────────────────────┐
│                    TITANS MEMORY LAYER                      │
│               (Dual memory per node)                        │
│  ┌──────────────────┐    ┌──────────────────┐              │
│  │ SHORT-TERM       │◄──►│ LONG-TERM        │              │
│  │ (Recent txs)     │    │ (Historical)     │              │
│  └──────────────────┘    └──────────────────┘              │
└─────────────────────────────────────────────────────────────┘
                             │
                             ▼
┌─────────────────────────────────────────────────────────────┐
│                    HOPE AGENT LAYER                         │
│            (Self-modifying nodes)                           │
└─────────────────────────────────────────────────────────────┘

Features

  • default: Basic functionality with lightweight implementations
  • full-ml: Enable full ML capabilities with candle
  • iot: Optimized for IoT devices with minimal memory footprint

Example

use aingle_ai::titans::{TitansMemory, TitansConfig};

// Create Titans memory system
let config = TitansConfig::default();
let mut memory = TitansMemory::new(config);

// Process transactions
// let result = memory.process(&transaction);

Dependencies

~7–14MB
~252K SLoC