Edict Project Deep Dive
One-Line Definition
Edict is an OpenClaw-based multi-agent collaboration system that uses China's ancient Three Departments and Six Ministries (sansheng liubu) system as its metaphorical framework.Core Idea
AI agents play the roles of imperial court officials. The user acts as the 'emperor' issuing decrees, and each departmental agent receives and executes the orders.Three Departments and Six Ministries Architecture
| Layer | Ancient Office | Agent Function | |-------|----------------|----------------| | Three Departments | Zhongshu | Task intake and decomposition | | | Menxia | Review and approval | | | Shangshu | Task delegation and coordination | | Six Ministries | Personnel | HR / agent management | | | Revenue | Resources / budget management | | | Rites | External interaction / protocol | | | War | Execution / operations | | | Justice | Compliance / audit | | | Works | Engineering / technical implementation |
Workflow
1. Morning briefing: each morning, summarize yesterday's pending items and today's tasks 2. Decree: user issues a task command 3. Zhongshu decomposition: large tasks are split into subtasks 4. Shangshu assignment: subtasks are distributed to ministries 5. Departmental execution: ministry agents execute and report back 6. Review and approval: results are audited and aggregatedTechnical Highlights
- 9 specialized AI agents: separation of duties avoids the context bottleneck of a single agent
- Real-time dashboard: web-based visualization of each department's status
- Model configuration: different agents can use different LLM models
- Complete audit trail: all operations are traceable
- Docker support: easy deployment
- boluobobo-ai-court-tutorial (original author): first published 2026-02-22
- edict (cft0808): created ~21 hours later on the evening of 2026-02-23
- Edict: https://github.com/cft0808/edict
- Original author: https://github.com/wanikua/boluobobo-ai-court-tutorial
- Controversy issue: https://github.com/cft0808/edict/issues/55
The Controversy
Timeline:
Allegations:
1. Identical 'Three Departments and Six Ministries' metaphor framework
2. Identical ministry naming and function mapping
3. The repository was initially named openclaw-sansheng-liubu and only renamed to edict on 2/24
Current status: edict has ~2,500 stars; the original author has ~36 stars.
Project Links
Personal Assessment
The core idea itself is valuable — using a familiar ancient bureaucratic metaphor to abstract multi-agent collaboration lowers the comprehension barrier. But it exposes an ethical dilemma of the AI era: the 'reference design + AI rewrite' approach defeats code-level plagiarism detection, while the truly original parts — architecture, concepts, and design decisions — risk being laundered as content.Analysis date: 2026-03-09