Skip to content

LLM Wiki

Multi-tenant LLM-maintained knowledge base. Agents incrementally build structured markdown wikis from raw sources — knowledge compounds over time rather than being re-derived per query.

Namellm-wiki
Version0.1.0
Categoryai-systems
LicenseApache-2.0
Personaengineering
Tagsknowledge-base, llm, wiki, multi-tenant, rag-alternative
Sourcetemplates/llm-wiki

Render it

Three front doors, one catalog. Pick whichever suits the caller.

# CLI
npx @nanohype/sdk render llm-wiki --out ./my-app

# SDK
import { LocalSource, renderTemplate } from "@nanohype/sdk";
const result = await renderTemplate(source, "llm-wiki", variables);

# MCP — from an agent
get_template({ name: "llm-wiki" })

Variables

Required

ProjectName string
Kebab-case project name Must be kebab-case.

Optional

Description string — defaults to Multi-tenant LLM-maintained knowledge base
Short project description
StorageProvider string — defaults to git
Default wiki storage backend
LlmProvider string — defaults to anthropic
Default LLM provider for wiki operations
SourceProvider string — defaults to local
Default source ingestion provider
IncludeApi bool — defaults to true
Include HTTP API server (Hono)
IncludeCli bool — defaults to true
Include CLI interface
IncludeTests bool — defaults to true
Include test suite

What it produces

58 files. Placeholder names such as __APP_NAME__ are what the renderer substitutes into.

.gitignore
biome.json
package.json
src/__tests__/ingest.test.ts
src/__tests__/link-graph.test.ts
src/__tests__/lint.test.ts
src/__tests__/query.test.ts
src/__tests__/registry.test.ts
src/__tests__/tenant.test.ts
src/api/middleware/auth.ts
src/api/routes/admin.ts
src/api/routes/sources.ts
src/api/routes/tenants.ts
src/api/routes/wiki.ts
src/api/server.ts
src/cli/commands/ingest.ts
src/cli/commands/lint.ts
src/cli/commands/query.ts
src/cli/commands/schema.ts
src/cli/commands/tenant.ts
src/cli/index.ts
src/config.ts
src/index.ts
src/llm/anthropic.ts
src/llm/index.ts
src/llm/mock.ts
src/llm/registry.ts
src/llm/types.ts
src/operations/ingest.ts
src/operations/lint.ts
src/operations/query.ts
src/operations/queue.ts
src/operations/types.ts
src/resilience/__tests__/circuit-breaker.test.ts
src/resilience/circuit-breaker.ts
src/schema/default-schema.yaml
src/schema/parser.ts
src/schema/types.ts
src/sources/index.ts
src/sources/local.ts
src/sources/mock.ts
src/sources/registry.ts
src/sources/types.ts
src/storage/git.ts
src/storage/index.ts
src/storage/mock.ts
src/storage/registry.ts
src/storage/types.ts
src/tenant/auth.ts
src/tenant/registry.ts
src/tenant/types.ts
src/wiki/index-manager.ts
src/wiki/link-graph.ts
src/wiki/page.ts
src/wiki/search.ts
src/wiki/types.ts
tsconfig.json
vitest.config.ts

Composes with