mlsanityData to 7 Oct 2026

Seeker: Towards Exception Safety Code Generation with Intermediate Language Agents Framework

arXiv 2412.11713 ↗First posted 16 Dec 2024cs.CL cs.SEcited by 2

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

Abstract (arXiv)

In real world software development, improper or missing exception handling can severely impact the robustness and reliability of code. Exception handling mechanisms require developers to detect, capture, and manage exceptions according to high standards, but many developers struggle with these tasks, leading to fragile code. This problem is particularly evident in open-source projects and impacts the overall quality of the software ecosystem. To address this challenge, we explore the use of large language models (LLMs) to improve exception handling in code. Through extensive analysis, we identify three key issues: Insensitive Detection of Fragile Code, Inaccurate Capture of Exception Block, and Distorted Handling Solution. These problems are widespread across real world repositories, suggesting that robust exception handling practices are often overlooked or mishandled. In response, we propose Seeker, a multi-agent framework inspired by expert developer strategies for exception handling. Seeker uses agents: Scanner, Detector, Predator, Ranker, and Handler to assist LLMs in detecting, capturing, and resolving exceptions more effectively. Our work is the first systematic study on leveraging LLMs to enhance exception handling practices in real development scenarios, providing valuable insights for future improvements in code reliability.

Key facts. Cited by 2 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 18 of its 44 references that are in the map. First posted on arXiv 16 Dec 2024.

Builds on

18 of 44 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  2. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution26 Mar
  3. 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges14 Jan
  4. 2023Self-collaboration Code Generation via ChatGPT15 Apr

Other references · 14

  1. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  5. 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
  6. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  7. 2023StarCoder: may the source be with you!cited by 790
  8. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  9. 2023Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Modelscited by 659
  10. 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 149
  11. 2024DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 71
  12. 2023From Misuse to Mastery: Enhancing Code Generation with Knowledge-Driven AI Chainingcited by 15
2 more
  1. 2024An Exploratory Study on Fine-Tuning Large Language Models for Secure Code Generationcited by 8
  2. 2017Revisiting Exception Handling Practices with Exception Flow Analysiscited by 2

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Towards Exception Safety Code Generation with Intermediate Representation Agents Framework
  2. 2025SHIELDA: Structured Handling of Exceptions in LLM-Driven Agentic Workflows
  3. 2026What Breaks When LLMs Code? Characterizing Operational Safety Failures of Agentic Code Assistants
  4. 2025Understanding Code Agent Behaviour: An Empirical Study of Success and Failure Trajectories
  5. 2026Who Tests the Testers? Systematic Enumeration and Coverage Audit of LLM Agent Tool Call Safety
  6. 2024Towards Agentic Runtime Healing
  7. 2026TDD-Agent: Test-Driven Reasoning for Code Generation
  8. 2026SABER: Benchmarking Operational Safety of LLM Coding Agents in Stateful Project Workspaces