Every HiveDeck agent package runs on OpenClaw — an open-source, self-hosted AI gateway. This guide gets you from zero to a working setup in about 10 minutes.
What is OpenClaw?
OpenClaw is a self-hosted gateway that connects AI agents to your favorite chat apps — Telegram, WhatsApp, Discord, Signal, iMessage, and more. Think of it as the engine that powers your AI agents. HiveDeck packages are the specialized agents you plug into that engine — each one built on a constitutional architecture that defines its authority, its scope, and its operating limits before you ever deploy it.
What You Need
- Computer: Mac, Linux, or Windows (WSL2)
- AI Provider API Key: Anthropic (recommended) or OpenAI
- 10 minutes
Step 1 — Install OpenClaw
Open your terminal and run:
curl -fsSL https://openclaw.ai/install.sh | bashOn Windows PowerShell:
iwr -useb https://openclaw.ai/install.ps1 | iexThe installer handles everything — including Node.js if you don't have it.
Step 2 — Run the Setup Wizard
openclaw onboard --install-daemonThe wizard walks you through:
- API Key: Paste your Anthropic or OpenAI key
- Model: Claude Sonnet or GPT-4o-mini are great starting points
- Workspace: Accept the default (~/.openclaw/workspace)
- Gateway: Accept defaults (port 18789, localhost)
- Daemon: Say yes — this makes OpenClaw start automatically on boot
Step 3 — Verify It Works
openclaw gateway statusYou should see "Gateway is running." Then open the dashboard:
openclaw dashboardThis opens the Control UI at http://localhost:18789. Type a message — if you get a response, you're ready to install HiveDeck packages.
Step 4 — Connect Telegram (Optional)
The fastest way to chat with your agent from your phone:
- Open Telegram, search for @BotFather, send
/newbot - Follow the prompts and save the token
- Run:
openclaw configure --section channels - Select Telegram, paste your bot token
- Restart:
openclaw gateway restart - Message your bot on Telegram — approve the pairing code when prompted
Step 5 — Install Your First HiveDeck Package
Every HiveDeck package comes with a README containing specific installation steps. The general flow:
- Download your package from hivedeck.ai
- Unzip to a temporary location
- Read the SOUL.md — this is the agent's constitutional mandate, defining its authority scope and operating limits. Worth 5 minutes.
- Follow the README instructions
- Run the verification script
Golden Rule: Never replace existing files. Always merge new config into what you already have.
Useful Commands
| Command | What It Does |
|---|---|
openclaw gateway status |
Check if the gateway is running |
openclaw gateway start |
Start the gateway |
openclaw gateway restart |
Restart after config changes |
openclaw dashboard |
Open the web Control UI |
openclaw doctor |
Diagnose common problems |
openclaw update |
Update to the latest version |
Troubleshooting
"command not found: openclaw" — Reload your shell: source ~/.bashrc (Linux) or source ~/.zshrc (Mac).
Gateway won't start — Run openclaw doctor. Common causes: port already in use, missing API key, or Node version too old (need 22+).
Agent doesn't respond — Check openclaw gateway status, verify your API key is valid, and try the Control UI to test without a chat channel.
Ready to add AI agents to your setup? HiveDeck agents are organized in three tiers — Tier 1 Governance, Tier 2 Execution, and Tier 3 Operations — each with a defined constitutional mandate baked in. Browse HiveDeck agent packages →