Skip to main content

Summary

RequirementRequired?Why
Python 3.10+YesInstalls moorcheh-client (CLI + SDK)
Docker EngineYesRuns the Moorcheh server container via moorcheh up
Docker DesktopNo (but common)One way to get Docker on Windows/macOS — not the only option
Embedding providerYes for text workflowsEmbeds documents and text search queries
OllamaOnly if provider is OllamaLocal embeddings; host app or bundled container
OpenAI / Cohere API keyOnly if provider is OpenAI or CohereCloud embeddings; no Ollama needed
Vector-only workflows (precomputed vectors, no text upload/search) do not need any embedding provider or Ollama.

How install and startup work

pip install moorcheh-client
moorcheh configure    # optional; first moorcheh up can do this interactively
moorcheh up
StepWhat it doesWhat it does not do
pip install moorcheh-clientInstalls the moorcheh CLI, MoorchehClient SDK, and bundled docker-compose.ymlDoes not start Docker or configure embeddings
moorcheh configureSaves embedding + LLM provider, model, and API keys to ~/.moorcheh/config.jsonDoes not start or restart containers
moorcheh upStarts Docker stack per provider; for Ollama, may start bundled Ollama and pull the modelDoes not apply config changes to an already-running container — use moorcheh down then moorcheh up after reconfigure
If ~/.moorcheh/data already has namespaces, changing embedding settings can break existing text search until you re-upload. The configure wizard warns when data is present. On first moorcheh up, Docker pulls moorcheh/server:latest (if not cached). Ollama (ollama/ollama:latest) is pulled only when your config uses provider ollama and host Ollama is not already running.
You do not need to build Moorcheh from source or run docker compose manually.

Python

Version: Python 3.10 or newer
python --version
pip install moorcheh-client

Docker

Moorcheh on-prem runs the API server in Docker. moorcheh up runs compose and mounts ~/.moorcheh/data (index) and ~/.moorcheh/uploads/uploads (read-only, for file upload).
ComponentRequired
Docker CLI + Compose V2 (docker compose)Yes
Running daemon (docker info succeeds)Yes
Default ports:
PortService
8080Moorcheh API
11434Ollama (only when using Ollama provider and bundled/host Ollama)
moorcheh up --server-port 8081
Network: Pull moorcheh/server from Docker Hub. Cloud providers also need outbound HTTPS from the server container to OpenAI or Cohere.

Embedding provider

Pick one provider for all text namespaces on this instance. Full model list and dimensions: Embedding providers.
ProviderYou needMoorcheh starts
OllamaNothing extra, or host OllamaServer; optionally moorcheh-ollama + auto model pull
OpenAIAPI keyServer only
CohereAPI keyServer only
moorcheh configure
# or
moorcheh up   # interactive wizard if config.json is missing

Ollama (optional)

Required only when provider is ollama in ~/.moorcheh/config.json. Ollama is used for:
  • Uploading documents to text namespaces
  • File upload chunk embedding (same provider as text upload)
  • Text semantic search (query strings)

Host vs bundled

ModeCommand
Auto (default)moorcheh up
Force bundledmoorcheh up --bundled-ollama
Host onlymoorcheh up --use-host-ollama

Option A — Host Ollama

  1. Install from ollama.com
  2. moorcheh configure → choose ollama and a model
  3. moorcheh up — reuses host Ollama; pulls model if missing

Option B — Bundled Ollama (no host install)

If host Ollama is not running, moorcheh up starts moorcheh-ollama and pulls your configured model (for example nomic-embed-text).

Vector-only

If you only use vector namespaces:
  • No Ollama, OpenAI, or Cohere setup required
  • moorcheh up starts only the server when config uses a cloud provider
  • If config still says ollama, switch with moorcheh configure --force or use OpenAI/Cohere

Cloud embedding providers

OpenAI

  • API key from platform.openai.com
  • Set during moorcheh configure or moorcheh up --embedding-provider openai --embedding-api-key ...
  • Default base URL: https://api.openai.com/v1 (overridable in config.json)

Cohere


Checklist before Quickstart

python --version          # 3.10+
docker info
docker compose version
pip install moorcheh-client
moorcheh configure        # or rely on moorcheh up wizard
moorcheh up
moorcheh status
Expected: "status": "ok", "embedding_provider", and "model" matching your config.

Troubleshooting

SymptomLikely causeWhat to try
docker compose fails on upPort in use, pull failedCheck 8080; docker pull moorcheh/server:latest
Text upload fails (Ollama)Model not pulled / Ollama downmoorcheh up again or ollama pull <model>
Text upload fails (OpenAI/Cohere)Invalid or missing API keymoorcheh configure --force
Bundled Ollama never neededWrong provider in configmoorcheh configure → openai or cohere

Next steps