百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
XuanMu-RedTeam-Agent

XuanMu-RedTeam-Agent

> AI 编程
免费

玄幕安全团队开源汉化并修改了不需要Docker的红队AI代理,可在Kali Linux上直接运行。

113 stars0 点赞3 次浏览
GitHub

工具介绍

玄幕安全团队开源汉化并修改了不需要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.


Overview

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:

  • A React operator console (Playground + project workspace)
  • A FastAPI control plane (REST + WebSocket)
  • A session-based multi-agent runtime (lead + specialist agents)
  • A structured evidence plane (assets, findings, graph, attack paths)
  • A Blackboard shared reasoning graph (Cairn-inspired Fact-Intent coordination)

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.


Architecture

…

Agent Team

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

Execution

Commands run directly on the host via Python asyncio subprocess — no Docker required. The execution layer supports:

  • Synchronous command execution with timeout
  • Background async job management with notification on completion
  • Output file reading by line range
  • Skill system (reusable tool definitions in .xuanmu/agents/skills/)
  • Knowledge base (structured methodology documents)

Blackboard

The Blackboard is a Cairn-inspired shared reasoning graph that enables Stigmergy — agents coordinate through a shared board instead of talking over each other.

Node Types

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

How Agents Use It

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 rejected

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

REST API

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

Technical Highlights

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.

Quick Start

Prerequisites

  • Linux (Kali / Debian recommended)
  • Python ≥ 3.12
  • PostgreSQL (installed automatically by setup script)
  • Node.js ≥ 18 (for frontend build)

One-command setup

bash
git clone https://github.com/guaidao2/XuanMu-RedTeam-Agent.git
cd XuanMu-RedTeam-Agent
bash setup.sh

New user? Read the Getting Started Guide — from installation to your first project.

This will:

  1. Install system dependencies (PostgreSQL, Node.js)
  2. Configure the database
  3. Create a Python virtual environment and install dependencies
  4. Build the frontend
  5. Create start/stop scripts

Configure

bash
vi .xuanmu/config.json

Fill 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
bash config-tool.sh

It walks you through setting API keys, base URLs, and models for each agent without manually editing JSON.

Start

bash
bash start.sh

Open http://localhost:8000 — login with [email protected] / admin123.


Repository Layout

…

License

This project is licensed under the MIT License.


Acknowledgments

  • Cairn — Fact-graph based collaborative exploration protocol, which inspired the Blackboard architecture
  • Z3r0 — The original open-source red-team collaboration workbench this project was forked from

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

开发者工具

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年9月9日
最后更新2026年9月18日
分类AI 编程
定价免费

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.