Skip to content

Install and quick start

This page takes you from nothing to a working AI employee: pick an AI brain, install DuDuClaw, create your first employee in the dashboard, then connect a chat app. It is condensed from the DuDuClaw README.

DuDuClaw does not ship a model of its own. It provides the plumbing: channels, memory, tasks and the cost ledger. Pick one of these (you can also do it later in the browser wizard):

  • An AI command-line tool with an API key, such as Claude Code, Codex, Grok or Cursor. The full list is in multi-runtime execution. Use account or API-key authentication supported by your AI provider’s terms; do not share personal sign-in tokens.
  • An API key for any OpenAI-compatible service.
  • A local model behind an OpenAI-compatible server (llama-server, Ollama, vLLM, llamafile). No cloud account needed.

Subscription sign-in (for example Claude Pro or Max) is still possible, but the dashboard first shows that vendor’s terms and starts only after you tick the acknowledgment. Anthropic’s policy does not let third-party products route requests through subscription credentials. The sources, and which DuDuClaw setups conflict with them, are in subscription-login risk disclosure.

For Codex sign-in from Docker or a remote dashboard, select Codex under one-click login, open the verification page shown, enter the device code, and wait for the CLI to confirm. Pasting the code from a 127.0.0.1:1455 callback URL into the dashboard does not complete authentication. The API Token card on the Accounts page can remove a saved account; revoke a still-valid key at the provider too.

The Gemini CLI runtime was removed from the platform in v1.75.0 and Antigravity (agy) in v1.77.1. An employee still set to one of them is not moved to another vendor automatically; choose another runtime and model. Gemini API and GEMINI_API_KEY remain supported. See deprecations and removals to migrate an old configuration.

Section titled “Desktop app (recommended for personal use)”

The desktop app starts the local gateway when you open it, so you never need a terminal. It shares ~/.duduclaw with the command-line version. Download the newest desktop-v… release from GitHub Releases:

Platform File Notes
macOS (Apple Silicon / Intel) DuDuClaw_*.dmg Signed and notarized by Apple
Windows x64 DuDuClaw_*_x64_en-US.msi No Authenticode certificate yet, so SmartScreen shows an “unknown publisher” warning once; choose “More info”, then “Run anyway”
Linux *_amd64.AppImage / .deb No signing needed

npm (servers, or if you prefer the command line)

Section titled “npm (servers, or if you prefer the command line)”

Node.js 24 LTS is recommended:

終端機視窗
npm install -g duduclaw

npm installs a prebuilt binary for your platform (macOS ARM64/x64, Linux x64/ARM64, Windows x64). No compiler, no Rust. If the install asks you for Rust or MSVC Build Tools, you are on the build-from-source path meant for contributors; use the line above instead.

Needs Rust current stable and Node.js 24 LTS:

終端機視窗
git clone https://github.com/zhixuli0406/DuDuClaw.git
cd DuDuClaw
cd web
npm ci
npm run build
cd ..
cargo build --release -p duduclaw-cli -p duduclaw-gateway --features duduclaw-gateway/dashboard
./target/release/duduclaw run

3. Start it and create your first AI employee

Section titled “3. Start it and create your first AI employee”

With the desktop app, just open it. With npm or a source build:

終端機視窗
duduclaw run # starts the gateway, channels, scheduler and dispatcher

Then open http://localhost:18889 in a browser. This is the default for new installs; existing explicit settings and persistent Docker/NAS, Umbrel and DuDuClaw OS deployments may continue to use 18789 until their own migration, so follow the actual config.toml or URL supplied by IT. The first visit shows a setup wizard: pick an AI backend, create your first AI employee, and chat with it in the built-in WebChat. You do not need to run duduclaw onboard in a terminal first. Where every setting lives is mapped in the dashboard settings map.

Paste a bot token on the dashboard’s Channels page and the same AI employee appears on Telegram, LINE, Discord and the rest, without a restart. DuDuClaw supports 11 channels: Telegram, LINE, Discord, Slack, WhatsApp, Feishu, Google Chat, Microsoft Teams, WeCom, DingTalk and WebChat.

  • Webhook channels such as LINE and WhatsApp need a public HTTPS URL. Tailscale Funnel, ngrok and Cloudflare Tunnel setups are in the deployment guide.
  • Registering Google Chat and Microsoft Teams bots is covered in Google Chat and Teams channels.

In any connected channel, type:

/goal Summarise this week's complaints || List the top three issues with a count for each

The part after || is the acceptance criteria. When the AI employee reports it is done, a judge reviews the result for correctness, completeness and safety (simple one-step goals get correctness and safety only); it counts as done only when every check passes, and a stuck task comes back to you. Details are in the autonomous goal loop and the goal loop guide.

終端機視窗
duduclaw agent create # create more AI employees
duduclaw wizard # set up from an industry template
duduclaw status # system health snapshot
duduclaw update # check for and install updates
duduclaw service install # start on boot (launchd / systemd)

Moving over from OpenClaw, Hermes or paperclip? See migrating from other platforms.