Registry / llm-agents / llm-wiki-compiler

llm-wiki-compiler

JSON →
library0.5.1jsnpmunverified

LLM Wiki Compiler is a CLI tool in active development (v0.5.1) that compiles raw sources (URLs, files) into an interlinked markdown wiki with claim-level provenance, semantic search, and MCP server integration for AI agents. It supports Anthropic, OpenAI, and Ollama providers, with configurable timeouts. Key differentiators: incremental compilation, Obsidian-compatible wikilinks, and provider-agnostic design.

npm install llm-wiki-compiler
INSTALL
IMPORT
SIG · LLM-WIKI-COMPILER
L
llm-wiki-compiler
llm-agentsjavascriptv0.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import llmwiki from 'llm-wiki-compiler'
const llmwiki = require('llm-wiki-compiler')
This is a CLI tool primarily used via npx or global install, not as a library. Import only works if package exports a programmatic API (currently not documented).
compile
import { compile } from 'llm-wiki-compiler'
No programmatic API is officially exported for v0.5.x; use CLI commands instead.
ingest
import { ingest } from 'llm-wiki-compiler'
No programmatic API is officially exported for v0.5.x; use CLI commands instead.

Global install, set Anthropic API key, ingest a URL, compile sources into wiki, then ask a question.

npm install -g llm-wiki-compiler@0.5.1 export ANTHROPIC_API_KEY=sk-... llmwiki ingest https://example.com/article llmwiki compile llmwiki query "What is the main point?"
llm-wiki-compiler --version
Debug
Known issues
breakingv0.5.0 crashes on startup with 'ERR_PACKAGE_PATH_NOT_EXPORTED' due to deep import into youtube-transcript.
fix
Upgrade to v0.5.1: npm install -g llm-wiki-compiler@0.5.1
affects: 0.5.0
gotchaAnthropic provider requires either ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN; order of precedence: shell env, .env, then Claude Code settings.
fix
Set ANTHROPIC_API_KEY in shell or .env file.
affects: >=0.1.0
gotchaOpenAI provider requires OPENAI_BASE_URL to include '/v1' (e.g., http://host:port/v1).
fix
Ensure OPENAI_BASE_URL ends with /v1.
affects: >=0.1.0
Errors
Common errors & fixes
ERR_PACKAGE_PATH_NOT_EXPORTED
v0.5.0 deep imports into youtube-transcript that does not expose that subpath.
fix
npm install -g llm-wiki-compiler@0.5.1
Error: No LLM provider configured
Missing LLMWIKI_PROVIDER or provider-specific API key.
fix
Set LLMWIKI_PROVIDER and corresponding API key environment variable.
Upgrade
Version history
0.5.1latest on npm
Audit
Dependencies
youtube-transcriptoptionalUsed for fetching YouTube transcripts as sources
Agent activity
36 hits · last 30 days
node
34
OpenAI (training)
1
Resources
llm-wiki-compiler — npm install llm-wiki-compiler · libregistry