Skip to main content
Every command of the quivr binary, from the tables the binary itself dispatches on, in internal/app/run.go (engine), internal/plugins/cli/cli.go (offline) and internal/online/online.go (online). The Needs column says whether a command runs the engine, works offline, or needs a running server. For the online commands in use, see Search from the command line; for AI agents, see Connect an AI agent and the MCP reference.

Commands

Engine commands

Engine commands run Quivr itself and read the JSON configuration file named by QUIVR_CONFIG; api, worker and migrate connect to PostgreSQL, Temporal, object storage and Weaviate. api and worker run until interrupted; migrate exits when done. migrate --contract also applies deferred contract migrations and closes the application rollback window. api and worker take no flags. storage status and journal connect only to PostgreSQL. journal status reads publication progress; mode changes require the documented writer-drain acknowledgement.

quivr api

Serve the public HTTP API until interrupted.

quivr worker

Run the background work that processes content, pulls connectors and delivers events, until interrupted.

quivr journal

Inspect change publication and explicitly switch its deployment-wide mode.

quivr storage

Check PostgreSQL schema readiness and report compact storage.

quivr migrate

Prepare PostgreSQL, object storage and the search projections, then exit. Rerun it to finish a step whose dependency was not ready.

Offline commands

quivr --version prints the distribution release, revision, API version and plugin engine compatibility version. quivr plugin commands help write and certify a plugin. They need no configuration file and no running server. Run quivr plugin alone to list them.

quivr —version

Print build identity without configuration or a running server.

quivr plugin dev

Run a plugin locally, check its discovery against the manifest and replay a fixture; restarts it on change with --watch.

quivr plugin init

Write a new Python plugin from a template: a normalizer, an alert rule (--kind subscription) or a source collector (--kind connector; add --push for an instance-token push source).

quivr plugin inspect

Validate a plugin manifest and print what the plugin declares.

quivr plugin test

Certify that the engine can safely invoke every Contribution the plugin declares.

Online commands

Online commands reach a running Quivr through its public HTTP API only, with an API key. They need no configuration file. Each prints its flags, environment and exit codes with --help, shown below. Search one or more Corpora of a running Quivr and print ranked hits with their provenance. quivr search --help prints:

quivr records

List one page of a Corpus’s Records or get a count, with optional time bounds. Prints the API JSON; list pages include a continuation cursor when another page exists. quivr records --help prints:

quivr mcp

Serve Quivr to an AI agent over MCP on stdin and stdout, with the tools of one profile. quivr mcp --help prints:

quivr apply

Preview or apply a private sources declaration through the public API. quivr apply --help prints: