1 min read

vex-temporal#

Time-aware memory compression for the VEX Protocol.

Features#

  • Temporal Compression - Intelligent context summarization over time
  • Memory Decay - Configurable importance-weighted memory retention
  • VectorStore Integration - Semantic similarity search for context retrieval
  • Context Windows - Efficient LLM context management

Installation#

TOML
[dependencies]
vex-temporal = "0.1"

Quick Start#

Rust
use vex_temporal::TemporalMemory;
use vex_core::ContextPacket;

#[tokio::main]
async fn main() {
    let mut memory = TemporalMemory::new();
    
    // Add contexts - older ones get compressed automatically
    memory.add_context(ContextPacket::new("Recent event")).await;
}

License#

Apache-2.0 License - see LICENSE for details.

Found something unclear or incorrect?Report issueor useEdit this page
Edit this page on GitHub