Installation
Prerequisites
- Node.js 18+ and npm
- Python 3.9+ and pip
- Docker and Docker Compose
Step 1: Start Redis
docker-compose up -d redis
Verify Redis is running:
docker exec mdwr-redis redis-cli ping
# Should return: PONG
Step 2: Setup MDWR SDKs
TypeScript SDK
cd packages/mdwr-sdk
npm install
npm run build
cd ../..
Python SDK
cd packages/mdwr
pip install -e .
cd ../..
Step 3: Initialize MDWR Project
npx mdwr init
This creates:
mdwr.config.json- Configurationworkflows/- Your workflows directoryworkflows/example.ts- Example workflow
Step 4: Start Motia
Navigate to the motia-atlas directory:
cd motia-atlas
npm install
npm run dev
Motia Workbench will be available at http://localhost:3000.
Step 5: Verify Installation
Deploy the example workflow:
npx ts-node scripts/deploy.ts
Execute it:
npx ts-node scripts/execute.ts example
Next Steps
- Quick Start - Build your first workflow
- Creating Workflows - Learn how to create workflows
- Memory Integration - Configure memory providers