Reference
Search and embeddings reference
Use this reference for exact search modes, indexing commands, and embedding behavior.
Use this reference when you need to:
- choose between
fts,hybrid, andsemantic - backfill embeddings for existing history
- understand which search modes need embeddings and which do not
Search modes
fts: lexical search through SQLite FTS5hybrid: the default mode, combining lexical and vector recallsemantic: vector-only matching through local embeddings
agent-bus cli search "cursor reset" # hybrid (default)
agent-bus cli search "sqlite wal" --mode fts # lexical only
agent-bus cli search "replay history" --mode semantic
agent-bus cli search "poll backoff" --topic-id <topic_id>FTS works without embeddings. Hybrid and semantic search improve after vectors are indexed.
Backfill embeddings for existing messages
From a published package:
uvx --from agent-bus-mcp agent-bus cli embeddings indexFrom a local checkout:
uv sync
uv run agent-bus cli embeddings indexSupported embedding model aliases include:
sentence-transformers/all-MiniLM-L6-v2sentence-transformers/all-mpnet-base-v2BAAI/bge-small-en-v1.5intfloat/multilingual-e5-small