High-level agent memory API built on Kronroe.
Designed to be a drop-in alternative to Graphiti / mem0 / MemGPT — without the server, without Neo4j, without Python.
Usage
use AgentMemory;
let memory = open.unwrap;
// Store a structured fact directly
memory.assert.unwrap;
// Query everything known about an entity
let facts = memory.facts_about.unwrap;
// Query what we knew at a point in time
let past: DateTime = "2024-03-01T00:00:00Z".parse.unwrap;
let then = memory.facts_about_at.unwrap;
Phase 1 API
This crate exposes a practical Phase 1 surface:
remember(text, episode_id, embedding)— store episodic memoryrecall(query, query_embedding, limit)— retrieve matching factsassemble_context(query, query_embedding, max_tokens)— build LLM context