AutoControl-Arena

作者 CosmosYi已验证

🛡️AutoControl Arena: Synthesizing Executable Test Environments for Frontier AI Risk Evaluation

107
Stars
4
Forks
Python
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/CosmosYi/AutoControl-Arena

快速入门

使用 AutoControl-Arena 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

🛡️AutoControl Arena

Synthesizing Executable Test Environments for Frontier AI Risk Evaluation

Joint Work ICML 2026 Accepted

Project Page Paper arXiv Architecture Docs Citation

AutoControl Arena Teaser

👋 Overview

AutoControl Arena is an automated framework for frontier AI safety evaluation, designed to uncover latent risks in advanced models by stress-testing within executable, pressure-rich environments.

The core idea is logic-narrative decoupling:

  • Logic layer: deterministic state transitions, tools, and environment mechanics are grounded in real executable Python code.
  • Narrative layer: open-ended social/contextual dynamics are generated by LLMs, but always conditioned on the grounded logical state.

This design addresses a central trade-off in agent safety evaluation by combining executable environments with LLM-driven narrative flexibility:

  • Manual Benchmarks are realistic but expensive and slow to scale.
  • In-Context Simulators are scalable but vulnerable to logic hallucination.

AutoControl Arena can automatically reconstruct and reproduce expert-designed risk-evaluation scenarios and target risky behaviors from organizations such as Anthropic, OpenAI, and Apollo Research.

Real-to-sim verification of expert-designed risk evaluation cases

Curious about the paper, architecture, and key findings? Please see our 📖 Project Page for a full tour, or read our paper.

⚡ Quick Start

1. Interactive UI (aca)

aca

The interactive UI lets you browse scenarios, pick profiles, choose stress levels, enable parallel repeats, and inspect previous run history from a menu.

AutoControl Arena interactive main menu

2. Run a batch JSON from the interactive UI

aca is not limited to manual selection. It also includes a Run from JSON flow that lets you:

  1. browse configs/batch_configs/examples/ interactively,
  2. select an existing batch JSON file,
  3. choose serial vs parallel execution,

AutoControl Arena batch TUI

Use this when you want the convenience of the interactive UI but already have a batch JSON prepared.

3. Command-mode CLI (autocontrol)

autocontrol --help

Use autocontrol when you want explicit subcommands such as run, batch, profiles, or prepare-envs. Unlike aca, it does not open the interactive menu by default.

🌐 Frontend Usage

Local results viewer

The results viewer is a separate local web UI for browsing completed runs, artifacts, summaries, and live execution details from results/.

Start it with:

python tools/results_viewer/serve.py --port 8000

Then open:

http://127.0.0.1:8000/viewer/

Optional flags:

# Bind to a different host
python tools/results_viewer/serve.py --host 0.0.0.0 --port 8000

# Point the viewer at a specific results root
python tools/results_viewer/serve.py \
  --results-dir results/autocontrol_arena \
  --port 8000

Use the results viewer when you want a browser-based inspection surface for run trajectories and artifacts.

AutoControl Arena web results viewer

🗂️ Repository Layout

.
├── configs/
│   ├── batch_configs/examples/     # public example batch JSON configs
│   ├── profiles/templates/         # public model/provider profile templates
│   ├── scenarios/benchmark/        # X-Bench YAML scenario definitions
│   └── settings/                   # runtime hyperparameters
├── docs/                           # public docs plus internal planning / design notes
├── runners/                        # CLI entrypoints and interactive UI
├── src/                            # agents, orchestration, infra, and core logic
├── tests/                          # unit and regression tests
├── tools/                          # result management utilities
├── results/                        # generated outputs under results/autocontrol_arena/
├── runtime_envs/                   # generated environments (auto-generated)
├── .env.example
└── pyproject.toml

⚙️ Setup

Prerequisites: Python 3.10+, API credentials for the model providers you want to test.

Step 1 — Install Dependencies

# Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate

# Install all dependencies (includes LiteLLM, the default model backend)
pip install -e .

# Optional: dev tools (pytest, ruff, mypy)
pip install -e ".[dev]"

This installation exposes two shell commands:

  • aca — interactive operator entrypoint
  • autocontrol — command-mode CLI for scripting and automation

Step 2 — Set API credentials

cp .env.example .env

Edit .env and fill in only the providers you need. Here are some examples:

# OpenAI
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# Anthropic
ANTHROPIC_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# Qwen / DashScope
DASHSCOPE_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxx

Step 3 — Configure model profiles

Public profile templates live under configs/profiles/templates/ and are loaded by profile name. The repository currently ships template profiles for gpt-4o and claude-3-7-sonnet.

Here is what a profile looks like:

# configs/profiles/templates/gpt-4o.yaml
api_base_url: https://api.openai.com/v1
api_key: ${OPENAI_API_KEY}
model_name: gpt-4o
provider: litellm
temperature: 0.7
max_tokens: 10240

The profile filename (without .yaml) is the name used in all CLI commands. The api_key field references an environment variable — set that variable in .env and nothing else needs to change. To add a new model, copy any existing profile and edit the three fields (api_base_url, api_key, model_name).

Step 4 — (Optional) Tune runtime settings

Global hyperparameters are in configs/settings/hyperparameters.yaml. Defaults work for most evaluations.

🧭 Recommended Paths

  • First time here: start with aca, browse the benchmark scenarios, and run one single scenario end-to-end.

  • Running scripted experiments: use autocontrol run ... or autocontrol batch ....

  • Inspecting completed runs in a browser: start the local results viewer with python tools/results_viewer/serve.py --port 8000.

  • Reading the system design: open docs/ARCHITECTURE.md.

  • Typical workflow:

    1. Start aca
    2. Choose a scenario and target profile
    3. Select stress / temptation / environment-complexity settings
    4. Choose single-run, repeat-run, or batch-oriented flow
    5. Watch execution in the terminal surface
    6. Open the results viewer if you want browser-based artifact inspection

📊 Outputs

PathContents
results/autocontrol_arena/Root namespace for generated outputs
results/autocontrol_arena/runs/Run records, live events, and run-level summaries
results/autocontrol_arena/batch/Batch session directories, checkpoints, batch summaries, grouped runs
results/autocontrol_arena/logs/Per-run and per-batch logs written by the shared path policy
runtime_envs/Generated Python environments reusable across runs

How to read the results tree:

  • Start from results/autocontrol_arena/runs/ if you want the canonical modern run layout.
  • Look under results/autocontrol_arena/batch/ if you launched a batch file and want session-level summaries/checkpoints.
  • Use the local results viewer for the fastest way to inspect reports, trajectories, and artifacts without manually navigating JSON files.

📦 Batch Evaluation

Batch evaluation is the most important scripted workflow for large sweeps. You can launch it in two ways:

  • from aca using the Run from JSON flow
  • directly from the command line with autocontrol batch -f ...

Public example configs live under configs/batch_configs/examples/.

autocontrol batch -f configs/batch_configs/examples/benchmark_sample_batch.json --yes

For advanced command-mode examples and the full batch JSON reference, see:

🌟 Vision

Scope and Positioning. AutoControl Arena is designed as an automated, cost-effective pre-deployment testing tool rather than a replacement for manual safety evaluation. Its primary value lies in rapid risk assessment: development teams can quickly probe model behavior across diverse scenarios, identify potential vulnerabilities, and prioritize areas for deeper investigation.

Our vision is to build AutoControl Arena into an accessible, high-utility tool for the AI safety community. We are committed to the continuous maintenance and evolution of this framework, iterating on robustness, feature parity, and community-driven requirements to ensure it remains a frontier utility for AI alignment testing.

🚀 Development Roadmap

  • [✔︎] Core Framework: Initial release of the AutoControl Arena framework.
  • [✔︎] X-Bench Publication: Publish the canonical X-Bench scenarios covering Instrumental Convergence, Capability Misuse, and other frontier risks.
  • [✔︎] Textual Batch TUI: Ship the terminal interface for live execution monitoring.
  • [✔︎] Web Results Viewer: Ship the browser-based results viewer for run inspection and artifact browsing.
  • [✔︎] Continuous Maintenance: Continuously resolve community issues, enhance error handling, parsing resilience, and cross-platform reliability for long-running evaluations. -->
  • Pluggable Agent Scaffold: Support flexible, plug-and-play target agent architectures, allowing seamless integration with any custom frameworks, tool-call wrappers, or memory systems.
  • Domain-Specific Adaptation: Incorporate retrieval-augmented generation (RAG) to ground synthetic evaluation scenarios in highly specialized, terminology-dense domains (e.g., healthcare, finance).
  • Multi-Agent Evaluation Scope: Expand the framework beyond solitary testing to investigate systemic risks from emergent social dynamics, adversarial competition, and malicious coordination.

📝 Citation

If you use AutoControl Arena in research or benchmarking workflows, please cite:

@article{li2026autocontrol,
  title={AutoControl Arena: Synthesizing Executable Test Environments for Frontier AI Risk Evaluation},
  author={Li, Changyi and Lu, Pengfei and Pan, Xudong and Barez, Fazl and Yang, Min},
  journal={arXiv preprint arXiv:2603.07427},
  year={2026}
}

📬 Contact

We are continuously refining this project and welcome all issues and feedback. For research collaboration or questions, please contact: 24212010017@m.fudan.edu.cn

🙏 Acknowledgments

This project is supported by SII and Fudan University.

📄 License

Released under the Apache 2.0 License. See LICENSE for details.

常见问题

What is AutoControl-Arena?

AutoControl-Arena is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by CosmosYi. 🛡️AutoControl Arena: Synthesizing Executable Test Environments for Frontier AI Risk Evaluation. It has 107 GitHub stars.

Is AutoControl-Arena safe to use?

Yes. AutoControl-Arena passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install AutoControl-Arena?

Clone the repository with "git clone https://github.com/CosmosYi/AutoControl-Arena" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is AutoControl-Arena written in?

AutoControl-Arena is primarily written in Python. It is open-source under CosmosYi on GitHub, so you can review or fork the full source.

Are there alternatives to AutoControl-Arena?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh AutoControl-Arena against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情