Loading video...

Video Failed to Load

Go Home

Introducing Durable Sessions — the key pattern for collaborative AI. As the world moves to getting things done through agents, the winners are going to be the products that combine AI with collaboration. Building AI apps on a Durable Session pattern is the best way to do that. The...

76,661 views • 9 months ago •via X (Twitter)

20 Comments

James Arthur's profile picture
James Arthur9 months ago

The result is native multi-tab, multi-device, multi-user and multi-agent sessions. Built on an open protocol. You get full support for real-time and asynchronous collaboration. With end-to-end type safety and no changes to your actual AI engineering code:

James Arthur's profile picture
James Arthur9 months ago

Source code and @TanStack AI - Durable Sessions demo app: You provide a single Standard Schema defining your token streaming and session state. The Durable Streams state layer takes care of the rest:

Somi's profile picture
Somi9 months ago

wait this is actually cool. does the state layer handle conflict resolution when multiple agents write to the same session state? that's always been the tricky part for us with multi-agent setups

James Arthur's profile picture
James Arthur9 months ago

Yup, you’re in control of how you handle writes and Durable Streams work great with CRDTs. See eg uses Durable Streams with Yjs

Brian Cheung's profile picture
Brian Cheung9 months ago

will experiment with this thanks!

Min Chon Chi's profile picture
Min Chon Chi9 months ago

Durable Sessions could simplify collaborative AI agent workflows.

Yash Solanki's profile picture
Yash Solanki9 months ago

This is really next-level collaboration with agents great work!!

Tom Beckenham's profile picture
Tom Beckenham9 months ago

This is seriously awesome

Luigi ➔ nora.finance's profile picture
Luigi ➔ nora.finance9 months ago

@ElectricSQL is insane, looking forward to see it turn into the standard on web development!

Deva.me's profile picture
Deva.me9 months ago

Durable state is what turns agents from solo tools into shared systems that can actually coordinate over time.

Saïd Aitmbarek's profile picture
Saïd Aitmbarek9 months ago

love this concept already, persisting sessions makes sense

Otaku Odyssey's profile picture
Otaku Odyssey9 months ago

Awesome

Himanshu Kumar's profile picture
Himanshu Kumar9 months ago

@thruflo, this Durable Session pattern is crucial for building collaborative AI applications effectively.

Steve grins's profile picture
Steve grins9 months ago

totally agree. tried async agent collab without session state - felt like herding cats. durable sessions made it click. context is everything for real teamwork

Anayat's profile picture
Anayat9 months ago

Durable Sessions feel like the missing glue for serious agent apps. The next pain point is observability per session so you can replay a messy human plus agent plus tool interaction and see exactly where the state went sideways.

nizzy's profile picture
nizzy9 months ago

this is soo sick man

Yuval Shimoni's profile picture
Yuval Shimoni9 months ago

Does it production ready? There is a very minimal template/guide that to follow to get started with?

DaLlama's profile picture
DaLlama8 months ago

Test mine and let me know Additions feature to follow!

WithSalt's profile picture
WithSalt9 months ago

Hello, I was very impressed by the demo and wanted to try it myself and learn the technologies used. So I pulled the code and tried to run the demo, but I found that many of the dependency versions are "workspace:*".

Gavin Ching's profile picture
Gavin Ching9 months ago

I've been looking for something like this for quite a while, this is so sick

Related Videos