Expand description
Lantern: local-first memory engine for agent activity.
The library is split into small modules so the CLI can be a thin wrapper and tests can exercise each concern independently.
Modulesยง
- chunk
- Deterministic text chunker.
- cli
- Command-line interface for Lantern.
- diff
- Compare indexed filesystem sources against the current filesystem.
- embed
- Local-first dense embeddings backed by Ollama.
- export
- Machine-readable dump of indexed content.
- forget
- Explicit deletion of indexed sources (and their chunks).
- ignore
- Gitignore-style ignore rules for the ingest walker.
- ingest
- Ingest plain text and markdown files into the local store.
- inspect
- Store introspection for agents and humans.
- jsonl
- Transcript extraction for JSONL session files.
- mcp
- Model Context Protocol (MCP) server exposing Lantern as tools.
- reindex
- Rebuild the full-text index from the canonical chunk rows.
- search
- Keyword search over ingested chunks, backed by SQLite FTS5.
- show
- Display full provenance and chunk text for a single indexed source.
- stash
- Snapshot the current store to a dated tar.gz archive.
- store
- Local SQLite-backed store.