This monorepo contains all the services and applications for the MotherDAO platform.
motherdao/
├── apps/
│ ├── frontend/ # Next.js user interface
│ └── agent-portal/ # Agent development dashboard
├── packages/
│ ├── core/ # Shared core utilities
│ ├── contracts/ # Smart contracts for AVS
│ └── sdk/ # Agent Development Kit
├── services/
│ ├── registration/ # Agent registration service
│ ├── avs/ # Actively Validated Service
│ ├── graph/ # Agent Graph service
│ ├── context/ # Shared Context Layer
│ └── payments/ # Payment infrastructure
└── infrastructure/
├── deployment/ # Deployment configurations
└── monitoring/ # Observability setup
- Node.js 20.x or later
- PNPM 8.x or later
- Docker and Docker Compose
- Git
-
Install dependencies:
pnpm install
-
Build all packages:
pnpm build
-
Start development servers:
pnpm dev
Alternatively, use Docker Compose for development:
docker-compose up
-
Add a dependency to a workspace:
pnpm add <package> --filter <workspace-name>
-
Add a development dependency:
pnpm add -D <package> --filter <workspace-name>
pnpm build
: Build all packages and applicationspnpm dev
: Start development serverspnpm test
: Run tests across all packagespnpm lint
: Lint all packagespnpm clean
: Clean build artifacts
Each service can be developed independently:
- Navigate to the service directory
- Run
pnpm dev
to start the service - Service will be available on its designated port:
- Frontend: http://localhost:3000
- Registration Service: http://localhost:3001
- AVS Service: http://localhost:3002
- Graph Service: http://localhost:3003
- Create a new branch for your feature
- Make your changes
- Run tests and linting
- Submit a pull request
Each service includes a Dockerfile and can be built individually:
docker build -f services/registration/Dockerfile .
For local development with all services:
docker-compose up
ISC