car-memgine 0.14.0

Memgine — graph-based memory engine for Common Agent Runtime
Documentation

car-memgine

Graph-based memory engine for the Common Agent Runtime.

What it does

Memory is a graph. Nodes represent facts, skills, conversations, identity, and environment. Edges encode relationships: Supersedes, DependsOn, RelatedTo, Triggers, TemporalNext. Skills are learned procedures stored as graph nodes with trigger edges, matched via spreading activation, and tracked for success/failure. Supports distillation from event log traces.

Usage

use car_memgine::{MemgineEngine, MemgineConfig};

let engine = MemgineEngine::new(MemgineConfig::default(), inference_engine);
engine.ingest_fact("user prefers dark mode", "identity").await?;
let hits = engine.retrieve("What theme does the user like?", 5).await?;

Crate features

  • metal -- Apple Silicon GPU acceleration (via car-inference)
  • cuda -- NVIDIA GPU acceleration (via car-inference)
  • ast -- AST-aware skill representation via car-ast

Part of CAR -- see the main repo for full documentation.