eros-engine-store 0.1.3

Postgres + pgvector persistence layer for the eros-engine AI companion engine: chat history, two-layer long-term memory, affinity, and structured user insight.
Documentation

eros-engine-store

Crates.io Docs.rs License: AGPL v3

Postgres + pgvector persistence for the eros-engine AI companion engine. Uses sqlx with runtime-tokio + tls-rustls.

What's in here

  • chat — message history per session.
  • memory — two-layer long-term memory (profile + relationship) with pgvector retrieval.
  • affinity — persisted six-dimensional relationship state per session.
  • insight — structured JSONB user profile.
  • persona — persona instances per user.
  • poolPgPool construction helpers.

SQL migrations ship inside this crate under migrations/ and can be applied with sqlx migrate run --source <path>.

Use it

[dependencies]
eros-engine-store = "0.1"
eros-engine-core  = "0.1"

License

AGPL-3.0-only. See LICENSE.