7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

GoatDB

Open source

GoatDB is an embedded, distributed document database with Git-like signed commits and offline replicas, designed for apps and agents sharing live state.

goatdb.dev
GoatDB homepage screenshot
GitHub stars
579
Last commit
yesterday
Repository age
22 months
Version
v0.6.1
Licence
MIT
Self-hosted
Yes

About GoatDB

GoatDB describes itself as a realtime state layer for human-agent collaboration, where people, AI agents, tools and devices share the same live, durable state. Under the hood it is an embedded, distributed document database with verifiable state continuity, written TypeScript-first and including React hooks.

It borrows ideas from distributed version control: in its default secure mode every write produces an Ed25519-signed commit in a durable commit graph, and concurrent edits are reconciled by a Git-style three-way structural merge at the field level. Each opened repository has a full local replica, so apps work offline and sync automatically when reconnected, and queries run in memory and update incrementally as data changes. An available authorized replica that retains the relevant history can restore a crashed server. Signed provenance proves which session wrote what, though not the identity of the actor.

GoatDB runs on Deno, recommended, or Node.js 24 and newer, is licensed under MIT, and is under active development, so full backward compatibility is not guaranteed before v1.0. Documentation, benchmarks and an architecture page are available.

Key features

  • Embedded distributed document database
  • Offline-capable local replicas
  • Signed commits with Ed25519
  • Field-level three-way merge
  • Reactive in-memory queries
  • React hooks included

Good fit for

  • โ†’Local-first apps that sync across devices
  • โ†’Shared live state for humans and AI agents
Tags
database
local-first
typescript
deno
distributed
sync
react
document-database

GoatDB: questions and answers

What is GoatDB used for?
GoatDB is an embedded, distributed document database with Git-like signed commits and offline replicas, designed for apps and agents sharing live state. It is a good fit for local-first apps that sync across devices, and shared live state for humans and AI agents.
Is GoatDB open source?
Yes. GoatDB is open source under the MIT licence. Its source code is on GitHub at goatplatform/goatdb and is written mainly in TypeScript.
Is GoatDB free?
Yes. GoatDB is open source, so the software itself is free to use.
Can I self-host GoatDB?
Yes. GoatDB can be self-hosted on your own server or infrastructure.
What are some alternatives to GoatDB?
Similar open-source tools in the Databases category include ArangoDB, OrientDB and SurrealDB. SaaS products in the same category include MarkLogic, Aerospike and Amazon DocumentDB.
Is GoatDB actively maintained?
Yes. The most recent commit to GoatDB was on 1 October 2026, and the latest release is v0.6.1, published on 1 September 2026. The project has 579 stars on GitHub.

Open-source alternatives to GoatDB

See all

SaaS alternatives to GoatDB

See all