Multi-project AI operating system — orchestration core, control channels (Telegram/WhatsApp), integrations, and per-project profiles.
cd "Open Claw" # or your clone path, e.g. /opt/openclaw
npm install
npm run openclaw:build
npm run openclaw:testRequirements: Node.js 20+
core/ # Orchestration engine + project profile loader
control/ # Telegram + WhatsApp command router
command-center/ # Founder web dashboard
agents/ # Agent packs
integrations/ # Gmail, leads, workflows, CRM, etc.
projects/ # Per-tenant profiles (data + config)
zonforge/ # ZonForge Sentinel (default)
templates/project/ # Scaffold for new projects
scripts/ # Build, deploy, health checks
deploy/ # systemd units
docs/
logs/ # Runtime logs (gitignored)
output/ # Legacy shared output (gitignored)
Set OPENCLAW_ROOT to this directory if you run commands from elsewhere.
Telegram
cp control/.env.example control/.env
# Edit secrets, then:
npm run openclaw:devcp control/.env.whatsapp.example control/.env.whatsapp
npm run openclaw:whatsapp:devZonForge ships as the default project: projects/zonforge/.
| Item | Location |
|---|---|
| Config | projects/zonforge/config.yaml |
| ICP / lead gen | projects/zonforge/lead-generation.yaml |
| Outputs | projects/zonforge/output/ |
| KPIs | projects/zonforge/data/dashboard/ |
| Audit | projects/zonforge/audit/commands.jsonl |
Default project id: zonforge (OPENCLAW_PROJECT=zonforge).
Switch at runtime: /project list, /project zonforge, /project cpa-workflow.
Migrate legacy flat output/ and data/ into the profile:
bash scripts/migrate-to-project-profiles.sh- Copy
templates/project/→projects/<your-id>/ - Edit
config.yaml,lead-generation.yaml,agents.yaml,workflows.yaml,security.yaml - Add prompts under
projects/<your-id>/prompts/ - Set
OPENCLAW_PROJECT=<your-id>or use/project <your-id>
Target install path: /opt/openclaw
-
Clone this repo on the VPS:
git clone <your-openclaw-repo-url> /opt/openclaw cd /opt/openclaw
-
Configure secrets:
cp control/.env.whatsapp.example control/.env.whatsapp chmod 600 control/.env.whatsapp
-
Build and install systemd unit:
npm install npm run openclaw:build sudo bash scripts/deploy-whatsapp-vps.sh
Or use
scripts/deploy-stage2-production.shfor git-pull + backup + restart workflow. -
Health check:
bash scripts/health-whatsapp.sh verify curl -s http://127.0.0.1:3026/health
systemd unit: deploy/openclaw-whatsapp.service
Start script: scripts/start-whatsapp.sh
Full guide: docs/WHATSAPP_DEPLOYMENT.md
| Script | Purpose |
|---|---|
npm run openclaw:build |
Build all workspaces in order |
npm run openclaw:test |
Run all package tests |
scripts/start-whatsapp.sh |
Production WhatsApp entry (systemd) |
scripts/start-telegram.sh |
Production Telegram entry |
scripts/deploy-whatsapp-vps.sh |
VPS install / restart |
scripts/migrate-to-project-profiles.sh |
Legacy → project-scoped data |
Workspaces use the @openclaw/* scope (@openclaw/core, @openclaw/control, etc.).
Never commit .env, .env.whatsapp, or API keys. Templates use *.example only.