Quick Start
This guide will help you set up Lore and import your first AI coding sessions.
Initial Setup
Section titled “Initial Setup”Run the setup wizard:
lore initThe wizard will:
- Detect installed AI coding tools
- Show which tools have existing sessions
- Let you choose which watchers to enable
- Offer to import existing sessions
- If Aider is enabled, offer to scan additional directories for aider projects
- Offer to configure a summary provider (for LLM-powered session summaries)
- Offer to install shell completions
- Offer to start the background service
Manual Setup
Section titled “Manual Setup”If you prefer to configure manually:
# Import existing sessionslore import
# List imported sessionslore sessions
# View a sessionlore show <session-id>Linking Sessions to Commits
Section titled “Linking Sessions to Commits”After making a commit with AI assistance:
# Link a session to the most recent commitlore link <session-id>
# View sessions linked to a commitlore show --commit HEADSyncing Reasoning History
Section titled “Syncing Reasoning History”Optionally share and back up your sessions over git. Sync is encrypted end to end, with no server and no account.
# Set a passphrase for this repository's storelore sync setup
# Fetch, encrypt, and push reasoning historylore syncInstall the pre-push hook to sync automatically on every git push:
lore hooks installSee the Syncing guide for the global store and team sharing.
Starting the Daemon
Section titled “Starting the Daemon”The daemon is optional. It captures sessions in real time and auto-links them, but it is not required for sync.
# macOS with Homebrewbrew services start lore
# Manual startlore daemon startExample Workflow
Section titled “Example Workflow”# 1. You're reviewing a PR and want to understand a changegit log --oneline -1# a1b2c3d feat: add rate limiting to API
# 2. See which AI sessions informed this commitlore show --commit a1b2c3d# Session: 7f3a2b1# Tool: claude-code# Messages: 23
# 3. View the full conversationlore show 7f3a2b1Next Steps
Section titled “Next Steps”- Linking Sessions to Commits - Learn about manual and automatic linking
- Searching Sessions - Find conversations across your history
- MCP Server Integration - Let AI tools query your session history