Project · mgraph

mgraph

Collaboration for distributed intelligence systems: an engine for atomic coordination of complex data types — from threads to global distribution.

An embeddable engine for transactional operations on graphs, vectors, tensors, streams, and documents. Thread-safe locally. Delta-propagated across networks. The same engine, the same typed operations, from in-process to worldwide.

Collaboration solved as a primitive — any data structure, across any boundary.

01 The thesis

The data structures that AI systems, collaborative tools, and modern applications depend on — graphs, tensors, vectors, streams — have inherent complexity that adds cost at every layer.

It is first an embeddable engine with git-like transactions and thread-safe atomic operations. Wrap it in a server and you have Redis-speed structured data over the network. Extend to a relay mesh and you have globally distributed coordination.

The same engine at every scale.

02 How it's built

The architecture in one read.

01

Typed by design

The engine knows the shape of the data it carries. Graphs, vectors, tensors, streams, documents — stored and operated on natively. That awareness is what makes deltas, parallelism, and zero-copy access tractable in the same system.

02

Atomic operations

Git-like version model. Branch for isolation, commit atomically, merge or fast-forward. Thread-safe concurrent reads and writes on structured data without flattening it.

03

Delta wire format

Every mutation encodes as a semantic delta — "edge A→B added" not "bytes changed." Fixed-width header for routing, type-aware payload. Relays forward without deserialising. Cost scales with the change, not the data.

04

Many environments

Browser, mobile, edge, datacenter — one runtime, one contract. State synchronises wherever it needs to live.

05

QUIC-native transport

Per-document streams with independent ordering and backpressure. Multiplexed, congestion-aware, built for mobile and edge environments.

03 Status
Status
Active development
Since
2024
Stack
Rust · QUIC · WASM
04 Roadmap

Where it goes from here.

2025
foundation
  • Delta engine — graphs, vectors, streams
    Per-type encoders and a unified delta container.
    developed
  • QUIC transport with multiplexed channels
    Production-ready transport for mobile and edge.
    developed
  • Browser runtime
    WebAssembly + service-worker mode.
    developed
2026
adoption
  • Apple Silicon runtime
    Native engine sharing memory with msearch on the same device.
    in flight
  • Public docs and the open core release
    Source, spec, and examples; commercial layers around the open substrate.
    in flight
  • Tensor and document delta encoders
    Round out the type set so any structured payload can ride mgraph.
    next
2027
horizon
  • Conflict-free coordination across regions
    CRDT-shaped semantics on top of the delta engine.
    next
  • Sponsored partnership programme
    Open-core partnerships with co-built commercial layers.
    next
Contact

Tell us what you're working on.

We reply within two business days. If a call would be faster, book a thirty minute conversation.

We don't share your details. Replies come from a real person, not a CRM.