Skip to content
PricingBlog
✨ Markdown

Collaborative AI Editor

Collaborative rich text editor where an AI agent is a server-side CRDT peer. It uses Durable Streams as the transport layer for both Yjs document collaboration and TanStack AI chat sessions.

How it works

The demo is a TanStack Start app with a ProseMirror / Yjs editor and an AI chat sidebar. Human users and the AI agent connect to the same Durable Streams-backed Yjs document, awareness, and chat streams.

The AI agent, Electra, runs as a server-side Yjs peer. It has its own cursor, presence, and streaming edits, so it can work in the document even when no browser is open. Read the blog post for more details.