Skip to main content

Installation & Setup

Memanto requires a Moorcheh API key or run it On-Prem for free. This page focuses on setup only. For exact CLI command output and full command behavior, use the CLI Overview.

Prerequisites

  • Python 3.10+ (for CLI and local server)
  • Node.js 18+ (for TypeScript SDK)
  • Docker (optional, for containerized deployment)
  • Moorcheh API key (free tier available)
Want to run everything on your own hardware without a Moorcheh API key? See the On-Prem Quickstart — same CLI, local Moorcheh server in Docker, optional fully-local Ollama for embeddings and LLM answers.

Step 1: Get a Moorcheh API Key

Quick path:
  1. Go to https://moorcheh.ai and create an account.
  2. Open https://console.moorcheh.ai.
  3. Go to API Keys and create a new key.
  4. Copy the key immediately (it is only shown once).
This is enough to continue installation. For advanced topics (security practices, free tier planning, multi-environment setup, and sovereign deployment), see Moorcheh Setup & Integration.

Step 2: Install Memanto

Choose your preferred method:
Or with uv:

Option B: TypeScript / Node.js SDK

For Node.js and TypeScript projects, use the official SDK:
Prerequisites: Node.js 18+ and uvx on PATH (install uv). The SDK boots a local Memanto server on demand and exposes an ergonomic Memanto client. See the TypeScript SDK Reference for full documentation.

Option C: Install from source

For development and customization:

Option D: Docker

Pull the pre-built image (recommended):
The server is now available at http://localhost:8000. Or build from source:

Step 3: Configure API Key

Recommended interactive setup:
Follow the prompts:
Configuration is stored in ~/.memanto/config.json (secure, not in git).

Manual Configuration

If you prefer to skip the interactive setup:

Confirm Configuration Is Saved

Expected indicators:

Step 4: Verify Setup

Optional API/server verification:
In another terminal:

Troubleshooting

  • Missing API key: run memanto again, then check memanto config show.
  • Connection issues: verify key in memanto config show and check network access.
  • Port in use: run memanto serve --port 8001.
  • Unauthorized errors from API calls: ensure you are sending the correct X-Session-Token header.
For full troubleshooting and expected command outputs, see:

Next Steps