Skip to content

docs(integrations): add OpenClaw integration guide (en + zh)#310

Open
GongHening wants to merge 2 commits into
TencentCloud:masterfrom
GongHening:docs/integrations-openclaw
Open

docs(integrations): add OpenClaw integration guide (en + zh)#310
GongHening wants to merge 2 commits into
TencentCloud:masterfrom
GongHening:docs/integrations-openclaw

Conversation

@GongHening
Copy link
Copy Markdown

Summary

  • Add OpenClaw integration guide — run OpenClaw Gateway inside a Cube MicroVM for kernel-level agent isolation
  • Both English (docs/guide/integrations/openclaw.md) and Chinese (docs/zh/guide/integrations/openclaw.md) versions included
  • Updated the published articles table in both language index pages

What the guide covers

  1. Setup — Cube deployment, template creation (2G writable layer), environment variables
  2. Integration diff — native openclaw gateway vs. Sandbox.create() with side-by-side code comparison
  3. Runnable demo — full run_openclaw.py script that installs Node.js 24, configures OpenClaw, starts the gateway, and runs a
    health-check loop
  4. Going further — network isolation, timeouts, host directory mounts, pause/resume, pre-built custom image

Key lessons baked in

The guide is based on a real end-to-end deployment and captures non-obvious details:

  • Correct config sequence: minimal JSON → openclaw doctor --fix--bind loopback --allow-unconfigured
  • Reliable process checking (pgrep -x / grep -v grep instead of bare ps aux | grep)
  • Startup script wrapper to avoid SDK timeouts on nohup commands
  • Template version must match CubeSandbox code version
  • --writable-layer-size 2G requirement for Node.js + OpenClaw

GongHening and others added 2 commits May 19, 2026 19:10
Rewrite the OpenClaw integration guide based on real deployment experience,
covering the correct config sequence, reliable process checking, startup
script approach, and all caveats discovered during hands-on testing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@GongHening GongHening requested a review from tinklone as a code owner May 19, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant