Karpathy-style LLM Wikis for the Hermes Agent — persistent, compounding knowledge bases curated by AI agents

Getting Started

Requirements

Installation

git clone https://github.com/hermes-wiki/hermes-wiki.git
cd hermes-wiki
uv sync

Verify:

uv run hermes-wiki --help

Setting Up an Isolated Home

For development and testing, use an isolated Hermes home instead of your live ~/.hermes:

uv run python -m hermes_wiki.harness --repo-root "$(pwd)" init
export HERMES_HOME="$(pwd)/.hermes-test"

This seeds API keys from your live environment into the isolated home.

Create Your First Wiki

uv run hermes-wiki create ai-tooling --domain "AI agents and coding tools"
uv run hermes-wiki switch ai-tooling

Ingest a Source

Drop a file in the inbox or ingest directly:

# Direct ingest from URL
uv run hermes-wiki ingest https://example.com/article --wiki ai-tooling

# Or ingest a local file
uv run hermes-wiki ingest ./paper.pdf --wiki ai-tooling

# Process all inbox items
uv run hermes-wiki ingest --inbox --wiki ai-tooling

The pipeline classifies the source, processes it into wiki pages, updates the index, and commits.

Search Your Wiki

uv run hermes-wiki search "attention mechanism" --wiki ai-tooling --limit 5

Check Health

uv run hermes-wiki lint --wiki ai-tooling

This runs 19 automated checks for broken links, orphan pages, stale content, and more.

Start the Dashboard

cd dashboard && npm install && npm run build && cd ..
uv run python -m hermes_wiki.harness --repo-root "$(pwd)" dashboard start --port 9123

Open http://127.0.0.1:9123 and navigate to the Wikis tab.

Next Steps