Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

obsidian-llm-wiki

> AI 编程
Open source

Karpathy's LLM Wiki implementation plugin for Obsidian - turns notes and PDFs into a linked, LLM-powered knowledge base with entity pages, concept pages, graph-

391 stars0 likes1 views
WebsiteGitHub

About

Karpathy's LLM Wiki implementation plugin for Obsidian - turns notes and PDFs into a linked, LLM-powered knowledge base with entity pages, concept pages, graph-

Karpathy LLM Wiki Plugin for Obsidian

An Obsidian plugin that turns your notes into a connected, queryable knowledge base — the Karpathy LLM Wiki idea, built into the editor where you already write.

Obsidian Review Perfect Score • Zero-embedding graph retrieval • 11-language native • Native PDF + images + Office ingest • Works with every provider • Local-first • No backend • GDPR-Friendly

English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Deutsch | Français | Español | Português | Italiano | Русский

Official Site | Obsidian Marketplace | Blog | Discussions

Why this plugin? | Quick Start | ✨ Features | Ecosystem | ️ Headless CLI | How Retrieval Works | Models | ❓ FAQ ← If this plugin has helped you, feel free to buy me a coffee♥️ or drop a star↗


Why this plugin?

You write notes. They sit in folders. Finding what relates to what means remembering threads you forgot months ago.

Other open-source reimplementations of Karpathy's LLM Wiki idea exist — but none ships as a one-click Obsidian plugin. Most are CLI tools, Claude Code skills, or separate desktop apps; this one runs inside Obsidian — Graph View, ribbons, command palette included.

How we compare

Karpathy LLM Wiki (this plugin) nashsu / llm_wiki SamurAIGPT / llm-wiki-agent atomicstrata / llm-wiki-compiler
Delivery ✅ One-click Obsidian plugin Tauri desktop app Claude Code / Codex / OpenCode / Gemini CLI skill TypeScript CLI pipeline
Dependencies ✅ None — plugin only Python runtime + sqlite Claude Code / Codex / OpenCode runtime ❌ Embedding model + vector DB (per their docs)
i18n (UI + wiki output) ✅ 11 languages EN / 中文 ❌ EN only ❌ EN only
LLM providers ✅ 16+ (Anthropic, OpenAI, Bedrock, Gemini, DeepSeek, Qwen, Grok, Kimi, GLM, MiniMax, Step, Hunyuan, MiMo, Gemma, Codex OAuth, Ollama, LM Studio, OpenRouter, Anthropic-Compatible, …) OpenAI-compatible Subscription via Claude Code / Codex OpenAI-compatible
Retrieval & query pipeline ✅ PPR + Monte Carlo over [[wiki-link]] graph 2-hop decay (4-signal heuristic) Louvain community detection BM25 + semantic over chunks
Graph visualization ✅ Obsidian's native Graph View (built in, zero extra size) Custom sigma.js + graphology in desktop app vis.js graph.html (separate file) ❌ Read-only browser viewer
Ingest formats ✅ Markdown + PDF + images + Office (DOCX/PPTX/XLSX) — one switch flips between native PDF (Anthropic / OpenAI / Bedrock / Gemini) and the built-in MinerU multi-format backend Markdown + PDF Markdown / code files only Markdown only

Three we left off the table: sdyckjq/llm-wiki-skill was a Codex skill that 404s today (deleted by author); atomicstrata is included even though its retrieval is chunk-based because it's the most active TypeScript alternative; nashsu ships the largest user base of the three (10k+ stars, others 2k+) but is a Tauri desktop app, not an Obsidian plugin.

Three things we chose on purpose, not by accident

  • ** Obsidian is the runtime.** No terminal, no separate app, no Docker, no Python. Install from Community Plugins, click Ingest, the wiki lives in your vault from the first second. Obsidian's native Graph View renders your [[wiki-link]] graph — built in, zero extra bundle size.
  • ** Clean and self-contained.** Zero dependencies. No embedding model, no vector database, no pip package — a single plugin that reads your notes, talks to an LLM, and writes wiki pages. Everything lives inside Obsidian.
  • ** Any model you already pay for.** Anthropic, Bedrock, OpenAI, ChatGPT Plan (Codex OAuth), Gemini, DeepSeek, Qwen, Grok, Kimi, GLM, MiniMax, Step, Hunyuan, MiMo, Gemma, Ollama, LM Studio, OpenRouter, Anthropic-compatible, custom endpoint — sixteen-plus providers, none of them required to have an embedding endpoint.

Is it for me?

✅ Yes, if you:

  • Want a 5-minute setup, not a 5-hour project. Install from Community Plugins → pick a provider → Ingest one note. No CLI, no Python, no separate runtime, no vector DB. You see wiki pages in wiki/ within seconds.
  • Want something clean and self-contained. The plugin has exactly zero external dependencies: no embedding model, no vector database, no pip package, no Docker container. It's a single Obsidian plugin that reads your notes, talks to an LLM, and writes wiki pages into your vault. Everything lives inside Obsidian.
  • Want a queryable chat that answers from your notes — not the internet — with every answer carrying [[wiki-links]] back into your knowledge graph.
  • Care about data sovereignty — runs fully local with Ollama or LM Studio, never touching the internet.
  • Write in or read from any of 10 supported languages — the UI and wiki output language are independent (your wiki can be in Chinese while the interface is in English).
  • Maintain the graph by writing [[wiki-links]] — every link you write already enriches retrieval; no separate tagging/embedding/indexing step.
  • Want one-click maintenance — Lint health scan + Smart Fix All keep duplicates, dead links, and orphan pages in check without you hand-curating.

❌ No, if you:

  • Want a general-purpose ChatGPT replacement — answers come from your vault only, not the internet.
  • Need RAG over large external corpora (Confluence, Notion, arXiv, scraped web pages) — the plugin ingests your vault plus standalone PDF/Office files; bulk external-corpus RAG is out of scope by design.
  • Want a hosted SaaS with team collaboration — there's no backend, no server, no shared state; everything runs locally inside your Obsidian.

Quick Start

  1. Install. Obsidian → Settings → Community plugins → Browse → search "Karpathy LLM Wiki" → Install → Enable. Or visit the Community Plugin page and click Add to Obsidian.

  2. Configure a provider. Open Settings → Karpathy LLM Wiki → pick a provider (OpenAI, Anthropic, Ollama, ChatGPT Plan (Codex OAuth), etc.) → enter API key (not needed for local) → click Test Connection → Save.

  3. Ingest one note. Two ways:

    • ⌨️ Keyboard: Cmd+P/Ctrl+P → "Ingest single source" → pick any Markdown (or PDF, v1.25.0+) file.
    • ️ Toolbar icon: Click the sticker icon in Obsidian's left ribbon to instantly ingest the currently-open note — no menu hunting.

    Your first wiki pages appear in wiki/sources/, wiki/entities/, wiki/concepts/ within seconds.

  4. Query your wiki. Two ways:

    • ⌨️ Keyboard: Cmd+P/Ctrl+P → "Query wiki".
    • ️ Toolbar icon: Click the message-circle icon in Obsidian's left ribbon.

    A right-docked side panel opens (Copilot-style) where you can chat with your wiki. Answers carry [[wiki-links]] back into your knowledge graph.

That's it. The plugin modifies nothing in your original notes — only creates new pages under wiki/. Both Ingest and Query wiki are pinned to the left ribbon for one-click access anytime. (Cmd on macOS, Ctrl on Windows/Linux.)

Core commands

Command What it does
** Ingest single source** Cmd+P/Ctrl+P → "Ingest single source" — pick a Markdown or PDF (v1.25.0+) file, get entity/concept/wiki pages. Also: ️ ribbon sticker icon on the active note.
** Ingest from folder** Cmd+P/Ctrl+P → "Ingest from folder" — batch-ingest every note in a folder, with smart batch skip
** Ingest multiple files** Cmd+P/Ctrl+P → "Ingest multiple files" — pick a subset via a two-pane file tree (with live queue + per-file cancel)
** Query wiki** Cmd+P/Ctrl+P → "Query wiki" — chat with your wiki in a right-docked side panel; answers carry [[wiki-links]]. Also: ️ ribbon message-circle icon.
️ Lint wiki Cmd+P/Ctrl+P → "Lint wiki" — full health scan: duplicates, dead links, empty pages, orphans, missing aliases, contradictions
⚡ Smart Fix All inside Lint Modal — one-click causal-order repair with per-phase report
** Regenerate index** Cmd+P/Ctrl+P → "Regenerate index" — rebuild wiki/index.md with current pages and aliases
⏹ Cancel Cmd+P/Ctrl+P → "Cancel current ingestion" or click the status bar — stops cleanly at the next batch boundary
** Ingestion history** Cmd+P/Ctrl+P → "View Ingestion History" — searchable UI for past ingestions, lint reports, maintenance runs
Before After
notes/machine-learning.md (a flat file) wiki/concepts/supervised-learning.md with [[bidirectional links]], aliases, source attribution, and an entry in wiki/index.md

Walkthroughs in GitHub Discussions → Guides. Found it useful? Star the repo to follow releases.


✨ Features

Knowledge quality

  • ** Entity & concept extraction** — LLM extracts entities (people, orgs, products, events) and concepts (theories, methods, terms) into standalone pages. Granularity is configurable (Minimal → Fine, plus Custom) so you trade cost vs. depth.
  • ️ Mandatory aliases — every page ships with at least one alias (translation, abbreviation, variant) so cross-language duplicate detection works.
  • ** Tiered duplicate detection** — Tier 1 (direct name match: cross-language, abbreviation, high-similarity titles) is always verified; Tier 2 (shared links, medium similarity) fills remaining token budget.
  • ** Smart merge & contradiction state** — duplicates merge while preserving aliases; contradictions are flagged with source attribution; reviewed: true pages are protected from overwrite.
  • ** Custom tag vocabulary** — define your own entity-type and concept-type tags in Settings → Wiki → Tag Vocabulary → Custom. The vocabulary is a schema-injection hint, not a wire-level gate — small/local models may still drift (about one in ten returns the model's built-in taxonomy). Lint surfaces the rest. Design anchor for schema enforcement: Issue #328.

Document / PDF / Image ingest

Five on-ramps, switchable per ingest:

  1. ** Built-in MinerU backend (v1.27.0, #404)** — Settings → Wiki Configuration → Markdown Conversion Backend → MinerU. PDF + images (PNG/JPG/JPEG/JP2/WebP/GIF/BMP) + Office (DOC/DOCX/PPT/PPTX/XLS/XLSX) through MinerU's Precise parser. Token in Obsidian SecretStorage. Best path for scientifi

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptanthropicgraph-algorithmskarpathyknowledge-graph

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.