cass

TUI and CLI search over local coding agent session history

Image 1 of 1: Three-pane TUI with a filter bar, results from several agents and a detail preview

Indexes sessions from Codex, Claude Code, Gemini CLI, Cursor, Aider and dozens more into SQLite, with an edge n-gram lexical index and optional local MiniLM refinement fused by RRF. --robot mode gives agents stable JSON with golden-file pinned schemas.

  • <60 msEngine query
  • ~1 sCLI preflight, 10 GB

Trade-offs

  • SQLite is the source of truth, and the lexical index, vectors and rollups can all be rebuilt from it. Repair stays routine, at the cost of derived state to keep in step.
  • Edge n-grams over titles and the first 4 KiB of each message. Search-as-you-type stays fast, paid for in disk space.
  • Semantic search is opt-in through cass models install. Lexical results work from the first index, but hybrid needs a ~90 MB model download.

Q&A2

The sub-60ms figure is the engine query. A one-shot cass search --robot also spends roughly a second on archive open and integrity preflight at ~10 GB, which --robot-meta reports separately.

Reviews

Loading reviews

    More from @dicklesworthstone

    All 5 →
    • Beads RustLocal issue tracker in the repo: SQLite plus JSONL for git
    • FrankenSQLiteSQLite rewritten in Rust with page-level concurrent writers
    • franken_ocrPure-Rust CPU-only OCR engine for a few hand-ported vision models
    • franken_accountingEvidence-native double-entry accounting system of record in Rust

    More in AI agents

    See all 99 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • DeftSelf-hosted workspace shared by people and AI agents
    • EntrolyLocal context layer that picks what coding agents send to the model
    • Active GraphEvent-sourced graph runtime for long-running, auditable agents
    • AgenvoySelf-hosted agent harness in one Go binary, running around the clock

    More in Full-text search

    See all 13 →
    • dowseWindows search over file names, contents and text in screenshots
    • MongrelDBEmbedded Rust database with vector, sparse and text indexes
    • TachyonTypo-tolerant full-text search in a single Rust binary
    • FoJinCited answers from the Buddhist canon across 600+ sources
    • pg_kazsearchKazakh full-text search for PostgreSQL and Elasticsearch
    • sortir.inMap of local events gathered from many sources into one view

    More in Terminal UI

    See all 39 →
    • notmuttAsync terminal mail client built on notmuch, with undoable tag operations
    • MastuiMulti-column Mastodon client for the terminal
    • NerdlogMulti-host TUI log viewer with a timeline histogram and no central server
    • Localization Resource ManagerLocalization files from one binary, as a CLI, terminal UI, web UI or in VS Code
    • kernwatchTerminal dashboard for Linux kernel observability
    • KatesPerformance, chaos and security testing for Kafka on Kubernetes