klieo-memory-sqlite 0.40.0

SQLite-backed implementations of klieo-core's memory traits.
Documentation
# klieo-memory-sqlite

SQLite-backed implementations of klieo-core's memory traits.

Part of the [klieo](https://crates.io/crates/klieo) Rust agent framework.

## Features

- `ShortTermMemory`, `LongTermMemory`, and `EpisodicMemory` on SQLite
- Optional `fastembed` feature for local embedding + `sqlite-vec` for vector recall
- Zero external services required — ideal for local-first deployments

## Usage

```toml
[dependencies]
klieo-memory-sqlite = "0.38"
# optional: features = ["fastembed", "sqlite-vec"]
```

```rust
use klieo_memory_sqlite::MemorySqlite;
use klieo_embed_common::DummyEmbedder;
use std::sync::Arc;

// Persistent file (recommended for dev):
let memory = MemorySqlite::new("agent.db", Arc::new(DummyEmbedder)).await?;

// In-memory (tests, CI):
let memory = MemorySqlite::new(":memory:", Arc::new(DummyEmbedder)).await?;
```

Swap `DummyEmbedder` for a real embedder (enable the `fastembed` feature) to get vector recall.

The returned `MemorySqlite` implements `ShortTermMemory`, `LongTermMemory`, and `EpisodicMemory`.

## Status

`0.38.x` — pre-1.0; patch releases are backward-compatible.
See [`docs/SEMVER.md`](https://github.com/mohrimic/klieo/blob/main/docs/SEMVER.md).

## License

MIT — see [`LICENSE`](https://github.com/mohrimic/klieo/blob/main/LICENSE).