Tripwire: Robot Agents that Program Their Own Interrupts under Human Disturbance

Sunli Chen, Yun Zong, Qinhong Zhou, Xiaowen Qiu, Jiaben Chen, Zeyuan Yang, Chuang Gan

Imagine you’re teaching a robot to put groceries away. You give it a high-level command: "Put the milk in the fridge." The robot’s "brain"—a powerful but slow Large Language Model (LLM)—thinks for a few seconds, decides on a plan, and hands the reins to a "reflex" policy to execute the movement.

The problem? While the robot is moving, the brain is effectively "blind." If you walk into the kitchen to grab a snack, the robot might keep swinging that milk carton right into your path because its high-level brain isn't scheduled to "think" again until the current action finishes.

This paper introduces TRIP (Tripwire), a clever way to give robots "situational awareness" without needing to retrain their entire brains.

TL;DR

TRIP allows robot agents to program their own "alarm bells"—lightweight Python scripts called tripwires—that run alongside their actions. These tripwires use fast, compact vision models to watch for specific dangers (like a person getting too close) and can instantly halt the robot and "wake up" the high-level brain to handle the surprise.

What Problem Does This Paper Address?

Modern robot systems often use a "turn-based" harness. A high-level agent (the "brain") calls a tool or a policy (the "muscles"), waits for it to finish, and then decides what to do next.

This creates a blind interval. High-level reasoning models are slow, often taking seconds to make a single decision. Meanwhile, the world is dynamic. A human might step into the robot's path, or move the very object the robot is trying to grab. If the agent only checks the world between actions, it can’t react to these disturbances in real-time, leading to collisions or failed tasks.

Methods

The authors propose a training-free, event-driven harness. Instead of just saying "Execute Policy X," the agent now says "Execute Policy X AND watch this tripwire."

Figure 2. Overview of TRIP. Given an instruction ℓ, the agent selects a call c and a tripwire w. During execution, the tripwire reads observations ot, queries a compact VLM, and combines the results with depth and memory m to produce zt. A false output allows execution to continue; a firing stops the call and returns control to the agent with the reason and memory. The agent then reassesses the scene and updates the call and tripwire. Snowflakes denote frozen models; calls and VLM queries are illustrative.

How it works: 1. Agentic Programming: When the agent issues a command, it also writes a small, stateful Python function (the tripwire). 2. Lightweight Monitoring: This tripwire runs at 20Hz. It doesn't need a giant LLM; it queries a "compact" Vision-Language Model (VLM) like Qwen-9B to ask simple questions (e.g., "Is there a hand near the robot's arm?"). 3. Instant Interrupts: If the tripwire's conditions are met (e.g., a person is within 0.3m), the harness immediately halts the robot. 4. Reasoning on Firing: The agent is "woken up" with a specific reason for the interrupt (e.g., "person near"). It can then reassess, perhaps deciding to wait or dodge, and then write a new tripwire for the next phase of the task.

Datasets

The researchers introduced RoboHD, a new benchmark for human disturbance.

  • Base: It builds on RoboCasa365, a large-scale simulation of household tasks.
  • Disturbance: They added a reactive human avatar that interferes in four ways:
  • Spatial: Blocking the robot's path.
  • Object State: Moving the target object.
  • Task State: Changing the environment (e.g., closing a fridge door the robot just opened).
  • Perceptual: Working near the robot, requiring it to stay clear.
  • Evaluation: 168 scenes where any human-robot contact is an automatic failure.

Key Insights and Ideas

  • Context-Aware Safety: A fixed safety rule (like "stop if anything is within 1m") is too blunt. TRIP allows the agent to define what constitutes a disturbance based on the current task. If the robot is waiting for a person to leave, the tripwire watches for the person to move away.
  • Stateful Memory: Tripwires aren't just snapshots; they can have memory. They can track if a person is closing in versus just standing nearby by comparing distances over time.
  • Training-Free: You don't need to fine-tune the underlying robot policies. TRIP acts as a protective "wrapper" around existing black-box models.

Key Results

TRIP was tested with several state-of-the-art robot policies (like Xiaomi-Robotics-1 and GR00T).

  • Safety Boost: With the strongest policy, TRIP raised the safety rate (episodes without human contact) from 61.3% to 81.3%, effectively halving the rate of human contact compared to a standard turn-based approach.
  • Efficiency: It actually reduced the number of expensive high-level agent calls (from 30.3 to 19.4 per minute) because the agent didn't have to constantly poll the environment—it just waited for a tripwire to fire.
  • Real-World Success: In real-robot trials (hanging mugs and towels), TRIP succeeded in 25 out of 40 trials under human interference. The baseline turn-based harness managed only 5 out of 40, and the policy alone managed just 1.
A real-world example: A human blocks the robot's path while it's hanging a mug. The tripwire fires, the robot stops, waits for the person to leave, and then successfully resumes.

Limitations and Future Work

  • Simulated Humans: The "humans" in the simulation don't have collision bodies; contact is calculated geometrically. Real-world human-robot interaction is much messier and potentially dangerous.
  • API Latency: While the tripwires are fast, the high-level agent still takes time to "wake up" and think. During those few seconds of reasoning, the robot stands still, which can look awkward or be inefficient.
  • Cost: Running high-end models like GPT-4 as the "agent" is still expensive (about $0.20–$0.30 per episode).

In short, TRIP gives robots a way to "keep an eye out" while they work, making them much better roommates in a busy, human-filled world.

Summary updated

Abstract

Agent harnesses are turn-based: the agent acts, waits for the result, then reasons. When the action invokes a pretrained robot policy, such as a vision-language-action (VLA) or world action model (WAM), the policy may react continuously to observations, but the agent cannot revisit its decision until the call returns. Meanwhile, a person may step into the robot's path or move the object it is about to grasp. Invoking the agent more often narrows this blind interval, but a reasoning model takes seconds per decision and most control steps need no new one. We propose TRIP, a training-free, event-driven harness in which the agent programs its own interrupts. With each call, the agent writes a tripwire: a lightweight, stateful Python program that runs alongside the policy, can query a compact VLM (for example, to locate a person and measure their distance), and decides whether the call continues or control returns to the agent. When it fires, the harness halts the policy and returns control with the reason; the agent then reassesses, adapts, and continues under a rewritten tripwire. We evaluate TRIP with three VLAs and one WAM on RoboHD, a benchmark of 168 RoboCasa365 scenes in which a simulated person disturbs the robot and any human-robot contact counts as failure. Compared with a turn-based harness using the same agent and tools, TRIP halves the rate of human contact with the strongest policy, raising safety from 61.3% to 81.3%, without sacrificing task success (38.7% vs. 31.0%). Real-robot experiments show that TRIP completes two manipulation tasks under human interference where the turn-based harness and the policy alone largely fail.
BibTeX
@misc{chen2026tripwire,
  author = {Sunli Chen and Yun Zong and Qinhong Zhou and Xiaowen Qiu and Jiaben Chen and Zeyuan Yang and Chuang Gan},
  title = {{Tripwire: Robot Agents that Program Their Own Interrupts under Human Disturbance}},
  year = {2026},
  eprint = {2611.27182},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27182},
}
Figure