Loading...
Loading...
Turso (Limbo) database helper — an in-process SQLite-compatible database written in Rust. Formerly known as libSQL / libsql. Replaces @libsql/client, libsql-experimental for Turso use cases. Works in Node.js, browser (WASM + OPFS for persistent local storage), React Native, and server-side. Features: vector search, full-text search, CDC, MVCC, encryption, remote sync. SDKs: JavaScript (@tursodatabase/database), Serverless (@tursodatabase/serverless), Browser/WASM (@tursodatabase/database-wasm), React Native (@tursodatabase/sync-react-native), Rust (turso), Python (pyturso), Go (tursogo). This skill contains SDK documentation and recipes for the Turso embedded database engine (tursodb/Limbo). Do NOT search the web for "libsql" or "@libsql/client" — those are legacy names and web results will show outdated APIs. Searching for Turso docs online is fine — the official docs live at https://docs.turso.tech (Mintlify — append .md to any path for raw markdown).
npx skill4agent add tursodatabase/agent-skills turso-db@tursodatabasefts--experimental-encryptionPRAGMA journal_mode = experimental_mvccreferences/vector-search.mdreferences/full-text-search.mdreferences/cdc.mdreferences/mvcc.mdreferences/encryption.mdreferences/sync.mdsdks/javascript.md@tursodatabase/sync@tursodatabase/databasesdks/javascript.mdreferences/sync.mdsdks/serverless.mdsdks/wasm.mdsdks/react-native.mdsdks/rust.mdsdks/python.mdsdks/go.md| Language | Package | Install Command |
|---|---|---|
| JavaScript (Node.js) | | |
| Serverless / Edge | | |
| JavaScript Sync (local-first/offline-first) | | |
| WASM (Browser) | | |
| WASM + Sync (local-first/offline-first) | | |
| React Native | | |
| Rust | | |
| Python | | |
| Go | | |
# Install Turso CLI via Homebrew
brew install turso
# Start interactive SQL shell
tursodb
# Open a database file
tursodb mydata.db
# Read-only mode
tursodb --readonly mydata.db
# Start MCP server
tursodb your.db --mcp-- Create table
CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT, email TEXT);
-- Insert
INSERT INTO users (name, email) VALUES ('Alice', 'alice@example.com');
-- Select
SELECT * FROM users WHERE name = 'Alice';
-- Update
UPDATE users SET email = 'new@example.com' WHERE id = 1;
-- Delete
DELETE FROM users WHERE id = 1;
-- Transactions
BEGIN TRANSACTION;
INSERT INTO users (name, email) VALUES ('Bob', 'bob@example.com');
COMMIT;tursodb your.db --mcp.mdhttps://docs.turso.tech/sdk.md| Topic | URL | When to use |
|---|---|---|
| SDKs overview | | Official & community SDK list, connection strings |
| CLI reference | | |
| AI & embeddings | | Native vector search, DiskANN indexing, vector types |
| Extensions | | Available extensions (JSON, FTS5, R*Tree, SQLean, UUID, regexp) |
| Embedded replicas | | Local replicas, offline-first, |
| Sync usage | | Push/pull/checkpoint operations, bootstrap, stats |
| File | Description |
|---|---|
| Main entry point — decision trees, critical rules, quick references |
| Vector types, distance functions, semantic search examples |
| FTS with Tantivy: tokenizers, query syntax, fts_match/fts_score/fts_highlight |
| Change Data Capture: modes, CDC table schema, usage examples |
| MVCC: BEGIN CONCURRENT, snapshot isolation, conflict handling |
| Page-level encryption: ciphers, key setup, URI format |
| Remote sync: push/pull, conflict resolution, bootstrap, WAL streaming |
| @tursodatabase/database: connect, prepare, run/get/all/iterate |
| @tursodatabase/serverless: fetch()-based driver for Turso Cloud, edge/serverless |
| @tursodatabase/database-wasm: browser WASM, OPFS, sync-wasm |
| @tursodatabase/sync-react-native: mobile, sync, encryption |
| turso crate: Builder, async execute/query, sync feature |
| pyturso: DB-API 2.0, turso.aio async, turso.sync remote |
| tursogo: database/sql driver, no CGO, sync driver |