Skip to main content

Knowledge base operating system — AI agents compile raw sources into persistent, cross-linked Markdown wikis

Project description

LLM Wiki Monorepo

CI Python 3.10+ Node 18+ License MIT

pip install baissarienterprises-llm-wiki

A production-grade knowledge base operating system. AI agents compile raw sources into persistent, cross-linked Markdown wikis. Knowledge compounds over time. No database. No API lock-in. Just files.

Instead of re-retrieving raw documents on every query (RAG), this system compiles sources into a living wiki that agents maintain automatically. Clone anywhere, run with any AI agent, pull on any machine.


Features

Area Capabilities
Ingestion Two-stage chain-of-thought ingest with SHA256 caching. Multi-step agent loop. Batch processing. Deep research (web search → fetch → ingest → synthesize).
Quality 15-pass automated lint: dead links, orphans, frontmatter validation, contradictions, source drift, page size, log rotation. New: stale page detection when raw sources change.
Graph Knowledge graph engine (TypeScript): Louvain community detection, 4-signal relevance model, surprising connections, knowledge gaps. Pure Python fallback.
Backup Snapshot, restore, integrity verification, automatic pruning. One-command --auto for safe state.
Link Suggestions Entity extraction from frontmatter/headings/bold terms. 4-signal scoring. Automatic wikilink insertion (--apply).
Search BM25 full-text search (TypeScript, zero deps). Web viewer search bar with ranked results. Graph search.
MCP Server 8 stdio tools for programmatic access. New: serve multiple wikis from one server (--projects). Integrates with Claude Desktop, Codex, Cursor.
Templates 19 domain-specific wiki scaffolds with consistent schemas. Research, codebase, finance, ML, cybersecurity, medicine, and more.
Web Viewer Local preview with KaTeX, mermaid, wikilink resolution. New: search bar, graph insights panel.
Browser Extension Chrome web clipper with Readability + Turndown. New: auto-trigger ingest after clip.
CI/CD GitHub Actions: Python syntax checks, TypeScript builds, full integration test (scaffold → lint → graph build → insights).

Quick Start

# Install from PyPI
pip install baissarienterprises-llm-wiki

# Or install from source (for development)
git clone https://github.com/JeanBaissari/llm-wiki-monorepo.git
cd llm-wiki-monorepo
bash install.sh

# Scaffold a wiki
llm-wiki scaffold ~/my-wiki "My Research" --template research

# Ingest a source (two-step agent loop)
llm-wiki ingest ~/my-wiki raw/articles/my-source.md

# Check quality
llm-wiki lint ~/my-wiki

# Discover connections
llm-wiki insights ~/my-wiki

# Start MCP server (for Claude Desktop, Codex, etc.)
llm-wiki serve ~/my-wiki

Architecture

wiki/ directory  ← shared state (Markdown files)
     │
      ├── Agent Skill + Python Scripts   → 12 scripts: scaffold, ingest, lint,
      │                                     insights, backup, link-suggest,
      │                                     deep-research, audit, benchmark,
      │                                     migrate-log, test-e2e, test-blocks
     ├── MCP Server (stdio)             → programmatic access, 8 tools,
     │                                     single or multi-wiki mode
     ├── Graph Engine (Node.js)         → relevance model, Louvain, insights
     ├── Web Viewer + Obsidian Plugin   → human browsing + feedback
     ├── Browser Extension              → web clipping + auto-ingest
     └── templates/                     → 19 domain schemas

Packages

Package Language Purpose
skill/ Python + Markdown Agent skill (8 operations) + 12 Python scripts + 11 reference docs
mcp-server/ TypeScript MCP server — 8 tools, single or multi-wiki mode
graph-engine/ TypeScript Knowledge graph — relevance, Louvain communities, insights
templates/ Markdown + JSON 19 domain-specific project templates (audited, consistent)
web-viewer/ TypeScript Preview server with search + graph insights panel
extension/ JavaScript Chrome web clipper with auto-ingest
audit-shared/ TypeScript Shared audit file format library
plugins/obsidian-audit/ TypeScript Obsidian plugin — file feedback from vault

Templates (19 domains)

research codebase finance algorithmic-trading cybersecurity machine-learning prompt-engineering copywriting marketing design-systems architecture crypto commodities decompilers medicine developer-tools personal-growth reading business

Every template provides: PURPOSE.md (scope + goals), SCHEMA.mdCLAUDE.md (page types, conventions, frontmatter, cross-referencing, contradiction handling), extra-dirs.json (domain directories).

Documentation

File What it covers
README.md You are here
QUICKGUIDE.md Every command with real examples
AGENTS.md Architecture, conventions, build/test commands
INDEX.md Complete file tree with descriptions
VERSIONING.md Semantic versioning policy and release process
PURPOSE.md Why this system exists
skill/references/ 11 detailed reference guides

Requirements

  • Python 3.10+ — for all skill scripts
  • Node.js 18+ — for MCP server, graph engine, web viewer
  • npm — for package management

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

baissarienterprises_llm_wiki-0.1.0.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

baissarienterprises_llm_wiki-0.1.0-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

Details for the file baissarienterprises_llm_wiki-0.1.0.tar.gz.

File metadata

File hashes

Hashes for baissarienterprises_llm_wiki-0.1.0.tar.gz
Algorithm Hash digest
SHA256 714e0ebab7783f793ab77766bb3a7ca68326fb25ae4ecfbc77a6a623464fcaa8
MD5 644fcc6e7181526bf7a1b441305a7978
BLAKE2b-256 4c0834de607bc5816fee4c5ae61c8733723e0607349fd930a49af903af527628

See more details on using hashes here.

Provenance

The following attestation bundles were made for baissarienterprises_llm_wiki-0.1.0.tar.gz:

Publisher: release.yml on JeanBaissari/llm-wiki-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baissarienterprises_llm_wiki-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for baissarienterprises_llm_wiki-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50c0f286d6cad0c6984400c632476d929d0dd91cc5757d5b01832e20baeb90a8
MD5 44e59eccf94449e1aacbd2991eadab48
BLAKE2b-256 2200c9eb055d64b73201495c0451929b21271e86b3850b084133a812e6167f5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for baissarienterprises_llm_wiki-0.1.0-py3-none-any.whl:

Publisher: release.yml on JeanBaissari/llm-wiki-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page