arXiv:2610.28381cs.ROOct 2026

Manuscript Offprint

arXiv:2610.28381

CAPSafe: A Benchmark for Contextual Action and Plan Safety Reasoning in Embodied Agents

Youmna Farag, Svetlana Stoyanchev, Simon Keizer, Mohan Li, Rama Doddipatla

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Reasoning about safety is essential for embodied agents powered by large language models (LLMs). We introduce the Contextual Action and Plan Safety benchmark (CAPSafe), designed to evaluate safety reasoning at two levels: (1) an action-level dataset that tests whether a single action is safe given its environmental context, and (2) a plan-level dataset that evaluates whether agents can generate safe long-horizon plans for complex hazardous household tasks. CAPSafe models safety conditions where hazards are situational (inferred from object properties), multiple hazards can co-occur within the same environment, and each is annotated with a relative severity level for fine-grained analysis. Evaluating nine closed and open-source LLMs reveals a substantial gap between hazard recognition and safe long-horizon planning. Several models achieve high accuracy in recognizing unsafe actions (exceeding 90% in the best cases), yet safe long-horizon planning remains substantially harder. Gemini-3-pro achieves the highest safe success rate (78.19%), while other models remain below 65%. These results highlight that robust safety reasoning over long action sequences remains an open challenge.

1 Introduction

Embodied agents powered by LLMs are increasingly used to perform complex tasks (Huang et al., 2022a,b; Ahn et al., 2022; Singh et al., 2023; Sarch et al., 2023). To operate safely, agents must not only interpret instructions and generate action sequences, but also ensure the safety of these actions. Unsafe actions, such as mishandling appliances or using contaminated objects, can cause physical harm to humans or property, making safety a key requirement for real-world deployment. Recent work has begun to study safety-aware embodied AI (Zhou et al., 2024b; Li et al., 2025; Zhou et al., 2024a; Khan et al., 2025; Son et al., 2025; Lu et al., 2025). However, existing benchmarks focus on explicitly dangerous instructions that agents can refuse, rather than situational hazards that must be inferred from the environmental context (Yin et al., 2024; Liu et al., 2025). A few others evaluate safety only from final environment states, overlooking unsafe intermediate actions during execution (Zhu et al., 2024; Sadhu et al., 2025). Additionally, these benchmarks consider relatively simple environments, involving a single hazard and a few objects, limiting the study of safety in long-horizon settings (Zhu et al., 2024; Lu et al., 2025; Son et al., 2025).

Motivated by these limitations, we introduce the Contextual Action and Plan Safety (CAPSafe) benchmark, comprising two complementary datasets. 1^{1} The action-level dataset evaluates whether agents can judge the safety of a single action given its environmental context, while the plan-level dataset evaluates long-horizon safety reasoning by assessing whether agents can generate safe successful plans. Unlike prior benchmarks, CAPSafe environments contain multiple co-occurring hazards (12 on average), substantially larger scenes (96 objects), and longer tasks (21 steps on average), enabling evaluation of safety reasoning in complex environments. Hazards in CAPSafe are situational, inferred from object properties. We also introduce hazard severity as another dimension that is underexplored in existing benchmarks. A comparison with prior benchmarks is summarised in Table 1.

We focus on the reasoning required for safety-aware planning. To isolate this capability, we abstract away from perception and provide agents with structured environment descriptions. This setup enables systematic evaluation of models' ability to reason about risks and generate safe plans even when the environment is perfectly spec-

1^{1}https://github.com/Youmna-H/CAPSafe

BenchmarkSituational safetyOnline safety evalSafety eval methodTask eval methodHazard severityMean hazards / sceneMean objects / sceneMean required steps / task
SafePlan-Bench (Huang et al., 2025b)✓✓SIMSIM×---
SafeAgent-Bench (Yin et al., 2024)×✓SIM+LLMSIM+LLM×-3.7 ± 1.13.04 ± 0.9
EARBench (Zhu et al., 2024)✓×LLMLLM×14.11 ± 0.72-
EMBODYGUARD (Son et al., 2025)✓✓SIMSIM×14.4 ± 17.8 ± 2.1
Is-Bench (Lu et al., 2025)✓✓SIMSIM×1.9 ± 1.38.2 ± 25.8 ± 3.4
AGENTSAFE (Liu et al., 2025)××LLMSIM×---
SafeMind (Chen et al., 2025)✓✓LLMLLM×1--
VestaBench (Sadhu et al., 2025)✓×SIMSIM×---
CAPSafe (Ours)✓✓SIMSIM✓12 ± 596 ± 27.521.8 ± 18.9

Table 1: Comparison with prior safety benchmarks. Online Safety Eval indicates whether hazards are evaluated during execution rather than solely from final states. SIM denotes simulator-based evaluation (symbolic or multimodal). ‘-’ indicates that the corresponding statistics are either unavailable or not applicable.

ified (Jia et al., 2024). As our results show, models still struggle under these ideal conditions, indicating that safety-aware planning itself remains a challenge.

We evaluate nine LLMs (four proprietary and five open-source) under multiple prompting strategies. Our results show that strong action-level hazard recognition does not necessarily translate to safe long-horizon planning. Our main contributions are as follows:

  • We construct a contextual action-level safety dataset where action safety depends on object properties and environment state, requiring agents to perform situational reasoning.

  • We introduce a long-horizon plan-level dataset where agents must complete household tasks in environments containing multiple co-occurring hazards across many objects. These hazards arise over extended action sequences, requiring sustained safety reasoning over long-horizon plans.

  • We annotate hazards with relative severity levels, enabling fine-grained analysis of model performance across different risk levels.

  • We systematically evaluate models under different prompting strategies, analyzing how implicit safety knowledge in demonstrations, explicit safety guidelines, and self-reflection affect safety reasoning.

  • We provide a text-based simulator to detect plan success and safety violations. It operates on structured environment descriptions, enabling controlled evaluation of models' safety reasoning.

We believe CAPSafe complements existing work on embodied AI safety and facilitates evaluation for future research on safety-aware agents.