"""
RMT (Recurrent Memory Transformer) implementation for MemNexus.

Enables processing sequences up to 2 million tokens by passing memory tokens
between segments, achieving linear complexity O(n) vs quadratic O(n²).

Reference: "Beyond Attention: Breaking the Limits of Transformer Context Length
with Recurrent Memory" (AAAI 2024)
"""

from memnexus.memory.rmt.segment_processor import SegmentProcessor
from memnexus.memory.rmt.memory_manager import RecurrentMemoryManager
from memnexus.memory.rmt.curriculum import CurriculumLearning

__all__ = [
    "SegmentProcessor",
    "RecurrentMemoryManager",
    "CurriculumLearning",
]
