Ably SDK
A strong pick. 6th of 10 realtime and collaboration.
Ably's JavaScript SDK is the client for Ably's paid, closed-source pub/sub service. It offers message ordering, connection recovery, history, presence and React hooks, and it is a solid managed choice for live updates. On 29 October 2026, v3 split the SDK into @ably/pubsub-device and @ably/pubsub-server, so the `ably` package stays at 2.30.0. New projects face a fresh migration and a service bill, and for document-style collaboration Liveblocks or Yjs fit better.
Best for: Teams that want hosted, globally distributed pub/sub with presence, history and delivery guarantees, and that are willing to pay for a closed service.
Scores
Overall7.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
It is a capable, well-maintained client for a strong managed pub/sub service, and it is the better-engineered choice than Pusher when delivery guarantees and history matter. A new project takes on a paid closed service and a just-released v3 with large renames. For shared editing, Yjs or Liveblocks do the job better. New projects should start on @ably/pubsub-device and @ably/pubsub-server rather than `ably`.
- github.com/ably/ably-pubsub-js/releases: The v3 package split and breaking changes
- websocket.org/comparisons/managed-services: Compares feature guarantees with Pusher and PubNub
- peers: Pusher, Socket.IO and Yjs have much larger dependent counts
GPT-6.2 Sol: 7.7, likely 6.6 to 8.7
Ably is a strong new-project choice when managed messaging, presence, and recovery justify a hosted service. Socket.IO is a better fit for teams that want to run their own realtime server, and Yjs is a better starting point for collaborative documents. A developer’s cost comparison illustrates how usage fees can change the decision, and the v3 package switch leaves current adoption uncertain.
- jsdelivr.com/package/npm/@ably/pubsub-device: Lists the current device package at 3.2.0.
- jsdelivr.com/package/npm/@ably/pubsub-server: Lists the current server SDK at 3.2.0.
- socket.io/docs/v4: Documents a client and server that teams can deploy themselves.
- docs.yjs.dev: Documents shared types designed for concurrent editing.
- jasongiroux.com/2024/01/30/production-ready-prebuilt-websocket-server-centrifugo: A developer compared hosted options and chose self-hosting on cost grounds.
Needed by many5.0
How many developers need a tool for this job?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
Many web and mobile apps need live updates, chat or presence, and the SDK runs in browsers, Node, React and React Native. Its take is narrower than the whole category: it is a hosted pub/sub service, not a self-hosted socket server or a collaboration engine. Teams that want no vendor or no bill will not consider it.
- github description: Supports JavaScript, Node, TypeScript, React and React Native
- pkgpulse.com/guides/best-realtime-libraries-2026: Recommends Ably for managed realtime, especially on serverless
GPT-6.2 Sol: 4.5, likely 3.4 to 5.7
Live updates serve a clear subset of web and mobile projects, including chat, dashboards, and multiplayer apps. Ably covers browsers, React Native, and Node.js, with a narrower audience for its managed service. The Stack Overflow survey does not measure demand for managed realtime messaging directly.
- survey.stackoverflow.co/2026/technology/data/web-framework-timeseries: Measures use of supported web technologies, including Node.js and React.
- ably.com/docs/platform/products: Describes the use cases and runtimes for Ably’s hosted products.
Helps a lot7.6
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
The feature set is strong: ordering and exactly-once guarantees, connection recovery, history, presence, encryption, push, LiveObjects and React hooks, with TypeScript types. Version 3 is only weeks old. It renames almost every entry point, and AI coding agents will mostly write the old v2 API. It does not edit shared documents the way CRDT peers do.
- github.com/ably/ably-pubsub-js/releases: v3 split into device and server packages, with renames and removed APIs
- websocket.org/comparisons/managed-services: Describes ordering and recovery guarantees; the author is an Ably co-founder
- npm hasTypes: Ships TypeScript types
GPT-6.2 Sol: 8.2, likely 7.1 to 9.2
Version 3.2.0 offers typed messaging APIs, presence, history, and automatic recovery after short disconnects. Separate device and server entry points and guides for coding agents help with setup, though older snippets use incompatible v2 imports. LiveObjects adds shared state, while Yjs and Liveblocks offer more direct paths to collaborative text editing. Current independent performance evidence for v3 is sparse.
- github.com/ably/ably-pubsub-js/releases/tag/3.2.0: Current stable release includes browser connection fixes and server diagnostics.
- ably.com/docs/platform/architecture/connection-recovery: The SDK handles recovery automatically after short interruptions.
- ably.com/docs/platform/ai-llms: Provides SDK documentation and skills for coding agents.
- ably.com/docs/liveobjects: Documents shared data types that converge across clients.
- liveblocks.io/docs/products/sync/text-editing: Shows dedicated collaborative text APIs and Yjs editor support.
Holds up over time7.4
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Maintenance is very active and paid: 628 commits, 21 releases, 68 contributors and a release the day before this review. The large v3 break and the move to new package names show that upgrades can cost real work. Users also depend on the health of one company's closed service.
- github commitsLastYear: 628 commits and 21 releases in the last year
- github latestRelease: 3.2.0 released on 2026-11-20
- github.com/ably/ably-pubsub-js/releases: v3 drops Node versions below 22 and stops publishing the `ably` package
GPT-6.2 Sol: 7.8, likely 6.6 to 8.8
Ably maintains the SDK as part of its commercial service, with 628 commits and 21 releases in the past year. Several maintainers have shipped recent releases. The v3 package split, renamed APIs, and higher Node.js minimum make upgrades more work, and production users depend on one provider.
- github commitsLastYear, releasesLastYear and contributors: 628 commits, 21 releases, and 68 contributors.
- github.com/ably/ably-pubsub-js/releases: Recent releases by several maintainers include connection, auth, and type fixes.
- github.com/ably/ably-pubsub-js/releases/tag/3.0.0: Major upgrade changes package names, client creation, and runtime support.
- github.com/ably/ably-server: The separate self-hosted server is a preview with partial protocol coverage.
Used widely4.6
How many use it, and is that growing?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Downloads grew from about 0.95M to 6.26M per 4 weeks. That is a ratio of 6.6, above the median of 4.1. But only 696 repositories depend on it, against 16,775 for Pusher, so many downloads likely come from indirect or automated installs. Future use will also be split across the new scoped packages.
- npm downloadsLast4Weeks: 6.26M now, against 0.95M a year ago
- dependents: 696 repos and 122 packages, far below Pusher and Socket.IO
- pkgpulse.com/guides/best-realtime-libraries-2026: Cites about 200K weekly downloads, below Pusher
GPT-6.2 Sol: 4.1, likely 2.8 to 5.5
Installs of the older `ably` package grew 6.58× year over year, above the catalog median of 4.1× and Pusher’s 4.78×. The collector found 696 dependent repositories and 122 dependent packages, with Pusher ahead at 16,775 tracked repositories. The old package’s installs include automated builds, and the recent package split makes current adoption harder to estimate.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo and medianDownloadsRatio: 6.26 million versus 0.95 million downloads for the old package.
- dependents, github stars, bluesky posts and peers: The SDK has 368 stars and no tracked Bluesky links. Pusher leads on tracked dependents.
- github.com/ably/ably-pubsub-js/releases/tag/3.0.0: The repository moved new releases to scoped packages.
Vouched for6.1
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
Paying enterprise customers use the service, and G2 reviewers rate it highly. Independent guides name it the pick for managed realtime that needs history and global latency. Most detailed comparisons come from Ably or from competitors, and it does not appear in developer surveys or community discussion.
- g2.com/compare/ably-realtime-vs-pusher: Ably rated 4.8 from 67 reviews, against 4.3 for Pusher
- pkgpulse.com/guides/best-realtime-libraries-2026: Independent guide recommends it for enterprise and global use
- hackerNews/bluesky: No stories or posts found
GPT-6.2 Sol: 6.2, likely 4.9 to 7.4
Laravel documents Ably as a broadcasting option, and HubSpot and Fin describe production use in Ably-published case studies. An independent multiplayer study used Ably for state updates, but measured whole application backends. The strongest production evidence covers the hosted service, and the current SDK has a short track record.
- laravel.com/framework/docs/13.x/broadcasting: Laravel documents Ably setup and its JavaScript integration options.
- ably.com/case-studies/hubspot: HubSpot describes relying on Ably for live chat.
- ably.com/case-studies/fin-intercom: Fin describes moving live AI conversations to Ably.
- knowledge.lancashire.ac.uk/id/eprint/31710/1/Multiplayer_game_backends__A_Comparison_of_commodity_cloud_based_approaches.pdf: Independent game prototype comparison used Ably across all configurations.
Safe7.5
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
It has no advisories, only 6 dependencies, the permissive Apache-2.0 licence, and a company team that publishes releases. There is no Scorecard, so release practices could not be checked. The move to new package names adds a small risk of installing the wrong package, and the service itself is an outside dependency.
- advisories total: 0 advisories
- npm dependencies: 6 runtime dependencies
- scorecard: No Scorecard data
GPT-6.2 Sol: 7.5, likely 6.3 to 8.6
The SDK uses Apache-2.0, and the collector found zero advisories for the older `ably` package. The v3 workflow uses npm trusted publishing and requires maintainer approval with two-factor authentication. The device and server manifests have six and four direct dependencies respectively, and both still rely on the unmaintained Got v11. The missing Scorecard and unverified count of npm approvers widen the range.
- advisories total and scorecard: Zero recorded advisories for `ably` and no Scorecard result.
- raw.githubusercontent.com/ably/ably-pubsub-js/3.2.0/.github/workflows/release.yml: GitHub Actions stages npm releases for a maintainer to approve with two-factor authentication.
- raw.githubusercontent.com/ably/ably-pubsub-js/3.2.0/packages/device/package.json: Apache-2.0 and six direct dependencies.
- raw.githubusercontent.com/ably/ably-pubsub-js/3.2.0/packages/server/package.json: Apache-2.0 and four direct dependencies.
- github.com/sindresorhus/got: The Got maintainers have ended support for v11.
Good
- The protocol has message ordering and connection recovery, so missed messages are replayed when a client reconnects.
- It covers presence, history, push notifications, encryption, LiveObjects and React hooks, all in one SDK with TypeScript types.
- Development is very active: 628 commits and 21 releases in the last year, from a company with a paid product.
- It is small and clean to depend on: 6 dependencies, the Apache-2.0 licence and no known advisories.
Bad
- v3 renamed clients, hooks and options and moved to new package names, so v2 code and AI-generated code that uses `Ably.Realtime` no longer matches the current SDK.
- It only works with Ably's closed, usage-priced service, and monthly bills are hard to predict.
- It is a messaging layer, not a CRDT or editing engine, so shared document editing takes more work than with Yjs or Liveblocks.
- Its community footprint is small: 368 stars, 696 dependent repos and almost no Hacker News or Bluesky discussion.
The numbers
- npm downloads, 4 weeks
- 6.3M ×6.6 in a year
- GitHub stars
- 368
- Commits, 12 months
- 628
- npm version
- 2.30.0 Oct 2026
- Versions, 12 months
- 18
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- Apache-2.0
The SDK of a realtime service that is not open source.
Read on 21 November 2026 from GitHub (ably/ably-pubsub-js), npm (ably), OSV and the OpenSSF Scorecard.
Realtime and collaboration
- 8.2Yjs
- 7.9Socket.IO
- 7.8Hocuspocus
- 7.8ws
- 7.5Liveblocks
- 7.1Ably SDK
- 7.1Automerge
- 7.0Loro
- 6.6PartyServer
- 6.6Pusher SDK