python3 imports working.
Embeddings: Moorcheh Edge is vector-only. Generate embeddings in your app or an upstream service first. Vectors must be exactly 1024 dimensions - see Vector requirements.
What you need
| Requirement | Notes |
|---|---|
| Arduino UNO Q | Linux (MPU) partition with Docker |
| Network | Local network or Wi‑Fi during board onboarding |
| Arduino App Lab / onboarding | To connect to the board shell (no fixed IP in this guide) |
moorcheh/moorcheh-edge:latest includes linux/arm64 and linux/amd64. On UNO Q, moorcheh-edge up pulls the correct architecture for you.
Step 1 - Connect to the board
During onboarding, connect the UNO Q to your local network, Wi‑Fi, or internet as prompted. Then in Arduino App Lab:- Connect your Arduino UNO Q (USB icon in the bottom status bar).
- Select moorcheh-edge for that board if it is not already active.
- Click the terminal icon (
>_) in the status bar to open the board shell.

arduino on the board.
Step 2 - Create a virtual environment and install
Debian on UNO Q is externally managed (PEP 668). Use a venv so both the CLI and Python SDK live in one place:activate, your prompt may show (moorcheh-venv). The moorcheh-edge CLI and moorcheh_edge Python package are available in this shell.
Each time you open a new board shell, activate the venv again before running commands:When you are finished in that shell session, deactivate the venv:Your prompt returns to normal (no
(moorcheh-venv) prefix). Deactivating does not stop the Moorcheh Edge server - the Docker container keeps running until you run moorcheh-edge down.Step 3 - Start the server
moorcheh/moorcheh-edge:latest (if needed), starts the Docker container, and creates ~/.moorcheh-edge/data.
Verify the API:
"status": "ok" and "vector_dimension": 1024 (see Vector requirements).
Step 4 - Run a smoke test
Create~/moorcheh-edge-test.py:
moorcheh-edge-client/examples/moorcheh-edge-test.py.
Run it (with the venv activated):
vector_dimension from /health so it stays aligned with Limits when the supported size changes.
External embeddings
Moorcheh Edge does not generate embeddings. Produce vectors upstream, then upload or search via the CLI or SDK.| Topic | Where to read |
|---|---|
| 1024-dimensional vectors (upload and search) | Vector requirements |
| Upload API | POST /upload |
| Search API | POST /search |
| Python SDK | Python client |
Troubleshooting
Upload fails: failed writing temp file ... moorcheh_edge_store.tmp
The container runs as a non-root user. Ensure the data directory is writable:
ModuleNotFoundError: No module named 'moorcheh_edge'
Activate the venv first:
moorcheh-edge: command not found
Activate the venv:
exec format error in container logs
Pull the latest multi-arch image (see Changelog), then:
Next steps
- Quickstart - upload and search from the CLI
- CLI reference
- Limits - store cap and 1024-dimensional vector rules