SQLite databases on the edge,
built for AI agents.
One isolated SQLite database per tenant. Bearer-token API. Globally distributed, scales with you.
agent.ts
// npm i @persql/sdk
import { PerSQL } from "@persql/sdk";
const db = new PerSQL({ token: process.env.PERSQL_TOKEN! })
.database("acme/orders");
const { data } = await db.query<{ id: number; email: string }>(
"SELECT id, email FROM customers WHERE id = ?",
[42]
); Isolated by default
Each database runs in its own runtime. A noisy tenant can never affect another tenant's data or latency.
Built for agents
Bearer-token auth, batched queries, transactions, idempotency keys, per-token rate limits. The agent path is first-class.
Edge-native
Globally distributed. Auth and queries served from the closest region with sub-5ms cache hits.