Skip to content

Configuration

Lore stores configuration in ~/.lore/config.yaml.

Run the setup wizard:

Terminal window
lore init

The wizard auto-detects installed AI tools and configures appropriate watchers.

Terminal window
lore config

Shows paths to database and config file.

Control which tools Lore captures sessions from:

Terminal window
# View current watchers
lore config get watchers
# Set watchers (comma-separated)
lore config set watchers claude-code,aider,gemini
# Enable all available watchers
lore config set watchers claude-code,codex,gemini,amp,aider,continue,cline,roo-code,kilo-code,opencode

For multi-machine setups:

Terminal window
# View machine identity
lore config
# Set machine name
lore config set machine_name "work-laptop"

Machine ID is a UUID generated on first run. Machine name is for human-readable identification.

Configure LLM-powered session summary generation. The recommended way to set this up is via the guided wizard:

Terminal window
lore init --force

The wizard handles provider selection and API key entry with hidden input, avoiding key exposure in shell history.

Config KeyDescription
summary_providerLLM provider: anthropic, openai, or openrouter
summary_api_key_anthropicAnthropic API key
summary_api_key_openaiOpenAI API key
summary_api_key_openrouterOpenRouter API key
summary_model_anthropicModel override (default: claude-haiku-4-5-20241022)
summary_model_openaiModel override (default: gpt-4o-mini)
summary_model_openrouterModel override (default: anthropic/claude-haiku-4-5-20241022)
Config KeyDescription
summary_autoEnable automatic summarization when sessions end (default: false)
summary_auto_thresholdMinimum message count to trigger auto-summarize (default: 10)
VariableOverrides
LORE_SUMMARY_PROVIDERsummary_provider
LORE_SUMMARY_API_KEYProvider-specific API key
LORE_SUMMARY_MODELProvider-specific model

API keys are masked in lore config get output (e.g., sk-a...3456).

Skip the first-run prompt:

Terminal window
lore --no-init sessions --format json
  • Config: ~/.lore/config.yaml
  • Database: ~/.lore/lore.db
  • Logs: ~/.lore/daemon.log