Memory System

The Arjux memory system provides unified storage across all platforms, enabling seamless context sharing and efficient state management using Cloudflare KV.

Unified Storage

Stackable: Add new memory and add to types

Efficient: Optimized KV access patterns for minimal latency

Scalable: Automatic cleanup and TTL management

Memory Architecture

Two-tier system optimized for Cloudflare Workers:

  • conversation: 24-hour context with minimal reads
  • long_term: 30-day storage with batch processing
  • shared: Cross-platform state management

Platform Integration

Automatic handling of:

  • Platform-specific user identifiers
  • Memory TTL
  • Memory deduplication
  • Efficient cold starts