Streamsy
A Durable Streams server implementation and toolkit. Run anywhere, with pluggable backends and TypeScript interfaces for direct protocol access.
Streamsy is a toolkit for working with Durable Streams.
Durable Streams are the data primitive for the agent loop.
Persistent, addressable, real‑time streams for building resilient agent sessions and collaborative multi-user, multi-agent systems.
Streamsy provides a server implementation of the Durable Streams protocol with:
- support for any runtime/framework that supports Web Standards
fetch - pluggable storage backends with in-memory, SQLite, and Durable Object implementations
- TypeScript interfaces for direct protocol access, including support for JSON mode with typed codecs and Standard Schema support
Start here
- Basic usage — compose a Durable Streams HTTP server, drive the protocol in-process, and choose a storage backend (memory / SQLite / Durable Object).
- JSON mode — typed JSON streams with
@streamsy/json(codecs and Standard Schema). - Durable State — typed change/control messages over collections with
@streamsy/state.