Skip to main content

Prerequisites

  • Rust 1.89+ (stable, edition 2024)
  • Cargo (included with Rust)

Build

First Run

1

Initialize the database

2

Ingest sample data

The repository includes sample signals with 3 entities (Alice, Bob, Kremis) and their relationships.
3

Start the HTTP server

The server starts on http://localhost:8080 by default.
4

Query the graph

In a separate terminal:
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.
By default, API key authentication is disabled. The server logs a warning on startup. This is expected for local development. To enable authentication, set the KREMIS_API_KEY environment variable or add api_key under [security] in kremis.toml before exposing the server on a network.

Docker

With configuration:
Multi-stage build (~152 MB image). Data persists in /data volume. Built-in healthcheck on /health.

Next Steps

API Reference

Explore all HTTP endpoints

CLI Reference

Full command-line documentation

Core Concepts

Understand signals, graphs, and stages

MCP Server

Connect AI assistants to Kremis
Last modified on August 4, 2026