ragtime/README.md
Email Investigation Batch Processor using Claude-mem's email-investigation mode.
Ragtime processes email corpus files through Claude, using the email-investigation mode for entity/relationship/timeline extraction. Each file gets a NEW session - context is managed by Claude-mem's context injection hook, not by conversation continuation.
# Basic usage (expects corpus in datasets/epstein-mode/)
bun ragtime/ragtime.ts
# With custom corpus path
RAGTIME_CORPUS_PATH=/path/to/emails bun ragtime/ragtime.ts
# Limit files for testing
RAGTIME_FILE_LIMIT=5 bun ragtime/ragtime.ts
| Environment Variable | Default | Description |
|---|---|---|
RAGTIME_CORPUS_PATH | ./datasets/epstein-mode | Path to folder containing .md email files |
RAGTIME_PLUGIN_PATH | ./plugin | Path to claude-mem plugin |
CLAUDE_MEM_WORKER_PORT | 37777 | Worker service port |
RAGTIME_TRANSCRIPT_MAX_AGE | 24 | Max age of transcripts to keep (hours) |
RAGTIME_PROJECT_NAME | ragtime-investigation | Project name for grouping |
RAGTIME_FILE_LIMIT | 0 | Limit files to process (0 = all) |
RAGTIME_SESSION_DELAY | 2000 | Delay between sessions (ms) |
The corpus directory should contain markdown files with email content. Files are processed in numeric order based on the first number in the filename:
datasets/epstein-mode/
0001.md
0002.md
0003.md
...
Each markdown file should contain a single email or document to analyze.
CLAUDE_MEM_MODE=email-investigation and cleans up old transcriptsThis directory is licensed under the PolyForm Noncommercial License 1.0.0.
See LICENSE for full terms.
The main claude-mem repository is licensed under AGPL 3.0, but ragtime uses the more restrictive PolyForm Noncommercial license to ensure it remains freely available for personal and educational use while preventing commercial exploitation.
For questions about commercial licensing, please contact the project maintainer.