AI & Machine Learning

AI Persistence/Build Custom Adapter

Use when an app needs TanStack AI chat persistence on a database with no dedicated recipe — raw Postgres (pg/postgres.js), Kysely, node:sqlite, MongoDB, Supabase, Redis. Writes a chat-persistence.ts against the app's existing client, covering the four stores, the idempotency invariants, and the conformance gate. Route to the Drizzle, Prisma, or Cloudflare skills instead when one of those matches.

Publisher / source
TanStack/ai (found on GitHub top repositories)
Upstream record
TanStack/ai
Version
Version 1
Published
Publication review
Approved for publication
Content fingerprint
9156ca712ab077c7c3219a4236ac664c129aebcbf2f3deb39c6543cafb113d82