Skip to main content

Moorcheh Setup & Integration

Moorcheh.ai is a no-indexing semantic database for AI memory and retrieval workloads. Memanto uses Moorcheh as its semantic memory backend. This guide focuses on Moorcheh platform concepts, account setup, API key management, and operational best practices. This page explains Moorcheh itself. For Memanto installation and CLI/API setup flow, use Installation & Setup.

The Moorcheh Difference

Traditional Vector Databases

Traditional systems (Pinecone, Weaviate, Milvus) use HNSW (Hierarchical Navigable Small World) for approximate nearest neighbor search:
Problems:
  • Indexing delays - Wait minutes before memories are searchable
  • Approximate search - Results are probabilistic, not exact
  • High costs - Always-running infrastructure
  • Complex setup - Complex configuration and tuning

Moorcheh’s Approach

Moorcheh uses Information Theoretic Vector Compression (ITVC) with full vector scans:
Advantages:
  • Zero indexing delay - Memories searchable immediately
  • Exact search - Deterministic results, same query always returns same results
  • Serverless - Scales to zero, pay only for operations
  • Efficient - 80% less compute than traditional systems

How Moorcheh Works

Storage

Retrieval

Integration Details

Moorcheh can be used directly from your application, or through a higher-level memory layer such as Memanto.

Connection

Memanto connects to Moorcheh via REST API:

Authentication

Moorcheh’s own API uses the Authorization: Bearer header. Memanto consumes this on the server side — it reads MOORCHEH_API_KEY from its environment and authenticates against Moorcheh internally. Clients calling the Memanto API never send the Moorcheh key.

Data Flow

Getting Your API Key

Step 1: Create Moorcheh Account

  1. Visit https://moorcheh.ai
  2. Click “Sign Up” or “Get Started”
  3. Enter your email and create a password
  4. Verify your email (check your inbox)
  5. Log in to the dashboard

Step 2: Generate API Key

  1. Log in to Moorcheh Console
  2. Navigate to API Keys section (left sidebar)
  3. Click “Create New API Key”
  4. Choose a name (e.g., “Memanto Development”)
  5. Click “Generate”
  6. Copy the key immediately
⚠️ Important: The key is only shown once. Copy it to a safe place.

Step 3: Keep It Secret

Never:
  • Commit API keys to Git
  • Share in emails or chat
  • Hardcode in public repositories
  • Add to client-side code
Instead:
  • Use environment variables
  • Use .env files (excluded from git)
  • Use secrets managers (AWS Secrets Manager, HashiCorp Vault, etc.)

Using Your API Key Securely

Option 1: Environment Variable

Option 2: .env File

Create .env in your project:
Then load it:
For Python projects:

Verify Connectivity

Check Moorcheh API health:

Test from Code

Cost Advantage

Traditional System

Moorcheh + Memanto

Savings: 78% cost reduction

Scalability

Moorcheh scales naturally:
No indexing means no scaling complexity.

Understanding Free Tier

Moorcheh’s free tier includes:
  • 500 monthly credits (~100,000 operations)
  • Create up to 5 agents
  • Unlimited sessions (no session limits)
  • No credit card required
  • Zero Indexing Delay & Exact Search

What Counts as Operations?

  • Write operations: storing semantic records
  • Read operations: semantic and exact retrieval queries
  • Special operations: workload-dependent metadata and management operations

Estimation

The free tier is plenty for heavy development and testing.

Upgrading to Paid Plan

When you need more than 500 credits/month:
  1. Go to https://console.moorcheh.ai
  2. Select a plan:
    • Pro: 10,000 monthly credits
    • Enterprise: Custom limits
  3. Add payment method
  4. Your free API key automatically upgrades
No code changes needed - same API key works with your new plan.

Multi-Environment Key Management

Development

Testing

Production

Use a secrets manager: AWS Secrets Manager:
HashiCorp Vault:
Azure Key Vault:

Troubleshooting

”Invalid API Key” Error

”Connection Refused” Error

”Rate Limited” Error

You’ve exceeded quota. Free tier includes 500 credits/month. Solutions:
  1. Wait for next month’s reset
  2. Upgrade to paid plan
  3. Optimize your agent to use fewer operations

”Unauthorized” Error

API key is not being passed correctly. Check:

Using Sovereign Moorcheh

For enterprises requiring data residency:
  1. Contact sales@moorcheh.ai
  2. Deploy Moorcheh to your VPC:
    • AWS (Terraform templates provided)
    • GCP (Cloud Deployment Manager templates provided)
  3. Get a private endpoint URL
  4. Configure your clients to use it:

Architecture Benefits

For Memanto Users

  1. Fast onboarding - Memanto provides a ready-made memory layer while Moorcheh handles semantic retrieval.
  2. Immediate recall after writes - New memories become searchable without indexing delays.
  3. Deterministic retrieval behavior - Stable search behavior helps with predictable agent outputs.

For Application Teams

  1. Instant Memory Availability - No waiting for indexing
  2. Predictable Performance - Same query = same result every time
  3. Affordable Scaling - Costs don’t increase with scale
  4. Simple Deployment - No infrastructure to manage

For Developers

  1. Easy Integration - Just an API key, no setup
  2. Reliable - No indexing issues or rebalancing
  3. Cost-Effective - Perfect for startups and projects
  4. Deterministic - Easier to debug than probabilistic systems

Best Practices

DO

  • Store API keys in environment variables
  • Rotate keys regularly
  • Use secrets manager for production

DON’T

  • Commit keys to Git
  • Share keys in Slack/Email
  • Hardcode keys in client code

Next Steps


All set! Your Moorcheh account and API key are ready to use.