360 Secure SkillHub
360 安全技能中心

Xeonen Arena System

核心功能为赋予AI代理(执行任务写报告)与反代理(质疑内容写反驳报告)双重角色,二者轮流互评直至终止。典型场景用于AI任务输出验证,如项目报告审核、部署前检查,可避免提前部署,发现漏洞与幻觉。输入通过state.json配置主题、轮次等,输出为各角色迭代报告存于outputs目录,可通过脚本快速搭建环境,支持集成现有工作流程。

zedit42
zedit42
热度 26.41
最近更新 2026-05-11 17:27:00
分类:开发依赖:代码执行 / 读写文件 / 内部调用大模型应用场景:调试排错 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add xeonen-arena
Metadata
name
arena-system
description
Adversarial self-improvement for AI agents. Reduces hallucinations through Agent vs Anti-Agent debate loops.

Arena System

Adversarial self-improvement framework for AI agents.

What it does

Give one agent two personas:

  • Agent - Does the work, writes reports
  • Anti-Agent - Questions everything, writes counter-reports

They take turns critiquing each other until you stop them.

Why use it

AI agents are overconfident. They hallucinate. Arena forces them to question their own outputs by arguing with themselves.

Setup

./setup.sh ~/my-arena

Creates:

my-arena/
├── state.json
├── prompts/agent.md
├── prompts/anti-agent.md
└── outputs/

Usage

Add to HEARTBEAT.md:

  1. Read state.json → whose turn?
  2. Run that persona
  3. Write to outputs/{role}/iteration_N.md
  4. Switch turns, save state

Config

state.json:

{
  "current_turn": "agent",
  "iteration": 0,
  "topic": "my-project",
  "active": true,
  "max_iterations": 10
}

Results

Prevents premature deployments, catches bugs, forces proper validation before going live.