Skip to content

Installation

From PyPI

pip install basemode-loom

From source

git clone https://github.com/FergusFettes/basemode-loom
cd basemode-loom
uv sync

Semantic search and index construction are optional. They are available when the matching embedding extra is installed and the selected SQLite database contains a nodes_vec index with vec_meta metadata.

On Apple silicon, install the MLX embedding backend used by Guardian Angel corpora:

pip install 'basemode-loom[embed-mlx]'

From a source checkout:

uv sync --extra embed-mlx

If a database uses the built-in deterministic hash embedder, the lighter embed extra is sufficient. Both extras support building and querying an index; the base installation does not install sqlite-vec or MLX.

Dependencies

basemode-loom depends on:

Package Purpose
basemode Core LLM generation strategies
textual Terminal UI framework
fastapi + uvicorn Web API server
litellm Auto-naming via cheap LLM call
sqlite-vec + mlx-embeddings Optional semantic search over indexed corpora

Verifying the install

basemode-loom --help

You should see the CLI help output listing all available commands.