Skip to main content
Product

A search network, not a search cluster.

Gnarl is one binary that turns a place your data already lives into a node. Nodes index locally, advertise what they can answer, and cooperate for exactly as long as a query takes.

Capabilities

What a node gives you.

Coordinator-free fan-out

Any node can plan a query. The one that receives it coordinates that query and nothing else — there is no master to elect, lose, or fail over.

Learn more

Manifest routing

Nodes advertise a few kilobytes describing what they can answer. Planning eliminates everyone who provably cannot help, then asks the rest.

Learn more

Data never moves

Corpora are opened read-only and indexed in place. The query travels to the data; the documents stay on the host that owns them.

Learn more

Signed, verifiable results

Every hit carries the signature of the node that produced it, not the node that merged it. Tampering in transit is detectable, and detected by default.

Learn more

Policy at the edge

Each node decides who may ask, which indexes are visible, how far each index may travel, and how fast. Evaluated locally, on the node holding the data. Per-field rules and redaction are not built yet.

Learn more

Text, geo, and vector

Full-text, keyword, range, geospatial containment, and kNN vector search — composed with boolean clauses in one query.

Learn more

Peers of every size

The same node runs on a server rack, a laptop, or a phone in the field. Cloud to edge, one protocol, no privileged tier.

Learn more
Runs on
Cloud & serverLinux · Windows Server · Kubernetes
DesktopmacOS · Windows · Linux
LaptopmacOS · Windows · Linux
MobileiOS · Android
Agent memory

A memory that follows you, and says when it is incomplete.

Your assistant’s memory is an index on your own node. Text is embedded by a model on the node, so no embedding API sees it. Your other devices hold copies, so the memory is there when the machine that learned it is asleep.

  • Remember on the laptop, recall on the desktop within seconds. A device that has not heard of a memory asks your other devices for it
  • If a device that may hold the memory has not answered, recall says partial. It never presents an incomplete answer as complete
  • Claude Code, Cursor and Codex connect over MCP at http://127.0.0.1:43300/mcp. gnarl mcp install writes that for you
  • Python, TypeScript and Go clients, adapters for LangChain, LlamaIndex and the Vercel AI SDK, and a starter template
  • Several people on one mesh: a token binds each memory call to its person, and a forget aimed at someone else’s memory answers not_in_scope
How agent memory works
recall on the desktop
laptop   remember "deploys go out on Tuesdays"

desktop  recall "when do we deploy?"
         index not here yet → ask your devices
         found on laptop                 0.11s
         ✓ "deploys go out on Tuesdays"
         partial: false

phone    recall "when do we deploy?"
         laptop and desktop both asleep
         count: 0 · partial: true
Private mesh

Your devices, and only nodes that prove they belong.

A private mesh is the devices you put on it. A node gets in only after it proves, in a message signed by its own key, that it belongs to this mesh.

How a device gets in

Paste your subscription key on each device and they find each other, across networks. Or send an invite, or pin node IDs with --admit-peer. A list of peers passed on by another node is only a reason to ask them.

Who gets in

What an outsider cannot do

A node of another mesh, even on your own Wi-Fi, cannot join, read your index registry, receive copies of your data, delete an index, or redirect which device answers for your data.

What a mesh name proves

What it does not do yet

The mesh name is not a secret, so a node that copies it is still admitted unless you pin node IDs. Copies on other devices are not encrypted per person yet; that is in progress.

See the roadmap
Architecture

Four moving parts, none of them central.

A query enters at whichever node an application happens to reach. That node plans, fans out, merges, and verifies — then goes back to being an ordinary node.

node Alocal datalocal indexlocal policy
node Blocal datalocal indexlocal policy
node Clocal datalocal indexlocal policy
node Dlocal datalocal indexlocal policy
manifest gossip · no shared state
query enters at any nodePOST /v1/indexes/{index}/_search

Node

One process, one identity, one or more local indexes. The only component that touches data.

Manifest

The signed summary a node advertises: fields, ranges, footprints, vocabulary. Never documents.

Planner

Eliminates nodes that cannot contribute, ranks the survivors, fans out within a budget.

Verifier

Checks every result signature against known identities before a hit reaches the caller.

Query lifecycle

What happens in 128 milliseconds.

Planning is local and takes microseconds. The wall clock is dominated by the slowest node you decided to wait for — which is why the deadline is yours to set.

  • Parse and resolve the query against known fields
  • Eliminate every node that provably cannot contribute
  • Sign and fan out to survivors, with a deadline attached
  • Each node executes locally and applies its own policy
  • Merge, normalize scores, and stream results as they land
  • Verify signatures; report coverage honestly
gnarl search --explain
▸ parse      2 clauses · 1 filter        0.3ms
▸ plan       300 peers → 41 eligible      0.9ms
▸ fan-out    41 asked · deadline 750ms
             ├─ n1qh7f…c2a8    18ms  ✓ 24 hits
             ├─ n1m4kd…91b3    31ms  ✓ 17 hits
             ├─ n1x9pl…4d7f    44ms  ✓  9 hits
             ├─ … 36 more      ≤112ms ✓
             └─ n1zz02…8e1c   timeout ✗
▸ merge      124 hits ranked            3.1ms
▸ verify     39 signatures ✓ · 0 failed 1.4ms

  coverage   39/41 answered · complete: false
  took       128ms
Graph and ontology

Your ontology is not a second database.

Most stacks make you choose: documents in the search engine, the ontology in a graph database, and a join you write yourself. Gnarl treats the graph as an index type — edges are documents, reachability is a query, and a traversal composes with text, filters and vectors in one request.

  • graph_edge fields over native CSR adjacency — reachability from a source node, bounded by hops or frontier size
  • Cross-index joins: traverse the ontology in its index, filter the corpus in yours, so whoever curates the taxonomy keeps it
  • Taxonomy mode precomputes the transitive closure at flush, so ancestor questions stop being traversals
  • Resnik and Lin concept similarity, and structural information content, as ordinary query types
  • A traversal that would exceed its node budget is refused, not truncated — a subgraph presented as the subgraph is a confident wrong answer
Graph and ontology docs
everything under one concept
{
  "query": {
    "bool": {
      "must":   [ { "match": { "body": "ventilator weaning" } } ],
      "filter": [ {
        "graph_traversal": {
          "graph_index": "snomed",   // the ontology, in its own index
          "field":       "is_a",
          "source":      4021,
          "node_field":  "concept_id"
        }
      } ]
    }
  }
}

Documents matching the text whose concept_id falls anywhere beneath concept 4021 — without denormalizing the hierarchy into the corpus.

Use cases

Built for data that will not move.

Federated geospatial archives

Imagery too large to centralize stays with the operator that collected it, while analysts query the whole constellation as one surface.

Sovereign and regulated data

Residency stops being an architecture problem when documents never cross a boundary in order to be searched.

Edge and disconnected operations

Nodes keep answering locally when the uplink drops and reconcile manifests when it returns.

Multi-cloud without egress

Three clouds, three nodes, one query. Stop paying to funnel everything into a fourth place.

Roadmap

Where Gnarl is, and where it is going.

Gnarl is early. This is the honest version of the list — not the one that assumes everything ships.

Available now

Search

  • Single-binary node with local indexing
  • Manifest gossip and elimination-based planning
  • HTTP query API, with streaming NDJSON bulk ingest
  • Vector fields and kNN across the fan-out
  • Geospatial queries: geo_point, geo_shape, and cartesian shapes
  • Graph traversal, taxonomy closure, and Resnik/Lin concept similarity

Agent memory

  • Memory over MCP for Claude Code, Cursor and Codex, wired by gnarl mcp install
  • Recall on your other devices within seconds, marked partial while a device has not answered
  • Team memory, phase 1: each memory call bound to the person whose token made it
  • Go, Python and TypeScript clients that find the node with no address
  • Adapters for LangChain and LangGraph, LlamaIndex, and the Vercel AI SDK
  • An agent starter template for Claude Code, Cursor and Codex

Your devices

  • The Gnarly desktop app for macOS, Windows and Linux
  • One subscription key puts every device on one private mesh, across networks
  • Private meshes that admit only nodes that prove they belong
  • Peer traffic over TLS, with a relay for peers that cannot reach each other
  • Gnarly for Android, installed from the release page
  • Local AI in the app: an optional on-device model for chat replies

Trust and backup

  • Ed25519 identity, signed manifests and results
  • Capability tokens, with a memory role for agents
  • Snapshot and restore to a directory or S3-compatible storage
  • Automatic backups from the app, hourly to weekly, caught up when a laptop wakes

In progress

  • Per-person end-to-end encryption of memories, with a recovery kit. Part of the base license, with no SSO needed, before GA
  • Forgetting devices gone for a week, and a Forget this device button. Merged; in the next release
  • Team memory at scale: routing memory by person, cheaper writes, and a benchmark from 1,000 to 100,000 people
  • Gnarly in the App Store and Google Play. Builds come from every release; store distribution is not live yet
  • Per-index and per-field rules, and redaction, in policy

Planned

  • Client SDKs for Java, Swift, and Kotlin
  • Node reputation as a planning input on open networks
  • Node key rotation, signed by the old key
  • Enterprise add-on, after GA: SSO sign-in, delegation, key escrow, audit, and seat management

Start with one node.

Install the binary, point it at a corpus, and search it locally before you announce anything to anyone.