SE Radio 716: Martin Kleppmann Local-First Software

Software Engineering Radio - the podcast for professional software developers55mApril 15, 2026

Get the full intelligence

Search transcripts, export clips, track mentions, and explore all topics from “SE Radio 716: Martin Kleppmann Local-First Software” inside PodZeus.

AI-Generated Summary

In this episode of Software Engineering Radio, host Adi Nadayan interviews Martin Kleppmann, associate professor at the University of Cambridge and author of the seminal book 'Designing Data-Intensive Applications'. The conversation centers on 'Local-First Software', a paradigm that combines the offline resilience and data ownership of traditional local software with the real-time collaboration features of modern cloud apps. Kleppmann explains how Local-First software stores data locally on users' devices while enabling seamless sync across devices via sync engines like AutoMerge, which uses Conflict-Free Replicated Data Types (CRDTs) to automatically resolve conflicts. He emphasizes the benefits for both users—such as instant responsiveness, offline functionality, and data sovereignty—and developers, who can simplify their stack by focusing only on the frontend, as the sync and backend logic are abstracted away. The discussion also covers real-world applications, challenges like conflict resolution and search functionality, and the growing ecosystem of tools and open-source projects like AutoMerge and Keyhive. Kleppmann highlights that Local-First is not suitable for all software—especially systems requiring a single source of truth like banking—but excels in creative, collaborative tools like note-taking apps, spreadsheets, and design software. He concludes by noting that the movement is gaining traction, driven by concerns over cloud dependency, geopolitical risks, and the rise of AI, which can be integrated into the Local-First model as another collaborator. The episode ends with practical guidance for developers wanting to get started, including resources like the LocalFirst.fm landscape and AutoMerge’s documentation. Key takeaways include: 1) Local-First software enables real-time collaboration with full offline support by keeping data on the user’s device; 2) Sync engines like AutoMerge abstract away complex distributed systems problems, simplifying development; 3) CRDTs allow automatic, conflict-free merging of edits across users; 4) The model is ideal for user-generated content apps but less suitable for systems requiring centralized control like financial software; 5) Local-First enhances privacy, resilience, and developer productivity; 6) It aligns well with AI collaboration, treating AI agents as co-editors with version control; 7) Tools like Keyhive enable decentralized access control and end-to-end encryption; 8) Developers should consider starting with Local-First by default, only moving data to the cloud when necessary.

Key Takeaways
1

Local-First software combines offline functionality with real-time collaboration by storing data locally while syncing across devices.

2

Sync engines like AutoMerge use CRDTs to automatically resolve conflicts, abstracting away complex distributed systems logic.

3

The model simplifies development by allowing teams to focus on the frontend, eliminating the need for dedicated backend infrastructure.

4

Local-First is ideal for creative and collaborative tools (e.g., notes, spreadsheets, design apps) but less suitable for systems requiring a single source of truth (e.g., banking).

5

It enhances user sovereignty, privacy, and resilience against cloud outages, provider lock-in, and geopolitical risks.

…and 3 more takeaways available in PodZeus

Chapters
0:00
3 min

Introduction to Martin Kleppmann and Local-First Software

Host Adi Nadayan introduces Martin Kleppmann, author of 'Designing Data-Intensive Applications', and sets the stage for a deep dive into Local-First Software, a paradigm that merges the best of local-only and cloud-based collaboration.

2:30
8 min

Defining Local-First: The Best of Both Worlds

Local First is really trying to be the best of both of those two worlds, where we have the collaboration features that we know and love from cloud software. But at the same time, the data is also stored on your own computer locally. And so therefore, it's there where nobody can take it away from you.

Highlight
10:00
10 min

Core Principles and Developer Benefits

The nice thing with using a sync engine is that the application code is only ever interacting with this local database that's embedded on the client. ... App developers don't have to worry about it.

Highlight
20:00
10 min

Sync Engines and CRDTs: The Technical Backbone

We combine all of the changes together and try to merge them in a way that preserves the intentions of the users as much as possible.

Highlight
30:00
10 min

AutoMerge: A Practical Implementation

The episode details AutoMerge, an open-source sync engine that uses a JSON-like data model to support real-time collaboration across apps like TLDraw, with efficient handling of fine-grained edits and full version history.

High-Impact Quotes
I think the one that I care about most is not being dependent on individual providers. So I'm very worried about, say, a provider locking you out...
Martin Kleppmann49:35
Viral: 90.0
Local First is really trying to be the best of both of those two worlds, where we have the collaboration features that we know and love from cloud software. But at the same time, the data is also stored on your own computer locally. And so therefore, it's there where nobody can take it away from you.
Martin Kleppmann1:59
Viral: 85.0
I think a year ago, it would have been unthinkable, and now it's unfortunately no longer unthinkable.
Martin Kleppmann51:53
Viral: 85.0
Speakers

Host

Adi Nadayan

Guest

Martin Kleppmann
Topics Discussed
local-first software95%sync engines90%data sovereignty85%conflict-free replicated data types85%developer experience80%offline-first applications75%ai collaboration75%decentralized systems70%
People & Brands

Martin Kleppmann

person

120xPositive

AutoMerge

product

45xPositive

CRDTs

other

20xPositive

Git

product

15xPositive

Keyhive

product

12xPositive

Google Docs

product

8xPositive

Linear

product

5xPositive

TLDraw

product

5xPositive

Figma

product

4xPositive

Excalidraw

product

3xPositive

Get the full intelligence

Search transcripts, export clips, track mentions, and explore all topics from “SE Radio 716: Martin Kleppmann Local-First Software” inside PodZeus.

Start discovering podcast insights today

Start with a 7-day trial and explore a growing catalog of popular podcasts. No credit card required.

No credit card required • 7-day trial • Cancel anytime