Summon insights from past conversations. ๐ฎ
Semantic search across all your Claude Code session logs.
- ๐ Semantic Search - Find conversations by meaning, not just keywords
- โก Fast Local Index - ChromaDB-powered vector store on your machine
- ๐ฏ Project Filtering - Scope searches to specific projects
- ๐ Date Filtering - Find conversations from specific time periods
- ๐ JSON Output - Pipe results into other tools
git clone https://github.com/pj4533/seance.git
cd seance
python -m venv .venv
source .venv/bin/activate
pip install -e .Seance uses OpenAI's text-embedding-3-small model for embeddings. You'll need an API key:
# Option 1: Environment variable
export OPENAI_API_KEY=your-key
# Option 2: Local .env file (recommended for standalone use)
echo "OPENAI_API_KEY=your-key" > .envNote: The
.envfile is gitignored. If both are set, the environment variable takes precedence.
# Full index (first time)
seance index
# Incremental updates (subsequent runs)
seance index --incrementalseance search "how did we implement retry logic"# Basic semantic search
seance search "authentication bug fix"
# Filter by project
seance search "debugging" --project my-app
# Filter by date
seance search "refactoring" --since 2025-01-01
# Get more results
seance search "API design" --results 10
# JSON output for scripting
seance search "streaming audio" --json# Full re-index
seance index
# Incremental (only new sessions)
seance index --incremental
# Verbose output
seance index --incremental --verbose# List all indexed projects
seance list
# Show index statistics
seance stats~/.claude/projects/ seance index ~/.seance/
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโบ โโโโโโโโโโโโโโโโโโโ
โ session.jsonl โ embed + store โ ChromaDB โ
โ session.jsonl โ โ (vectors) โ
โ session.jsonl โ โ โ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ
seance search โ
"retry logic" โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
returns file_path + message_id
Seance parses JSONL logs from ~/.claude/projects/ and creates embeddings for searchable content.
| Content | Source | Why |
|---|---|---|
| ๐ฌ User messages | type: "user" entries |
Your questions and requests |
| ๐ Summaries | type: "summary" entries |
Session topic/domain context |
- ๐ค Assistant responses (too verbose with "let me read..." boilerplate)
- โ๏ธ System messages, file snapshots, queue operations
- ๐ง Thinking blocks, tool calls
| Location | Contents |
|---|---|
~/.seance/ |
ChromaDB vector database |
~/.seance/cursor.json |
Last indexed timestamp per project |
Contributions welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE for details.
Made with ๐ฎ for Claude Code users