explaingit

cft0808/edict

Analysis updated 2026-06-24

15,741PythonAudience · developerComplexity · 4/5LicenseSetup · hard

TLDR

Multi-agent AI orchestration system with twelve specialized agents modeled on Tang Dynasty bureaucracy, featuring a mandatory review gate and real-time Kanban dashboard.

Mindmap

mindmap
  root((edict))
    Inputs
      Task intents
      LLM API keys
      Feishu messages
    Outputs
      Kanban task board
      Audit memorials
      Agent reports
    Use Cases
      Coordinate AI agents
      Review plans
      Run audited workflows
    Tech Stack
      Python
      React
      Docker
      OpenClaw
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run a multi-agent system with a built-in review gate before execution.

USE CASE 2

Watch agent activity live on a Kanban dashboard with pause and cancel controls.

USE CASE 3

Switch the LLM model per agent without restarting the whole stack.

USE CASE 4

Audit every decision through stored memorial records.

What is it built with?

PythonReactDockerOpenClaw

How does it compare?

cft0808/edictpyecharts/pyechartswan-video/wan2.2
Stars15,74115,76015,713
LanguagePythonPythonPython
Setup difficultyhardeasyhard
Complexity4/52/54/5
Audiencedeveloperdataresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Full install needs the OpenClaw platform, Python 3.10+, Node 18+, and per-agent API key configuration, only the Docker demo runs in one command.

MIT license lets you use, modify, and distribute the code for any purpose, including commercial, as long as you keep the copyright notice.

In plain English

Edict (also called "Sansheng Liubu", Chinese for "Three Ministries, Six Departments") is an open-source multi-agent AI orchestration system written in Python. It lets you coordinate a team of twelve specialized AI agents that work together to complete complex tasks, modeled after the imperial bureaucratic structure of Tang Dynasty China, where each "agent" plays a role like a crown prince, a planning ministry, a review board, and specialist departments for execution. The key idea is a mandatory quality-review layer built into the system's architecture: before any plan reaches the execution stage, a dedicated review agent must approve it. If the output doesn't meet the required standard, it's sent back, not just flagged as a warning. This distinguishes it from other multi-agent frameworks where agents produce results without any quality gate. The system includes a real-time web dashboard (a visual task board styled like a Kanban board, a board that organizes tasks by status: to-do, in-progress, done), full audit trails of every decision, the ability to pause or cancel tasks mid-run, and per-agent AI model switching without restarting the whole system. The backend runs on Python's standard library with no extra dependencies, the frontend is built with React 18. You can try it instantly via Docker or install it fully if you have Python 3.10 or later and the OpenClaw platform installed.

Copy-paste prompts

Prompt 1
Walk me through setting up edict locally with OpenClaw and one OpenAI-compatible API key on macOS.
Prompt 2
Show me how to add a new specialized agent to the six-ministries structure and wire its permissions.
Prompt 3
Write a docker-compose file that runs the edict demo image on an x86 Linux host with port 7891 exposed.
Prompt 4
Explain how the menxia review agent rejects a plan and what data structure it returns to the planner.
Prompt 5
Help me wire a Feishu webhook to deliver morning briefing news into the edict dashboard.

Frequently asked questions

What is edict?

Multi-agent AI orchestration system with twelve specialized agents modeled on Tang Dynasty bureaucracy, featuring a mandatory review gate and real-time Kanban dashboard.

What language is edict written in?

Mainly Python. The stack also includes Python, React, Docker.

What license does edict use?

MIT license lets you use, modify, and distribute the code for any purpose, including commercial, as long as you keep the copyright notice.

How hard is edict to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is edict for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub cft0808 on gitmyhub

Verify against the repo before relying on details.