Knowledge base

One shared, versioned catalog for your organization. People and agents read and write the same documents. Teams sign in with your identity provider and join with one command.

How knowledge flows

  agent ──record──▶ MEMORY ──/promote──▶ KNOWLEDGE BASE ──▶ LIBRARY
    ▲               private   review     shared            people
    └───────────────── consult first ◀──────────┘

The agent drafts in memory as it works. What others should rely on moves up through /promote. On a shared subject the agent consults the knowledge base first.

Join

Install the knowledge plugin next to the memory plugin.

Agent Install
Claude Code, Cowork /plugin install demarkus-knowledge@demarkus
Cursor Plugins panel → demarkus-knowledge → Add
OpenCode Installer below, then restart
pi pi install git:github.com/latebit-io/demarkus-pi-knowledge
curl -fsSL https://raw.githubusercontent.com/latebit-io/demarkus/main/plugins/opencode-knowledge/install.sh | bash

Then join your system and sign in through the browser:

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

No server to run, no token to copy. Access is checked per world. In Cowork, join from a terminal, or have an admin add the system’s /mcp URL as a connector.

Try it against the live system: /knowledge-join https://knowledge.demarkus.io

Work

Policy

The root world publishes the rules at mark://root/.well-known/demarkus/: policy.md (required tags and their allowed values), template.md (layout), and style.md. Joining agents read them; the server enforces them inside every commit. Each world can tighten the floor, never loosen it.

Check On a bad write
Required tags and fields Warn, ask, or block, as the policy sets
Secrets Refused, naming the rule and line. No override
Personal data Refused by default; a reviewed false positive lands with a reason
Near-duplicate Refused, naming the document that holds it; update that one, or override with a reason
Style Notes on the result

Run one

demarkus-knowledge is one process: worlds, single sign-on, the MCP gateways, and the cross-world graph.

   coding agents        library
         │                 │
         └── MCP + OIDC ───┘
                  │
         demarkus-knowledge
     gateways · worlds · graph
                  │
        ┌─────────┼─────────┐
        ▼         ▼         ▼
      root     platform   payments
       one GCS bucket per world

The same binary serves hosted memory: each signed-in person gets a private memory world over MCP, for Claude Desktop, ChatGPT, or Cursor.