The sync engine
for the agentic web

Add collaborative editing for humans and agents, without building infrastructure.

Install Liveblocks: liveblocks.io/SKILL.md

Why Liveblocks Sync -
Multiplayer is an infrastructure problem

Without a sync engine, your app will run into issues.

Conflicting edits

Users lose data when editing at the same time.

Network latency

Every change waits for remote confirmation.

Persistence

State is lost when the session ends or the page reloads.

Reconnection

Poor networks risk losing user data when reconnecting.

Features -
Liveblocks Sync is the solution

It provides multiplayer primitives for humans and agents

[01]

Realtime collaboration

Concurrent edits made by humans and agents merge automatically.

[02]

Conflict-free data types

Store multiplayer app state in JSON-like data structures.

Read the docs
[03]

Conflict resolution

Multiple users can edit the same state simultaneously.

[04]

Document persistence

Changes save automatically in our permanent datastore.

[05]

Live presence

See every connected human and agent, in realtime.

[06]

Server-side document editing

Edit documents programmatically with AI agents.

[07]

Feeds

Realtime primitive for multiplayer AI: streams, status, and memory.

[08]

Optimistic updates

Local edits apply immediately, syncing in the background.

[09]

Version history

Snapshot, review, and restore any version of a document.

[10]

Multiplayer undo

Undo/redo that only reverts the current user’s changes

[11]

Offline support

Keep working offline. Changes sync automatically when reconnected.

[12]

Auth and permissions

Room-level access control that works with your existing auth.

Liveblocks Sync supports any product experience

Build any app where people, agents, or devices share live state.

function Canvas() {  const shapes = useStorage((root) => root.shapes);
const addShape = useMutation(({ storage }, shape) => { storage.get("shapes").set(shape.id, new LiveObject(shape)); }, []);
// ...}

Agents edit alongside users

Agents write from your backend and show up in the document like anyone else.

Edit via WebSocket or HTTP

Agents connect live via WebSocket, or use HTTP for simple updates.

Users see changes live

Changes appear live for every connected user, with AI presence.

Work without conflicts

Human and agent edits merge automatically, so no work gets lost.

Stream workflow state

Store an agent’s state and stream in live updates.

Choosing between Liveblocks Sync and Yjs

Both merge concurrent edits without conflicts. These are the differences that show up once you ship.

0 B
0 B
Document
[01]

Documents that stay lean

No tombstone growth, so documents stay lean over time.

[02]

Access from any language

Read and write over HTTP without a JS runtime.

[03]

Auth built in

No need to build your own auth and permissions system.

[04]

Persistence without ops

No y-websocket server or database for you to host.

[05]

Version history

Easily save snapshots of the document and restore them later.

[06]

React APIs

An extensive collection of hooks and UI components.

Self-hosting -
Run Liveblocks Sync in your cloud

Keep collaboration data within your infrastructure while Liveblocks provides ongoing releases, security updates, deployment guidance, and enterprise support.

Coming soon for Enterprise customers

Turn your product into the space where people and AI collaborate