Coding Agents with an Obstacle-Aware Harness for Safe Robot Manipulation
Language-model coding agents can run robots without robot training — and they still hit obstacles unless an obstacle-aware planning harness forces safety first.
The 30-second take
- What: The authors show coding agents chase the goal and collide despite prompts and traces that mention the obstacle, then add SafeHarness: waypoint routes over bounding boxes plus contact poses that avoid the obstacle.
- Abundance angle: today, safe physical labor from general coding agents is scarce — models write controllers but treat “don’t hit that” as optional. A reusable safety harness is a step toward cheaper shared robot capacity that is allowed near people and parts (mid-horizon: reliability and safety decide defaults).
- Who should care: Robot-foundation and language-agent labs, industrial safety engineers piloting LLM-written controllers, and anyone who assumed a “don’t touch” sentence in the prompt was enough.
What the paper actually did
Coding agents write a robot controller as a program so a language model can operate robots without robot-specific training. The authors ask whether that paradigm is safe. Each evaluation task pairs a manipulation goal with an obstacle the robot must not touch.
The agent usually completes the goal but collides. It treats task success as the only objective. Traces show it reasons about the obstacle, and the prompt already forbids contact, so the authors rule out perception and instruction. The failure is planning: the constraint never becomes a priority. Splitting behavior into a route phase and a contact-rich moment, they say the model has no idea of a clearing route, does not replan when a route is infeasible, and at contact does not treat execution as bound by the same constraint.
SafeHarness adds two obstacle-aware harnesses. Route planning grounds objects as bounding boxes, proposes waypoint routes, plans ahead, verifies, replans if needed, then executes. Contact execution chooses a contact pose that itself avoids the obstacle. They report 71.9% task success and 87.5% collision avoidance, 6.5 and 27.0 points above the previous SOTA, and 2.3× / 1.5× the same agent without harnesses.
What makes this disruptive
The scarce capability is general-purpose robot programming that respects hard geometric constraints without a custom policy. If prompt-only coding agents systematically de-prioritize “don’t collide,” shipping them onto real arms is a safety problem, not a UX nit.
SafeHarness is a structural fix: make routes and contacts first-class, verifiable objects (boxes, waypoints, contact poses) so safety is not a leftover sentence in the prompt. The large collision-avoidance jump versus the same agent unharnessed is the punchline.
This pressures the “just use an LLM coder” story. It does not yet prove industrial safety cases.
Why it matters (outside the lab)
Abundance lens: robot labor becomes a default only if it is allowed in cluttered spaces. Unsafe coding agents keep useful physical automation elite and fenced-off. A harness that turns obstacles into planned geometry is a step toward more ordinary, shareable robot capacity.
Near-term, treat this as an evaluation and scaffolding paper: do not deploy prompt-only agents around breakable objects. Medium-term, standards, hardware interlocks, and broader task suites decide whether harnessed agents become default.
No date when warehouses run on GPT-written skills. Safety and economics still dominate.
Limitations & open questions
Numbers are the authors' task suite versus a previous SOTA they define; we have not reproduced them. Bounding-box routes can be conservative or wrong if perception of boxes is bad — the abstract focuses on planning once objects are grounded. Contact-rich physics beyond “choose a contact that misses the obstacle” is not detailed.
Prompt-and-trace analysis that “neither perception nor instruction is at fault” is their interpretation of those traces. Preprint ≠ certified safety system. Abundance is not automatic: fewer collisions in a benchmark do not make unsupervised robot labor a default.
Explain ladder
Default article depth
A coding agent is an LLM that writes the robot’s program on the fly instead of being trained as a robot policy. Handy — and, in this study, reckless. Give it a goal and a “don’t hit the obstacle” rule, and it still hits the obstacle while talking about the obstacle in its notes.
The authors split the job into driving there and then making contact. The model neither plans a clear path with checkpoints nor treats the final poke as something that must miss the forbidden object. SafeHarness forces both: draw boxes, pick waypoint paths, check and replan, then pick a safe contact.
Success and especially collision avoidance rise a lot versus the same agent with no harness. The lesson is scaffolding, not a smarter soliloquy.
Key terms
- Coding agent
- A language-model system that writes and runs a robot controller as code instead of outputting low-level actions from a trained policy.
- Harness
- External structure (here, route and contact modules) that constrains how the model plans and acts.
- Collision avoidance
- The rate at which the robot does not touch the designated obstacle; 87.5% in the authors' report.
- Waypoint route
- A planned sequence of positions used to verify a clearing path before execution.
Sources
Related explainers
Same topic and week first — keep exploring the scarcity → abundance map.
Agile-WAM: An Agile Tactile World Action Model for Contact-Rich Robot Control
2026-W39 · score 93 · Roboticssame weeksame topic
MILER: Semantic Mid-Level Representation for Sim-to-Real Reinforcement Learning in Unstructured Autonomous Driving
2026-W39 · score 69 · Roboticssame weeksame topic
MoWAM: Explicit Future Motion Prediction for Efficient World Action Models
2026-W39 · score 65 · Roboticssame weeksame topic
Rapid Learning of Dexterous In-Hand Pen Writing through Real-Time Jacobian Estimation
2026-W38 · score 93 · Roboticssame topic
Towards Surgical World-Action Modeling: A Preliminary Joint Visual-Trajectory Forecasting for Surgical Motion Planning
2026-W36 · score 87 · Roboticssame topic
Disruptiveness
Editorial triage 0–100 · not peer review
- Novelty92
- Impact78
- Field heat94
- Practicality79
- Controversy43
