Data Infrastructure for Storing, Tagging, Indexing, and Labeling Locally
DISTILL is a local-first desktop app for collecting, normalizing, searching, curating, and exporting local LLM chat history.
The point of DISTILL is simple: if you already have chat history on disk from tools like Codex CLI, Claude Code, or OpenCode, DISTILL gives you one local place to pull that data together, inspect it, organize it, and turn approved sessions into exportable datasets.
DISTILL is still in alpha and still being built out.
The core flow exists today, but the product is early. Expect active changes to the UI, workflows, and supported capabilities.
- Codex CLI
- Claude Code
- OpenCode
- discovers supported local chat captures
- snapshots and preserves raw capture content in DISTILL-owned local storage
- normalizes sessions, messages, and artifacts into a local SQLite database
- lets you search and review the current session projection
- lets you manually label and tag sessions
- exports approved sessions to JSONL
Everything is local-first. DISTILL reads local source data, stores its own local copy, and works from there.
Local source data
(Codex / Claude Code / OpenCode)
|
v
Discover captures
|
v
Snapshot + preserve raw content
|
v
Normalize into local SQLite
|
v
Search and review
|
v
Curate with labels / tags
|
v
Export approved JSONL
If you just want to get DISTILL running locally right now:
npm install
npm run doctor
npm run import
npm startWhat those commands do:
npm installinstalls the app dependencies.npm run doctorchecks whether supported local sources are installed and detectable.npm run importimports any discovered local chat history into DISTILL.npm startbuilds and opens the Electron app.
By default, DISTILL stores its local database and files in ~/.distill. That directory is created automatically on first run.
If you want to use a custom local data directory:
export DISTILL_HOME=/path/to/custom/.distillIf you want to export labeled data:
npm run export -- trainor:
npm run export -- holdoutThis root README is intentionally simple.
The authoritative architecture and product docs live under docs/README.md.