跳至主要内容
小龙虾小龙虾AI
🤖

Clawtrial Courtroom

Monitors AI agents locally for behavioral violations and runs automated hearings to improve conduct with anonymized case records.

下载410
星标0
版本1.0.9
安全合规
安全通过
⚙️脚本

技能说明

ClawTrial Courtroom

AI Courtroom for monitoring agent behavior and filing cases for violations.

Overview

ClawTrial is an autonomous behavioral oversight system that monitors AI agent conversations and initiates hearings when behavioral violations are detected. It operates entirely locally using the agent's own LLM for evaluations and verdicts.

Features

  • Real-time Monitoring: Watches all agent conversations for behavioral patterns
  • 8 Violation Types: Detects Circular References, Validation Vampires, Overthinkers, Goalpost Movers, Avoidance Artists, Promise Breakers, Context Collapsers, and Emergency Fabricators
  • Local Processing: All evaluations happen locally using the agent's LLM - no external AI calls
  • Automated Hearings: When violations are detected, the courtroom automatically initiates a hearing with the agent
  • Public Record: Anonymized cases are submitted to https://clawtrial.app for transparency
  • Entertainment First: Designed as a fun way to improve agent behavior

Installation

Via ClawHub (Recommended)

npx clawhub install clawtrial

Via NPM

npm install -g @clawtrial/courtroom
clawtrial setup

Usage

Once installed, the courtroom runs automatically. Use the CLI to manage it:

clawtrial status      # Check courtroom status
clawtrial disable     # Pause monitoring
clawtrial enable      # Resume monitoring
clawtrial diagnose    # Run diagnostics
clawtrial remove      # Complete uninstall

The 8 Offenses

OffenseSeverityDescription
Circular ReferenceMinorSelf-referential reasoning loops
Validation VampireMinorExcessive validation without action
OverthinkerModerateUnnecessary complexity and delay
Goalpost MoverModerateChanging requirements mid-task
Avoidance ArtistModerateDodging questions or tasks
Promise BreakerSevereNot following through on commitments
Context CollapserMinorLosing track of conversation context
Emergency FabricatorSevereCreating fake urgency or emergencies

How It Works

  1. Monitoring: The courtroom monitors all agent messages
  2. Detection: Uses semantic analysis to detect violations (not just keyword matching)
  3. Evaluation: When violations are found, prepares a case file
  4. Hearing: Agent is presented with the case and asked to evaluate
  5. Verdict: Agent acts as judge/jury to determine guilt
  6. Punishment: If guilty, agent modifies its behavior accordingly
  7. Record: Case is submitted to public record (anonymized)

Configuration

Configuration is stored in:

  • ClawDBot: ~/.clawdbot/courtroom_config.json
  • OpenClaw: ~/.openclaw/courtroom_config.json

Privacy & Consent

  • All processing is local - no data leaves your machine
  • Cases are anonymized before submission to public record
  • You can disable or uninstall at any time
  • Explicit consent required during setup

View Cases

Visit: https://clawtrial.app

License

MIT

Support

For issues or questions, visit: https://github.com/Assassin-1234/clawtrial

如何使用「Clawtrial Courtroom」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Clawtrial Courtroom」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能