M3

myocardia/3departments6ministries-windows-openclaw-multiagentorchestrationsystem

Developer tools

This page was translated automatically. Technical details may differ from the original. View the original

20 stars Quality 48 Trend 10MIT

🏛️ Three Departments and Six Ministries System (Windows Version) · OpenClaw Multi-Agent Orchestration System — 9 specialized AI agents with real-time dashboard, model config, and full audit...

Overview

Original project: cft0808/edict · Supports only macOS/Linux This repository is its fully compatible Windows (PowerShell) port, fixing all platform compatibility issues. The Three Departments and Six Ministries is a design based on the ancient Chinese imperial system. The 12 Agents each perform their own duties: the Crown Prince selects imperial orders, the Secretariat drafts proposals, the Chancellery reviews and rejects them, the Ministry of State Affairs dispatches and executes, and the Six Ministries operate in parallel, coordinating with real-time dashboards to achieve complete task lifecycle management. The original project only supports macOS/Linux. This repository has completed a complete version based on the original project and fixed the following issues: - ❌ Subprocess.run cannot find openclaw.cmd - ❌ Agent reads empty Kanban data files - ❌ Scheduler automatically rolls back to overwrite Agent state changes - ❌ Multi-line dispatch message truncated - ❌ Windows signal processing crashes - Time ❌ display error, Chinese garbled characters, official status synchronization abnormal Except for the "Project Overview" section, all code and documentation in this repository are completed by large models. During bug fixing, the experience gained through self-learning skills is stored in the .learnings/ directory. :Openclaw on Windows is actually openclaw.cmd; without shell=True, it cannot parse .cmd extensions. :sync_agent_config.py Copy scripts to each agent workspace every 5 seconds, and parse relative paths in the replica to the wrong location. :Agent After updating the status, the scheduler determines the task is stalled and rolled back due to lastProgressAt not synchronizing.

Overview (machine translated)

⚔️ Three Departments and Six Ministries · Edict (Windows port)

Original project: cft0808/edict · Supports only macOS/Linux This repository is a fully compatible port of Windows (PowerShell), fixing all platform adaptation issues.

Please make sure to follow the original author’s official account:


Project Overview

The Three Departments and Six Ministries is an AI multi-agent collaborative orchestration system designed based on the ancient Chinese imperial system. The 12 Agents each perform their own duties: the Crown Prince selects imperial decrees, the Central Secretariat drafts proposals, the Chancellery reviews and rejects them, the Ministry of Personnel dispatches and executes, and the Six Ministries operate in parallel, working together with real-time dashboards to achieve complete task lifecycle management.

The original project only supports macOS/Linux. This repository has completed a complete Windows adaptation based on the original project and fixed the following issues:

  • ❌ subprocess.run Can’t find openclaw.cmd
  • ❌ The agent reads the empty Kanban data file
  • ❌ The scheduler automatically rolls back override Agent state changes
  • ❌ Multi-line distribution messages are cut off
  • ❌ Windows signal processing crashes
  • ❌ Abnormal time display, garbled Chinese text, abnormal official status synchronization

Except for the “Project Overview” section, all code and documentation in this repository are completed by the Xiaomi MiMo-V2-Pro large model. During bug fixing, the experience gained through self-learning skills is saved in the .learnings/ directory.


🚀 Quick Experience

Method 1: Let OpenClaw deploy automatically

Copy the following content from OpenClaw and send it to you:

Method 2: Manual installation

Launch the Kanban

Open browser: http://127.0.0.1:7891


📁 Project Structure


✅ Windows compatibility adaptation

Below is a record of all the changes made from porting macOS/Linux to Windows (PowerShell).

Issue 1: subprocess.run(["openclaw", ...]) Files cannot be found

Root cause: On Windows, openclaw is actually openclaw.cmd, and without shell=True you can’t parse the .cmd extension.

Error: [WinError 2] 系统找不到指定的文件

File Edit location
dashboard/server.py dispatch_for_state()
edict/backend/app/workers/dispatch_worker.py _call_openclaw()
`edict/backend/app/workers/orchestrator_worker.

This page was translated automatically. Technical details may differ from the original.

Recommended Tools

Try a different keyword or remove a filter.

Install

npx skillfish add myocardia/3departments6ministries-windows-openclaw-multiagentorchestrationsystem
New to MCP? Start with the mcpskill.org guide →