← Docs hub

AGENT / CLI MODE — synchronous claude -p synthesis.

Claude CLI synthesis backend

v1.4.0 uses synthesis.backend: claude for agent-friendly synthesis. Each page is synthesized with a single claude -p - invocation — no pending-prompt files, no --list-pending / --complete round-trip.

One-line enable

{
  "synthesis": {
    "backend": "claude",
    "claude_model": "sonnet"
  }
}

Optional: claude_path (binary path), timeout (seconds, default 180).

How it works

  1. llmwiki synth (or add / all) resolves the backend.
  2. For each new/changed raw file, the pipeline renders the source-page prompt.
  3. ClaudeCLISynthesizer shells out to claude -p - with the prompt on stdin.
  4. The wiki page is written immediately under wiki/sources/.

CLI

python3 -m llmwiki synth --check      # is claude available?
python3 -m llmwiki synth --estimate   # cost preview
python3 -m llmwiki synth              # run (sources + candidates)
python3 -m llmwiki synth --force      # re-synth everything

Removed (v1.4.0)

Old Replacement
synthesis.backend: agent / agent_delegate claude
synthesize --list-pending n/a — synthesis is synchronous
synthesize --complete <uuid> n/a
.llmwiki-pending-prompts/ migrated into llmwiki-state.json / deleted

See UPGRADING.md for the one-time state migration.

Invariants

Keyboard shortcuts

⌘K / Ctrl+KOpen command palette
/Focus search
g hGo to home
g pGo to projects
g sGo to sessions
j / kNext / prev row (tables)
?Show this help
EscClose dialogs

Structured queries

Mix key:value filters with free text in the palette:

type:sessionOnly session pages
project:llm-wikiFilter by project name (substring)
model:claudeFilter by model name (substring)
date:>2026-03-01Sessions after a date
date:<2026-04-01Sessions before a date
tags:rustPages mentioning a tag/topic
sort:dateSort results by date (newest first)

Example: type:session project:llm-wiki date:>2026-04 sort:date