Skip to main content
The Kremis CLI provides direct access to the graph engine for initialization, ingestion, querying, and export operations.

Global Options

OptionShortDescriptionDefault
--verbose-vEnable verbose outputOff
--quiet-qSuppress banner outputOff
--database <path>-DPath to the graph databasekremis.db
--backend <type>-BStorage backend: file or redbredb
--json-modeOutput in JSON formatOff

Commands

CommandDescription
initInitialize a new empty database
serverStart the HTTP API server
ingestIngest signals from a file or stdin
queryExecute a query on the graph
statusShow graph statistics
stageShow developmental stage
export / importExport or import graph data
hashCompute BLAKE3 hash of the graph

Environment Variables

VariableDescriptionDefault
KREMIS_API_KEYEnables Bearer token authentication(disabled)
KREMIS_RATE_LIMITRequests per second rate limit100
KREMIS_CORS_ORIGINSComma-separated allowed origins, or *localhost only
CLI commands and the HTTP server cannot run simultaneously — redb holds an exclusive lock. Stop the server before using CLI commands like ingest, status, or export.
Last modified on March 9, 2026