mlsanityData to 7 Oct 2026

Towards Agentic Runtime Healing

arXiv 2408.01055 ↗First posted 2 Aug 2024cs.SE cs.AI cs.CRcited by 7

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Self-healing systems have long been a focus of research, aiming to enable software to recover from unexpected runtime errors without human intervention. Traditional approaches rely on predefined heuristic rules, such as reusing error handlers or rolling back to checkpoints, but these methods struggle to adapt to the diverse range of runtime errors. The emergence of Large Language Models offers a new opportunity to address this challenge. Leveraging their ability to understand and generate code and natural language, we propose using LLMs to dynamically generate error-handling strategies in real time, tailored to specific runtime contexts such as error messages and program states. We demonstrate the feasibility of this approach by designing such a framework, Healer, and empirically showing that it can handle runtime errors with a high success rate. When an unanticipated runtime error occurs, Healer leverages its internal LLM to generate bespoke error-handling code. The generated healing code is then executed to produce a corrected program state, allowing the program to continue execution with minimal disruption. We evaluate Healer across four code datasets and three state-of-the-art LLMs (GPT-3.5, GPT-4, and CodeQwen-7B), where GPT-4 can successfully recover from 72.8% of runtime errors, underscoring the promise of LLMs in this domain. Despite these promising results, challenges remain, particularly regarding the trustworthiness of LLM-generated code and its integration into existing systems. We mention potential solutions, such as safety checks and Healer-aware programming, to mitigate risks and ensure reliable operation. This work represents the first step toward agentic runtime healing, paving the way for more adaptive, resilient, and self-healing software systems.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 40 references that are in the map. First posted on arXiv 2 Aug 2024.

Builds on

13 of 40 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul

Other references · 12

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2023Mistral 7Bcited by 3,065
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  5. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  6. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  7. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  8. 2021Pruning and Quantization for Deep Neural Network Acceleration: A Surveycited by 259
  9. 2024Robustness, Security, Privacy, Explainability, Efficiency, and Usability of Large Language Models for Codecited by 26
  10. 2022Compressing Pre-trained Models of Code into 3 MBcited by 21
  11. 2023LExecutor: Learning-Guided Executioncited by 7
  12. 2022Preliminary Results of a Survey on the Use of Self-Adaptation in Industrycited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 2.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Trustworthy Runtime Error Healing in Real-World Repositories: A Benchmark and Guardrail
  2. 2026Self-Healing Agentic Orchestrators for Reliable Tool-Augmented Large Language Model Systems
  3. 2026A Self-Healing Framework for Reliable LLM-Based Autonomous Agents
  4. 2026AgentTether: Graph-Guided Diagnosis and Runtime Intervention for Reliable LLM Agent Operation
  5. 2026When Errors Become Narratives: A Longitudinal Taxonomy of Silent Failures in a Production LLM Agent Runtime
  6. 2025InspectCoder: Dynamic Analysis-Enabled Self Repair through interactive LLM-Debugger Collaboration
  7. 2025A Survey of LLM-based Automated Program Repair: Taxonomies, Design Paradigms, and Applications
  8. 2025VIGIL: A Reflective Runtime for Self-Healing Agents