Lore
Reasoning history for code. Lore captures AI coding sessions and links them to git commits.
Lore saves all your AI coding sessions from Claude Code, Codex, etc and links them to commits. When you look at code later, you can see the conversation that produced it.
Documentation: lore.varalys.com
Use Cases
- Code review: See the AI conversation that produced a PR, not just the diff
- Debugging: Understand why code was written a certain way
- Knowledge transfer: AI conversations stay with the code when people leave
- Search: Find that conversation where you solved a similar problem
Installation
Homebrew (macOS)
Arch Linux (AUR)
Or with any AUR helper. See lore-cli-bin.
From crates.io
From Releases
Download from GitHub Releases.
Quick Start
# Guided setup
# Import existing sessions
# List sessions
# View a session
# Link to current commit
# Find sessions for a commit
# Trace a line of code to its AI session
# Search across all sessions
Key Features
| Feature | Description |
|---|---|
| Session Capture | Import from 10+ AI coding tools |
| Git Linking | Connect sessions to commits |
| Full-text Search | Find any conversation |
| Blame Integration | Trace code to sessions |
| MCP Server | Let AI tools query your history |
| Background Daemon | Real-time capture |
Supported Tools
Claude Code, Codex CLI, Gemini CLI, Amp, Aider, Continue.dev, Cline, Roo Code, Kilo Code, OpenCode
See Supported Tools for details.
MCP Integration
Let Claude Code query your session history:
Claude can then search sessions, retrieve context, and continue where you left off.
See MCP Guide for setup details.
Documentation
Full documentation at lore.varalys.com:
Data Location
~/.lore/
├── lore.db # SQLite database
├── config.yaml # Configuration
└── logs/ # Daemon logs
All data stays on your machine.
Contributing
See CONTRIBUTING.md.