agentic family

Agentic Store

SQLite-first persistence for AI apps.
Key-value out of the box. Raw SQL when you need it.
Browser + Node.js. Zero config.
GitHub → npm
Quick Start
Five lines to persist
Key-value API
const { createStore } = require('agentic-store') const store = await createStore('my-app') await store.set('user', { name: 'kenefe' }) await store.get('user') // { name: 'kenefe' } await store.keys() // ['user']
Raw SQL (SQLite backends)
store.exec('CREATE TABLE items (id TEXT PRIMARY KEY, data TEXT)') store.run('INSERT INTO items VALUES (?, ?)', ['i1', '{"v":1}']) store.all('SELECT * FROM items') // [{id:'i1', data:'{"v":1}'}]
Features
What you get
🗄
SQLite Everywhere
Browser via sql.js WASM, Node.js via better-sqlite3. Same API, same data model, different runtimes.
🔑
Key-Value Simple
get / set / delete / keys / has / clear. Any JSON-serializable value. No schema needed.
Raw SQL Escape Hatch
exec / run / all / sql. When key-value isn't enough, drop down to full SQL power.
💾
Auto Persistence
Browser persists to IndexedDB. Node.js persists to file. Debounced writes. beforeunload flush.
🔌
Pluggable Backends
8 built-in backends. Auto-detects the best one. Or bring your own custom backend.
📦
Zero Config
One function call. Name your store, start reading and writing. No migrations, no setup.
Backends
Right tool, auto-selected
Backend
When
Storage
SQL
sqlite-native
Node.js + better-sqlite3
File (.db)
sqlite-wasm
Browser + sql.js
IndexedDB
sqlite-memory
Testing
RAM
idb
Browser (no sql.js)
IndexedDB
fs
Node.js (zero deps)
JSON files
ls
No IndexedDB
localStorage
mem
Last resort
RAM
custom
Bring your own
You decide
Optional
Philosophy
Why SQLite
One database for everything
SQLite is the file format
Key-value is enough for most AI app state. But when you need relations, indexes, or queries — SQL is there. No second database, no migration to a "real" DB later.
Graceful degradation
Always works
Can't load WASM? Falls back to IndexedDB. No IndexedDB? localStorage. No storage at all? In-memory Map. Your app never crashes because of persistence.
Ecosystem
Part of the agentic family
🧠
agentic-core
LLM + vision. The brain.
👁
agentic-sense
Perception engine. The eyes.
agentic-act
Intent → action. The will.
🎨
agentic-render
Dynamic UI. The expression.
🗣️
agentic-voice
TTS + STT. The voice.
💭
agentic-memory
Context + retrieval. The memory.
📦
agentic-store
SQLite persistence. Long-term storage.
🦀
agentic-claw
Runtime + skills. The body.