Skip to content

Commit d994be3

Browse files
author
matevip
committed
release: v1.2.0
1 parent 9ada305 commit d994be3

653 files changed

Lines changed: 106180 additions & 2942 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,6 @@ CLAUDE.md
9898

9999
# Codex CLI local artifacts
100100
.codex/
101+
102+
# Sync tooling local state (generated each run; report is intentionally tracked)
103+
scripts/.*-sync-state.json

README.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ This is the difference between a warehouse and a library.
6060

6161
| Surface | What it is |
6262
|---|---|
63-
| **Web Console** | Full admin — agents, models, tools, skills, knowledge, security, cron |
63+
| **Web Console** | Full admin — digital employees, models, skills, knowledge, security, cron, **runtime console** (see what every employee is doing, force-recycle in one click) |
6464
| **Desktop** | Electron app with a bundled JRE 21. Double-click, run. No Java install |
6565
| **Webchat Widget** | One `<script>` tag embed. Drop it on any site |
6666
| **IM Channels** | DingTalk · Feishu · WeChat Work · WeChat · Telegram · Discord · QQ · Slack |
@@ -74,22 +74,28 @@ Same brain. Same memory. Same tools. Different doors.
7474

7575
## What's in the box
7676

77-
### Agent runtime
78-
**ReAct** for iterative reasoning. **Plan-and-Execute** for complex multi-step work. Dynamic context pruning, smart truncation, stale-stream cleanup — the boring stuff that makes long conversations actually work.
77+
### Digital employees, not chatbots
78+
You hire coworkers, not chat boxes. Each one has a **Role**, a **Goal**, a **Backstory**, a pixel-art avatar, and a color of their own — five career templates ship ready (Product Researcher · Customer Support · Knowledge Curator · Data Analyst · Executive Assistant). **ReAct** drives iterative reasoning, **Plan-and-Execute** decomposes complex multi-step work, employees can delegate to one another in parallel. Dynamic context pruning, smart truncation, stale-stream cleanup — the boring stuff that makes long conversations actually work.
7979

8080
### Knowledge & memory
81-
- **LLM Wiki** — raw materials digest into linked pages with citations
81+
- **LLM Wiki** — raw materials digest into linked pages with citations; the **hot cache** auto-injects into every employee's system prompt
8282
- **Workspace memory**`AGENTS.md`, `SOUL.md`, `PROFILE.md`, `MEMORY.md`, daily notes
83-
- **Memory lifecycle** — post-conversation extraction, scheduled consolidation, dreaming workflows
83+
- **Memory lifecycle** — post-conversation extraction, scheduled consolidation, Dreaming workflows
8484

85-
### Tools, skills, MCP
86-
Built-in tools for web search, files, memory, date/time. **MCP** over stdio / SSE / Streamable HTTP. **SKILL.md** packages from the ClawHub marketplace. A **Tool Guard** layer with RBAC, approval flows, and path protection — capability needs boundaries.
85+
### Skills · MCP · ACP — three ways to extend capability
86+
- **SKILL.md packages** — manifest + prompt + tool list + **LESSONS.md (gets smarter the more you use it)**. Eight starter templates plus a five-step creation wizard, with **Pre-flight checks** that tell you what's missing before install
87+
- **MCP** — stdio / SSE / Streamable HTTP, plug into any external tool server
88+
- **ACP** — bring top-tier coding agents like Claude Code and Codex in as employees, auto-bridged to skill cards with wrapper tools
89+
- **Tool Guard** — RBAC + approval flow + path protection. Capability needs boundaries
90+
91+
### You see what every employee is doing
92+
**Admin Runtime Console** (`Settings → System → Runtime`) — who's running, what step they're on, how many tokens, one-click force-recycle when stuck. Streaming is staged honestly (thinking / tool / answer), per-event SSE IDs make reconnects safe, multi-employee delegation no longer fights itself, long tasks demand evidence-grounded answers.
8793

8894
### Multimodal creation
89-
Text-to-speech · Speech-to-text · Image · Music · Video. First-class, not add-ons.
95+
Text-to-speech · Speech-to-text · Image · Music · Video · 3D. First-class, not add-ons.
9096

9197
### Enterprise-ready
92-
RBAC + JWT. Full audit trail. Flyway-managed schema that auto-heals on upgrade. One JAR to ship. MySQL in production, H2 for dev — nothing to change in your code.
98+
RBAC + JWT. **Personal Access Tokens** for headless scripts and CI. **HMAC-SHA-256 outbound webhook signing**. **Distributed Cron lock** so multi-instance deployments don't double-fire. Full audit trail. Flyway-managed schema that auto-heals on upgrade. One JAR to ship. MySQL in production, H2 for dev — nothing to change in your code.
9399

94100
---
95101

@@ -109,14 +115,15 @@ This is the same shift databases went through around 2010 and cloud went through
109115
|:---|:---:|:---:|:---:|:---:|:---:|
110116
| **Multi-vendor failover** | **Chain + health tracker + cooldown** | Swap providers via config | Orchestration w/ retry | Anthropic only | One model |
111117
| **Knowledge digestion** | **LLM Wiki + page-level citations** | Canvas + memory | Skills Hub + memory || Code index |
112-
| **Multi-user admin** | **RBAC + approval flow + audit** | Config-file first | Single-user CLI | Enterprise tier | Teams plan |
118+
| **Multi-user admin** | **RBAC + approval + audit + runtime console** | Config-file first | Single-user CLI | Enterprise tier | Teams plan |
119+
| **Capability extension** | **Skills (LESSONS) + MCP + ACP** ||| MCP | MCP |
113120
| **Surfaces** | Web admin + Desktop + Widget + SDK + 8 IM | 25+ chat channels | 15+ channels (CLI-led) | 3 IM preview | IDE only |
114121
| **Stack** | **Java (Spring Boot)** | TypeScript | Python | TypeScript | Electron/TS |
115122
| **License / Price** | **Apache 2.0 · Free** | MIT · Free | MIT · Free | Proprietary · $20–200/mo | Proprietary · $0–200/mo |
116123

117124
**OpenClaw and Hermes Agent are excellent personal AI platforms** — pick either if you're running one user on one laptop, building your own agent from CLI, and treating everything as config files to hand-tune. Both have bigger communities than MateClaw today.
118125

119-
**MateClaw is the version built for teams.** RBAC per agent, per model, per tool. An approval flow that pauses risky actions for review. Full audit trail. A web admin dashboard where one operator manages 50 agents across 14 vendors. Spring Boot inside — drop-in for any Java shop already running production services.
126+
**MateClaw is the version built for teams.** RBAC per digital employee, per model, per tool. An approval flow that pauses risky actions for review. Full audit trail. The Admin Runtime Console gives one operator real-time visibility into 50 employees running across 14 vendors — stuck? force-recycle in one click. Spring Boot inside — drop-in for any Java shop already running production services.
120127

121128
Same "whole widget" philosophy. Different center of gravity.
122129

@@ -184,7 +191,8 @@ Desktop binaries ship via [GitHub Releases](https://github.com/matevip/mateclaw/
184191
| Layer | Technology |
185192
|---|---|
186193
| Backend | Spring Boot 3.5 · Spring AI Alibaba 1.1 · MyBatis Plus · Flyway |
187-
| Agent | StateGraph runtime · ReAct + Plan-Execute |
194+
| Digital Employee Runtime | StateGraph · ReAct + Plan-Execute · Role / Goal / Backstory · LESSONS self-evolution |
195+
| Capability Extension | SKILL.md packages · MCP (stdio / SSE / HTTP) · ACP bridge (Claude Code / Codex) |
188196
| Database | H2 (dev) · MySQL 8.0+ (prod) |
189197
| Auth | Spring Security + JWT |
190198
| Frontend | Vue 3 · TypeScript · Vite · Element Plus · TailwindCSS 4 |
@@ -199,7 +207,7 @@ Full docs at **[claw.mate.vip/docs](https://claw.mate.vip/docs)** — setup, arc
199207

200208
## Roadmap
201209

202-
Sharper multi-agent collaboration · Smarter model routing · Deeper multimodal understanding · Longer-lived memory · A richer ClawHub.
210+
Sharper multi-employee collaboration · Smarter model routing · Deeper multimodal understanding · Longer-lived memory · A richer ClawHub · More ACP upstream integrations.
203211

204212
## Contributing
205213

README_zh.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ MateClaw 的 **LLM Wiki** 把它消化成结构化页面,页面之间自己长
6060

6161
| 入口 | 它是什么 |
6262
|---|---|
63-
| **Web 控制台** | 完整的管理后台——智能体、模型、工具、技能、知识、安全、定时任务 |
63+
| **Web 控制台** | 完整的管理后台——数字员工、模型、技能、知识、安全、定时任务**运行时控制台**(看见每位员工正在干什么、一键回收) |
6464
| **桌面端** | Electron + 内嵌 JRE 21,双击即用,无需装 Java |
6565
| **网页嵌入式聊天** | 一个 `<script>` 标签就能嵌进任何网站 |
6666
| **IM 渠道** | 钉钉 · 飞书 · 企业微信 · 微信 · Telegram · Discord · QQ · Slack |
@@ -74,22 +74,28 @@ MateClaw 的 **LLM Wiki** 把它消化成结构化页面,页面之间自己长
7474

7575
## 盒子里有什么
7676

77-
### 智能体引擎
78-
**ReAct** 做迭代推理**Plan-and-Execute** 做复杂多步任务。动态上下文裁剪、智能截断、僵死流清理——让长对话真正能用的那些"不起眼"的基础设施。
77+
### 数字员工,不是聊天机器人
78+
你雇佣员工,不是开聊天框。每位有**角色****目标****背景故事**,像素艺术头像、专属配色——5 个职业模板(产品研究员 · 客户支持 · 知识管理员 · 数据分析师 · 行政助理)开箱可用。**ReAct** 做迭代推理**Plan-and-Execute** 做复杂多步任务,员工之间可以并行委派。动态上下文裁剪、智能截断、僵死流清理——让长对话真正能用的那些"不起眼"的基础设施。
7979

8080
### 知识与记忆
81-
- **LLM Wiki** — 原始材料消化成有链接、带引用的结构化页面
81+
- **LLM Wiki** — 原始材料消化成有链接、带引用的结构化页面**热点缓存**自动注入到员工的 system prompt
8282
- **工作区记忆**`AGENTS.md` / `SOUL.md` / `PROFILE.md` / `MEMORY.md` / 每日笔记
83-
- **记忆生命周期** — 对话后自动提取 · 定时整理 · 记忆涌现工作流
83+
- **记忆生命周期** — 对话后自动提取 · 定时整理 · Dreaming 工作流
8484

85-
### 工具、技能、MCP
86-
内置工具覆盖搜索、文件、记忆、日期。**MCP** 支持 stdio / SSE / Streamable HTTP 三种传输。**SKILL.md** 包可从 ClawHub 市场安装。**工具防护**层提供 RBAC、审批流、文件路径保护——能力必须有边界。
85+
### 技能 · MCP · ACP — 三种"接外部能力"的方式
86+
- **SKILL.md 技能包** — 一份 manifest + prompt + 工具列表 + **LESSONS.md(用得越多越聪明)**。8 个起步模板 + 5 步创作向导,安装前自动跑 **Pre-flight 检查**告诉你缺什么
87+
- **MCP** — stdio / SSE / Streamable HTTP 三种传输,接入任意外部工具服务器
88+
- **ACP** — 把 Claude Code、Codex 这种顶级编码 Agent 以"员工"身份接入,桥接成技能卡 + 包装工具
89+
- **Tool Guard** — RBAC + 审批流 + 文件路径保护。能力必须有边界
90+
91+
### 你看得见每位员工正在干什么
92+
**Admin 运行时控制台**`后台 → 系统 → 运行时`)——谁在跑、跑到哪一步、占多少 token、卡住了一键回收。流式分阶段显示(思考 / 工具 / 回答),SSE 每事件 ID 支持安全重连,多员工协作不打架,长任务必须有真实证据才回答。
8793

8894
### 多模态创作
89-
语音合成 · 语音识别 · 图片 · 音乐 · 视频。一等公民,不是附加插件。
95+
语音合成 · 语音识别 · 图片 · 音乐 · 视频 · 3D。一等公民,不是附加插件。
9096

9197
### 企业就绪
92-
RBAC + JWT。完整审计事件流。Flyway 管理数据库 schema,升级时自愈。一个 JAR 交付。生产用 MySQL,开发用 H2,代码零改动。
98+
RBAC + JWT。**Personal Access Token** 给无人值守脚本和 CI 用。**Webhook 出站 HMAC-SHA-256 签名****Cron 分布式锁**多实例不双发。完整审计事件流。Flyway 管理数据库 schema,升级时自愈。一个 JAR 交付。生产用 MySQL,开发用 H2,代码零改动。
9399

94100
---
95101

@@ -109,14 +115,15 @@ RBAC + JWT。完整审计事件流。Flyway 管理数据库 schema,升级时
109115
|:---|:---:|:---:|:---:|:---:|:---:|
110116
| **多厂商失败转移** | **Chain + 健康追踪 + 冷却** | 切换供应商(改配置) | 内置编排重试 | 仅 Anthropic | 单模型 |
111117
| **知识消化式加工** | **Wiki + 页面级引用溯源** | Canvas + 记忆 | Skills Hub + 记忆 || 代码索引 |
112-
| **多用户管理** | **RBAC + 审批流 + 审计** | 配置文件优先 | 单用户 CLI | 企业版 | 团队版 |
118+
| **多用户管理** | **RBAC + 审批流 + 审计 + 运行时控制台** | 配置文件优先 | 单用户 CLI | 企业版 | 团队版 |
119+
| **能力扩展接口** | **技能 (LESSONS) + MCP + ACP** ||| MCP | MCP |
113120
| **用户触点** | Web 管理台 + 桌面 + 嵌入 + SDK + 8 IM | 25+ 聊天渠道 | 15+ 渠道(CLI 为主) | 3 IM(预览) | 仅 IDE |
114121
| **技术栈** | **Java(Spring Boot)** | TypeScript | Python | TypeScript | Electron/TS |
115122
| **许可 / 定价** | **Apache 2.0 · 免费** | MIT · 免费 | MIT · 免费 | 闭源 · $20–200/月 | 闭源 · $0–200/月 |
116123

117124
**OpenClaw 和 Hermes Agent 是优秀的个人 AI 平台**——如果你是一个人、一台笔记本、习惯从 CLI 搭自己的 agent、所有东西都靠手工配置文件调优,选它们没问题。两家的社区规模今天都大于 MateClaw。
118125

119-
**MateClaw 是那个给团队用的版本。** 每个 agent、每个模型、每个工具都有 RBAC。危险动作自动暂停等审批。完整审计事件流。一个 Web 管理台里,一个运维能同时管 50 个 agent 跑在 14 家供应商上。底座是 Spring Boot——任何一家已经在生产跑 Java 服务的公司可以直接并入。
126+
**MateClaw 是那个给团队用的版本。** 每位数字员工、每个模型、每个工具都有 RBAC。危险动作自动暂停等审批。完整审计事件流。Admin 运行时控制台让一个运维能实时看到 50 位员工跑在 14 家供应商上的状态——卡住了一键回收。底座是 Spring Boot——任何一家已经在生产跑 Java 服务的公司可以直接并入。
120127

121128
**同一套"完整一整套"哲学,不同的重心。**
122129

@@ -184,7 +191,8 @@ mateclaw/
184191
| 层次 | 技术 |
185192
|---|---|
186193
| 后端 | Spring Boot 3.5 · Spring AI Alibaba 1.1 · MyBatis Plus · Flyway |
187-
| 智能体 | StateGraph 运行时 · ReAct + Plan-Execute |
194+
| 数字员工运行时 | StateGraph · ReAct + Plan-Execute · 角色 / 目标 / 背景故事 · LESSONS 自我进化 |
195+
| 能力扩展 | SKILL.md 包 · MCP 协议(stdio / SSE / HTTP)· ACP 桥接(Claude Code / Codex) |
188196
| 数据库 | H2(开发)· MySQL 8.0+(生产)|
189197
| 认证 | Spring Security + JWT |
190198
| 前端 | Vue 3 · TypeScript · Vite · Element Plus · TailwindCSS 4 |
@@ -199,7 +207,7 @@ mateclaw/
199207

200208
## 路线图
201209

202-
更强的多智能体协作 · 更智能的模型路由 · 更深度的多模态理解 · 更长久的记忆 · 更繁荣的 ClawHub。
210+
更强的多员工协作 · 更智能的模型路由 · 更深度的多模态理解 · 更长久的记忆 · 更繁荣的 ClawHub · 更多 ACP 上游集成
203211

204212
## 参与贡献
205213

assets/architecture-biz-en.svg

Lines changed: 5 additions & 5 deletions
Loading

assets/architecture-biz-zh.svg

Lines changed: 5 additions & 5 deletions
Loading

0 commit comments

Comments
 (0)