gitwtfhub

wtf is edict?

cft0808/edict — explained in plain English

Analysis updated 2026-06-24

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

TL;DR

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

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

Why would anyone build with this?

REASON 1

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

REASON 2

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

REASON 3

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

REASON 4

Audit every decision through stored memorial records.

What's in the stack?

PythonReactDockerOpenClaw

How it stacks up

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 spin it up?

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.

Wtf does this do

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.

Yoink these 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

wtf 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.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.