Quickstart

This guide follows the current repo layout and route contracts.

Prerequisites

  • Node.js 18+

  • Python 3.10+

  • Docker and Docker Compose

1. Install dependencies

git clone https://github.com/fortunexbt/mutx.dev.git
cd mutx.dev

npm install
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -e ".[dev]"
cp .env.example .env

Set a local database URL in .env:

DATABASE_URL=postgresql://mutx:mutx_password@localhost:5432/mutx

2. Start local services

3. Start the API

4. Start the web app

In another terminal:

Visit:

  • http://localhost:3000 for the marketing site

  • http://localhost:3000/app for the app-facing surface

5. Verify health

6. Create a local user

Log in and save the access token if you want to use /auth/me:

7. Create and deploy an agent record

Log in first so you have an access token:

Create the agent:

Deploy it:

Inspect the deployment:

Optional: CLI setup

The CLI installs from the repo root:

Note: mutx deploy create still reflects older API assumptions. See docs/cli.md for the current support matrix.

Optional: frontend verification

Optional: Playwright smoke tests

Important: current Playwright specs target https://mutx.dev, not localhost.

Last updated