Edict — San-San-Liu-Bu Multi-Agent Orchestration System

GitHub: github.com/cft0808/edict Stars: 16,187 | Python | MIT Core Idea: Multi-agent orchestration modeled on the Tang Dynasty Three Departments and Six Ministries (三省六部) system — a 1300-year-old governance architecture of checks and balances.

Key Features

  • 12 specialized agents: Crown Prince (task routing), Zhongshu (planning), Menxia (review/veto), Shangshu (dispatch), Six Ministries (parallel execution)
  • Institutional review: Menxia Department serves as mandatory quality gate — can veto and return work, unlike CrewAI/AutoGen pattern
  • Real-time dashboard: 10 panels including Kanban, department monitor, memorial archive, template library, agent health, model config, skills config
  • Full audit trail: Five-stage timeline — Edict -> Planning -> Review -> Execution -> Report
  • Agent health monitoring: Heartbeat + activity indicators
  • Hot-swap models: Switch LLM per agent from dashboard without restart
  • State transition validation: Enforced legal path transitions

Significance

Introduces institutional checks and balances into multi-agent orchestration — not an optional plugin but a core architecture constraint. Every task must pass the review gate. Ancient governance wisdom applied to modern AI agent coordination.