Expand description
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 kronroe_agent_memory::AgentMemory;
let memory = AgentMemory::open("./my-agent.kronroe").unwrap();
// Store a structured fact directly
memory.assert("alice", "works_at", "Acme").unwrap();
// Query everything known about an entity
let facts = memory.facts_about("alice").unwrap();
// Query what we knew at a point in time
let past: kronroe::KronroeTimestamp = "2024-03-01T00:00:00Z".parse().unwrap();
let then = memory.facts_about_at("alice", "works_at", past).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
Structs§
- Agent
Memory - High-level agent memory store built on a Kronroe temporal graph.
- Assert
Params - Confidence
Shift - Confidence movement between two related facts.
- Fact
Correction - A paired correction event linking the invalidated fact and its replacement.
- Memory
Health Report - Operational memory-quality snapshot for one entity.
- Recall
ForTask Report - Decision-ready recall result shaped around a concrete user task.
- Recall
Options - Options for recall queries, controlling retrieval behaviour.
- What
Changed Report - Summary of changes for one entity since a timestamp.
Enums§
- Confidence
Filter Mode - Strategy for deciding which confidence signal drives filtering.
- Error
- Recall
Score - Per-channel signal breakdown for a recalled fact.