@akihiiii/store
v0.1.0-rc.1
Published
PostgreSQL + pgvector persistence for the Zleap Agent SDK
Maintainers
Readme
@akihiiii/store
PostgreSQL + pgvector persistence for the Zleap Agent SDK.
Overview
This package provides the persistence layer:
ZleapStore— Full CRUD for agents, sessions, tools, MCP configs, memory records- Core event graph —
CoreStoreinterface for event-sourced data: sources, events, entities - Recall — Multi-path semantic recall with RRF (Reciprocal Rank Fusion) ranking
- Memory extraction —
CoreExtractor— extract structured events from conversation - Memory reconciliation —
CoreMemoryReconciler— merge and deduplicate memory records - Schema — Complete PostgreSQL DDL with pgvector support (
schemaSql,coreSchemaSql) - Seed —
seedSuperAgentDefaults()— bootstrap with default agent and workspaces
Install
npm install @akihiiii/storeNote: Most users should install
@akihiiii/sdkinstead, which re-exports the public API.
Requirements
- PostgreSQL with pgvector extension (or use
@akihiiii/sdk-pglitefor embedded mode) - Node.js ≥ 20
License
MIT
