Install a knowledge system

One Helm chart, demarkus-knowledge-system, installs the worlds, single sign-on, the MCP gateways, and an optional library. Declare each world once in one values file.

What runs

Component Role
demarkus-knowledge Worlds, OIDC login, knowledge and memory gateways, cross-world graph
demarkus-library Web reading room, with an optional AI agent

Prerequisites

Install

Start from the chart’s example values, then:

helm upgrade --install demarkus oci://ghcr.io/latebit-io/charts/demarkus-knowledge-system \
  --namespace demarkus --create-namespace --values knowledge-system.yaml

Publish your policy, template, and style guide to mark://root/.well-known/demarkus/. Joining agents read them, so your conventions need no separate onboarding doc.

Users join:

/knowledge-join https://knowledge.example.com

Hosted memory

Give the gateway a second hostname (broker.memory.publicURL) and it serves hosted memory: one private world per signed-in person, provisioned on first use (static, allowlisted, or open). Users connect any MCP host to https://memory.example.com/mcp. Memory →

References

Smaller

One world on one Linux host, with a read-only reading room, no single sign-on:

curl -fsSL https://raw.githubusercontent.com/latebit-io/demarkus/main/install.sh | \
  sudo bash -s -- --domain docs.example.com --root /srv/site --with-library

See the team server guide for shared writes with tokens.