A

A Karpathy-style LLM wiki your agents maintain (Markdown and Git)

Hacker News

A Karpathy-style LLM wiki your agents maintain (Markdown and Git)

I shipped a wiki layer for AI agents that uses markdown + git as the source of truth, with a bleve (BM25) + SQLite index on top. No vector or graph db yet. It runs locally in ~/.wuphf/wiki/ and you can git clone it out if you want to take your knowledge with you. The shape is the one Karpathy has been circling for a while: an LLM-native knowledge substrate that agents both read from and write into, so context compounds across sessions rather than getting re-pasted every morning. Most implementations of that idea land on Postgres, pgvector, Neo4j, Kafka, and a dashboard. I wanted to go back to the basics and see how far markdown + git could go before I added anything heavier. What it does: -> Each agent gets a private notebook at agents/{slug}/notebook/.md, plus access to a shared team wiki at team/. -> Draft-to-wiki promotion flow. Notebook entries are reviewed (agent or human) and promoted to the canonical wiki with a back-link. A small state machine drives expiry and auto-archive. -> Per-entity fact log: append-only JSONL at team/entities/{kind}-{slug}.facts.jsonl. A synthesis worker rebuilds the entity brief every N facts. Commits land under a distinct "Pam the Archivist" git identity so provenance is visible in git log. -> [[Wikilinks]] with broken-link detection rendered in red. -> Daily lint cron for contradictions, stale entries, and broken wikilinks. -> /lookup slash command plus an MCP tool for cited retrieval. A heuristic classifier routes short lookups to BM25 and narrative queries to a cited-answer loop. Substrate choices: Markdown for durability. The wiki outlives the runtime, and a user can walk away with every byte. Bleve for BM25. SQLite for structured metadata (facts, entities, edges, redirects, and supersedes). No vectors yet. The current benchmark (500 artifacts, 50 queries) clears 85% recall@20 on BM25 alone, which is the internal ship gate. sqlite-vec is the pre-committed fallback if a query class drops below that. Canonical IDs are first-class. Fact IDs are deterministic and include sentence offset. Canonical slugs are assigned once, merged via redirect stubs, and never renamed. A rebuild is logically identical, not byte-identical. Known limits: -> Recall tuning is ongoing. 85% on the benchmark is not a universal guarantee. -> Synthesis quality is bounded by agent observation quality. Garbage facts in, garbage briefs out. The lint pass helps. It is not a judgment engine. -> Single-office scope today. No cross-office federation. Demo. 5-minute terminal walkthrough that records five facts, fires synthesis, shells out to the user's LLM CLI, and commits the result under Pam's identity: https://asciinema.org/a/vUvjJsB5vtUQQ4Eb Script lives at ./scripts/demo-entity-synthesis.sh. Context. The wiki ships as part of WUPHF, an open source collaborative office for AI agents like Claude Code, Codex, OpenClaw, and local LLMs via OpenCode. MIT, self-hosted, bring-your-own keys. You do not have to use the full office to use the wiki layer. If you already have an agent setup, point WUPHF at it and the wiki attaches. Source: https://github.com/nex-crm/wuphf Install: npx wuphf@latest Happy to go deep on the substrate tradeoffs, the promotion-flow state machine, the BM25-first retrieval bet, or the canonical-ID stability rules. Also happy to take "why not an Obsidian vault with a plugin" as a fair question.

Share card

Actual performance

260points
114comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, agents, agent · Missing: macos, cursor, model
97%97% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
71%71% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: open source, ide, io · Missing: https docs, excited, just released
68%68% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
46%46% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: plus, host · Missing: platform, intuitive, reviews
35%35% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
25%25% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

To
Torchpad – Markdown Wiki Platform built on top of Git59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Torchpad – Markdown Wiki Platform built on top of Git

Hacker News2
Gi
Giki – Markdown-powered Wiki64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Giki – Markdown-powered Wiki

Hacker News2
St
Stigmergy, a Karpathy-style LLM wiki for a team, not one person50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Stigmergy, a Karpathy-style LLM wiki for a team, not one person

Hacker News1
Wi
WikiZen – Simple Markdown Wiki Stored in Your Dropbox65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WikiZen – Simple Markdown Wiki Stored in Your Dropbox

Hacker News4
LLM Wiki Tools
LLM Wiki Tools43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A compounding wiki your LLM builds and maintains.

Indie Hackers1ai
Gi
Giki, the __simple__ wiki50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Giki, the __simple__ wiki

Hacker News2
Aw
AwwKoala – another wiki in Go with a KISS sensibiltity and listifying50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AwwKoala – another wiki in Go with a KISS sensibiltity and listifying

Hacker News1
An
Anno.wiki – Annotation Wikis on Literature51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Anno.wiki – Annotation Wikis on Literature

Hacker News1
A
A Wiki Among Many50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Wiki Among Many

Hacker News2
Qa
Qavvali Wiki58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Qavvali Wiki

Hacker News5