Tang Agents: Multi-Agent Collaboration System for Openclaw

A robust multi-agent orchestration framework utilizing historical governance models to provide fault tolerance and separation of concerns.

jiubanszd
v1.0.1
Mar 31, 2026
0
269
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install tang-agents

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install tang-agents using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Tang Agents: Multi-Agent Collaboration System?

Tang Agents is a sophisticated multi-agent collaboration system inspired by the Tang Dynasty's administrative structure, specifically the Three Departments and Six Ministries system. This contribution to Openclaw Skills provides a framework for managing complex AI tasks through a clear separation of powers, ensuring that policy drafting, review, and execution are handled by distinct, specialized agents.

By implementing this historical model, the framework provides a structured approach to agentic workflows where reliability is paramount. The system is designed to prevent single points of failure through parallel execution and a rigorous review process, making it an essential tool for developers building resilient Openclaw Skills applications.

Tang Agents: Multi-Agent Collaboration System Use Cases

  • Orchestrating complex software development tasks requiring multi-stage verification.
  • Managing high-stakes content generation where compliance and security checks are mandatory.
  • Automating resource-heavy deployments that require parallel processing and failure isolation.
  • Implementing human-in-the-loop approval workflows for critical business logic.

How Tang Agents: Multi-Agent Collaboration System Works

  1. The Zhongshu agent drafts a policy or plan based on the initial user request.
  2. The Menxia agent performs a review and can exercise a veto, triggering up to three retries to ensure quality.
  3. Upon approval, the Shangshu agent dispatches the task to the relevant administrative branches.
  4. Six specialized Ministries (Libu, Hubu, Bingbu, etc.) execute specific sub-tasks in parallel, covering permissions, resources, and security.
  5. The system consolidates the output for the final user response or human approval.

Tang Agents: Multi-Agent Collaboration System Setup

To integrate this system into your project, install the dependencies using the following command:

pip install -r requirements.txt

Initialize the system within your Python script to start leveraging Tang Agents for your Openclaw Skills development.

Tang Agents: Multi-Agent Collaboration System Data Schema & Taxonomy

The system organizes data through an Edict-based lifecycle, tracking metadata across different ministry jurisdictions:

Component Responsibility Data Tracked
Zhongshu Policy Task definitions and initial intent
Menxia Review Retry counts and veto logs
Six Ministries Execution Resource usage, security status, and deployment logs
Dashboard Monitoring Real-time status of active Edict IDs

Tang Agents: Multi-Agent Collaboration System Advanced Features

  • Intelligent Circuit Breaker that automatically pauses the system after three consecutive agent failures.
  • Independent Timeout Handling for every agent (variable between 3-15 seconds) to prevent system hangs.
  • Graceful Degradation support that returns pre-defined template data instead of failing entirely.
  • High-concurrency parallel execution across the Six Ministries to maximize throughput within Openclaw Skills environments.
  • Comprehensive Failure Isolation ensuring that a crash in one ministry does not interrupt the operations of others.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*