paper-with-me

홈 › Papers

Wink: Recovering from Misbehaviors in Coding Agents

2026-02-19 · Rahul Nanda, Chandra Maddila, Smriti Jha, Euna Mehnaz Khan, Matteo Paltenghi, Satish Chandra arxiv

Autonomous coding agents, powered by large language models (LLMs), are increasingly being adopted in the software industry to automate complex engineering tasks. However, these agents are prone to a wide range of misbehaviors, such as deviating from the user's instructions, getting stuck in repetitive loops, or failing to use tools correctly. These failures disrupt the development workflow and often require resource-intensive manual intervention. In this paper, we present a system for automatically recovering from agentic misbehaviors at scale. We first introduce a taxonomy of misbehaviors grounded in an analysis of production traffic, identifying three primary categories: Specification Drift, Reasoning Problems, and Tool Call Failures, which we find occur in about 30% of all agent trajectories. To address these issues, we developed a lightweight, asynchronous self-intervention system named Wink. Wink observes agent trajectories and provides targeted course-correction guidance to nudge the agent back to a productive path. We evaluated our system on over 10,000 real world agent trajectories and found that it successfully resolves 90% of the misbehaviors that require a single intervention. Furthermore, a live A/B test in our production environment demonstrated that our system leads to a statistically significant reduction in Tool Call Failures, Tokens per Session and Engineer Interventions per Session. We present our experience designing and deploying this system, offering insights into the challenges of building resilient agentic systems at scale.

📄 PDF Abstract BibTeX arXiv:2602.17037

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

WinkTPG: An Execution Framework for Multi-Agent Path Finding Using Temporal Reasoning

2025-08-02 · Jingtian Yan, Stephen F. Smith, Jiaoyang Li arxiv

Planning collision-free paths for a large group of agents is a challenging problem in many real-world applications. While recent advances in Multi-Agent Path Finding (MAPF) have shown promising progress, standard MAPF pl…

Hoodwinked: Deception and Cooperation in a Text-Based Game for Language Models

2023-07-05 · Aidan O'Gara

Are current language models capable of deception and lie detection? We study this question by introducing a text-based game called $\textit{Hoodwinked}$, inspired by Mafia and Among Us. Players are locked in a house and …

Survive at All Costs: Exploring LLM's Risky Behaviors under Survival Pressure

2026-03-05 · Yida Lu, Jianwei Fang, Xuyang Shao, Zixuan Chen 외 arxiv

As Large Language Models (LLMs) evolve from chatbots to agentic assistants, they are increasingly observed to exhibit risky behaviors when subjected to survival pressure, such as the threat of being shut down. While mult…

Hodoscope: Unsupervised Monitoring for AI Misbehaviors

2026-04-13 · Ziqian Zhong, Shashwat Saxena, Aditi Raghunathan arxiv

Existing approaches to monitoring AI agents rely on supervised evaluation: human-written rules or LLM-based judges that check for known failure modes. However, novel misbehaviors may fall outside predefined categories en…

TwinKV: A Composable Repair Pass for KV Cache Eviction via Pairwise Key Redundancy

2026-08-27 · Hong Chen, Yudong Zeng, Yongwei Huang, Zuhao Ouyang 외 arxiv

Long-context inference is bottlenecked by the memory footprint of the key-value (KV) cache, especially for small models under tight resource budgets. Existing KV cache eviction methods score tokens using the model's atte…