360 Secure SkillHub
360 安全技能中心

Arena System

通过 setup.sh 创建 state.json、两份角色提示词与 outputs 目录,让同一 Agent 扮演执行者与质疑者轮流撰写报告与反驳报告,按 state.json 记录的轮次、迭代数与主题逐轮输出 iteration_N.md 并切换角色,用于上线前的自我校验、降低幻觉与过早交付。未提供提示词正文与许可证信息。

分类:自动化
zedit42
zedit42
热度 44.55
最近更新 2026-05-11 17:27:00

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add zedit42/arena-system
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据不出本机
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.