经 AI Skill Hub 精选评估,开源AI工作流 获评「强烈推荐」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
企业级AI管理平台,提供聊天界面和对话功能
开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
企业级AI管理平台,提供聊天界面和对话功能
开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g teamclaw # 方式二:npx 直接运行(无需安装) npx teamclaw --help # 方式三:项目依赖安装 npm install teamclaw # 方式四:从源码运行 git clone https://github.com/szsip239/teamclaw cd teamclaw npm install npm start
# 命令行使用
teamclaw --help
# 基本用法
teamclaw [options] <input>
# Node.js 代码中使用
const teamclaw = require('teamclaw');
const result = await teamclaw.run(options);
console.log(result);
# teamclaw 配置说明 # 查看配置选项 teamclaw --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export TEAMCLAW_CONFIG="/path/to/config.yml"
<p align="center"> <img src="docs/screenshots/cover.png" alt="TeamClaw Cover" width="800"> </p>
<p align="center"> <h1 align="center">TeamClaw</h1> <p align="center">Enterprise OpenClaw AI Agent Management Platform</p> <p align="center">企业级 OpenClaw AI Agent 管理平台</p> </p>
<p align="center"> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a> <a href="https://nodejs.org/"><img src="https://img.shields.io/badge/node-%3E%3D20-green.svg" alt="Node.js"></a> <a href="https://github.com/szsip239/teamclaw/pkgs/container/teamclaw"><img src="https://img.shields.io/badge/ghcr.io-teamclaw-blue.svg" alt="Docker Image"></a> </p>
<p align="center"> <a href="#english">English</a> | <a href="#中文">中文</a> </p>
---
<a id="中文"></a>
AI 对话
Agent 管理
Skills 市场
知识库 (RAG)
rag.doc_profile 摘要 + 关键词预筛候选文档,再在候选内做细检索rag schema,每条 SQL 以 kb_id 为隔离轴工具箱
TOOLS 数组配置,新工具通过 available: false 标记"即将推出"多实例管理
组织与权限
平台能力
| 模块 | 路由数 | 核心能力 |
|---|---|---|
| 对话 | 8 | 多会话、流式输出、思考展示、图片附件 |
| Agent | 6 | CRUD、克隆、分类、文件管理 |
| Skills | 12 | ClawHub 市场、安装/发布、版本管理、IDE 编辑 |
| 实例 | 13 | Docker 创建、外部接入、健康监控、配置编辑 |
| 知识库 | 10 | PDF/DOCX/Excel 上传、PaddleOCR、FTS+向量+RRF 混合检索、PDF 页面预览、多文档路由、流式问答 |
| 工具箱 | 3 | 卡片式工具集合、法规追踪、舆情监控等内置工具入口 |
| 认证 | 5 | JWT 登录、Token 轮转、限流 |
| 组织 | 5 | 用户/部门 CRUD、RBAC 权限 |
| 审计 | 2 | 操作日志、CSV 导出 |
| 仪表盘 | 1 | 实例/会话/用户/技能统计 |
| 其他 | 5 | 资源密钥、实例访问 |
AI Chat
Agent Management
Skills Marketplace
Knowledge Base (RAG)
rag.doc_profile summaries + keywords pre-filter candidate docs, then fine-grained search runs within candidatesrag schema, every SQL query takes kb_id as the isolation axisMulti-Instance Management
Organization & Permissions
Platform
| Module | Routes | Key Capabilities |
|---|---|---|
| Chat | 8 | Multi-conversation, streaming, thinking display, image attachments |
| Agents | 6 | CRUD, clone, classify, file management |
| Skills | 12 | ClawHub marketplace, install/publish, version management, IDE editor |
| Instances | 13 | Docker create, external gateway, health monitoring, config editor |
| Knowledge Base | 10 | PDF/DOCX/Excel upload, PaddleOCR, FTS+vector+RRF hybrid retrieval, PDF page preview, multi-doc routing, streaming Q&A |
| Auth | 5 | JWT login, token rotation, rate limiting |
| Org | 5 | User/department CRUD, RBAC |
| Audit | 2 | Operation logs, CSV export |
| Toolbox | 3 | Card-style tool collection, regulation tracker, public opinion, and more built-in utilities |
| Dashboard | 1 | Instance/session/user/skill metrics |
| Other | 5 | Resource keys, instance access |
⚠️ 重要提示:TeamClaw 依赖 PostgreSQL 和 Redis,不支持单独 docker run 启动。请使用下面的 Docker Compose 方式部署。
git clone https://github.com/szsip239/teamclaw.git
cd teamclaw
bash setup.sh
脚本会自动:
访问 http://localhost:3100 — 账号:admin@teamclaw.local / Admin@123456
setup.sh 会交互式询问是否启用 Nginx 反向代理。你也可以手动配置:
1. 将 SSL 证书文件放入 nginx/cert/ 目录 2. 编辑 .env 设置 Nginx 变量:
NGINX_SERVER_NAME="your-domain.com"
NGINX_SSL_CERT="your-cert.crt"
NGINX_SSL_KEY="your-cert.key"
3. 使用 --profile nginx 启动: docker compose -f docker-compose.prod.yml --profile nginx up -d
访问 https://your-domain.com
| 变量 | macOS Docker Desktop | Linux | 说明 |
|---|---|---|---|
DOCKER_SOCKET_PATH | /var/run/docker.sock | /var/run/docker.sock | TeamClaw 管理 OpenClaw 容器需要访问 Docker socket |
DOCKER_GID | 0 | stat -c '%g' /var/run/docker.sock | app 容器访问 Docker socket 的 group id |
TEAMCLAW_DATA_DIR | ~/.teamclaw/instances | 自定义绝对路径 | OpenClaw 实例数据挂载目录 |
DEFAULT_OPENCLAW_IMAGE | alpine/openclaw:latest | 同左 | 新建实例默认镜像 |
进入 实例管理 页面,选择以下任一方式:
Docker 容器(推荐) — 点击"创建实例",选择 Docker 模式,填写实例名称,选择镜像(默认 alpine/openclaw:latest),点击创建即可自动部署。实例上线后会自动使用步骤 2 中你标记的默认资源与默认模型。
外部网关 — 如果已有运行中的 OpenClaw,选择外部网关模式,填入 WebSocket URL 和 Token 即可连接。已有模型配置的实例不会被覆盖,你可以通过 Config Editor 手动切换默认模型。
等待实例状态变为 🟢 ONLINE(通常 5-10 秒)。
v0.4.0 预置了 15 个开箱即用的参考 Skills,涵盖浏览器自动化、内容创作、数据分析、多搜索引擎等场景:
| 类别 | Skills |
|---|---|
| 浏览器自动化 | agent-browser、browserwing、playwright-scraper-skill |
| 搜索 | baidu-search、multi-search-engine、vane-search |
| 内容创作 | anygen-skill、content-skills(含包鱼 Markdown→公众号 / Markdown→HTML) |
| 数据分析 | data-analyst |
| 工作流辅助 | agent-init、multi-agent-cn、self-improving、skill-creator、summarize |
| 商务 | qcc-cli(企查查) |
安装方法:进入 Skills 管理 页面 → 选择 skill → 点击"安装到实例" → 选目标实例 / agent / 安装路径(workspace 或 global)。
git clone https://github.com/szsip239/teamclaw.git
cd teamclaw
bash setup.sh
This will:
Visit http://localhost:3100 — Login: admin@teamclaw.local / Admin@123456
setup.sh interactively asks whether to enable Nginx reverse proxy. You can also configure it manually:
1. Place SSL certificate files in nginx/cert/ 2. Edit .env to set Nginx variables:
NGINX_SERVER_NAME="your-domain.com"
NGINX_SSL_CERT="your-cert.crt"
NGINX_SSL_KEY="your-cert.key"
3. Start with --profile nginx: docker compose -f docker-compose.prod.yml --profile nginx up -d
Visit https://your-domain.com
| Variable | macOS Docker Desktop | Linux | Notes |
|---|---|---|---|
DOCKER_SOCKET_PATH | /var/run/docker.sock | /var/run/docker.sock | TeamClaw needs Docker socket access to manage OpenClaw containers |
DOCKER_GID | 0 | stat -c '%g' /var/run/docker.sock | Group id used by the app container for Docker socket access |
TEAMCLAW_DATA_DIR | ~/.teamclaw/instances | absolute host path | Host directory for OpenClaw instance data |
DEFAULT_OPENCLAW_IMAGE | alpine/openclaw:latest | same | Default image for new instances |
After deployment, follow these steps to start your first AI conversation:
Navigate to the Instances page and choose one of:
Docker Container (Recommended) — Click "Create Instance", select Docker mode, enter a name, choose an image (default: alpine/openclaw:latest), and create. Once online, it automatically uses the default resource + default model you marked in Step 2.
External Gateway — If you already have a running OpenClaw, select external gateway mode, enter the WebSocket URL and token to connect. Existing model configurations are not overwritten — use the Config Editor to switch models if needed.
Wait for instance status to become 🟢 ONLINE (typically 5-10 seconds).
v0.4.0 ships with 15 ready-to-use reference skills covering browser automation, content creation, data analysis, multi-search, and more:
| Category | Skills |
|---|---|
| Browser automation | agent-browser, browserwing, playwright-scraper-skill |
| Search | baidu-search, multi-search-engine, vane-search |
| Content creation | anygen-skill, content-skills (incl. baoyu markdown → WeChat / markdown → HTML) |
| Data analysis | data-analyst |
| Workflow helpers | agent-init, multi-agent-cn, self-improving, skill-creator, summarize |
| Business | qcc-cli (QCC enterprise lookup) |
How to install: Open Skills → pick a skill → click "Install to Instance" → choose target instance / agent / install path (workspace or global).
部署完成后,按以下步骤开始你的第一次 AI 对话:
⚠️ Important: TeamClaw requires PostgreSQL and Redis. Standalone docker run will NOT work. Use Docker Compose as described below.
Copy .env.example to .env, then fill in the required values. setup.sh generates secrets automatically; if you configure the project manually, run node scripts/generate-keys.mjs.
![]() 仪表盘 |
![]() AI 对话 |
![]() Agent 管理 |
![]() Skills 管理 |
![]() 实例管理 |
![]() 配置编辑器 |
![]() Dashboard |
![]() AI Chat |
![]() Agent Management |
![]() Skills Marketplace |
![]() Instance Management |
![]() Config Editor |
复制 .env.example 为 .env 后,至少需要完成下面几类配置。setup.sh 会自动生成密钥;手动配置时请运行 node scripts/generate-keys.mjs。
首次配置完成后建议按顺序执行:
npx prisma generate
npx prisma db push
npx tsx prisma/seed.ts
docker compose up -d
curl http://localhost:8000/api/health
npm run dev
如果知识库上传失败,优先检查 RAG_SERVICE_SECRET 是否一致、RAG_SERVICE_URL 是否能从 Next.js 所在环境访问、PADDLEOCR_TOKEN 是否有效,以及 SILICONFLOW_EMBEDDING_MODEL 和 PGVECTOR_EMBED_DIM 是否匹配。
进入 资源管理 页面,创建模型资源。我们支持 25 个内置 Provider,包括多区域 / 多计划 variants(例如 qwen 的"国内 Standard"、"国内 Coding Plan"、"国际 Standard"、"国际 Coding Plan"):
| 提供商 | API 协议 | 说明 |
|---|---|---|
| Anthropic | anthropic-messages | Claude 系列,默认提供商 |
| OpenAI | openai-completions | GPT / o 系列 |
google-generative-ai | Gemini 系列 | |
| DeepSeek | openai-completions | DeepSeek V3 / R1 |
| Qwen(通义千问) | openai-completions | 含 Coding Plan 变体 |
| MiniMax / Doubao / Moonshot | 多种 | 含多 region 变体 |
| Groq / xAI / Mistral | openai-completions | OpenAI 兼容协议 |
| Ollama / vLLM | ollama / openai-completions | 本地部署 |
完整支持 25 个 Provider(智谱 GLM、千帆、z.ai、Kimi Coding 等),详见资源管理页面。
操作流程:
为什么要先做这一步? 从 v0.4.0 开始,teamclaw 会在新实例首次连接时自动把"默认 Resource + 默认模型"推送到实例配置里:
先配资源(设 ⭐ + "设为默认")
↓
后创建实例
↓
实例首次 WebSocket 连接 → teamclaw 自动注入 models.providers + primary model
↓
开箱即用,无需在 Config Editor 手配
Two sub-modes —
A. Full Docker stack (recommended, zero local deps)
git clone https://github.com/szsip239/teamclaw.git
cd teamclaw
cp .env.example .env
node scripts/generate-keys.mjs # writes JWT_*/ENCRYPTION_KEY etc.
docker compose --profile app up -d # starts postgres + redis + rag + app
docker logs -f teamclaw-app # watch Next.js Turbopack boot
Visit http://localhost:3100. Edits to src/** hot-reload; edits to rag-service/app/** trigger uvicorn --reload. --profile app is a switch: plain docker compose up -d only brings up the three infra services (postgres/redis/rag), letting host-mode users continue with B below.
B. Infra in Docker, Next.js on host
git clone https://github.com/szsip239/teamclaw.git
cd teamclaw
npm install
docker compose up -d # postgres + redis + rag (no app)
cp .env.example .env
node scripts/generate-keys.mjs
npx prisma generate
npx prisma db push
npx tsx prisma/seed.ts
npm run dev # Next.js on host (port 3100)
Host-side hot-reload is usually a touch faster (< 0.5s) — handy for pure frontend tweaks. data/knowledge-bases/ is shared between both modes, so uploaded docs survive a mode switch.
After first-time setup, run:
npx prisma generate
npx prisma db push
npx tsx prisma/seed.ts
docker compose up -d
curl http://localhost:8000/api/health
npm run dev
If knowledge-base uploads fail, check that RAG_SERVICE_SECRET matches in both services, RAG_SERVICE_URL is reachable from the Next.js runtime, PADDLEOCR_TOKEN is valid, and SILICONFLOW_EMBEDDING_MODEL matches PGVECTOR_EMBED_DIM.
Go to the Resources page to create model resources. 25 built-in providers are supported, including region/plan variants (e.g. qwen's "CN Standard", "CN Coding Plan", "Intl Standard", "Intl Coding Plan"):
| Provider | API Protocol | Notes |
|---|---|---|
| Anthropic | anthropic-messages | Claude models, default provider |
| OpenAI | openai-completions | GPT / o series |
google-generative-ai | Gemini series | |
| DeepSeek | openai-completions | DeepSeek V3 / R1 |
| Qwen | openai-completions | Includes Coding Plan variants |
| MiniMax / Doubao / Moonshot | mixed | Multiple region variants |
| Groq / xAI / Mistral | openai-completions | OpenAI-compatible |
| Ollama / vLLM | ollama / openai-completions | Local deployment |
25 providers supported (GLM, Qianfan, z.ai, Kimi Coding, etc.). See the Resources page for the full list.
Workflow:
Why do this first? Starting from v0.4.0, teamclaw automatically pushes your default resource + default model into every new instance on its first WebSocket connection:
Configure resources first (⭐ + "Set as default")
↓
Create an instance
↓
First WebSocket connect → teamclaw auto-injects models.providers + primary
↓
Works out of the box — no manual Config Editor setup needed
RAG 凭据有两种配置方式:
.env 中填写下面的变量。系统配置为空时会自动回退到环境变量。| 变量 | 默认值 | 说明 |
|---|---|---|
LLM_API_KEY 或 DASHSCOPE_API_KEY | 空 | 文档摘要、章节摘要、最终回答使用的 LLM Key |
LLM_BASE_URL | https://dashscope.aliyuncs.com/compatible-mode/v1 | OpenAI 兼容接口地址 |
LLM_MODEL | qwen3.5-35b-a3b | RAG 默认回答/摘要模型 |
SILICONFLOW_API_KEY | 空 | Embedding 和可选 rerank 的 API Key |
SILICONFLOW_EMBEDDING_URL | https://api.siliconflow.cn/v1/embeddings | Embedding endpoint;服务会自动归一化为 API root |
SILICONFLOW_EMBEDDING_MODEL | BAAI/bge-m3 | 默认向量模型 |
PGVECTOR_EMBED_DIM | 1024 | pgvector 维度,必须匹配 Embedding 输出维度 |
PADDLEOCR_TOKEN | 空 | PaddleOCR 云端识别 Token,PDF 入库需要 |
PADDLEOCR_MODEL | PP-OCRv5 | OCR 模型 |
PADDLEOCR_JOB_URL | https://paddleocr.aistudio-app.com/api/v2/ocr/jobs | PaddleOCR job API |
当前项目默认模型栈:
| 用途 | 当前默认模型/服务 | 配置位置 | 说明 |
|---|---|---|---|
| RAG 回答、文档摘要 | qwen3.5-35b-a3b | rag.llm.model / LLM_MODEL | 当前默认 LLM,默认通过 DashScope OpenAI 兼容接口调用 |
| 查询改写、文档相关性判断 | 跟随 rag.llm.model | rag.llm.model / LLM_MODEL | 正常由 Next.js 传入同一个 LLM;直连 RAG 服务且未传模型时回退 qwen-plus |
| PDF 页面图像回答 | 跟随 rag.llm.model | rag.llm.model / LLM_MODEL | 如果你的 PDF 问答依赖页面截图,模型必须支持 image_url 多模态输入 |
| 向量检索 | BAAI/bge-m3 | rag.embedding.model / SILICONFLOW_EMBEDDING_MODEL | 当前默认 Embedding,输出 1024 维向量 |
| 可选重排 | BAAI/bge-reranker-v2-m3 | rag.rerank.model | 默认配置了模型名,但 rag.rerank.enabled=false,需要在后台手动开启 |
| OCR 入库 | PP-OCRv5 | rag.paddleocr.model / PADDLEOCR_MODEL | 当前 PDF 入库 OCR 模型;建议保持该模型 |
模型选择建议:
| 场景 | 推荐配置 | 说明 |
|---|---|---|
| 默认生产配置 | qwen3.5-35b-a3b + BAAI/bge-m3 + PP-OCRv5 | 保持当前默认,配置少、行为稳定,适合先上线验证 |
| PDF 扫描件、截图型资料较多 | 使用支持视觉输入的 DashScope/OpenAI-compatible LLM,例如 qwen-vl-max | RAG 会把命中 PDF 页面图像发给模型,纯文本模型可能无法回答 |
| 长文档或多文档召回噪声较高 | 开启 rerank,并使用 BAAI/bge-reranker-v2-m3 | 先召回再重排,通常能减少无关片段进入最终回答 |
| 成本优先、主要是文本/Excel | 可评估更轻量的 OpenAI-compatible 文本模型,但保留 BAAI/bge-m3 | 更换 LLM 不影响向量库;更换 Embedding 会影响向量维度和历史索引 |
| OCR 模型选择 | 固定使用 PP-OCRv5 | 换成其他 OCR 模型可能改变文本切分、页码定位和表格识别,进而降低检索效果 |
| 更换 Embedding | 新模型维度必须同步 PGVECTOR_EMBED_DIM,并重建或迁移 rag schema 向量表 | 当前 BAAI/bge-m3 是 1024 维,直接换维度会导致查询报错 |
如果你更换 Embedding 模型且维度不是 1024,需要先清理或迁移 rag schema 中的向量表,再修改 PGVECTOR_EMBED_DIM,否则查询会出现维度不匹配。
高质量的开源AI工作流管理平台
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:开源AI工作流 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | teamclaw |
| Topics | AI工作流TypeScript |
| GitHub | https://github.com/szsip239/teamclaw |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-20 · 更新时间:2026-06-20 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端