AI & Machine Learning

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.

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