Files
waggle-os/packages/hive-mind-wiki-compiler/README.md
Oleg Maslov 0c3e2ead3b
Some checks failed
Installer Smoke / installer-smoke (push) Has been cancelled
moving
2026-09-02 10:10:29 +02:00

1.5 KiB

@hive-mind/wiki-compiler

npm License

Compile memory frames and knowledge-graph entities from @hive-mind/core into interlinked wiki pages using any LLM provider.

What it produces

  • Entity pages — one per significant entity (person, project, technology)
  • Concept pages — synthesized for abstract concepts and recurring themes
  • Synthesis pages — cross-cutting pages connecting entities and concepts
  • Health reports — data-quality analysis, gap detection

Compilation is incremental: only new or modified frames trigger recompilation.

Install

npm install @hive-mind/wiki-compiler @hive-mind/core

Bring your own LLM provider — Anthropic SDK is an optional peer:

npm install @anthropic-ai/sdk

Quick use

import { MindDB } from '@hive-mind/core';
import { WikiCompiler } from '@hive-mind/wiki-compiler';

const db = new MindDB('~/.hive-mind/my-project.mind');
const compiler = new WikiCompiler(db, { provider: 'anthropic' });

await compiler.compile({ incremental: true });
const report = await compiler.health();

License

Apache 2.0. See LICENSE and NOTICE.

Part of hive-mind

Full docs and architecture at the monorepo root.