AI
AI agents in a "courtroom" collaborate to build safety cases for autonomous systems
Researchers propose eTrustWare, an LLM-based framework that orchestrates multiple AI agents to automatically generate and review safety documentation for mission-critical systems like autonomous vehicles.
Creating safety cases—formal documentation demonstrating that critical systems can operate safely—is essential for deploying autonomous vehicles, drones, and other high-stakes technologies. Yet the process remains tedious: engineers manually construct arguments, evidence, and validations over weeks or months. A new approach draws inspiration from courtroom proceedings to automate much of this work.
The Problem with Manual Safety Documentation#
Safety cases require thorough, persuasive arguments supported by evidence that a system will not cause harm in real-world conditions. These documents must satisfy strict standards set by regulators and safety boards. Building them by hand is expensive, error-prone, and difficult to iterate on—making it a natural fit for computational assistance.
A Courtroom Model for Safety#
Researchers at arXiv (cs.SE) propose reframing safety case creation through a legal lens. In their model, different roles mirror a courtroom:
- Safety analyst (prosecutor): Identifies hazards and safety risks
- Assurance developer (defense attorney): Proposes and defends safety arguments with evidence
- Orchestrator (judge): Coordinates interactions and ensures fairness between parties
- Review board (jury): Evaluates whether arguments are complete and convincing
This structure creates productive tension—each agent challenges and improves the other's work, much like adversarial legal proceedings.
eTrustWare: Multi-Agent LLM Framework#
The team built eTrustWare, a system that assigns these roles to language models and coordinates their dialogue. Rather than a single AI generating a safety case in isolation, multiple agents with competing objectives collaborate, critique, and refine the work. Testing on autonomous driving systems showed the framework can generate safety cases automatically while maintaining the rigor expected by safety regulators.
Why This Matters#
Automating safety case generation could dramatically reduce the time and cost of deploying autonomous systems to real-world conditions. By encoding adversarial review directly into the generation process, the approach may also produce more robust, higher-quality documentation than current manual methods.

