Get started
The installer sets up Engine and Curator as services on one Linux machine or Apple Silicon Mac, and shows you everything before it does any of it.
Before you start
- Linux with systemd, or a Mac with Apple Silicon (new: not yet tried beyond CI)
- Node.js 24 (pinned in
.nvmrc) and npm; on a Mac, the arm64 build - On Linux, sudo, or
--no-sudoto run the root commands yourself. A Mac needs none - An Anthropic, Fireworks, OpenRouter or OpenAI key, for Curator and chat
- About ten minutes and 2 GB of disk
Install
- 1
Get the code and run the installer
$ git clone https://github.com/glibalien/vault-engine-alpha $ cd vault-engine-alpha $ ./install.sh
It checks systemd, Node.js and the ports, then builds. You see the log only if a step fails.
- 2
Answer a few questions
Your notes folder (or a new one, empty or with a messy sample), how your notes say what they are, provider keys, models and Curator's budget.
- 3
Review, then approve
Nothing changes until you approve. Then it backs up your folder, starts the services (showing each sudo command; on a Mac, launchd agents that start when you log in), types your notes and checks the result. It exposes nothing to the internet, but writes a guide for it. It ends with the first thing to ask.
| ./install.sh plan | Show what installing would do, changing nothing |
| ./install.sh --answers answers.json --yes | Install headlessly |
| ./install.sh status | Check an installation later |
| ./install.sh undo | Revert what organizing changed in your notes |
| ./install.sh uninstall | Remove the services. Your notes stay, as organized Markdown |
- 1
Install and build
$ npm install $ npm run build
The Obsidian plugin builds separately.
- 2
Point Engine at your vault
$ cp packages/engine/.env.example packages/engine/.env VAULT_PATH=/absolute/path/to/your/vaultThe only required value for stdio. If your notes name their kind under a key other than
types, setVAULT_TYPE_KEYbefore the first start. - 3
Start Engine
# stdio, for scripts and hosts you trust $ node packages/engine/dist/index.js # HTTP, for a chat AI $ node packages/engine/dist/index.js --transport http --port 3334
Stdio has no sign-in, so it's trusted fully. HTTP also needs an owner password and a public issuer URL for OAuth.
Add a surface
/mcp endpoint. Deployment
Two services behind TLS, often through one Cloudflare Tunnel: systemd units on Linux, launchd agents on a Mac. The plugin connects from your desktop.
| Service | Port | Role |
|---|---|---|
| vault-engine | 3334 | OAuth-protected MCP server: the tools, search and facts |
| vault-curator | 3335 | OAuth-protected curation API and daily scheduler |
Limitations
One computer, no sync service. Your notes can sit in a synced folder, but Engine's database and model cache
can't: a sync client can corrupt a live SQLite file. The installer moves them out; by hand, set
DB_PATH and EMBEDDER_MODELS_DIR.