A3S Docs
A3S Memory

MemoryItem

The unit of memory — fields, builder API, and memory types

MemoryItem

Every memory is a MemoryItem. Build one with the fluent API:

use a3s_memory::{MemoryItem, MemoryType};

let item = MemoryItem::new("Auth uses JWT with 24h expiry")
    .with_importance(0.9)
    .with_tag("auth")
    .with_tag("security")
    .with_type(MemoryType::Semantic)
    .with_metadata("source", "code-review");

Fields

Prop

Type

Builder methods

Prop

Type

Memory types

Prop

Type

On this page