Open source
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.
$ 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
Not a demo of the product. It is the engine underneath it, published under Apache-2.0.
The path-scoped context engine
The part that decides what an agent receives. get_context retrieval, the router that judges how much a task needs, and the ranking that picks the slice for the current directory.
The full MCP tool surface
Not a subset. A client sees an identical tool contract whether it talks to the local core or to Pathrule Cloud.
An embedded local store
No server to run. Your content lives in a SQLite database under ~/.pathrule, one file per workspace, with no infrastructure to manage.
Hooks, locally
The same path-scoped injection the cloud edition runs. Context still arrives before the first tool call with no account involved.
What the cloud adds
Team sync and review, live activity, AI curation, and the apps. Everything above stays free, local and account-free.
Apache-2.0
Read it, run it, change it. The repository is github.com/pathrule/core, and the routing you can inspect is the routing that ships.
The clever parts are in the core rather than held back, and they are gated on a key you own rather than a subscription.
01
Deterministic by default
With no key at all the deterministic router runs, so the core works with zero configuration and no network.
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.
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.
Free, Apache-2.0, and account-free. The core is the whole product for one person on one machine.