Omnigraph: Branchable Graph Database on Object Storage
What Omnigraph is
Omnigraph is an MIT-licensed graph database written in Rust that keeps its data in object storage and treats a graph the way Git treats a repository: every write is a commit, any number of branches can diverge from main, and a branch comes back through a three-way merge that either publishes atomically or returns a structured list of conflicts. The repository describes it as an "object-storage native graph database with branching and typed ontology", and the README tagline adds the other two pillars: a "unified retrieval engine (vector/BM25/graph)" and an "open data format (Lance)".
The intended workload is unusually specific. The README says Omnigraph "is engineered for the new workload introduced by long-horizon agents: multiple agents sharing a typed world model to continuously retrieve and update context and coordinate work", so that "agents and UIs can become thin stateless consumers of durable state." In practice that means a schema-enforced property graph that several agents can read from with one combined query (graph traversal plus vector nearest-neighbour plus full-text, fused with Reciprocal Rank Fusion), and write to through isolated branches that a human or another agent reviews before merging. The README's own list of target uses is a "company brain", versioned agentic memory with "a branch per agent or per task, merged on review", a context graph of decision traces, a dev graph of issues and dependencies for coding agents, and an R&D data layer where experiments land in branches.
The project is maintained by EQTR, Inc. under the ModernRelay GitHub organisation (per SECURITY.md), has been public since 10 April 2026 and is explicitly pre-1.0. Around the MIT-licensed engine sit a desktop app (Omnigraph Studio), TypeScript and Python SDKs, a built-in MCP endpoint and a hosted service, Omnigraph Cloud, which the README says is "in private preview". This page is based on the README, the v0.17.0 and v0.16.0 release notes, the user quickstart, install, schema, query, branching and merge guides, several contributor docs, and a hands-on session with the official v0.17.0 Linux binary.
How it works
A graph coordinator on top of Lance datasets
The contributor architecture page is direct about the division of labour: "Omnigraph is a typed property-graph engine that coordinates many Lance datasets. Lance supplies columnar storage, per-dataset versions, branches, transactions, and indexes. Omnigraph adds one accepted graph schema, one graph-wide visibility boundary, graph query and mutation semantics, policy, cluster deployment state, and public CLI/HTTP surfaces." Each node type and each edge type is its own Lance dataset. A graph-level manifest (__manifest) records the branch heads and which version of each table is visible, and "one manifest publication makes a graph change visible." That single publication step is what lets a load of several node and edge types, or a merge touching many tables, appear as one commit rather than a series of partial states.
Lance itself, per its own README, is "an open lakehouse format for multimodal AI" with hybrid vector, full-text (BM25) and SQL search and "zero-copy versioning: automatic versioning with ACID transactions, time travel, tags, and branches." Omnigraph's contribution is to lift those per-table features into graph-wide ones: a branch or a historical read covers every node and edge table at a consistent cut, not one dataset at a time. Because the files are standard Lance, the README pitches the storage as an open format rather than a proprietary one.
The pieces
The code is split into separate crates rather than one process. The architecture page lists, among others, omnigraph-compiler (parsing and type-checking .pg schemas and .gq queries, with no Lance dependency), omnigraph-planner (logical and physical plans, cost estimates, explain), the engine itself, omnigraph-catalog (manifest publication, branch registrations, lineage and retention), omnigraph-policy (Cedar compilation and the authorisation gate), omnigraph-cluster (desired configuration, plan/apply and deployment recovery), omnigraph-server (HTTP, authentication, multi-graph serving) and omnigraph-mcp, which the server mounts at /mcp on the same listener. An embedded Rust caller can use the engine directly; the CLI can open a local graph directly or talk to a server over HTTP.
Storage format 18 and branches as catalog entries
Storage formats are versioned and called out in every release. The v0.17.0 binary reports internal-schema 18 (serves v14 to v18). The 0.17 release notes explain the change: previously "a branch existed as Lance ref files, and deleting one took three writes with three recovery rules"; on a format-18 graph "a branch is one entry of main's catalog, published by compare-and-swap with the rest of the graph." The same notes warn that 0.16 cannot open format-18 graphs, so every reader and writer must be upgraded before a new graph is created. Existing format-17 graphs keep working without a rebuild.
Merging
The contributor merge page describes branch_merge as "a graph-level three-way merge from the source branch into a target branch." For each table it classifies the change into no change, pointer adoption (the target has not moved, so it simply adopts the source's table version without copying rows), a replay route for older forks, or a general entity-level merge. The user guide summarises the outcomes as already up to date, fast-forward and merged (a commit with two parents), and lists seven conflict kinds: divergent_insert, divergent_update, delete_vs_update, orphan_edge, unique_violation, cardinality_violation and value_constraint_violation. A conflicting merge "returns a structured conflict list and publishes nothing"; over HTTP it is a 409.
One consequence worth knowing up front: the branching guide states that "Omnigraph does not provide connection-scoped BEGIN and ROLLBACK." A single mutation query or a single load is atomic, and a merge publishes atomically, but several commands on a branch are separate durable commits. Branches play the role transactions play elsewhere.
Key features
- Typed schemas enforced on every write. A
.pgfile declares node and edge types with@key,@unique,@index, edge cardinality and value constraints. Property types includeDateTime(millisecond precision),Vector(N)of 32-bit floats,Blobandenum(...). The schema guide documents which schema changes apply in place and which are refused. - One query language for graph, vector and text.
.gqqueries usematch/return/orderblocks; the README says graph traversal, vector ANN, full-text and Reciprocal Rank Fusion run "in one runtime, with filtering". Per the schema guide, an@indexon a free-text String gets a full-text index and a vector gets a vector index, and@embed("source_property", model="model-id")ties a vector to the property it embeds. - Offline linting.
omnigraph lint --query file.gq --schema schema.pgtype-checks queries without touching a graph, which suits CI. - Git-style branches, diff and merge.
branch create,branch diff,branch merge(with--dry-run,--delete-branchand--as-commitfor a reviewable proposal) andbranch merge-base. Each is also a GQ statement, so a client that sends.gqtext needs no second API. - Time travel. Any query can run against a past commit with
--snapshot <commit-id>;commit list,commit showandcommit changesinspect history, andchangesfollows a change feed. - Clusters declared as code. A
cluster.yamlbundle declares graphs, schemas, stored queries, embedding providers and policies;cluster planpreviews andcluster applyconverges, "Terraform-style" in the README's words, without a server restart. - Cedar policy on every mutation. The README says every write path, whether HTTP, CLI or the embedded SDK, "goes through the same Cedar gate"; actors are resolved server-side from bearer tokens, and static tokens are hashed at startup and compared in constant time.
- Several storage back ends. Local disk, S3-compatible stores (the README names RustFS, MinIO, AWS S3 and R2) and Azure in preview. 0.17 adds Google Cloud Storage roots in preview, but only through the embedded Rust API; "the CLI, the server and cluster roots refuse
gs://for now." - Agent-facing surfaces. A built-in MCP endpoint, an
omnigraph mcpstdio relay, and an agent skill embedded in the binary thatomnigraph skill exportwrites out so the playbook always matches the installed CLI. - Clients. A TypeScript SDK (
@modernrelay/omnigraph), an async Python SDK (omnigraphon PyPI), an OpenAPI document and Omnigraph Studio, a native desktop app built on GPUI for macOS, Windows and Linux. - Per-invocation statistics. A global
--stats <PATH>flag writes wall-clock time, object-store calls by class and peak RSS as JSON, which is handy for estimating storage-request costs before moving to S3.
Getting started
The README's install script puts omnigraph and omnigraph-server in ~/.local/bin from release binaries; Homebrew is the alternative:
curl -fsSL https://raw.githubusercontent.com/ModernRelay/omnigraph/main/scripts/install.sh | bash
brew tap ModernRelay/tap
brew install ModernRelay/tap/omnigraph
The install guide says prebuilt archives cover Linux x86_64 and arm64, macOS arm64 and Windows x86_64, that the Linux archives need glibc 2.39 or newer ("as on Ubuntu 24.04 and Debian 13"), and that Intel Macs and other platforms build from source. Since 0.17 the script also accepts ARCHIVE_SHA256 to pin the expected digest of the downloaded archive.
The user quickstart then walks the core loop against a local, file-backed graph. First a schema, saved as schema.pg:
node Source {
slug: String @key
title: String
}
node Claim {
slug: String @key
statement: String
}
edge Supports: Source -> Claim
Initialise the graph and load newline-delimited JSON (one node or edge per line; edges refer to nodes by their @key value). The quickstart's evidence.jsonl starts like this:
{"type":"Claim","data":{"slug":"lower-latency","statement":"The migration reduced request latency."}}
{"type":"Source","data":{"slug":"load-test","title":"Load test report"}}
{"edge":"Supports","from":"load-test","to":"lower-latency"}
omnigraph init --schema schema.pg graph.omni
omnigraph load --data evidence.jsonl --mode overwrite --target ./graph.omni
--mode is required and takes overwrite, append or merge. A query lives in a .gq file and is run by name:
query sources_for_claim($claim: String) {
match {
$source: Source
$claim_node: Claim { slug: $claim }
$source supports $claim_node
}
return { $source.title as source }
order { source asc }
}
omnigraph query sources_for_claim --query queries.gq \
--params '{"claim":"lower-latency"}' --format table --target ./graph.omni
Finally, the branch workflow: create a branch, write to it, read it, merge it back.
omnigraph branch create review/add-benchmark --target ./graph.omni
omnigraph load --data benchmark.jsonl --mode append \
--branch review/add-benchmark --target ./graph.omni
omnigraph query sources_for_claim --query queries.gq \
--params '{"claim":"lower-latency"}' \
--branch review/add-benchmark --target ./graph.omni
omnigraph branch merge review/add-benchmark --into main --target ./graph.omni
The same branch operations exist as GQ statements, which the branching guide lists for clients that already speak .gq:
branch create "review/add-benchmark" from main
branch merge "review/add-benchmark" into main
branch diff "review/add-benchmark" into main
branch merge "review/add-benchmark" into main dry run
For deployments, the README shows a cluster bundle driven by three commands; the cluster guide covers first boot, writer ownership and authentication:
omnigraph cluster validate --config ./company-brain
omnigraph cluster plan --target production --config ./company-brain
omnigraph cluster apply --target production --config ./company-brain
To hand the operational playbook to a coding agent, the README suggests exporting the embedded skill:
omnigraph skill export ~/.claude/skills/omnigraph --force
Hands-on, 26 November 2026
Environment. A Linux x86_64 VM with 2 vCPUs, 7 GB RAM, kernel 6.18 and Ubuntu glibc 2.39, local disk only. The official omnigraph-linux-x86_64.tar.gz from the v0.17.0 release (202,183,510 bytes) had SHA-256 84a917f8…b0c7ff, matching the published omnigraph-linux-x86_64.sha256. Not tested: omnigraph-server and the HTTP API, MCP, Studio, the TypeScript and Python SDKs, S3, Azure or GCS storage, vector and full-text search, embeddings, Cedar policy, clusters, cleanup/optimize, concurrent writers, and the macOS, Windows and arm64 builds. All timings below are single wall-clock runs of a fresh CLI process on this small VM, not benchmarks.
1. What is in the archive
The tarball unpacks to three binaries: omnigraph (277,855,816 bytes), omnigraph-server (282,740,080 bytes) and omnigraph-azure-admission (5,729,184 bytes), about 566 MB together. They are stripped, dynamically linked PIE executables whose only shared-library dependencies are glibc's libc, libm and libgcc_s; glibc 2.39, the documented minimum, was enough. omnigraph version answered in 15 ms with four lines: omnigraph 0.17.0, internal-schema 18 (serves v14 to v18), http-contract 0.14 and commit 0b4fb96cb26f…. omnigraph-server --version printed the same report, as the 0.17 notes promise. The top-level help lists 35 subcommands (plus help), from query, load, branch and diff to cluster, policy, embed, studio and skill, and ends by telling first-time users to read the built-in skill; omnigraph skill show prints about 6,400 words of operating guidance.
2. The quickstart, verbatim
The quickstart's schema, data, query and branch files were saved unchanged and every command was run as written. All of it worked first time:
| Step | Result | Wall time |
|---|---|---|
init | Empty graph: 136 KB in 14 files | 50 ms |
load --mode overwrite | "5 entities across 2 node types and 1 edge types" | 30 ms |
query sources_for_claim | 2 rows, Load test report and Production metrics, as documented | 39 ms |
branch create review/add-benchmark | Branch created from main at its head commit | 32 ms |
load --mode append --branch … | 2 entities on the branch | 32 ms |
Query on the branch / on main | 3 rows on the branch; main still 2 | 26 / 22 ms |
branch diff review/add-benchmark | Merge base, then insert node Source independent-benchmark with its two properties and insert edge Supports … independent-benchmark -> lower-latency | 31 ms |
branch merge … --into main | merged review/add-benchmark into main: fast_forward; main now returns 3 rows | 185 ms |
After the merge the graph directory held 512 KB in 52 files. commit list showed three commits on main, and snapshot reported internal_schema_version: 18 with per-table entity counts and Lance dataset versions. Every command prints a one-line header on stderr naming the resolved target (direct graph …; provider=Local; branch=…), which makes it obvious which graph and branch a write went to.
3. Conflicts, a real three-way merge and time travel
Next, two branches were made to disagree. On a branch agent/a the claim's statement was changed with load --mode merge; on main the same property was set to a different value and an unrelated Source was added. Merging agent/a into main failed with exit code 1 and merge conflicts: node type 'Claim', entity id 'lower-latency' (divergent_update), plus a disposition line {"effects":"none","action":"refresh"}. The same merge with --dry-run --json returned the conflict as structured JSON (entity_kind, type_name, entity_id, kind, message), which is what an agent would parse. After writing main's value onto the branch, the merge succeeded as merged, and --delete-branch removed the branch in the same command.
A second pair of branches each added a different Source. That merge reported merged rather than fast_forward, and export showed both new nodes alongside the rest of the graph as JSONL. A query with --snapshot set to the first data commit's id returned the original two rows, confirming that historical reads see the graph as it was. branch delete worked as documented.
4. Schema enforcement and lint
Three bad loads were tried, and each was refused before any effect with exit code 1 and {"effects":"none","action":"fix"}:
| Bad input | Message |
|---|---|
| Edge from a Source that does not exist | edge type 'Supports': __src 'ghost-source' not found in Source |
title given as the number 42 | strict property 'title' expects Utf8, got 42 |
Source without its @key slug | non-nullable property 'slug' has null or invalid values |
omnigraph lint against the schema accepted the quickstart query (OK query `sources_for_claim` (read), exit 0) and rejected a query returning a non-existent property with type error: T6: type `Source` has no property `author` and exit 1, without opening any graph.
5. A larger load on 2 vCPUs
To see how the CLI behaves beyond toy data, a generated JSONL file of 301,000 records (17.8 MB: 1,000 Claims, 100,000 Sources and 200,000 Supports edges) was loaded into a fresh graph with the quickstart schema, using --stats to capture figures.
- Load: 2.02 s wall (1,986 ms reported by
--stats), peak RSS 340 MB, with 3 manifest GETs, 1 manifest PUT and 5 table PUTs. The resulting graph used 7.8 MB on disk in 34 files, less than half the size of the source JSONL. - Query: the quickstart query for one claim returned 200 rows in 0.26, 0.33 and 0.30 s over three runs, peak RSS about 144 MB. Each run is a new process that opens the graph cold, so this measures CLI start-up plus a cold traversal, not a warm server.
- Branch on the large graph:
branch createtook 22 ms and added 6,260 bytes on disk; appending one node and one edge on the branch took 40 ms and added about 151 KB;branch difftook 38 ms and the merge back (fast_forward) 32 ms. This is consistent with the branching guide's statement that "branches are cheap until written: unchanged data stays shared with the source."
6. What did not fit a local test
omnigraph-server was not started. Its help text describes --cluster as "the server's only boot source (RFC-011 cluster-only)", either a cluster config directory or an s3:///az:// root, and it refuses to start without credentials or policy unless --unauthenticated is passed. There is no flag to serve a single local graph.omni, so trying the HTTP API or MCP means writing a cluster bundle first; the quickstart sticks to direct CLI access for that reason.
Use cases
- Shared memory for several agents. Each agent or task writes to its own branch, and a reviewer (human or agent) reads
branch diffand merges. Conflicts come back as typed records rather than silently overwriting each other, as the hands-on run showed withdivergent_update. - Company knowledge graphs. The cookbooks repository linked from the README ships ready-to-run graphs with seed data for a company brain, a VC operating system and pharma or industry intelligence, which the README calls the fastest way to see Omnigraph shaped to a real domain.
- Coding-agent dev graphs. Issues, services and dependencies modelled as nodes and edges that agents query and update. Tools such as CodeGraph or Graphify generate code graphs automatically; Omnigraph is the general-purpose store you would model one in yourself.
- Experiment and evaluation data. The README's R&D use case writes trials into branches so that a training or evaluation run can pin an exact commit, and
--snapshotreads reproduce it later. - Audited, policy-controlled writes. Teams that need every mutation checked against a declared policy (per graph, per branch or server-wide) can lean on the Cedar gate and server-resolved actors instead of application-level checks.
How it compares
Omnigraph overlaps with multi-model databases, agent-memory frameworks and the storage format it is built on. The table sticks to what each project's own README states; it is not a feature-by-feature audit, and none of the alternatives were run for this page.
| Omnigraph | SurrealDB | Graphiti / Zep | Lance (format) | |
|---|---|---|---|---|
| What it is | Typed property-graph database | Multi-model database: document, graph, relational, time-series, geospatial, key-value | Graphiti: Python framework for temporal context graphs; Zep: managed context layer built on it | Open lakehouse file, table and catalog format |
| Licence (per README) | MIT | Core database under Business Source License 1.1; libraries and SDKs Apache-2.0 or MIT | Zep is a cloud service; the getzep/zep repo holds examples, not the product | Not compared here |
| Retrieval | Graph traversal, vector ANN, full-text and RRF in one query | Full-text, vector and hybrid search plus graph queries in SurrealQL | Hybrid semantic, BM25 and graph traversal | Vector, full-text (BM25) and SQL on a dataset |
| Versioning | Graph-wide commits, branches, three-way merge, time travel | Not described in the README | Bi-temporal facts with validity windows (time-aware data, not branches) | Per-dataset versions, time travel, tags and branches |
| Storage | Local disk, S3-compatible, Azure (preview), GCS (preview, Rust API only) | Embedded, browser (WASM), single node or distributed cluster | Graphiti: bring your own Neo4j, FalkorDB, Amazon Neptune or Relate | Files on object storage |
| Schema | Required .pg schema, enforced on every write | Schemaful or schemaless | Entity and edge types as Pydantic models, or learned; ingestion uses an LLM (OpenAI by default) | Table schemas |
The practical distinctions: SurrealDB is the broader general-purpose database, but its core is not under an OSI licence, which matters for teams that need one. Graphiti and Zep solve a neighbouring problem, turning conversations and documents into a time-aware knowledge graph with LLM-driven ingestion; Graphiti needs an external graph database and Zep runs its own service; Omnigraph is the store, with deterministic schema-checked writes and no LLM in the write path. Raw Lance gives versioned, searchable tables but no graph semantics or cross-table commits, which is exactly the layer Omnigraph adds. For pure vector retrieval without graph structure a dedicated engine such as Qdrant is the simpler choice, and for versioned tabular analytics on object storage the open table formats Apache Iceberg and DuckLake are closer fits. Coding-agent memory tools such as Engram or Hindsight package memory as a ready product; Omnigraph is lower level and asks you to design the schema.
Things to know before adopting
- Pre-1.0 and moving fast.
SECURITY.mdsays "OmniGraph is pre-1.0" and that only the latest stable release and the newest edge build get security fixes, with no backports. Stable v0.16.0 shipped on 20 November and v0.17.0 on 26 November 2026, with dated edge pre-releases almost daily in between. Each release note carries an "Upgrade actions" list; 0.17 alone changed graph-listing permissions, introduced a storage format that 0.16 cannot read, and broke some Rustomnigraph-mcpAPIs. - Upgrade discipline. The 0.17 notes say to upgrade the CLI and server together and to upgrade every reader and writer before creating a format-18 graph. Clients must match the server's HTTP contract exactly: the install guide says the Python client's major.minor "is the HTTP contract it speaks, and it refuses any other", and that the npm
0.13.0clients are not compatible with contract0.14. - No interactive transactions. There is no
BEGIN/ROLLBACK; multi-step work belongs on a branch, and a failed later command does not undo earlier commits on that branch. - Storage is not reclaimed automatically. Deleting a branch "leaves its history and table storage for explicit
omnigraph cleanup", and "no background reclaim runs." Even the small quickstart graph grew from 136 KB to 1.4 MB over this session's handful of loads, merges and branch deletes. Plan acleanupschedule, and note that it is destructive and needs--confirm. - The server is cluster-only.
omnigraph-serverboots only from a cluster bundle or a storage root and refuses to run unauthenticated unless told to. Local experiments use the CLI directly; anything multi-user needs the cluster workflow, policy files and tokens. - Large binaries, narrow platform list. The CLI and server are each about 280 MB uncompressed. Linux builds need glibc 2.39+, which excludes older distributions such as Ubuntu 22.04; Intel Macs need a source build.
- Preview back ends. Azure is labelled a "qualification preview" in the server help, and GCS works only from the embedded Rust API, with CI testing against a simulated bucket rather than Google's service, per the 0.17 notes.
- Performance claims are the project's. The 0.17 notes cite eight concurrent cold traversals peaking at 886 MiB instead of 3,550 MiB on a 2-million-node graph ("dev build, one run") and fewer storage requests for cleanup and branch operations measured against simulated or RustFS stores. These were not reproduced here. The repository includes an
omnigraph-benchharness and scenario catalogue for running your own measurements. - Hosted pieces. Omnigraph Cloud is a waitlisted private preview, and the CLI includes managed-profile commands (
login,organization,credentials) for it. None of that is needed for local or self-hosted use; the hands-on session used no account or credentials. - Documentation discrepancies. The quickstart at the v0.17.0 tag says "CLI direct targets support local files only", while the 0.17 release notes add inline
s3://graphs for direct reads,init,schema applyandload. The README's Docs section still points to "0.14 highlights", and its client table says "the 0.14 server requires contract0.14"; the 0.17 binary does still speak contract 0.14, so the statement holds but the wording is dated. The README says the install script installsomnigraphandomnigraph-server, while the Linux archive also containsomnigraph-azure-admission.SECURITY.mdspells the name "OmniGraph", although 0.17 standardised error messages and help on "Omnigraph".
Project activity
Checked 26 November 2026: latest release v0.17.0 (26 November 2026), 3,290 stars, licence MIT.
The repository was created on 10 April 2026 and was last pushed on 26 November 2026. GitHub lists Rust as its main language, 345 forks and 206 open issues and pull requests. The release history shows two stable tags in the last week (v0.16.0 on 20 November, v0.17.0 on 26 November) between rolling edge-YYYYMMDD-sha pre-releases, each with Linux x86_64 and arm64, macOS arm64 and Windows x86_64 archives plus SHA-256 files. The 0.17 notes credit seven contributors. The README asks contributors to open an issue before large changes, with an accepted label as the signal for a pull request (per GOVERNANCE.md), and security reports go through private GitHub advisories with acknowledgement promised within three business days. Code, issues and releases are at github.com/ModernRelay/omnigraph; documentation, Studio downloads and the Cloud waitlist are at omnigraph.dev.
Enjoying this project?
Discover more amazing open-source projects on TechLogHub. We curate the best developer tools and projects.
Repository:https://github.com/ModernRelay/omnigraph
GitHub - ModernRelay/omnigraph: Omnigraph: Branchable Graph Database on Object Storage
Omnigraph is an MIT-licensed Rust graph database on Lance and object storage: typed schemas, graph, vector and BM25 retrieval, Git-style branches and three-way ...
github - modernrelay/omnigraph
Related Projects
Codex CLI: OpenAI's open-source terminal coding agent
OpenAI's local terminal coding agent with OS-level sandboxing, AGENTS.md, MCP and a CI mode.
Tauri: Small Desktop and Mobile Apps with Rust
Rust framework for desktop and mobile apps with web frontends, using the OS webview instead of a bundled browser.
Deno: Secure JavaScript and TypeScript Runtime
Secure-by-default JS/TS runtime with built-in tooling, npm and Node compatibility, and single-binary compile.
Maintain Omnigraph: Branchable Graph Database on Object Storage? Add the badge to your README
Show that the project is featured on TechLogHub and send readers to this write-up.
[](https://techloghub.com/open-source/omnigraph?utm_source=techloghub_badge&utm_medium=referral&utm_campaign=readme)