Environment Steering: Using Data Flow Control to Improve Agent Utility and Safety
Charlie Summers, Prajwal Raghunath, Aaditya Pai, Mayur Kulkarni, Zhuo Zhang, Oliver Kennedy, Eugene Wu
Abstract
LLM agents can make unsafe tool calls even when instructed to behave safely. Existing defenses constrain agents before execution, modify tool inputs/outputs, or rely on LLM judges; these approaches may depend on model behavior or block unsafe actions without helping the agent recover. We argue that the execution environment should instead enforce safety as the agent runs and steer it toward safe alternatives when violations occur---we call this Environment Steering. We implement this by modeling the agent and harness execution state as database tables, track the record-level data flows, and check these data flows against declarative policies during runtime. When violations are detected, policy- and context-specific feedback steers the agent toward safe trajectories. On AgentDyn, this enables the agent to improve task success rate over no-defense while achieving 0% attack success rate.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.DB
- Comments
- 9 pages, 11 figures, REALM Workshop, EMNLP 2026
Related papers
Sports Agent: A Self-Evolving System for Conversational Data Analytics
Shared title terminologycs.CLChao Chen, Fuqi Lin, Ze Chen et al.
AI-human hybrid conversations: Can AI Agents Improve Discourse Quality?
Shared title terminologycs.CLIshita Chakraborty, Xingjian You, Shrabastee Banerjee
Leto: Utility-Centric Agent Memory
Shared title terminologycs.CLShuguang Chen, Salman Paracha
onPanda: Efficient Annotation of On-Policy Alignment Data for LLMs and Agents via Token-Level Correction
Shared title terminologycs.CLLei Yang, Mengyin Liu, Jia Wang et al.
RecreationWorld: Scalable and Verifiable Environments for Hybrid Computer-Use Agents
Shared title terminologycs.CLShuai Bai, Jiayong Deng, Sicheng Fan et al.
Constructing Challenging Browser-Use Tasks by Controlled Environment Interventions
Shared title terminologycs.CLXunjian Yin, Tianchen Guan, Jinao Wang et al.