AI Persistence

Durability and state persistence for TanStack AI chats with @tanstack/ai-persistence. Routes to server chat persistence (withPersistence), client persistence (localStorage/IndexedDB), the store contracts, and adapter recipes. Distinguishes delivery durability (resumable streams) from conversation state. Use when conversations must survive reloads, multi-device, approvals, or server restarts — NOT for stream reconnect alone.

TanStack 356af45 12.4 KB Updated

File contents

tanstack/ai/tree/main/packages/ai-persistence/skills/ai-persistence commit 356af45330

Frequently asked questions

npx skillmds@latest add tanstack/ai-persistence