# OpenClaw
**Repository Path**: superdu6/open-claw
## Basic Information
- **Project Name**: OpenClaw
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-02-27
- **Last Updated**: 2026-02-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
OpenClaw 中国社区 (CN)
🦞 你的私人 AI 助手 (Personal AI Assistant)
Based on OpenClaw v2026.2.2
更安全 · 更懂中文 · 适配 DeepSeek 的 Local Agent 基础设施
🌐 官方文档 •
English README
> **OpenClaw CN (中国社区版)** 是 OpenClaw 的本地化维护版本,针对国内网络环境进行了深度优化,**源码级原生支持** DeepSeek/Qwen 等国产大模型,致力于让中国开发者拥有最顺滑的 Agent 开发体验。
---
## 🇨🇳 社区版特性 (Features)
本项目是 OpenClaw (原Clawdbot) 的**中国本土化维护版本**,针对国内网络与使用习惯进行了深度优化:
* 🧠 **国产大脑**:源码内置 **DeepSeek-V3** / **Qwen** 支持,开箱即用,告别昂贵的 Claude。
* 🛡️ **安全审计**:代码经社区人工审计,剔除潜在风险与不必要的遥测。
* ⚡ **极速下载**:预配置 pnpm 国内镜像源,安装依赖“飞”一般的感觉。
* 🔌 **生态落地**:正在开发飞书 (Feishu)、企业微信连接器。
## 🚀 快速开始 (Quick Start)
请访问我们的文档站查看保姆级教程:
👉 **[https://open-claw.org.cn/guide/getting-started](https://open-claw.org.cn/guide/getting-started)**
---
## ⚡️ 源码安装与开发 (中国网络优化)
为了确保在国内网络环境下依赖能快速下载,我们**强制推荐**使用 `pnpm` 并配置国内镜像源。
### 1. 准备环境
确保你的 Node.js 版本 `≥22`。如果未安装 pnpm,请运行:
```bash
npm install -g pnpm
```
### 2. 配置国内高速镜像 (关键步骤)
在开始安装前,请务必设置 pnpm 的镜像源,否则下载速度会很慢:
```bash
# 设置淘宝/阿里云镜像
pnpm config set registry https://registry.npmmirror.com/
```
### 3. 安装与启动
```bash
# 1. 克隆仓库
git clone https://gitee.com/OpenClaw-CN/openclaw-cn.git
cd openclaw-cn
# 2. 安装依赖 (速度飞快 🚀)
pnpm install
# 3. 首次构建 UI 依赖
pnpm ui:build
# 4. 构建项目
pnpm build
# 5. 启动初始化向导
pnpm openclaw onboard --install-daemon
# 直接使用 node 命令(推荐):
node dist/entry.js onboard --install-daemon
```
> **💡 开发模式**: 如果你想修改源码并实时预览,请使用 `pnpm gateway:watch` 启动。
---
## 🧠 模型配置 (DeepSeek 原生支持)
得益于 OpenClaw CN 的源码改造,DeepSeek 已成为系统的一级公民,配置极其简单。
### 方法一:通过向导配置 (最推荐)
在运行 `pnpm openclaw onboard` 时:
1. **Select Provider**: 在列表中直接选择 👉 **`DeepSeek (Recommended for CN)`**
2. **API Key**: 输入您的 DeepSeek Key (`sk-xxxxxxxx`)。
3. **Model**: 系统会自动为您配置 `deepseek-chat` (V3) 为默认模型。
### 方法二:手动修改配置文件
如果您需要手动干预配置,请修改 `~/.openclaw/openclaw.json`。得益于原生集成,您只需关注 `auth` 和 `agents` 部分:
```json
{
"auth": {
"profiles": {
"deepseek:default": {
"provider": "deepseek",
"mode": "api_key",
"apiKey": "sk-你的Key"
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "deepseek/deepseek-chat"
}
}
}
}
```
> **注意**:无需再手动配置 `baseUrl`,系统源码已内置 DeepSeek 官方节点 (`https://api.deepseek.com`)。
---
## ⚠️ 免责声明
本项目基于 [OpenClaw Official](https://github.com/openclaw/openclaw) 构建。
原项目版权归原作者所有,遵循 MIT 协议。我们致力于让优秀的开源项目在中国更好地落地。
---
OpenClaw-CN Community © 2026