Overview
danvega/karpathy-wiki is the first major JVM implementation of the LLM Wiki pattern (Spring Boot + Java). The comprehensive report highlights it specifically for producing a backlinks.md file — an explicit backlink artifact, making it notable for the backlink dimension.
Key Facts
- Language: Java / Spring Boot — first major JVM implementation
- Notable: generates
backlinks.md— an explicit backlink index file - Use: enterprise Java shops wanting LLM Wiki integration
Features
Core Architecture
- Spring Boot application — Java 26, Spring Boot 4, Spring AI 2, Maven
- Three specialized agents — WikiCompilerAgent, ResearchAgent, WikiLinterAgent
- SCHEMA.md single source — one file defines wiki structure & workflows for all agents
- Interactive CLI —
shell:>prompt for direct interaction
Ingest & Processing
- Ingest from URL —
ingest --urlfetches page, strips boilerplate, converts to markdown, auto-compiles - Ingest from file — drop
.md/.txtintoraw/ - GitHub repo integration —
repo:field auto-clones repo, weaves code snippets into pages - Auto-compile —
wiki.ingest.auto-compile=truecompiles on ingest
Search & Retrieval
- ResearchAgent — answers questions with structured citations, writes notes/slides
- Query with artifacts — can generate Marp slide decks, write outputs
Quality & Governance
- WikiLinterAgent — deterministic structural scan (orphans, broken links, stubs) + LLM contradiction detection
- Lint reports — orphans, broken links, gaps, contradictions, backlink rebuild
- Backlinks auto-rebuild — linter rebuilds
backlinks.md - Op log —
wiki/log.mdappend-only chronological record
MCP / Tools
- Status — file counts and paths
- Agent memory —
memory/directory managed byAutoMemoryToolsAdvisor - Skills directory — style guide + templates agents consult
Integration
- Claude Code compatible — agent operates the CLI
- JVM ecosystem — integrates with Java/Enterprise tooling
Data & Storage
- Markdown files — plain markdown wiki output
- Backlinks index — machine-readable backlink artifact
Relationships
- “compatible-with” llm-wiki — JVM/Java port of the pattern
- “powered-by” wikilinks — its
backlinks.mdis an explicit form of backlink tracking - “powered-by” knowledge-graph — backlinks.md makes the inverse-edge graph computable
- “operates-with” claude-code — agent operates it; contrast with Python/TS implementations
Implications
danvega shows that explicit backlink files (backlinks.md) are a portable way to surface inbound links — relevant if this vault ever wants a machine-readable backlink index beyond Obsidian’s graph view.
External Links
- Repository: https://github.com/danvega/karpathy-wiki