garudust-memory 0.2.1

SQLite-backed persistent memory and user profiles for Garudust AI agents
Documentation

SQLite-backed persistent memory and user profiles for Garudust AI agents.

Provides two storage layers:

  • [FileMemoryStore] — Markdown files under ~/.garudust/ for long-term facts and user profile. Readable and editable by humans.
  • [SessionDb] — SQLite database for conversation history, tool call logs, and session metadata.

Example

use garudust_memory::FileMemoryStore;
use garudust_core::memory::MemoryStore;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let store  = FileMemoryStore::new(dirs::home_dir().unwrap().join(".garudust"));
    let memory = store.read_memory().await?;
    println!("Facts: {:?}", memory.facts);
    Ok(())
}