Skip to main content

Moorcheh

Self-hosted, open-source Moorcheh - The Information-Theoretic Search Engine for RAG & Agentic Memory

PyPI · Documentation · Contributing · Apache 2.0


Install

pip install moorcheh-client

Requirements: Python 3.10+, Docker, and an embedding provider (Ollama, OpenAI, or Cohere).

Quick start

moorcheh up          # first run prompts for embedding/LLM config
moorcheh status      # health + quota

API: http://localhost:8080 · Data: ~/.moorcheh/data

from moorcheh import MoorchehClient

client = MoorchehClient("http://localhost:8080")

client.namespaces.create("docs", type="text")
job = client.documents.upload("docs", documents=[
    {"id": "doc-1", "text": "Hello from Moorcheh on-prem"},
])
# poll job["job_id"] until completed, then search or answer

results = client.similarity_search.query(
    namespaces=["docs"],
    query="Hello",
    top_k=5,
)

answer = client.answer.generate(
    namespace="docs",
    query="What is in my documents?",
)
moorcheh down        # stops containers; data is kept

CLI

Common commands: moorcheh up, moorcheh down, moorcheh status, moorcheh namespace-create, moorcheh upload-documents, moorcheh search, moorcheh answer.

Run moorcheh --help or see docs.moorcheh.ai/on-prem for the full CLI and API reference.

Test endpoints

With the server running:

python test.py

Project layout

Path Purpose
moorcheh/client/ Python SDK
moorcheh/cli/ CLI and Docker runtime
test.py Live endpoint integration test

Contributing

See CONTRIBUTING.md.

License

Apache License 2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moorcheh_client-0.1.5.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moorcheh_client-0.1.5-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

Details for the file moorcheh_client-0.1.5.tar.gz.

File metadata

  • Download URL: moorcheh_client-0.1.5.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for moorcheh_client-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5061ba32065e66ffa19375c51887465a644652eeb3814fd8872cb9c049083747
MD5 ec7cd92a29034e76f57bfbc6080bcc48
BLAKE2b-256 f7a951298d66df8b3912a8b593743c3401616f09f87d2a8fc6d5dbe52b05e860

See more details on using hashes here.

File details

Details for the file moorcheh_client-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for moorcheh_client-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5cc315625f1630cb671f786d26adac8cc02b031cc90b637bc904d8b3813f2f44
MD5 3e9dded27bfa82a944707190c8c7b51e
BLAKE2b-256 654111c6714f9fdcd56ce30943ca829c4b1502505ba2489e98f2514aa6e5d802

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page