Skip to main content

Ahnlich CLI — AI commands

Run queries against AI stores from the CLI. Unlike DB stores, you send raw text, images, or audio and the proxy embeds them for you. Connect first with --agent ai:

ahnlich-cli ahnlich --agent ai --host 127.0.0.1 --port 1370

Example workflow

  1. Create a store with query/index models and predicates.
  2. Insert raw text, images, or audio — embeddings are generated automatically.
  3. Query by similarity or predicate.
  4. Manage indexes for faster searches.
  5. Drop stores or keys when they're no longer needed.

Commands

Server & storesPing · Server info · List stores · Create a store · Drop a store · Drop a schema

DataInsert data · Upsert · Query by similarity · Query by predicate · Delete a key

IndexesCreate predicate index · Drop predicate index · Create non-linear index · Drop non-linear index