国产Openclaw的平替Copaw部署

前言

官网

https://copaw.agentscope.io/

安装方式

命令一键安装

无需预装 Python — 安装脚本通过 uv 自动管理一切。

macOS / Linux:

1
curl -fsSL https://copaw.agentscope.io/install.sh | bash

然后打开新终端(或执行 source ~/.zshrc / source ~/.bashrc)。

Windows (CMD):

1
curl -fsSL https://copaw.agentscope.io/install.bat -o install.bat && install.bat

Windows(PowerShell):

1
irm https://copaw.agentscope.io/install.ps1 | iex

然后打开新终端(安装脚本会自动将 CoPaw 加入 PATH)。

Docker

镜像在 Docker Hubagentscope/copaw)。镜像 tag:latest(稳定版);pre(PyPI 预发布版)。国内用户也可选用阿里云 ACR:agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/copaw(tag 相同)。

拉取并运行:

1
2
docker pull agentscope/copaw:latest
docker run -p 127.0.0.1:8088:8088 -v copaw-data:/app/working agentscope/copaw:latest

然后在浏览器打开 http://127.0.0.1:8088/ 进入控制台。配置、记忆与 Skills 保存在 copaw-data 卷中。传入 API Key 可在 docker run 时加 -e DASHSCOPE_API_KEY=xxx--env-file .env

1Panel安装

应用商店中直接搜索Copaw,一键安装即可。

域名映射

我这里使用的1Panel

打开 网站 => 创建

选择安装的 copaw 应用就行了

并开启密码访问,就能安全提供域名访问了。

记得域名映射。

模型

阿里云百炼

https://www.aliyun.com/benefit/scene/codingplan

自部署

设置 => 模型 => 添加供应商

添加自己如vllm部署的模型。

注意:

模型必须支持并设置--enable-auto-tool-choice--tool-call-parser,否则无法调用。

会报错

1
Unknown agent error: BadRequestError: Error code: 400 - {'object': 'error', 'message': '"auto" tool choice requires --enable-auto-tool-choice and --tool-call-parser to be set', 'type': 'BadRequestError', 'param': None, 'code': 400} (Details: /tmp/copaw_query_error_p8y8xbdu.json)

飞书

https://open.feishu.cn/

配置说明

https://www.psvmc.cn/article/2026-03-03-ai-openclaw-windows.html