Karpathy LLM Wiki — AI Wiki Plugin for Obsidian

Your notes. A living wiki. Write in Obsidian — notes, PDFs, web clips. Every input connects to a network that keeps growing.

Scroll
Why It Matters

Nothing you read should go to waste.

Lose it, or grow it?

Before — Saving

Save an article. Forget where. Search later. Nothing.

After — Saving

Pick a note from your vault. Ideas found, pages built, summary ready. In seconds.

Before — Connecting

Link two notes by hand. One changes. The other stays old. The link dies.

After — Connecting

Links stay alive. When new information contradicts the old, every related page stays current.

Before — Growing

A year of notes. Just files. Every project starts over. Same reading. Same conclusions.

After — Growing

A year builds a wiki. Every new question draws on everything you've collected. Your knowledge grows.

How It Works

From note to wiki

One note. A world of connections.

Source
sources/sleep-hygiene.md
1# Why We Sleep: Key Findings
2
3Sleep is the single most effective thing we can do to reset our brain and body.
4
5## Sleep Architecture
6- NREM Stage 3 (deep sleep): physical restoration, immune function
7- REM: emotional processing, creativity, memory consolidation
8- Each cycle ~90 min, 4-5 cycles per night ideal
9
10## The Cost of Sleep Debt
11- After 1 week of 6h/night: cognitive performance equals 0.05% BAC
12- Chronic sleep debt linked to Alzheimer's — glymphatic clearance drops 60%
13- 5h sleep → testosterone drops 10–15% in healthy young men
14
15## Practical Sleep Hygiene
16- Optimal bedroom temperature: 18–19°C
17- No blue light 90 min before bed — melanopsin sensitivity peaks at 480nm
18- Caffeine half-life 6h: last intake before 2pm
19- Wake-time consistency matters more than bedtime consistency
20
21## Open Questions
22- Do naps compensate for night debt? Evidence mixed
23- Melatonin: 0.3mg as effective as 3mg. Most supplements are overdosed.
154 words · 5 sections · 23 lines
Features

What changes for you

Not features. A new relationship with everything you read.

Zero effort

It just happens

Pick a note from your vault — `Cmd+P` → Ingest. AI reads, extracts, builds. No folders. No tags. No work.

Natural

Just talk

Ask like you would a friend. Watch it reason, then answer with sources you can open and trust.

Batch Wise

From one to many in one go

Cmd+P → Multi-File Ingest opens a live queue with a folder-tree picker. Select 5 or 50 notes at once — no staging folder needed.

On your terms

Stays current

New files? Auto-ingested. Contradictions? Found. Health? Checked. On your terms.

And more:
Living links Every change, traceable Fine to coarse. You decide. Per-task models One click fixes everything What you finalize, stays Every answer, traceable PDFs become first-class sources Your tags. Your call. 10-language outputSee it reasonCatches contradictionsFinds duplicatesRecovers from hiccupsSkips what's done
Blog

Latest from the blog

Deep dives on architecture, workflows, and model selection.

See all posts
Get Started

Ready in minutes

Obsidian is all you need.

01

Install

In Obsidian: Settings → Community plugins → Browse, search Karpathy LLM Wiki, click Install then Enable.

Open Plugin Page
02

Configure

Settings → Karpathy LLM Wiki. Pick your LLM, enter key, test, save.

03

Use

Cmd+P (or Ctrl+P). Type Ingest to add a single note or Multi-File Ingest to pick many at once. Type Query to ask.

FAQ

Questions, answered

Everything worth knowing, before you start.

How is this different from me just [[linking]] my own notes?

When you [[link]] notes manually, you capture connections you already know. The plugin works differently: it reads every note in your vault, extracts the people, concepts, and theories embedded in them, then auto-generates wiki pages that surface links you hadn't noticed — connections between papers you read months apart, themes across folders, insights buried in passing mentions. Your manual links stay intact; the plugin adds an AI-powered layer that finds what you didn't know was there.

Does the plugin modify my notes? What if the AI gets something wrong?

Your vault stays exactly as you wrote it. The plugin only creates new wiki pages in its own folders — entities/, concepts/, and similar — under your wiki/ folder. If an auto-generated page is wrong, simply delete it and run ingest again; it will be rebuilt from scratch. Once you mark a page as reviewed, the AI never rewrites it, only appends. Every conversational answer also links back to the source notes it came from, so you can verify any claim with one click.

What are the minimum requirements?

Obsidian v1.11.0+ (desktop: Windows, macOS, Linux) and an LLM provider API key. Supported: DeepSeek, Gemini, Claude, GPT, Kimi, GLM, MiniMax, OpenRouter, or any custom endpoint. No API key needed for local models via Ollama or LM Studio.

Which model should I choose? How much will it cost?

Long-context models recommended — they process your entire wiki in one pass. A single ingest costs $0.05–$0.50. All costs go to the LLM provider; the plugin itself is free and open source.

Can I keep my data completely private by running fully offline?

Yes — and that's exactly how the plugin is built. With Ollama or LM Studio, every byte stays on your machine: notes, extracted entities, wiki pages — never sent, never logged, never touched by any external server. The plugin has zero telemetry, no backend, no storage, and no data collection of any kind; it never connects outbound on its own, even to check for updates. Using a cloud provider? Data is transmitted only during the specific ingest or query you trigger, never cached externally, never shared. This zero-exfiltration architecture means you can confidently use it with research data, client records, personal journals, or any confidential material — regardless of sensitivity. Cloud models offer larger context windows and faster throughput for heavy batch work; local models give you absolute data sovereignty for day-to-day use.

How do I get help or report bugs?

Found a bug? Open an issue on GitHub. Have a question or idea? Start a Discussion on GitHub. You can also find the plugin on the Obsidian Community Plugin page and leave a review.

Can the plugin read PDFs and scanned documents?

Yes — since v1.25.0, PDFs are a first-class input. Pick a PDF from anywhere in your vault (`Cmd+P` → Ingest single source). The plugin reads it through your LLM provider's native file input (Anthropic Claude, OpenAI GPT-4o, and Bedrock variants handle PDFs natively), converts it to Markdown via OCR-style verbatim transcription with anti-hallucination markers for figures and equations, and re-enters the regular Markdown ingest pipeline. The converted Markdown is content-hash cached in .obsidian/plugins/karpathywiki/pdf-cache/, so re-ingesting is instant. By default your vault is not modified; enable Write PDF Markdown to Vault in Settings to also write a <basename>.pdf.md sidecar next to the source PDF.

Can I pick a different model for indexing versus querying?

Yes — since v1.24.0, the plugin supports per-task model selection. In Settings → Wiki → Model Scope, switch from Unified (one model for everything) to Per-Task, then pick an independent model for Ingest, Lint, and Query. A common pattern: a cheap fast model for ingest (DeepSeek, MiniMax), a strong model for lint (Claude, GPT-4o), and a long-context model for query. Test Connection probes each configured model sequentially with fail-fast — until every per-task model passes, the connection is considered unhealthy.

Does PDF ingestion work fully offline?

Yes — if you pair PDF Ingest with a local model via Ollama or LM Studio, every PDF stays on your machine end-to-end. The recommended setup on Apple Silicon is oMLX + the Markitdown backend + Baidu's open-sourced Unlimited-OCR model (3B total / 0.5B active), connected via a Custom OpenAI-Compatible provider with Force PDF Support enabled. PDFs never leave your vault; conversion runs locally; the resulting Markdown hits the same entity-extraction pipeline, also on-device.

Ecosystem

Every plugin, amplified

Not an island. Every tool you love, now better.

Graph View

See links

+ Karpathy LLM Wiki

Wiki gives your graph meaning. Hub pages, clusters, orphans. Exploration, not decoration.

Web Clipper

Save articles

+ Karpathy LLM Wiki

Save the clip anywhere in your vault. Run `Cmd+P` → Ingest from folder. AI extracts, links, updates. One clip becomes 10+ wiki pages.

Dataview

Query data

+ Karpathy LLM Wiki

AI adds structure. Tags, dates, categories. Empty tables become living dashboards.

Git

Track versions

+ Karpathy LLM Wiki

Watch your knowledge evolve. Every commit tells the story of how you grew.

Marp

Make slides

+ Karpathy LLM Wiki

Ask: "Summarize my research for a 10-minute talk." Wiki builds slides from your knowledge.

Canvas

Visual canvas

+ Karpathy LLM Wiki

AI builds concept maps, timelines, decision trees from your knowledge. No more blank canvas.

Just the beginning. When your knowledge has structure, every plugin becomes more powerful.
Bring Your Own AI

Your model. Your rules.

Twelve providers, cloud or local. Switch anytime — lock into nothing.

Switch any time

Twelve providers, one dropdown apart. Outgrow one, switch to the next — your wiki never notices.

Privacy first

No backend. No tracking. Nothing stored. Your notes only travel to the AI you choose — or stay fully offline with a local model.

Costs almost nothing

The plugin is free. A full ingest runs you $0.05–$0.50 on the LLM side — pick a value model and you'll barely notice it.

Twelve providers, ready to go

Cloud or local — use the one you trust.

DeepSeek
Best value
Best value
Anthropic
Claude
Google
Gemini
OpenAI
GPT
Kimi
Moonshot
GLM
Zhipu AI
MiniMax
Cloud
OpenRouter
Any model
Ollama
Local
Local
LM Studio
Local
Local
Anthropic-Compatible
Custom endpoint
OpenAI-Compatible
Custom endpoint

Long-context models read your whole wiki in a single pass — the complete picture, not fragmented snippets. Ollama and LM Studio run fully on-device — no upload, no API key.

Ready to build your wiki?

Open source. Community driven. Just Obsidian.

Add to Obsidian