About Durable Streams
This platform is an open protocol for persistent, addressable, real time streams, designed as the data layer for AI agent sessions and collaborative multi user, multi agent systems. A stream is identified by a URL, can be appended to and read over plain HTTP, and keeps its history so that a client that drops its connection can reconnect and catch up where it left off.
The project ships a command line tool for creating, reading, appending to and tailing streams, plus client libraries for TypeScript, Python and other languages. A JSON mode streams structured messages. Higher level pieces include StreamDB, a type safe reactive database built on a stream, StreamFS, a reactive agent filesystem, and a Yjs provider for collaborative editing. Integrations cover TanStack AI, through durable session support, and the Vercel AI SDK, through a durable transport adapter.
It is aimed at developers building resilient agent applications, such as chat sessions that survive disconnects or several users and agents working against the same session. The protocol is released under the MIT License by the team behind ElectricSQL, PGlite and TanStack DB.
For deployment, a Node.js server is provided for development and testing, a Caddy plugin is the recommended option for self hosted production, and Electric Cloud offers managed hosting. The Durable Streams site itself lists no prices; hosted usage is priced on the Electric Cloud pricing page.