Post

Shipped an alpha of the AI Toolkit last year to see if people needed it. They did. Today, the beta: real-time AI editing inside your docs for redlining reports, tutoring, whatever. Giving away 100 free lifetime licenses (100k tool calls/mo) for feedback: tiptap.dev/blog/release...

3 reposts5 likes

Shipping the alpha to prove demand before building the beta is the right order, most teams do it backwards. Real-time AI editing inside a doc is a genuinely hard latency problem, curious how you keep the user's cursor sane mid-stream.

So, to show the cursor change in real time, we maintain a websocket connection from the AI Toolkit server to the collaborative document

Hi Edu. The AI Toolkit server connects to the collaborative document using the same type of websocket connection as that the Tiptap editor uses in the browser. We want AI edits to feel fast and interactive.