Skip to main content

What is Moorcheh Edge?

Moorcheh Edge runs locally on your machine for fast vector upload and similarity search. The client sends float embedding vectors; the server binarizes them and searches on-device without cloud calls.
PyPI packagemoorcheh-edge
CLImoorcheh-edge
Python importfrom moorcheh_edge import MoorchehEdge
Server imagemoorcheh/moorcheh-edge:latest (Docker Hub)
Default APIhttp://localhost:8080
Data on disk~/.moorcheh-edge/data
Edge has no API keys. Start the server with moorcheh-edge up, then call the API on localhost.

Store modes

One flat store per container - no namespaces.
ModeWho embedsDimensionSet on
textPython client (BGE-base-en-v1.5)768First upload
vectorYour app (precomputed)128–1536 (allowlist)First upload
You cannot mix text and vector modes in the same store. Use moorcheh-edge clear-store to reset.

What you can do

  • Upload text documents (client embeds locally) or precomputed vectors
  • Search with a text query (CLI/SDK embed locally) or a float query vector
  • Answer questions (RAG) - search + local LLM via Ollama (qwen2.5:0.5b-instruct); stream tokens with POST /answer/stream
  • Voice on edge hardware (Linux) - STT/TTS and moorcheh-edge voice serve for kiosk mic/speaker (see Voice CLI)
  • Delete items by id or wipe the entire store
  • Export catalog text - GET /export returns all chunk text (no vectors) for sync to another app
  • Check store health and quota via /health

Prerequisites

  • Python 3.10+
  • Docker (Desktop or Engine)
No Ollama required for search. For answer / RAG, run moorcheh-edge up --with-llm on Linux - it installs Ollama and pulls qwen2.5:0.5b-instruct (~400 MB). Text embedding uses FastEmbed (BGE) bundled with the Python package. When search returns no matching passages, /answer and /answer/stream return a fixed I don’t have enough information to answer that question. without calling the LLM.

Install and run

pip install moorcheh-edge
moorcheh-edge up
moorcheh-edge status
See Quickstart for upload, search, and answer.

Documentation

SectionUse when
QuickstartFirst run end-to-end
Arduino UNO QRun on Arduino UNO Q
LimitsStore cap, dimensions, and modes
API referenceHTTP integration
Python clientApps with MoorchehEdge
CLILocal ops with moorcheh-edge

Data persistence

Items are stored under:
~/.moorcheh-edge/data/
  moorcheh_edge_store.json
moorcheh-edge down stops the container but does not delete this folder.