# 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.36"
# optional: features = ["fastembed", "sqlite-vec"]
```

```rust
use klieo_memory_sqlite::SqliteMemory;

let memory = SqliteMemory::open("agent.db").await?;
```

## Status

`0.36.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).
