Millions of Databases.
One Architecture.

Built on SQLite. Fast and lightweight to multiply and run anywhere. Spin a database for every user, agent, and tenant.

setup.ts
Turso
// Spin up a database for every user
import { createClient } from '@tursodatabase/api';

const turso = createClient({
  org: process.env.TURSO_ORG,
  token: process.env.TURSO_PLATFORM_TOKEN,
});

const db = await turso.databases.create({
  name: `user-${userId}`,
  group: 'production',
});

// That's it. Encrypted. Replicated. Yours.
Trusted by teams building the next generation of software
Kin
Mastra
Val Town
Resonate
Drizzle
CTO
Poke
Spice AI

The database wasn't built for a world where every agent wants its own.

For decades, the default has been one big database per application. One large store, shared by everything, scaled within a single instance. That model is running out of room. AI agents need isolated workspaces. Consumer apps need per-user privacy. Multi-tenant platforms need hard customer boundaries. Global businesses need data sovereignty. The architecture teams want to build now require thousands, sometimes millions, of databases. The infrastructure they have makes that prohibitively expensive or operationally impossible.

Turso is an architecture designed from the ground up for many databases, not one large one.

Centralized Model

One shared database

T1
T2
T3
T4
T5
T6
T7
T8
T9

A fleet of isolated databases

Fleet Control Plane

Database per tenant

T2Own DB
T3Own DB
T4Own DB
T7Own DB
T8Own DB
T9Own DB
T12Own DB
T13Own DB
T14Own DB

Five properties of the architecture, not features layered on top.

01

A database per agent, user, or tenant

Spin up thousands or millions of isolated databases programmatically, each with its own boundary. Not a workaround. The architecture.

Learn about per-entity isolation
02

Lightweight as a file, scalable as a cloud

Built on SQLite. Engineered for cloud scale. A lightweight and fast database that can multiply and run anywhere your users are.

How Turso Cloud works
03

Economics that scale with you

When a database is as lightweight as a file, creating one takes almost nothing. Sustainable economics from your first database to your ten-millionth. Not a pricing strategy. A design principle.

See pricing
04

Private by design

Per-database encryption with customer-held keys. Bring-your-own-cloud deployment. Data residency you control. Privacy and sovereignty as architectural defaults, not enterprise upsells.

Security & sovereignty
05

From local to global, one platform

Start with SQLite in your machine. Scale to production across the Cloud. One runtime, one interface, one coherent journey from your laptop to global infrastructure.

Try Turso Cloud for free

From zero to a database per entity in under a minute.

SQLite-compatible. SDKs in TypeScript, Python, Rust, and Go. Self-serve from signup to production.

Turso
import { createClient } from '@tursodatabase/api';

const turso = createClient({
  org: process.env.TURSO_ORG,
  token: process.env.TURSO_PLATFORM_TOKEN,
});

// Every agent gets its own isolated workspace
const agentDb = await turso.databases.create(
  `agent-${agentId}`,
  { group: 'production', schema: 'agent-template' },
);

// Persistent memory. Hard isolation. Near-zero cost.

Replicate to the device. Sync to the cloud. One database, everywhere it needs to be.

Embedded replication lets the same Turso database run on a user's device and stay in sync with the cloud. Read and write locally with zero latency. Sync changes when the device comes online. Build local-first apps, AI agents with persistent memory, and offline-capable products without standing up a second data layer.

How embedded replication works
“We chose Turso because embedded replication and sync simply aren't available anywhere else.”

Simon Henriksen

CTO, Kin

Simon Henriksen

The pattern is the same. The use cases are everywhere.

Engine Labs

Tens of thousands of AI agent teams, each coordinating through its own database, on a $500 per month plan.

Engine Labs' CTO.new gives every team of AI agents a Turso database as its coordination layer, keeping agent state isolated from core infrastructure and always available.

Read the Engine Labs story
Adaptive

Over 2 million databases created, one for every prompt and every version of every user-built app.

Adaptive gives each iteration of an application its own database, so users can experiment freely while every previous version keeps its state.

Read the Adaptive story
Poke.com

A full website from a single text message, each one shipping with its own live database.

Poke's assistant provisions a Turso database for every website it builds, so one site's bad queries never touch another user, and idle sites cost next to nothing.

Read the Poke story

Built for modern enterprise architecture.

Per-database encryption with customer-held keys. Bring-your-own-cloud deployment on AWS. Data residency that maps to GDPR, HIPAA, and sovereignty requirements. SOC 2 Type II. Predictable economics from your first thousand customers to your ten-millionth.

BYOC deployment
Per-database encryption
SOC 2 Type II, GDPR, HIPAA-ready

Start where you already are. Scale to where you're going.

Open-source Turso

SQLite-compatible. Runs on your laptop, your servers, your devices. Forever free. The same engine, the same interface, the same code you'll ship to production.

Install locally

Turso Cloud

Provisioning, replication, observability, BYOC, and per-database encryption as a managed service. Self-serve from signup to production in minutes.

Try Cloud free
A local database replicating to a fleet of cloud databases

Built in the open.

Turso is powered by an open-source community pushing SQLite into the future. Contribute to libSQL, connect with developers, and help shape the next generation of database architecture.

Build with the database you'll never outgrow.

Free to start. Generous by design. The same architecture from your first prototype to your tenth million customer.

No credit card required. Free tier includes 100 databases, 500 million row reads, and 10 million row writes per month.