HiClaw

Created on March 22, 2026
Updated on March 22, 2026

Alibaba's Matrix IM-based AI agent with Manager-Workers architecture. Higress AI gateway integration.

Alibaba's Multi-Agent AI Framework

HiClaw is Alibaba's open-source Agent Teams system built on OpenClaw, launched in 2026. It features a Manager-Worker architecture where the Manager Agent acts as your AI chief of staff—creating Workers, assigning tasks, monitoring progress, and reporting back. The system uses the Matrix IM protocol for transparent multi-agent collaboration.

Core Philosophy: "Let multiple AI Agents collaborate in Matrix rooms, fully visible to humans, with real-time intervention capability"

Launch Date: 2026
Company: Alibaba
GitHub: https://github.com/alibaba/hiclaw
License: Open Source

Manager-Worker Architecture

┌─────────────────────────────────────┐
│      HiClaw Architecture            │
├─────────────────────────────────────┤
│                                     │
│  👤 User                            │
│   ↓                                 │
│  🤖 Manager Agent                   │
│   ├─→ Creates Worker Agents         │
│   ├─→ Assigns tasks                 │
│   ├─→ Monitors progress             │
│   └─→ Reports back                  │
│                                     │
│  👷 Worker Agents                   │
│   ├─→ Worker 1: Research            │
│   ├─→ Worker 2: Analysis            │
│   └─→ Worker 3: Execution           │
│                                     │
│  💬 Matrix Rooms                    │
│   └─→ All visible to humans         │
│                                     │
└─────────────────────────────────────┘

Key Principle: You stay in control, making decisions instead of babysitting agents.


Why HiClaw?

🤖 Manager-Worker Architecture

Manager Agent: Your AI chief of staff

  • Creates specialized Worker Agents for different tasks
  • Assigns work based on agent capabilities
  • Monitors progress across all workers
  • Consolidates results and reports back

Worker Agents: Specialized task executors

  • Each worker focuses on specific tasks
  • Work independently but coordinately
  • Report progress to Manager
  • Can be created/destroyed dynamically

💬 Matrix Protocol Integration

What is Matrix?

  • Open, decentralized communication protocol
  • Similar to Slack/Discord but federated
  • End-to-end encryption support
  • Self-hostable

Why Matrix for AI Agents?

Traditional AI Agent:
User → Agent → Result
(Black box, no visibility)

HiClaw with Matrix:
User → Manager Agent (visible in Matrix room)
  ├→ Worker 1 (visible in Matrix room)
  ├→ Worker 2 (visible in Matrix room)
  └→ Worker 3 (visible in Matrix room)
(Full transparency, real-time intervention)

Benefits:

  • 👁️ Full visibility into agent collaboration
  • 🛑 Real-time human intervention capability
  • 📝 Complete audit trail
  • 🔒 End-to-end encryption option

🏗️ Higress AI Gateway Integration

Higress: Alibaba's cloud-native API gateway

  • Intelligent routing
  • Load balancing
  • Rate limiting
  • Multi-model support

Integration Benefits:

  • Route different tasks to different AI models
  • Automatic failover between models
  • Cost optimization through intelligent routing
  • Enterprise-grade reliability

🔓 Open Source

  • Free to use and modify
  • Community-driven development
  • Alibaba backing and support
  • Active development

Key Features

1. Multi-Agent Collaboration

Multiple AI agents work together on complex tasks, each with specialized capabilities.

2. Matrix Rooms for Transparency

All agent communication happens in Matrix rooms where humans can observe and intervene.

3. Manager-Worker Pattern

Hierarchical organization with a Manager coordinating multiple Workers.

4. Real-Time Intervention

Humans can step in at any point to guide or correct agent behavior.

5. Higress Gateway Integration

Enterprise-grade API gateway for intelligent model routing and load balancing.

6. Open Source

Free to use, modify, and deploy.


Installation

Prerequisites

RequirementDetails
Node.jsv18+
Matrix ServerSynapse, Dendrite, or hosted (matrix.org)
Matrix ClientElement or compatible client
AI API KeysOpenAI, Anthropic, or compatible

Step-by-Step Installation

# 1. Clone repository
git clone https://github.com/alibaba/hiclaw
cd hiclaw

# 2. Install dependencies
npm install

# 3. Configure Matrix connection
cp config.example.yaml config.yaml
# Edit config.yaml with your Matrix credentials

# 4. Start HiClaw
npm start

Matrix Setup

# config.yaml
matrix:
  homeserver: "https://matrix.org"
  user: "@your-bot:matrix.org"
  password: "your-password"
  
manager:
  room: "!manager-room:matrix.org"
  
workers:
  max_workers: 5
  auto_create: true

Use Cases

Complex Research Projects

Manager Agent breaks down research into subtasks, assigns to Worker Agents, and consolidates findings.

Multi-Step Workflows

Coordinate multiple agents for tasks like data collection, analysis, and report generation.

Enterprise Automation

Deploy multiple specialized agents for different business functions with full visibility.

Collaborative AI Teams

Build teams of AI agents that work together like human teams, with full transparency.


System Requirements

ComponentMinimumRecommended
CPU2 cores4 cores
Memory1GB RAM4GB RAM
Storage500MB2GB
Node.jsv18+v20+
Matrix ServerRequiredSelf-hosted

Comparison with Alternatives

FeatureHiClawCoPawOpenClawAutoClaw
Multi-Agent✅ Native⚠️ Plugins
Matrix Protocol
Transparency✅ Full⚠️ Limited⚠️ Limited⚠️ Limited
Manager-Worker
Open Source
CompanyAlibabaAlibabaCommunityZhipu AI

Community and Support


Sources


License

Open Source - Free to use and modify.


Summary

HiClaw is Alibaba's multi-agent AI framework, launched 2026:

  1. Manager-Worker Architecture -- Hierarchical multi-agent coordination
  2. Matrix Protocol -- Full transparency and real-time intervention
  3. Higress Integration -- Enterprise-grade API gateway
  4. Open Source -- Free to use and modify
  5. Alibaba Backing -- Professional development and support
  6. Full Visibility -- All agent communication visible to humans

Suitable For:

  • ✅ Complex multi-step workflows
  • ✅ Users wanting full transparency
  • ✅ Enterprise deployments
  • ✅ Research and development
  • ✅ Users comfortable with Matrix protocol
  • ✅ Multi-agent coordination needs

Not Recommended For:

  • ❌ Simple single-agent tasks
  • ❌ Users unfamiliar with Matrix
  • ❌ Minimal setup requirements
  • ❌ Non-technical users

Unique Advantage: Only AI agent framework with native Matrix protocol support for full transparency and human-in-the-loop control.