Liveblocks Realtime Collaboration Infrastructure
Building blocks and infrastructure to enable people and AI to work together inside your app.
- Source repo
- liveblocks/liveblocks
- Stars
- ★ 4.8k
- Last updated
- today v3.25.2
- FARS reviewed
- Nov 08, 2026 +2 new
- License
- NOASSERTION
- Primary language
- TypeScript
- FA score
- 44/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Product teams want to add contextual comments to a project management tool so users can discuss tasks directly in the interface.
- Not a fit if
- Teams that need fully offline or on-premise data control
- Commercial projects that cannot accept mixed AGPL-3.0 licensing
- Teams wanting a fully self-built stack with no vendor cloud
- Website
- liveblocks.io ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v3.25.2 (2026-11-25)+2.7 ★/day over 7 days
- Source review
- 44/100 · Major gaps 1 safety controls not found
What does this agent do, and when should you use it?
Liveblocks is a realtime collaboration infrastructure that provides ready-made features such as Comments, Multiplayer, AI Agents, and Notifications. It includes numerous SDKs and packages like @liveblocks/client, @liveblocks/react, @liveblocks/react-ui, and more, supporting React, Tiptap, Blocknote, Lexical, Redux, Zustand, and other frameworks. It leverages CRDT and Yjs for collaborative document editing, and offers a REST API and Python SDK for server-side integration. The platform can be deployed as a self-hosted solution or via the cloud service, accommodating simple commenting to complex AI collaboration scenarios. The license is a mix of Apache-2.0 and AGPL-3.0.
Liveblocks offers a set of SDKs and APIs to integrate realtime collaboration features into applications. It manages realtime connections through WebSockets and uses CRDT algorithms to synchronize document state supporting multi-user editing. Its out-of-the-box features include a commenting system, multiplayer presence (like cursors and online status), AI agents (to bring AI as collaborators into your product), and notifications. Developers can use @liveblocks/client as the base client, @liveblocks/react for React bindings, @liveblocks/react-ui for ready-made components, and @liveblocks/yjs for integration with Yjs for document collaboration. On the server side, @liveblocks/node, Python SDK, or REST API handle authentication and management.
- Product teams want to add contextual comments to a project management tool so users can discuss tasks directly in the interface.
- Developers need to add realtime collaborative whiteboard or document editing to a React app, handling concurrent edits and state synchronization.
- AI startups want to integrate AI agents as collaborators that can respond to user actions in realtime, such as assisting with writing or data analysis.
- Enterprises need to add notification systems to internal tools to inform users about new comments, mentions, or status changes.
- Open-source projects or indie developers want to leverage existing CRDT and Yjs integration to quickly build collaborative features without implementing sync from scratch.
- Teams want to scale an application to support multiple simultaneous users in a game or virtual environment, requiring low-latency realtime sync infrastructure.
How do you install or deploy this agent?
The source code is available on GitHub, but you need Node.js and npm. To start, you must sign up for a Liveblocks account and obtain an API key. Specific installation steps are not documented in the source, but you can infer: install the necessary packages via npm, e.g., npm install @liveblocks/client @liveblocks/react. Then follow the official Liveblocks docs (liveblocks.io/docs) to initialize the client and set up authentication.
How do you use this agent?
First, register on the Liveblocks website and create a project to get a public key. After installing the necessary packages, initialize the Liveblocks client in your app's entry point: import { createClient } from "@liveblocks/client"; const client = createClient({ publicApiKey: "pk_..." }); Then, in React components, use RoomProvider from @liveblocks/react to wrap collaborative sections, and use hooks like useOthers and useMyPresence to access realtime state and events. For document collaboration, you can combine Yjs with @liveblocks/yjs. Use the REST API or Python SDK for server-side user authentication and permission management. Specific examples can be found on the official examples page (liveblocks.io/examples).
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Comprehensive end-to-end solution with SDKs for many frameworks, reducing integration effort.
- Built-in CRDT and Yjs support ensure data consistency and synchronization performance in multi-user editing.
- Ready-made features like comments, notifications, and AI agents can be used individually or together, offering flexibility.
- Supports self-hosting, allowing you to deploy on your own infrastructure for data privacy.
- Requires registering for Liveblocks service and relying on its API; while not enforced, some features depend on the service.
- Mixed licensing (Apache-2.0 and AGPL-3.0) may impose constraints on commercial applications; careful evaluation needed.
- Documentation is not fully localized; Chinese resources are limited, so you may need to refer to English docs.
- AI agent support may be immature in the current version and may require additional configuration.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Liveblocks Realtime Collaboration Infrastructure This agent | 44 · Major gaps | Library / SDKFreemium | ★ 4.8k | today | TypeScript | — |
| Huginn | 54 · Major gaps | Self-hosted serviceFree | ★ 51k | 3d ago | Ruby | — |
| Trigger.dev | 78 · Good | Library / SDKFreemium | ★ 17k | today | TypeScript | — |
| cctop | 70 · Some gaps | CLIFree | ★ 150 | 9d ago | TypeScript | Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The repository provides collaboration SDKs and infrastructure. The example skill describes an authentication route using a secret key and distinguishes public, secret, and local development keys; the README points to documentation and source, offering some visibility into permissions and data flow. Deductions: the sample does not show runtime permission enforcement, sensitive-data handling, confirmation for external effects, or recovery mechanisms. The workflow includes an unpinned actions/checkout@v4, and dependency-security evidence is limited. Publisher identity is unverified and maintenance ownership is not fully clear.
AGENTS.md and CLAUDE.md are substantially consistent about project structure, test commands, environment requirements, and the development server. Source also distinguishes public from internal APIs. Deductions: examples, scripts, and tests depend on published packages, external services, and a specific toolchain, whose availability is not established by this sample; failure-message handling is difficult to assess from the supplied main source.
The README targets developers building multiplayer collaboration and lists integrations for several frameworks and editors. The skill narrows its trigger to creating or restructuring examples and supplies concrete patterns. Deductions: product capability boundaries and unsuitable scenarios are not well documented; environment guidance covers some tooling and local-server constraints but is incomplete.
The repository is organized around products, SDKs, docs, guides, tutorials, and examples; package naming is stable and public/private packages are distinguished. The README explains licensing, and the skills include example structure and workflow guidance. Deductions: installation guidance mainly links to external docs, FAQ and limitations are incomplete, and the sample links to a changelog without showing its contents. Maintenance responsibility is only partly visible; the NOASSERTION license metadata also requires interpretation alongside the repository's dual-license text.
The SDKs and examples cover realtime collaboration, comments, notifications, and AI. The example skill provides reusable scaffolding, authentication, and UI patterns with clear implementation value. Deductions: use requires service credentials, backend dependencies, and a toolchain, so cost-benefit depends on the application; the sample cannot establish the actual result quality of all integrations.
The README's product and package lists, AGENTS.md dependency hierarchy, source exports, and LICENSE scope can be compared, and the skill states concrete example steps. Deductions: corroboration is limited; the supplied files do not cover every product implementation, the full dependency lock state, or changelog contents. This review treats explicit file statements as facts and makes only limited inferences beyond them.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- This is a developer SDK and infrastructure repository; the sample does not include enough runtime code to review concrete permission enforcement, data retention, or external effects.
- LICENSE states that most code is Apache-2.0, while packages/liveblocks-server and tools/liveblocks-cli are AGPL-3.0-or-later; check the applicable package license before use.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v3.25.2 3.25.2
Release notes excerpt
@liveblocks/client - Improve reconnection behavior on unstable networks. Previously, a connection that dropped shortly after opening would be retried almost immediately, over and over. Now, the reconnection delay only resets once a connection has stayed open for a while, so repeatedly dropping connections back off as expected. - Add a random delay (up to 20% longer) to reconnection attempts, so that many clients losing their connection at the same time don't all reconnect at the exact same moment. @liveblocks/node …View on GitHub ↗ -
v3.25.1 3.25.1
Release notes excerpt
All packages - Improve custom inbox notifications' types, activities can now be accessed on any inbox notification without having to narrow it first.View on GitHub ↗ -
v3.25.0 3.25.0
Release notes excerpt
@liveblocks/client, @liveblocks/react, and @liveblocks/node - Potentially breaking: Plain JSON arrays and tuples in the return types of .toJSON(), useStorage() selectors, and getStorageDocument(roomId, "json") are now readonly, which is consistent with all other values these APIs return. ```ts type Storage = { items: LiveList<string>; tags: string[]; }; const json = root.toJSON(); json.items; // ^^^^^ readonly string[] (✅ was already correct) json.tags; // ^^^^ before: string[] (❌ not consistent) …View on GitHub ↗
FAQ
What is the pricing model of Liveblocks?
How do I manage user permissions?
If I self-host, what additional components do I need?
How are data synchronization conflicts handled?
Can I integrate with an existing React app?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.