
玄幕安全团队开源汉化并修改了不需要Docker的红队AI代理,可在Kali Linux上直接运行。
English · 中文
Open-source red-team multi-agent collaboration platform with Blackboard-style shared reasoning graph.
Overview · Architecture · Blackboard · Quick Start
Security Notice
This project is intended only for authorized security testing, risk assessment, and academic research. Unauthorized use against any system, network, or data is prohibited. The authors are not responsible for any misuse or damages.
XuanMu (玄幕) is a control-plane-oriented red-team multi-agent platform built for authorized penetration testing, vulnerability discovery, code auditing, and security research.
It combines:
The design goal is to make agent-assisted security work operationally bounded and fully reviewable. Conversations are not the only source of truth — project scope, assets, findings, relationship graphs, attack paths, replayable timelines, and the agent's reasoning process are all persisted as explicit application data.
…| Code | Name | Role |
|---|---|---|
cso |
XuanMu (玄幕) | Security Lead — task decomposition, coordination, reasoning |
cae |
ShouZhuo (守拙) | Code Audit Engineer |
cie |
GuanXing (观星) | Intelligence & Recon Engineer |
cpe |
PoJun (破军) | Penetration Testing Engineer |
cre |
SuYuan (溯源) | Reverse Analysis Engineer |
cce |
PoZhen (破阵) | Cryptography Engineer |
Commands run directly on the host via Python asyncio subprocess — no Docker required. The execution layer supports:
.xuanmu/agents/skills/)The Blackboard is a Cairn-inspired shared reasoning graph that enables Stigmergy — agents coordinate through a shared board instead of talking over each other.
| Type | Meaning | Lifecycle |
|---|---|---|
| Fact | A confirmed, objective finding | proposed → confirmed / rejected |
| Intent | A declared exploration direction | proposed → in_progress → confirmed / rejected / superseded |
| Hint | Human or agent guidance | persisted |
1. read_blackboard() — see the full picture
2. create_intent() — declare direction before acting
3. [execute tools]
4. create_fact() — record findings, link to parent intent
5. update_node_status() — mark dead ends as rejectedThe Blackboard layer complements the existing evidence plane (Asset / Finding / GraphEdge): evidence records what was found, the blackboard records why we looked, what we found, what's next.
| Endpoint | Method | Description |
|---|---|---|
GET /api/blackboard/{project_id} |
Read | Full blackboard graph snapshot |
POST /api/blackboard/{project_id}/nodes |
Create | New fact / intent / hint node |
PUT /api/blackboard/{project_id}/nodes/{node_id} |
Update | Change status / description |
DELETE /api/blackboard/{project_id}/nodes/{node_id} |
Delete | Remove a node |
| Feature | Description |
|---|---|
| Multi-agent orchestration | Lead agent coordinates specialists via delegation + blackboard |
| Structured evidence plane | Assets, findings, relationship graph, attack paths — all persisted |
| Blackboard reasoning graph | Cairn-style Fact-Intent graph for traceable agent reasoning |
| Replayable timeline | Normalized timeline events streamed live or loaded as history |
| No Docker required | Commands run directly on host via asyncio subprocess |
| Knowledge base | Structured methodology documents agents can reference |
| Full web UI | Chat playground + project workspace with graph visualization |
| Local-first LLM | Direct OpenAI-compatible API calls — works with DeepSeek, Qwen, GLM, etc. |
git clone https://github.com/guaidao2/XuanMu-RedTeam-Agent.git
cd XuanMu-RedTeam-Agent
bash setup.shNew user? Read the Getting Started Guide — from installation to your first project.
This will:
vi .xuanmu/config.jsonFill in LLM API keys, base URLs, and model names for each agent role. Example configuration uses DeepSeek — works with any OpenAI-compatible API.
You can also use the interactive config tool:
bash config-tool.shIt walks you through setting API keys, base URLs, and models for each agent without manually editing JSON.
bash start.shOpen http://localhost:8000 — login with [email protected] / admin123.
…This project is licensed under the MIT License.
暂无开放 Issues,或尚未同步最近议题。