Shell / Bash WeChat PPT制作 AI 算法
OpenClaw 结合 Kimi K2.5 实现本地 AI 助手部署与办公自动化 综述由AI生成 基于 OpenClaw 框架结合 Kimi K2.5 模型进行本地 AI 助手部署的完整流程。内容包括环境准备(Docker、Git)、源码拉取与容器构建、API Key 获取与配置、多端远程控制(飞书/企业微信)设置以及办公自动化实战案例。此外,还提供了常见问题排查与安全加固建议,旨在帮助用户快速搭建私有化 AI 办公系统。
岁月神偷 发布于 2026/3/30 更新于 2026/5/22 26 浏览前置准备
核心依赖清单
环境要求:Windows 10+/macOS 12+/Linux(Ubuntu 22.04 最佳),4G 以上内存,无需独立 GPU。
必备工具:Docker+Docker Compose、Git(版本 2.40+)。
密钥准备:Kimi Code API Key(火山方舟/CodingPlan 获取,需实名认证)。
辅助工具:浏览器(Chrome/Edge 最新版)、IM 工具(飞书/企业微信)。
快速获取 Kimi K2.5 API Key
访问火山方舟控制台:https://ark.volces.com,注册并完成实名认证。
进入「API Key 管理」→「创建 API Key」,命名后生成密钥,复制 Access Key ID+Secret 保存至本地文本。
安装 Docker
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
docker --version && docker compose version
Docker 一键部署 OpenClaw
拉取源码 + 构建镜像
git clone https://github.com/OpenClawChinese/OpenClaw.git
cd OpenClaw
docker build -t clawdbot:latest .
docker volume create openclaw-data
初始化配置 + 启动服务
docker run --rm -v openclaw-data:/root/.openclaw clawdbot:latest openclaw setup
docker run --rm -v openclaw-data:/root/.openclaw clawdbot:latest openclaw config set gateway.bind lan
docker run --rm -v openclaw-data:/root/.openclaw clawdbot:latest openclaw config set gateway.auth.token 你的自定义密码
cat > docker-compose.yml << EOF
version: '3.8'
services:
openclaw:
image: clawdbot:latest
container_name: openclaw-kimi
ports:
- "18789:18789"
volumes:
- openclaw-data:/root/.openclaw
restart: unless-stopped
command: openclaw gateway run --allow-unconfigured
volumes:
openclaw-data:
name: openclaw-data
EOF
docker compose up -d
docker compose ps
docker compose logs -f