Pathrule

Open source

The engine, open and fully local.

The open core is the same context engine Pathrule Cloud runs, minus the team layer. Path-scoped retrieval, the full MCP tool surface, and an embedded SQLite store under your home directory. No account, no server, nothing leaving your machine.

zsh

$ npm i -g @pathrule/cli

$ cd your-project

$ pathrule init --local

local store created at ~/.pathrule/your-project

$ pathrule setup --local

ai client configs written · hooks registered

no signup, no network, no docker

$ pathrule memory list --local

What the core is.

Not a demo of the product. It is the engine underneath it, published under Apache-2.0.

Semantic recall, on your own key.

The clever parts are in the core rather than held back, and they are gated on a key you own rather than a subscription.

  1. 01

    Deterministic by default

    With no key at all the deterministic router runs, so the core works with zero configuration and no network.

  2. 02

    Add an embedding key

    A Voyage or OpenAI key and the core recalls by meaning, locally. Embeddings are computed on write and stored on disk.

  3. 03

    Falls back rather than fails

    On a timeout or a missing key it returns to the deterministic path, the same discipline the cloud edition uses.

Where to go deeper.

Read the code, then run it.

Free, Apache-2.0, and account-free. The core is the whole product for one person on one machine.