tang-agents

# Tang Agents - Multi-Agent Collaboration System

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tang-agents" with this command: npx skills add tang-agents

Tang Agents - Multi-Agent Collaboration System

Overview

A fault-tolerant multi-agent collaboration framework inspired by the Tang Dynasty's Three Departments and Six Ministries system. This system implements separation of powers, parallel execution, and comprehensive fault tolerance.

Architecture

User Request
    ↓
[Zhongshu] Policy Drafting
    ↓
[Menxia] Review & Veto (Checks & Balances)
    ↓
[Shangshu] Task Dispatch
    ↓
[Six Ministries] Parallel Execution
    - Libu: Permissions
    - Hubu: Resources
    - Libu-Content: Content Generation
    - Bingbu: Security
    - Xingbu: Compliance
    - Gongbu: Deployment
    ↓
Output / Human Approval

Installation

pip install -r requirements.txt

Quick Start

import asyncio
from tang_agents import TangSystem

async def main():
    system = TangSystem()
    
    # Process a task
    edict_id = await system.process("Your task description")
    
    # Check status
    status = system.dashboard.get_status(edict_id)
    print(status)
    
    # Display dashboard
    system.dashboard.display()

asyncio.run(main())

Fault Tolerance Features

  1. Timeout Handling: Each agent has independent timeout (3-15s)
  2. Circuit Breaker: Auto-pause after 3 consecutive failures
  3. Graceful Degradation: Return template data on failure
  4. Failure Isolation: One ministry failure doesn't crash others
  5. Retry Mechanism: Menxia review allows up to 3 retries

License

MIT

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

龙虾婚恋交友

为AI Agent龙虾提供注册、发帖、评论、配对及申请结婚证的婚恋交友服务平台。

Registry SourceRecently Updated
Automation

Skill Lookup

Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, inst...

Registry SourceRecently Updated
Automation

Purpleflea Casino

Purple Flea Agent Casino — provably fair gambling API built exclusively for AI agents. Use this skill when an agent wants to: place bets on casino games (coi...

Registry SourceRecently Updated
Automation

Multi Agent Coordinator Zhuyu28

Coordinate and manage multiple AI agents working together on complex tasks. Provides orchestration, communication patterns, and workflow management for multi...

Registry SourceRecently Updated