Agent
容器化部署 Hermes Agent
· ☕ 2 分钟
1. 启动容器 设置镜像 1 export IMAGE=nousresearch/hermes-agent:v2026.4.16 设置目录权限 1 2 mkdir -p hermes-agent-home chmod -R 777 hermes-agent-home 设置环境变量 1 2 3 cat <<EOF > hermes-agent-home/.env GATEWAY_ALLOW_ALL_USERS=true EOF 启动 hermes-agent 1 2 3 4 5 6 7 nerdctl run -d \ --name hermes-agent \ --restart always \ -v $(pwd)/hermes-agent-home:/opt/data \ -v $(pwd)/openclaw-home/.openclaw:/root/.openclaw \ -p 8642:8642 \ $IMAGE gateway run 启动 hermes-agent dashboard 1 2 3 4 5 6 7 nerdctl run -d \ --name hermes-dashboard \ --restart always \ -p 9119:9119 \ -v $(pwd)/hermes-agent-home:/opt/data \ -e GATEWAY_HEALTH_URL=http://${node_IP}:8642 \ $IMAGE dashboard --host 0.0.0.0 --insecure 删除容器 1 nerdctl rm hermes-agent hermes-dashboard --force 2.

使用 A2A Gateway 打通多 OpenClaw
· ☕ 2 分钟
1. 架构 1 2 3 4 5 6 7 ┌──────────────────────┐ A2A/JSON-RPC ┌──────────────────────┐ │ OpenClaw 服务器 A │ ◄──────────────────────────► │ OpenClaw 服务器 B │ │ │ (Tailscale / 内网) │ │ │ Agent: AGI │ │ Agent: Coco │ │ A2A

OpenClaw 运维 - 让飞轮转起来
· ☕ 2 分钟
1. 生产案例 清理节点 重启节点 删除异常 Pod 巡检集群 2. 两步快速配置 第一步,配置 mcp 将这段配置丢给 OpenClaw,OpenClaw 会帮你配置好。 1 2 3 4 5 6 7 8 { "mcpServers": { "ops-mcp-server": { "baseUrl": "http://ops-mcp-server/mcp", "headers": { "Authorization": "Bearer xxx" } } } } 第二步,安装 skills 告诉 OpenClaw 安装一个 ops-mcp-server 的 skills。 1 clawhub install ops-mcp-server 这样

容器化部署 OpenClaw
· ☕ 2 分钟
1. 启动容器 设置镜像 1 export IMAGE=ghcr.io/openclaw/openclaw:2026.3.2 生成随机 token 1 openssl rand -hex 32 设置网关 token 1 export OPENCLAW_GATEWAY_TOKEN=xxx 这个 token 会用于远程 Web 端,本地 Tui 端的认证。 设置目录权限 1 2 mkdir -p openclaw-home chmod -R 777 openclaw-home 启动容器 1 2 3 4 5 6 7 nerdctl run -d --user root \ --name openclaw \ --restart always \ -p 18789:18789 \ -v $(pwd)/openclaw-home:/root/ \ $IMAGE \ sleep infinity 删除容器 1 nerdctl rm openclaw --force 2. 启动服务 创建配置文件 1 2 3

OpenClaw 安装与配置
· ☕ 2 分钟
1. 准备 Node 环境 安装 nvm 1 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash 设置 nvm 环境变量 需要修改 Bash 的配置文件,添加以下内容: 1 2 3 export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" 安装 Node 1 nvm install 22 default 2. 安装 OpenClaw 安装包 1 npm install -g openclaw@latest 卸载 1 npm uninstall -g openclaw 设置环境变量 1 vim ~/.openclaw/.env 可以添加 KEY=VALUE 用于给 Plugins、Channels、