Skip to main content

Crate agent_memo

Crate agent_memo 

Source
Expand description

agent-memo — the on-device / local context store, backed by aria memo.

The contract (ContextStore, ContextFragment, RecallQuery, the local embed module) lives in aria-agent-core::context; this crate is the local/embedded backend used by the native SDK (Swift / Kotlin via UniFFI) and by the local side of the both backend.

Storage is aria memo compatible: the same memories table, the same memo_type strings, the same embedding BLOB encoding and the same metadata JSON shape as the aria-memo product / CLI, so a memo.db written here can be read and edited with aria-memo list --json (and vice versa) — see the cli_interop_* tests below.

The previous sled implementation has been removed; there is no second on-device format to keep in sync. See docs/adr/0011-memory-backend-switch.md.

Structs§

MemoContextStore
aria memo backed context store (SQLite, local / on-device).

Enums§

MemoError

Functions§

now_ms