Setting Up Moorcheh for MEMANTO
MEMANTO relies on Moorcheh.ai, a no-indexing semantic database, for its memory operations. This guide walks you through the setup process.What is Moorcheh?
Moorcheh.ai is a revolutionary semantic database that:- Eliminates indexing delays - Memories are queryable immediately after storage
- Uses exact search - No approximate nearest neighbor search
- Runs serverless - Zero costs when idle, scales to zero
- Provides deterministic results - Same query always returns same results
- Costs 80% less - More efficient than traditional vector databases
Getting Your API Key
Step 1: Create Moorcheh Account
- Visit https://moorcheh.ai
- Click “Sign Up” or “Get Started”
- Enter your email and create a password
- Verify your email (check your inbox)
- Log in to the dashboard
Step 2: Generate API Key
- Log in to Moorcheh Console
- Navigate to API Keys section (left sidebar)
- Click “Create New API Key”
- Choose a name (e.g., “MEMANTO Development”)
- Click “Generate”
- Copy the key immediately
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
- Use environment variables
- Use
.envfiles (excluded from git) - Use secrets managers (AWS Secrets Manager, HashiCorp Vault, etc.)
Configuring MEMANTO with Your Key
Option 1: Interactive Setup (Recommended)
~/.memanto/config.json (not in git).
Option 2: Environment Variable
Option 3: .env File
Create.env in your project:
Verify Configuration
Check API Key Status
Test Moorcheh Connectivity
Test from Code
Understanding Free Tier
Included in Free Tier
- 500 monthly credits (~100,000 operations)
- Create up to 5 agents
- Unlimited sessions (no session limits)
- No credit card required
What Counts as Operations?
- Write operations:
remember,batch-remember= 1 operation per memory - Read operations:
recall,answer= 1 operation per query - Special operations:
daily-summary,conflicts= 1 operation
Estimation
| Scenario | Memories | Operations/Day | Days Limit |
|---|---|---|---|
| Small agent (10 mem/day) | 10 | 10 | 5,000 |
| Medium agent (50 mem/day) | 50 | 50 | 1,000 |
| Large agent (100 queries/day) | - | 100 | 500 |
| Development (200 ops/day) | - | 200 | 250 |
Multi-Environment Setup
Development
Testing
Production
Use a secrets manager: AWS Secrets Manager:Troubleshooting
”Invalid API Key” Error
”Connection Refused” Error
”Rate Limited” Error
You’ve exceeded quota. Free tier includes 500 credits/month. Solutions:- Wait for next month’s reset
- Upgrade to paid plan
- Optimize your agent to use fewer operations
”Unauthorized” Error
API key is not being passed correctly. Check:Upgrading to Paid Plan
When you need more than 500 credits/month:- Go to https://console.moorcheh.ai
- Select a plan:
- Pro: 10,000 monthly credits
- Enterprise: Custom limits
- Add payment method
- Your free API key automatically upgrades
Using Sovereign Moorcheh
For enterprises requiring data residency:- Contact sales@moorcheh.ai
- Deploy Moorcheh to your VPC:
- AWS (Terraform templates provided)
- GCP (Cloud Deployment Manager templates provided)
- Get a private endpoint URL
- Configure MEMANTO to use it:
Best Practices
DO
- Store API keys in environment variables
- Rotate keys regularly
- Use secrets manager for production
- Monitor API usage via dashboard
- Set up billing alerts
DON’T
- Commit keys to Git
- Share keys in Slack/Email
- Use same key across environments
- Hardcode keys in client code
- Expose keys in logs
Next Steps
- Install MEMANTO: Installation Guide
- Create First Agent: Quick Start
- API Reference: REST API Overview
- CLI Guide: CLI Commands
All set! Your Moorcheh integration is ready. Proceed to the Quick Start guide.