ai-persistence

Installation
SKILL.md

TanStack AI Persistence

Builds on the ai-core skill in @tanstack/ai, and usually ai-core/chat-experience.

TanStack AI splits delivery durability from state persistence. They share no code and solve different problems.

Layer Answers Package / API
Delivery durability Reconnect to a stream still running memoryStream / @tanstack/ai-durable-stream on the response; see resumable streams docs
State persistence What is the conversation, later? Client persistence on useChat + server withPersistence from @tanstack/ai-persistence

A replayable stream is not a saved conversation. A saved conversation is not a live stream. Production apps often use both.

Persistence is a contract, not a database

Installs
1
Repository
tanstack/ai
GitHub Stars
3.0K
First Seen
Aug 12, 2026
ai-persistence — tanstack/ai