CLI Reference

The SwarmVault CLI covers the full local workflow: initialize a schema-guided vault, ingest, compile, query, lint, automation, graph serving, and MCP access.

Installation

npm install -g @swarmvaultai/cli

The CLI is available as both swarmvault and vault.

Commands

CommandDescription
initInitialize a SwarmVault workspace
ingest <input>Ingest a local file or URL
inbox import [dir]Import captured files from the inbox
compileCompile wiki pages, graph data, and search
query <question>Ask the compiled vault a question
lintRun anti-drift and structural checks
watchWatch the inbox and run import/compile cycles
mcpRun the vault as a local MCP server
graph serveStart the graph viewer
install --agentInstall agent rules

Global Options

  • --version - Show version number
  • --help - Show help for any command