A Local Agentic AI Framework to Generate Edge Case Scenarios for Safety Assurance
On the map: LLM agents and tool use → Agent threats, guardrails and governance also fits: General LLM agent frameworks and benchmarks
Abstract (arXiv)
Generating edge case scenarios is crucial for training, testing and safety assuring autonomous systems. This identifies hazardous failures to increase system reliability and robustness, ensures the system can still function safely on the boundaries of its operational design domain and learns the expected system behaviour for these edge cases. The rapid advancement in the generation and analysis capabilities of language models (LMs) has expanded their applicability and recent work has investigated LM scenario generation. However, many recent approaches rely on human-in-the-loop or rule-based strategies. This restricts the LM's ability to generate diverse and edge case scenarios; the long tail of the distribution. Our work uses local LMs in a laptop-based agentic AI framework for adaptive scenario generation. This is cheap, fully-controlled, ensures data privacy and security. It uses think, act, observe, update, and continue loops with lightweight JSON encoding to generate scenarios. We use the system requirements, system description and environment description as knowledge bases in contextual prompts for an LM to ensure scenario realism. A second, independent LM critiques each scenario using domain specific criteria so it can be refined. The refined scenarios are run in simulation and evaluation metrics collected. These metric scores are analysed and similar scenarios are created for edge cases (exploitation) or novel scenarios are generated to explore the scenario space. Post-hoc clustering using metric scores and thematic-type analysis of the rich-text scenario descriptions produced by the LM pinpoints functional gaps and their triggering conditions. This creates traceable evidence for the safety assurance case. Our work highlights the potential of a flexible and adaptive local agentic AI framework for automating edge case generation and producing traceable safety assurance evidence.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 17 of its 56 references that are in the map. First posted on arXiv 9 Oct 2026.
Builds on
17 of 56 references.
References · 17
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2018Unity: A General Platform for Intelligent Agentscited by 236
- 2025Nemotron 3 Nano: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoningcited by 104
- 2023The Safety Filter: A Unified View of Safety-Critical Control in Autonomous Systemscited by 88
- 2026Qwen3-Coder-Next Technical Reportcited by 71
- 2020Formal Scenario-Based Testing of Autonomous Vehicles: From Simulation to the Real Worldcited by 39
- 2025LLM-attacker: Enhancing Closed-loop Adversarial Scenario Generation for Autonomous Driving with Large Language Modelscited by 19
- 2022Guidance on the Safety Assurance of Autonomous Systems in Complex Environments (SACE)cited by 8
- 2025Adversarial Generation and Collaborative Evolution of Safety-Critical Scenarios for Autonomous Vehiclescited by 5
- 2025From Failures to Fixes: LLM-Driven Scenario Repair for Self-Evolving Autonomous Drivingcited by 2
5 more
- 2025Bridging Research and Practice in Simulation-based Testing of Industrial Robot Navigation Systemscited by 2
- 2025SCALOFT: An Initial Approach for Situation Coverage-Based Safety Analysis of an Autonomous Aerial Drone in a Mine Environmentcited by 1
- 2026Towards Safer Mobile Agents: Scalable Generation and Evaluation of Diverse Scenarios for VLMscited by 1
- 2026SG-CADVLM: A Context-Aware Decoding Powered Vision Language Model for Safety-Critical Scenario Generationcited by 1
- 2026PlannerForge: LLM Agents for Scenario-Based Testing of Motion Planners in Autonomous Drivingcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Concept-Guided LLM Agents for Human-AI Safety Codesign
- 2024ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehicles
- 2025A Safety and Security Framework for Real-World Agentic Systems
- 2026ForesightSafety-SAGE:A Fully Automated Scenario Generation and Safety Evaluation Framework for LLM Agents
- 2025AgenticEval: Toward Agentic and Self-Evolving Safety Evaluation of Large Language Models
- 2026Towards trustworthy agentic AI: a comprehensive survey of safety, robustness, privacy, and system security
- 2025LM Agents May Fail to Act on Their Own Risk Knowledge
- 2026AIR: Improving Agent Safety through Incident Response