vex_persist/
lib.rs

1//! # VEX Persistence
2//!
3//! Storage backends for agent state, context, and audit logs.
4//!
5//! Supports:
6//! - In-memory (for testing)
7//! - SQLite (for single-node)
8//! - PostgreSQL (for production)
9
10pub mod agent_store;
11pub mod api_key_store;
12pub mod audit_store;
13pub mod backend;
14pub mod context_store;
15pub mod evolution_store;
16pub mod queue;
17pub mod sqlite;
18pub mod vector_store;
19
20pub use agent_store::AgentStore;
21pub use api_key_store::{validate_api_key, ApiKeyError, ApiKeyRecord, ApiKeyStore};
22pub use audit_store::AuditStore;
23pub use backend::{StorageBackend, StorageError, StorageExt};
24pub use context_store::ContextStore;
25pub use evolution_store::{EvolutionStore, EvolutionStoreError, SqliteEvolutionStore};
26pub use vector_store::{
27    MemoryVectorStore, SqliteVectorStore, VectorEmbedding, VectorError, VectorStoreBackend,
28};