Run the full Mnemo stack on your own infrastructure. Free forever. MIT licensed.
git clone https://github.com/DharmaDhillon/mnemo cd mnemo
Create a new Supabase project at supabase.com. Go to SQL Editor and run the schema from db/schema.sql. Copy your Project URL and service role key from Settings → API.
Copy the example env file and fill in your keys:
cp api/.env.example api/.env
# api/.env MNEMO_SUPABASE_URL=your-project-url MNEMO_SUPABASE_SERVICE_KEY=your-service-key MNEMO_MEM0_API_KEY=from-app.mem0.ai MNEMO_LANGFUSE_PUBLIC_KEY=from-langfuse MNEMO_LANGFUSE_SECRET_KEY=from-langfuse ANTHROPIC_API_KEY=from-console.anthropic.com
npm install -g @railway/cli railway login cd api railway up
Railway gives you a URL like https://your-app.up.railway.app — save this.
Python:
pip install mnemo-sdk[all] from mnemo import MnemoClient mnemo = MnemoClient( tenant_id="my-company", api_url="https://your-app.up.railway.app" ) result = mnemo.run( agent_id="my-agent", prompt="..." )
TypeScript / Next.js:
# .env.local MNEMO_API_URL=https://your-app.up.railway.app MNEMO_TENANT_ID=my-company
Sign up free at usemnemo.com. Go to Settings → Connected Tenants. Add your tenant_id. Your agents will appear automatically.