Installation

Prerequisites

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:

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