Package Exports
- @hive-mind/wiki-compiler
Readme
@hive-mind/wiki-compiler
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/coreBring your own LLM provider — Anthropic SDK is an optional peer:
npm install @anthropic-ai/sdkQuick 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.