Skip to main content
search asks a mount’s own search to rank its records for a query: Dify’s retrieval API, Chroma’s and Qdrant’s vector queries, mem0’s memory search and LanceDB’s vector search. Use it when meaning matters; grep and rg still match exact text.

Setup

search has no account config. It searches the mounts it is pointed at, so register it on a workspace that mounts a store:
Mounting a store does not register search. For YAML registration, see the CLI overview:

Supported commands

Run search --help for the supported flags and operands. This list is generated from Mirage’s registered command tree.

Usage

Each hit prints its path, then its score where the store ranks, then the record’s text:
A file the session cannot see is never printed.

Mounts

A custom VFS joins the list by implementing search.

Errors