MateClaw is a team-oriented multi-user AI agent platform, positioned as "your second brain," built on Spring AI Alibaba. The current development version is 3.0.0-SNAPSHOT, and the tech stack includes Java 21, Spring Boot 4.1.1, Spring AI 2.0.1, and AgentScope 2.0.4. AgentScope handles the execution loop, while MateClaw retains tool approval, permissions, Goals, SSE, and persistence.
Purpose and Positioning MateClaw is designed for team scenarios that require multi-user workspaces, approval-gated sensitive operations, complete audit trails, and per-channel error isolation. It emphasizes "digital employees" rather than chatbots: each employee has a Role, Goal, Backstory, runtime, pixel-art avatar, and dedicated color, with six built-in templates (General Assistant, Product Assistant, Research Analyst, Customer Support, Data Analyst, Code Reviewer). Employee identity and governance remain stable when the execution engine is changed.
Key Capabilities
- Multi-agent orchestration and Agent Runtime: The AgentRuntimeProvider contract decouples employees from the execution engine. The native runtime retains ReAct, Plan-and-Execute, persistent Goals, and Team Runs within MateClaw; the DSH runtime launches the official dsh --profile sdk CLI and normalizes its thinking, text, tool, usage, completion, and cancellation events. The managed installation pins 0.2.0-rc.1 (with 0.1.7-rc.2 as an alternative), using a reviewed npm lock and Node.js 22.
- Persistent long-running tasks: Persistent Goals break work that takes hours into bounded, resumable segments. The database stores the goal manifest, continuation state, attempt counts, cooldowns, leases, and user input accepted during the work. After a single backend instance restarts, the supervisor reconciles interrupted attempts, reads persistent checkpoints and artifacts, and schedules the next safe segment.
- Team Runs: One request corresponds to one persistent Team Run, and a stable runId links the user's goal, task DAG, work execution, final synthesis, and deliverables. Chat is the results interface, Agents Live provides real-time observation, and Teams manages history and governance. The underlying shared board provides dependency orchestration, parallel scheduling, predecessor handoff, and execuLeases, cancellation interrupts, and human approval gates.
- Knowledge and Memory: The LLM Wiki digests raw materials into linked, structured pages while preserving traceable citations; the hot cache is automatically injected into each employee's system prompt. Workspace memory includes AGENTS.md, SOUL.md, PROFILE.md, MEMORY.md, and daily notes. The memory lifecycle covers post-conversation extraction, scheduled consolidation, and the Dreaming workflow.
- Skills, MCP, ACP: A SKILL.md package contains a manifest, prompts, a tool list, and LESSONS.md; MCP supports stdio / SSE / Streamable HTTP and can be bound per employee; ACP can onboard coding agents such as Claude Code and Codex as employees. Tool Guard provides RBAC, approval flows, and path protection.
- Business Orchestration: Workflow combines multiple employees and system actions into a publishable, triggerable, replayable linear DSL, with seven step modes (sequential / fan_out / collect / conditional / await_approval / dispatch_channel / write_memory). Triggers support six modes (cron / webhook / channel_message / agent_lifecycle / content_match / workflow_completion). Wiki Transformations support user templates running against raw materials or existing pages, including map-reduce aggregation, backlink extraction, and JSON output.
- Multimodal Creation: text-to-speech, speech-to-text, images, music, video, 3D. Sidecar routing ensures that a text-only main model paired with image attachments is no longer a dead end. Four document generation tools (DocxRenderTool / XlsxRenderTool / PptxRenderTool / PdfRenderTool) render Markdown into Office files within the JVM. Content Studio can turn a single sentence into publishable content, supporting WeChat Official Account articles and Xiaohongshu notes.
- Enterprise-Ready: RBAC + JWT, personal access tokens, HMAC-SHA-256 outbound webhook signing, distributed Cron locks, full audit trails, Flyway-managed schema, single JAR deployment. H2 for development, the public Docker stack defaults to PostgreSQL 16, MySQL configuration is still supported, and the Kingbase driver is optional.
Usage Available for download from GitHub Releases, bundled with JRE 21, no Java installation required. Default login: admin / admin123. Full documentation is at claw.mate.vip/docs, covering installation, architecture, each subsystem, and the API reference. Model providers can be drag-and-drop reordered in Settings → Models, and the health dashboard shows routing status in real time.
Use Cases Suitable for teams that need multi-user workspaces, approval gating, audit trails, and self-hosted deployment; suitable for enterprises on the Java stack that already run production services; suitable for scenarios that need persistent long-running tasks, multi-agent collaboration, and knowledge base management.
Limitations and Notes The DSH-managed installation package and real model adapter checks have passed on macOS arm64; Linux x64 and persistent V3→V4 history migration have not yet been verified. At runtime, exactly-once behavior is not promised for arbitrary external side effects; payments, sends, publishes, and destructive calls still require provider idempotency or human review. Each file in skill uploads is limited to 10 MiB. OpenClaw and Hermes Agent currently have larger communities than MateClaw.