S
Store
Local-first storage SDK

Your data.
Everywhere.
In sync.

Store is a local-first storage SDK with pluggable backends, automatic sync, and P2P encryption. One API for records, events, blobs, and key-value data.

app.ts
import { createStore } from "@cuitty/store";

const store = createStore("notes", {  adapter: "sqlite",
  sync: { remote: "postgres",
          strategy: "last-write-wins" },
  encrypt: true,
});

await store.records.put("note-1", {  title: "Hello from Store",
  body: "Syncs everywhere.",
});
$npm install @cuitty/store

Everything you need for local-first storage

One SDK. Pluggable backends. Automatic sync. No vendor lock-in.

Local-First

Works offline. Syncs when connected. Your data lives on your device first.

Learn more

Pluggable Adapters

SQLite, Postgres, S3, P2P — swap backends without changing your code.

Learn more

Automatic Sync

Conflict-free replication with configurable strategies: LWW, merge, or manual.

Learn more

P2P Encryption

End-to-end encrypted with Ed25519 signing and envelope encryption.

Learn more

Multi-Class Storage

Records, events, blobs, and key-value — one unified API for all data shapes.

Learn more

Zero Lock-in

Portable archives. Export everything. Import anywhere. Your data is always yours.

Learn more

One SDK. Local, self-hosted, or cloud-backed.

Application code stays on @cuitty/store. Profiles decide whether data lands in local stores, your own infrastructure, or managed cloud services.

App code
await createStore({
  module: "capswan",
  profile: "production",
});
Profile routing
@cuitty/store SDK
SQL document KV event log queue stream blob media search vector warehouse archive secrets
Local developer

SQLite/libSQL, Append log, Content-addressed files, SQLite vector index, Local graph store +1 more

Catalog-backed local profile
Self-hosted

Postgres family, Postgres event partitions, libSQL remote endpoint, S3-compatible object storage, Mounted volume substrate +6 more

Catalog-backed profile
Cloud proxy

AWS, GCP, Azure, Cuitty Cloud, Solana behind profiles

Proxy coverage cataloged
Target Available Planned Coverage
Local In-memory test store, SQLite/libSQL, Append log, Content-addressed files, SQLite vector index +2 more Cataloged, not implemented
SQL, document, KV, wide-column, time-series +15 more
GA
Self-hosted Postgres family, Postgres event partitions, libSQL remote endpoint, S3-compatible object storage, Mounted volume substrate +6 more Cataloged, not implemented
SQL, document, KV, time-series, event log +15 more
alpha
AWS RDS and Aurora, DynamoDB and Keyspaces, Timestream and stream services, S3 and storage substrates, OpenSearch and Neptune +1 more Cataloged, not implemented
SQL, document, time-series, event log, queue +14 more
alpha
GCP Cloud SQL, AlloyDB, and Spanner, Firestore and Bigtable, Pub/Sub and Memorystore, Cloud Storage and Filestore, Vertex Search and BigQuery +1 more Cataloged, not implemented
SQL, document, time-series, event log, queue +14 more
alpha
Azure PostgreSQL, MySQL, and SQL Database, Cosmos DB APIs and Table, Service Bus, Event Hubs, and Valkey-compatible cache, Blob, Data Lake, Files, and Disks, AI Search, Data Explorer, and Synapse +1 more Cataloged, not implemented
SQL, document, time-series, event log, queue +14 more
alpha
Cuitty Cloud Managed Store bridge, Peer replication Cataloged, not implemented
SQL, document, KV, wide-column, time-series +15 more
alpha
Solana Local Solana validator, Solana RPC program, Shadow Drive local emulator, Shadow Drive object storage Cataloged, not implemented
document, KV, event log, stream, archive +4 more
alpha

Start building with Store

Get up and running in under 5 minutes. One install, one API, every backend.