Deployment Quickstart#
This is the canonical quickstart for installing MUTX and reaching a working AI agent control plane in the shortest supported path.
Use this guide if you want to:
- authenticate an operator account
- deploy the
Personal Assistantstarter template - track an OpenClaw runtime under
~/.mutx/providers/openclaw - inspect the assistant from the CLI, TUI, or browser control plane
If you only need the short decision guide first, start with MUTX Quickstart.
At a glance#
| Lane | Use it when | Primary command |
|---|---|---|
| Hosted operator | You want the fastest validated path and do not need a private localhost control plane | mutx setup hosted --install-openclaw --open-tui |
| Local operator | You want the control plane running on your own machine with Docker | mutx setup local --install-openclaw --open-tui |
| Repo contributor | You are working on MUTX itself and want the repo-backed local stack | make dev-up then mutx setup local --install-openclaw --open-tui |
Every supported lane ends in the same success state:
- You have a stored authenticated session in
~/.mutx/config.json. - You have deployed the
Personal Assistantstarter template against a dedicated OpenClaw assistant binding. - MUTX is tracking that provider runtime under
~/.mutx/providers/openclaw. - You can inspect that assistant from the CLI, TUI, or browser control plane.
For full repo setup details, see Local Developer Bootstrap.
Fastest path#
For most users, the whole quickstart is:
curl -fsSL https://mutx.dev/install.sh | bash
The installer keeps you inside a MUTX wizard in the same terminal.
- Choose
Hostedunless you explicitly want a private Docker-backed localhost control plane. - If OpenClaw is already on the machine, MUTX will detect it and offer to import it.
- If OpenClaw is missing, MUTX can install it, resume onboarding, track it under
~/.mutx/providers/openclaw, and open the TUI.
After setup:
mutx doctor
mutx assistant overview
mutx runtime inspect openclaw
mutx runtime open openclaw --surface tui
Source install:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -e ".[dev,tui]"
What the installer does#
The quickstart wizard is opinionated on purpose. It removes the manual setup work that usually slows down AI agent onboarding:
- authenticates the operator session
- installs or imports OpenClaw
- writes the tracked provider manifest and bindings under
~/.mutx/providers/openclaw - deploys the
Personal Assistantstarter template - opens an operator surface so you can verify the runtime immediately
Direct command paths#
Hosted operator#
mutx setup hosted --install-openclaw --open-tui
If OpenClaw is already installed locally and you only want MUTX to adopt it:
mutx setup hosted --import-openclaw
The CLI will:
- prompt for your API URL if needed
- authenticate your operator account
- detect an existing OpenClaw runtime and import its binary/home paths into MUTX tracking
- install OpenClaw if it is missing
- hand off to upstream
openclaw onboard --install-daemonwhen needed - write the provider manifest and bindings under
~/.mutx/providers/openclaw - leave local OpenClaw gateway keys in place on the operator machine
- deploy
Personal Assistant - optionally open
mutx tui
Verify the deployment#
mutx doctor
mutx assistant overview
mutx runtime inspect openclaw
mutx runtime open openclaw --surface tui
Expected result:
Authenticated: yes- assistant overview returns a deployed
Personal Assistant mutx runtime inspect openclawshows the tracked provider manifest, binding, and last-seen sync state- gateway/session state begins to appear once the runtime is active
Local operator#
Use this lane when you want a private localhost MUTX control plane on your own machine.
mutx setup local --install-openclaw --open-tui
On first run, MUTX can provision a managed localhost stack under ~/.mutx/runtime/local-control, generate the local .env, start the API at http://localhost:8000, and then continue into the OpenClaw wizard. Docker is required for this lane.
Import an existing local OpenClaw runtime instead of reinstalling it:
mutx setup local --import-openclaw
If you want a fully non-interactive local smoke path:
mutx setup local \
--name "Local Operator" \
--install-openclaw \
--assistant-name "Personal Assistant" \
--no-input
Verify the local control plane#
mutx doctor
mutx assistant overview
mutx runtime inspect openclaw
mutx runtime open openclaw --surface tui
mutx tui
Useful URLs:
- site and dashboard:
http://localhost:3000 - Dashboard:
http://localhost:3000/dashboard - API:
http://localhost:8000 - API docs:
http://localhost:8000/docs
Contributor note#
If you are working on the MUTX repo itself, the old repo-backed flow still exists:
make dev-up
mutx setup local --install-openclaw --open-tui
What to read next#
Once the starter assistant is deployed, these pages usually come next:
- Architecture Overview for the system map behind the app, API, CLI, SDK, and infrastructure
- API Reference for the public
/v1/*contract - AI Agent Cost Management for spend attribution and budget controls
- AI Agent Approvals for human approval gates on risky operations
API contract#
The public contract remains mounted under /v1/*.
Bootstrap a local operator token pair#
BASE_URL=http://localhost:8000/v1
curl -X POST "$BASE_URL/auth/local-bootstrap" \
-H "Content-Type: application/json" \
-d '{"name":"Local Operator"}'
Deploy the starter assistant in one action#
curl -X POST "$BASE_URL/templates/personal_assistant/deploy" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Personal Assistant","replicas":1}'
Inspect assistant state#
curl "$BASE_URL/assistant/overview" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl "$BASE_URL/sessions" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Validation#
Targeted local validation:
./scripts/test.sh
Frontend verification:
npm run lint
npm run build
FAQ#
Should I choose hosted or local?#
Choose Hosted unless you specifically need the MUTX control plane running on your own machine. It is the shortest path to a working operator session and starter assistant.
Does the quickstart install OpenClaw for me?#
Yes. The installer can either import an existing OpenClaw runtime or install one when it is missing.
Where does MUTX track the provider runtime?#
The tracked OpenClaw provider state lives under ~/.mutx/providers/openclaw.