AI Persistence/server

Server chat state with withPersistence from @tanstack/ai-persistence. Authoritative transcript, run lifecycle, durable interrupts/approvals, chatParamsFromRequest, reconstructChat, snapshotStreaming. Use when the server owns history, multi-device, or durable tool approvals. NOT client localStorage (see ai-core/client-persistence in @tanstack/ai) and NOT stream reconnect alone.

TanStack Updated 28.6k repo stars
TanStack AI

File contents

tanstack/ai commit 82cbcbda8e

Frequently asked questions

npx get-skill add tanstack/ai-persistence-server