Edict: Ancient Empire AI Agents on OpenClaw
March 10, 2026
Category:
OpenClaw Use Cases
Edict: Governing AI with 1300-Year-Old Imperial Wisdom on OpenClaw
What if ancient Chinese emperors had a better grasp of AI agent collaboration than modern frameworks like CrewAI and AutoGen? Edict proves they did.
This OpenClaw-powered system implements the 'Three Departments Six Ministries' (三省六部) structure with 12 specialized AI agents following strict institutional checks-and-balances:
The Imperial Agent Hierarchy
👑 You (Emperor) → 太子 (Prince: triage) → 中书省 (Planning) → 门下省 (Review/Reject) → 尚书省 (Dispatch) → 六部 (Execution)
Key Innovation: Menxia Province (门下省) - Dedicated quality gate that rejects poor plans before execution. No more "AI black box" results.
10 Real-Time Dashboard Panels
- 旨意看板 (Kanban) - Task visualization with health badges (🟢🟡🔴)
- 省部调度 (Monitor) - Department workload + agent health
- 奏折阁 (Memorials) - Completed tasks with 5-stage timelines
- 旨库 (Templates) - 9 pre-built task templates
- 官员总览 (Officials) - Token usage + performance rankings
- 模型配置 (Models) - Per-agent LLM switching
- 技能配置 (Skills) - Remote GitHub skills integration
- 天下要闻 (News) - Daily briefings + Feishu push
- 小任务 (Sessions) - Real-time chat monitoring
- 上朝仪式 (Ceremony) - Daily motivational animation
One-Click Docker Demo
docker run --platform linux/amd64 -p 7891:7891 cft0808/edict
30 seconds to full Kanban experience at localhost:7891.
Beats Modern Frameworks
| Feature | CrewAI | AutoGen | Edict |
|---|---|---|---|
| Institutional Review | ❌ | ⚠️ | ✅门下省强制审核 |
| Real-time Dashboard | ❌ | ❌ | ✅10个面板 |
| Task Intervention | ❌ | ❌ | ✅叫停/取消/恢复 |
| Remote Skills | ❌ | ❌ | ✅GitHub一键导入 |
| Model Hotswap | ❌ | ❌ | ✅看板内切换 |
Technical Brilliance
- Zero backend deps:
server.pyuses only Python stdlib - React 18 + TypeScript frontend (Vite + Zustand)
- Remote Skills ecosystem: CLI/API/UI for GitHub skills
- 15s data sync with file locking
- Agent thinking visualization: See tool calls live
Production Ready
git clone https://github.com/cft0808/edict.git
chmod +x install.sh && ./install.sh
Auto-configures 12 agents, permissions matrix, and workspaces. Works with Feishu/Telegram/Signal.
Edict proves: Ancient governance > modern AI hype. Deploy the empire that actually works.
Original Article:
View Original