Serverless Postgres for modern applications
Neon provides serverless PostgreSQL with branching, autoscaling, and a generous free tier — perfect for AI agent data storage.
Use Neon through Keystore with zero code changes. Keys are resolved from the vault and injected at request time.
import Keystore from "@keystore/sdk";
import { neon } from "@neondatabase/serverless";
const ks = new Keystore({ agentToken: process.env.KS_TOKEN! });
ks.interceptAll();
const sql = neon(process.env.DATABASE_URL!);
const users = await sql`SELECT * FROM users WHERE active = true`;
console.log(users);Get started in minutes. Your credentials are encrypted and never exposed to your agent code.
Get Started