Software Development
AI Persistence/Stores
Implement the MessageStore, RunStore, InterruptStore, MetadataStore contracts for @tanstack/ai-persistence against any database. defineAIPersistence, composePersistence overrides, critical invariants (full-replace saveThread, optional loadThread limit/before hint, insert-if-absent createOrResume and interrupt create), authorize thread access, runPersistenceConformance testkit. Use whenever you need server persistence — the package ships contracts, not a backend for your database.
- Publisher / source
- TanStack/ai (found on GitHub top repositories)
- Upstream record
- TanStack/ai
- Version
- Version 1
- Published
- Publication review
- Approved for publication
- Content fingerprint
0d1713b28deb2053dc634a18f1f50831a3f83f9e366a71c4ccc940b5af02befd