Automerge
A strong pick. 7th of 10 realtime and collaboration.
Automerge is a CRDT library with a Rust and WASM core. It keeps a JSON-like document in sync across users and devices and stores its full history. Version 3 fixed the old memory problems, and it is a solid choice for local-first apps that sync structured state. For collaborative text editors, Yjs has more editor bindings and is faster.
Best for: Local-first apps that sync structured JSON state and need full history, branching or merging, and that accept a WASM bundle.
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
Automerge is a well-funded, actively developed CRDT and one of the few serious choices for local-first apps that sync JSON state with full history. For most collaborative editing, Yjs is the stronger default: it is faster, has a much smaller bundle and has a far larger ecosystem. Loro is also catching up on speed. It is a strong pick for its named niche, not for the category as a whole.
- peers Yjs: Yjs leads on downloads and dependents
- pkgpulse.com/guides/yjs-vs-automerge-vs-loro-crdt-libraries-2026: Yjs is the default, Automerge the pick for history and branching
- news.ycombinator.com/item?id=44777086: Users report large speed and memory gains in version 3
- automerge.org: Funded maintainer team
GPT-6.2 Sol: 7.6, likely 6.4 to 8.6
Pick Automerge for offline-first collaboration when structured data, branching, and full history are central to the app. Yjs is easier to recommend for a typical collaborative editor because it has more established integrations and performed better on the tested text workload. Automerge's steady releases make it a credible long-term choice, while long-history load times and limited large-scale production evidence leave room for a lower score.
- automerge.org/docs/hello: Local replicas, automatic merging, and inspectable history support the core use case.
- tiptap.dev/docs/editor/extensions/functionality/collaboration: Tiptap's collaboration extension integrates Yjs directly.
- tangled.org/nibling.dev/core/blob/main/docs/VISION.md: The current-version comparison shows a trade-off between snapshot size and load time.
- npm.versionsLastYear, peers: Regular JavaScript releases, with a much smaller tracked footprint than Yjs.
Needed by many3.9
How many developers need a tool for this job?
Claude Opus 5.5: 3.5, likely 2.5 to 5.0
Many web apps need live updates, but far fewer need a CRDT for concurrent offline editing. Automerge serves that niche: local-first and multi-user editing of shared document state. It runs in browsers, Node and other runtimes, which keeps it from being narrower.
- news.ycombinator.com/item?id=44777086: Users say many single-user apps do not need CRDTs
- github description: JSON-like CRDT for concurrent edits
GPT-6.2 Sol: 4.2, likely 3.1 to 5.4
Offline editing and automatic merging solve a distinct problem for document editors, creative tools, and apps that sync across devices. The core works in modern browsers, Node.js, and Electron, while simpler realtime tasks such as broadcasting status updates only need a transport. The share of JavaScript developers who need offline conflict resolution is hard to measure directly.
- automerge.org/docs/hello: Offline replicas, history, and supported JavaScript runtimes.
- automerge.org/docs/reference/the-js-packages: The document core relies on separate networking and storage integrations.
- peers: The category also includes general-purpose transports such as Socket.IO and ws.
Helps a lot7.4
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 model is mature and well designed. It offers JSON documents, rich text, full history and branches, ships TypeScript types, and has automerge-repo for sync and storage. Version 3 fixed its biggest flaw, memory use. Independent comparisons still find it slower and larger than Yjs and Loro, with weaker editor bindings, so it is not the best tool for text editors.
- news.ycombinator.com/item?id=44777086: Version 3 cut memory from 700MB to 1.3MB; no tree move yet
- pkgpulse.com/guides/yjs-vs-automerge-vs-loro-crdt-libraries-2026: Slowest of the three in the benchmark, largest bundle, ProseMirror binding in alpha
- velt.dev/blog/best-crdt-libraries-real-time-data-sync: Comparison that places it for JSON-tree sync
- npm hasTypes: Ships TypeScript types
GPT-6.2 Sol: 7.8, likely 6.6 to 8.7
Stable 3.5.0 combines typed JSON-like documents, collaborative text, and full history with branching. The tutorials and agent-readable docs make the current API easier to learn, though whole-object replacement can undermine fine-grained merging. In nibling's 260,000-edit test, Automerge produced a smaller full-history snapshot than Yjs or Loro but took much longer to replay and load it. A developer who tested it in an app also flagged history retention, and one long text trace leaves performance on typical structured documents less certain.
- github.com/automerge/automerge/releases/tag/js%2Fautomerge-3.5.0: Stable 3.5.0 adds optional author metadata to recorded changes.
- automerge.org/docs/hello: Typed documents, immutable snapshots, and branching.
- automerge.org/automerge-repo/classes/_automerge_automerge-repo.DocHandle.html: The change API documents how object replacement affects merges.
- automerge.org/docs/guides/using-automerge-with-llms: The project publishes agent-readable documentation.
- tangled.org/nibling.dev/core/blob/main/docs/VISION.md: Independent 3.5.0 benchmark measured a 129 KB snapshot and an 862 ms load.
- github.com/automerge/automerge/issues/1231: An app developer reports slow loads and difficulty discarding old history.
Holds up over time7.8
Will it still be a good choice in two years?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Development is steady: 297 commits, 19 releases and 12 npm versions in the last year, from 62 contributors. Ink & Switch pays full-time maintainers, with more money from sponsors, paying users and grants. Major versions have kept file compatibility. The 136 open pull requests show that review lags behind contributions.
- github commitsLastYear / releasesLastYear: 297 commits and 19 releases in the last year
- automerge.org: Ink & Switch staff, Fly.io and Prisma sponsorship, GoodNotes and Bowtie contracts, NLNet and ARIA grants
- github openPullRequests: 136 open pull requests
GPT-6.2 Sol: 8.0, likely 6.8 to 8.9
Ink & Switch reports two full-time maintainers, and the repository recorded 297 commits alongside 12 npm versions in the past year. Version 3 kept the version 2 file format, though apps using the older text API needed changes. Recent JavaScript releases visibly cluster around one maintainer, the review backlog is sizable, and the next major version of the companion repo is still in alpha.
- github.commitsLastYear, github.openPullRequests, npm.versionsLastYear: 297 commits, 136 open pull requests, and 12 npm versions.
- github.com/automerge/automerge: Two named full-time maintainers and additional Ink & Switch contributors.
- github.com/automerge/automerge/releases: The same maintainer published the recent JavaScript releases.
- automerge.org/blog/automerge-3: The 3.0 upgrade kept the file format and changed the text API.
- automerge.org/blog/2026-november: Active core development and an alpha of the rebuilt Automerge Repo.
Used widely4.1
How many use it, and is that growing?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
About 428k downloads in 4 weeks, up 6.6 times from a year before. That beats the 4.1 median, but Yjs (8.6 times) and Loro (26 times) grew faster. Yjs has about 150 times its downloads, and only 25 repos and 32 packages are listed as dependents. That points to a few thousand projects that choose it directly.
- npm downloadsLast4Weeks: 427,733 now, against 64,587 a year before
- dependents: 25 repos and 32 packages
- peers Yjs downloadsLast4Weeks: Yjs has 63.7M downloads
- github stars: 6,747 stars, close to Loro
GPT-6.2 Sol: 4.2, likely 2.9 to 5.5
Four-week installs grew from about 65,000 to 428,000, or 6.6× against a catalog median of 4.1×. That suggests a gain in install share, although Yjs and Loro grew faster and installs through Automerge Repo obscure direct choices. The 25 tracked dependent repositories and 32 packages point to a modest footprint, with Yjs far ahead in tracked repositories. Stars cover the shared Rust and JavaScript repository, and the five Bluesky links are in line with nearby peers.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: 427,733 versus 64,587 installs, about 6.6× against 4.1×.
- dependents, peers: 25 tracked repositories versus 3,035 for Yjs, which also grew faster.
- github.stars, bluesky.posts, peers: 6,747 shared-repository stars and five Bluesky links, versus four each for Yjs and Loro.
- automerge.org/docs/reference/the-js-packages: Automerge Repo and convenience packages bring in the core indirectly.
Vouched for5.9
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
Paying production users such as GoodNotes and Bowtie stand behind it, and so does the research of Ink & Switch and Martin Kleppmann. The Automerge 3 launch got a strong reaction on HN, and independent comparisons treat it as one of the three main CRDTs. No developer survey covers it. Independent benchmarks rank it below Yjs and Loro on speed.
- automerge.org: Named funding users and sponsors
- hackerNews top: Automerge 3.0 story: 353 points
- stack.convex.dev/automerge-and-convex: Third-party integration write-up by Convex
- pkgpulse.com/guides/yjs-vs-automerge-vs-loro-crdt-libraries-2026: Independent comparison names it the pick when history matters
GPT-6.2 Sol: 5.8, likely 4.4 to 7.1
Posit is building Quarto 2 collaboration on Automerge, and Supabase uses it in its experimental Postgres extension. Posit has also shipped related R tooling, though the flagship integrations offer limited evidence of sustained production use. Independent tests confirm compact snapshots and show slower replay, and State of JavaScript supplies no Automerge retention figure.
- opensource.posit.co/blog/2026-07-14_user-2026-warsaw: Posit reports using Automerge for Quarto 2 collaboration.
- posit-dev.github.io/autosync: Posit ships a CRAN package that interoperates with the JavaScript sync protocol.
- github.com/supabase/pg_crdt: Supabase uses the core in an experimental Postgres integration.
- tangled.org/nibling.dev/core/blob/main/docs/VISION.md: A developer bake-off favored Loro for replay speed and concurrent tree moves.
- 2025.stateofjs.com/en-US/libraries: The survey provides no Automerge satisfaction or retention figure.
Safe7.3
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
It has zero npm dependencies, no known advisories and an MIT licence, and its fuzzing score is strong. The OpenSSF Scorecard is a middling 5.3. It gets zero for token permissions, pinned dependencies, security policy and SAST, and branch protection and code review are weak. The bundled WASM binary is harder to audit than plain JavaScript.
- npm dependencies: 0 dependencies
- advisories total: No advisories
- scorecard score: 5.3 overall, with several checks at 0
- npm license: MIT
GPT-6.2 Sol: 7.0, likely 5.8 to 8.1
The MIT-licensed core has zero runtime npm dependencies, no recorded OSV advisories, and a strong fuzzing score. Its 5.3 OpenSSF Scorecard flags weak branch protection, unpinned workflow dependencies, poorly scoped workflow tokens, and no detected security policy. The 3.5.0 workflow publishes through GitHub Actions using an npm token, and release history gives limited evidence of how many people can publish.
- npm.dependencies, npm.license, advisories.total: Zero runtime npm dependencies, MIT license, and zero recorded OSV advisories.
- scorecard: 5.3 overall, with fuzzing at 10, branch protection at 3, and token permissions and dependency pinning at 0.
- raw.githubusercontent.com/automerge/automerge/js/automerge-3.5.0/.github/workflows/release.yaml: The stable npm publish job uses a registry token.
- github.com/automerge/automerge/releases: Recent JavaScript releases list one recurring publisher.
Good
- Its document model is like plain JSON, so it fits general app state, not only text.
- It keeps the full change history, with branching, merging and time travel built in.
- Automerge 3 cut memory use by orders of magnitude, and the npm package has zero dependencies.
- Funded full-time engineers at Ink & Switch, plus sponsors and paying users such as GoodNotes.
Bad
- The WASM bundle is large (hundreds of kB) and adds startup time, unlike the pure-JS Yjs.
- Rich-text editor bindings are few and less mature than Yjs bindings for Tiptap, CodeMirror and Monaco.
- Independent benchmarks put it behind Yjs and Loro on speed, document size and memory.
- It has no built-in tree move operation, and sync, auth and hosting are left to you through automerge-repo or your own server.
The numbers
- npm downloads, 4 weeks
- 428k ×6.6 in a year
- GitHub stars
- 6.7k
- Commits, 12 months
- 297
- npm version
- 3.5.0 Sept 2026
- Versions, 12 months
- 12
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 5.3 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (automerge/automerge), npm (@automerge/automerge), 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