← Back to Leaderboard
Mmateaix

mateaix/mateclaw

A self-hosted Java agent workspace for governed team tasks and durable execution

Engineering Health (Methodology)
A+ · 96/100
Maintenance Activity
● Updated 3d ago
Latest Release
v3.1.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption21/25
Release Cadence20/20
License Clarity20/20
DockerSelf-Hosted
Total Stars
★ 1,218
24h Growth
+0
7d Growth
+3
Forks
368

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

mateaix/mateclaw Star History (2026-04-03 - 2026-12-04) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +1.2k in 245d · avg +5/day 1.3k 643 0 2026-04-03: ★ 12026-04-18: ★ 1402026-05-09: ★ 4142026-05-30: ★ 5042026-06-20: ★ 5952026-07-11: ★ 7072026-08-01: ★ 7852026-08-22: ★ 1,0132026-09-12: ★ 1,0802026-10-03: ★ 1,1372026-10-24: ★ 1,1672026-11-08: ★ 1,1842026-11-23: ★ 1,2072026-12-04: ★ 1,218 ★ 1.2k 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

MateClaw is a Java 21, Spring Boot application built on Spring AI and AgentScope Java. The root Maven project separates mateclaw-server, mateclaw-ui, mateclaw-webchat, the Electron desktop app, and the Java plugin API, with Mem0 and sample plugins alongside them. AgentRuntimeProvider decouples an employee from its execution engine: the native runtime owns ReAct, Plan-and-Execute, persistent Goals, and Team Runs, while the managed DeepSeek Harness adapter launches dsh --profile sdk and normalizes SDK JSON-RPC events for reasoning, text, tools, usage, completion, and cancellation. Both paths share conversation state, workspace boundaries, Tool Guard, and lifecycle controls; that does not establish feature parity between the engines.

Extensions operate at different layers. SKILL.md packages combine prompts and tool declarations with reviewable lessons in LESSONS.md; MCP binds external tools per employee over stdio, SSE, or Streamable HTTP; ACP wraps external coding agents as employees. Tool Guard applies role-based access, approvals, and path protection. A Team Run links the objective, task DAG, worker executions, evidence, and deliverables under one runId, giving chat, live monitoring, and team history a common server-side view.

Key Capabilities & Differentiators

Model routing uses an ordered provider chain with health tracking and cooldowns. When a provider fails, MateClaw can retry the current request on the next healthy option rather than requiring a manual switch. Options include OpenAI, Anthropic, Gemini, DashScope, DeepSeek, and Kimi, plus local endpoints such as Ollama, LM Studio, and MLX. Verify context and tool compatibility before putting providers in the same chain. LLM Wiki turns PDFs, Markdown, and web material into linked pages with citations back to source chunks. A hot cache injects Wiki context into employee prompts, while workspace files and daily notes support a separate memory lifecycle with extraction and scheduled consolidation.

Persistent Goals store leases, attempts, continuation state, and checkpoints so interrupted work can resume after a single backend instance restarts. Team Runs add dependency-aware parallel dispatch, prerequisite handoffs, cancellation, and approval gates. The web console exposes active runs and provider state, with force-recycle for stuck runs. Users can also reach the workspace through Electron desktop, an embeddable webchat widget, or eight IM integrations, including DingTalk, Feishu, WeChat Work, Telegram, and Slack.

Trade-offs & Limitations

MateClaw is a better fit for teams that need role-based administration, approval gates, audit records, and a runtime console than for a single user tuning a CLI assistant. OpenClaw and Hermes Agent are worth comparing if channel breadth or a personal workflow is the priority; Claude Code and Cursor are more direct choices if most work stays in a terminal or IDE. MateClaw's integrated Wiki, model routing, and team execution reduce the number of separate tools to assemble, but operators still have to maintain the database, credentials, provider order, tool scopes, and approval policies.

Failover reduces dependence on one vendor, but requests may have different latency, cost, or data-handling implications on a fallback provider. Checkpoint recovery is not exactly-once execution: external sends, publishes, or destructive calls still need idempotency or human review. Remote inference keeps model compute off the application host, not task data inside it. Local inference can limit model-side egress, but it must be sized independently, and remote channels or tools can still carry content out. Apache-2.0 covers the application, not hosted inference charges or the terms of connected services.

Hardware & Deployment Guide

The Docker Compose stack uses PostgreSQL 16. For a fresh install, start with .env.example and configure the database, workspace, and model endpoints. An upgrade from the old MySQL stack is not an in-place database conversion: Compose starts PostgreSQL on a fresh postgres_data volume and does not read mysql_data. Back up the database, workspace, plugins, and configuration, then test a cross-engine migration before cutover. Source builds use Java 21 and Maven; the local run path installs mateclaw-plugin-api and starts mateclaw-server with spring-boot:run, a file-backed H2 URL, and MATECLAW_WORKSPACE_SANDBOX_ROOT. Packaged desktop builds bundle JRE 21.

DSH is optional. The managed default is 0.2.0-rc.1 with Node.js 22 or 24; the opt-in 0.2.2-rc.1 candidate requires Node.js 24.9 or later within 24.x. The cited adapter checks cover macOS arm64; Linux x64 and persisted V3-to-V4 DSH history migration remain unverified. Release 3.0.0 focused on execution architecture; 3.1.0 added finer lesson review, restore previews, and execution fixes. The stable overview and the 3.1.0 change summary list different Spring Boot and Spring AI versions, so verify the actual artifacts or tagged POM before pinning dependencies. Reusable native employee templates and coordinator mode are 3.2.0-SNAPSHOT features, not part of stable 3.1.0.

Execution: AgentRuntimeProvider separates native AgentScope execution from managed DeepSeek Harness via SDK JSON-RPC.
Recovery: Persistent Goals record attempts, leases, and checkpoints; Team Runs tie the task DAG, worker evidence, and deliverables to one runId.
Model routing: Ordered provider failover with health tracking and cooldowns can retry the current request on another healthy backend.
Knowledge and memory: LLM Wiki links generated pages to source chunks, while workspace memory supports scheduled consolidation and precise edits.
Tool governance: Per-employee MCP bindings and Tool Guard combine scoped access, approvals, path protection, and auditability.
Skill lifecycle: v3.1.0 supports reviewing or withdrawing individual lessons, previewing snapshot restores, and canceling asynchronous skill installs.
Best For

Teams that want a self-hosted workspace for approved tool use, shared knowledge, model failover, and resumable work across chat channels.

Skip If

You only need a lightweight personal CLI or IDE assistant, require verified multi-instance recovery, or cannot vet where configured models, channels, and tools send task content.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-Hosted
# Backend
# Java 21 and Maven required. Create a local JWT secret once and reuse it on restart.
[ -f .env.local ] || (umask 077; printf 'JWT_SECRET=%s\n' "$(openssl rand -hex 48)" > .env.local)
set -a
source .env.local
set +a
# From the repository root; use its configured models and workspace
mvn -pl mateclaw-plugin-api -am install -DskipTests
SPRING_DATASOURCE_URL="jdbc:h2:file:$PWD/data/mateclaw;MODE=MySQL;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE" \
MATECLAW_WORKSPACE_SANDBOX_ROOT="$PWD/data/workspace" \
mvn -pl mateclaw-server spring-boot:run  # http://localhost:18088

# Frontend (new terminal, from the repository root)
cd mateclaw-ui
npm install && npm run dev -- --host 127.0.0.1    # http://localhost:5173

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
mateclaw ★1.2k+3JavaApache-2.0A self-hosted Java agent workspace for governed team tasks and durable execution
lobehub86.4k+237TypeScript—A self-hostable agent workspace for team tasks, shared context, and MCP tools
QwenPaw38.5k+246PythonApache-2.0Self-hosted agent workspace for scheduled tasks and chat across apps
nanobot50.5k+157PythonMITA self-hosted Python gateway for personal AI across web, terminal and chat.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/mateaix/mateclaw.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

mateaix/mateclaw Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about mateclaw

How do MCP, ACP, and DeepSeek Harness differ?

MCP adds tools over stdio, SSE, or Streamable HTTP, with bindings scoped to individual employees. ACP brings an external coding agent such as Claude Code or Codex into MateClaw as an employee. DSH is a different integration point: it replaces the engine that executes an employee's turn. The native runtime remains the choice for MateClaw's ReAct, Plan-and-Execute, persistent Goals, and Team Runs.

Does a self-hosted installation need a GPU?

MateClaw has no stated GPU or VRAM minimum. With remote model APIs, size the host for the Java service, database, storage, and concurrent chat, Wiki, and agent workloads rather than for inference. If you use Ollama, LM Studio, or MLX, size the inference host separately for the model, context length, and parallel requests. DSH adds a Node.js runtime dependency, not a GPU requirement.

Can we use MateClaw commercially and keep sensitive data in our environment?

Apache-2.0 permits commercial use and self-hosting, subject to its license conditions. It does not cover third-party model APIs, channel services, or tools, which may have separate fees and terms. Self-hosting gives you control of persisted application data, but configured providers, channels, and tools can still receive task content. Review those data flows and use RBAC, approvals, and audit records as controls, not as proof of compliance.

When is MateClaw a better fit than OpenClaw, Hermes Agent, or a coding assistant?

Choose MateClaw when workspace permissions, approvals, audit records, runtime operations, and a shared knowledge base matter more than minimizing setup. OpenClaw and Hermes Agent are stronger fits for individual, CLI-led workflows or when you need a chat channel MateClaw does not support. If the job is primarily interactive coding, Claude Code or Cursor offers a more direct workflow; ACP is useful when coding agents need to participate in a wider MateClaw process.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining mateaix/mateclaw? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature mateaix/mateclaw on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare